From fbrier at multideck.com Fri Jul 7 10:00:03 2006 From: fbrier at multideck.com (Frederick N. Brier) Date: Fri, 07 Jul 2006 10:00:03 -0400 Subject: [jboss-user] JBossCache max cluster size? Message-ID: <44AE68E3.4040404@multideck.com> My project needs to replicate data to 200-500 machines. It does not need to be transactional, and the replicated caches are read-only. If JBossCache was set up in async mode, could it handle 200-500 machines? We can use the UDP protocol, but how well does it work if you set it up for TCP? Any success or failure stories will be appreciated. Thank you much. Fred. From ABlack at bop.gov Fri Jul 7 10:46:10 2006 From: ABlack at bop.gov (Andy Black) Date: Fri, 07 Jul 2006 10:46:10 -0400 Subject: [jboss-user] JBossCache max cluster size? (Out of Office) Message-ID: I'm out of the office until July 9, 2006. If you need assistance please call Dave Horton at 202-514-4944 From do-not-reply at jboss.com Mon Jul 10 19:28:05 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Mon, 10 Jul 2006 19:28:05 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using JCE crypto in EJBs Message-ID: <22450387.1152574085110.JavaMail.jboss@colo-br-02.atl.jboss.com> wussykye- are you sure the jars are located in /jre/bin and not /jre/lib You might want to look at the following things in your setup: 1) Make sure the /jre/lib/security/java.security file has the proper priority order for the JCE providers you are trying to use 2) If you are trying to use the SUN_JCE provider make sure its provider is available in the /jre/lib/ext directory (sunjce_provider.jar) If you are trying to use the built-in JCE providers I don't think you need to include the jar files in the EJB/EAR module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956811#3956811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956811 From do-not-reply at jboss.com Mon Jul 10 19:32:04 2006 From: do-not-reply at jboss.com (brad.mcduffie@jboss.com) Date: Mon, 10 Jul 2006 19:32:04 -0400 (EDT) Subject: [jboss-user] [News & Announcements] - Re: List Change Announcement: List server move. Message-ID: <6804306.1152574324214.JavaMail.jboss@colo-br-02.atl.jboss.com> The new list address is jboss-user at lists.jboss.org. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956812#3956812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956812 From do-not-reply at jboss.com Mon Jul 10 19:33:52 2006 From: do-not-reply at jboss.com (cmlopezalv) Date: Mon, 10 Jul 2006 19:33:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Updating EntityManagerFactory Message-ID: <13877815.1152574432338.JavaMail.jboss@colo-br-02.atl.jboss.com> Greetings, My application is creating entity beans dynamically, so, when i create i new entity bean i must update the Ejb3Configuration to let it know there is a new bean, i make this using the method 'addAnnotatedClass(Class clazz)' and 'buildMappings()'. I have several EntityManagerFactory, created using the clas Ejb3Configuration , using the method (createEntityManagerFactory()). The problem is how to update the EntityManagerFactory that has been already created, before the update of the Ejb3Copnfiguration. If i want to do it, i have to create a new EntityManagerFactory from the Ejb3Configuration updated. Example: Ejb3Configuration ejb3Configuration = new Ejb3Configuration(); Properties p = new Properties(); //Config properties ....... ejb3Configuration.addProperties(p); //add some entities ejbConfiguration.addAnnotatedClass(Entity1.class); ejbConfiguration.addAnnotatedClass(Entity2.class); //Create the factory EntityManagerFactory factory = ejbConfiguration.createEntityManagerFactory(); ..... ..... ..... Then in some point my application needs to know about a new entity bean so i add it to the configuration i've been using: ejbConfiguration.addAnnotatedClass(EntityBean3.class); EntityManager entityManager = factory.createEntityManagerFactory(); //Use this EntityManager to persist the new entity entityManager.persist([instance of EntityBean3]); In this point i got the error: EntityBean3 not mapped, that is because the factory is not synchronized with the Ejb3Configuration. How can i make this sync ?. I'm working creating a new EntityManagerFactory everytime the application generates a new entity bean, but i think that is really ugly, not to mention the performance problems for the application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956813#3956813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956813 From do-not-reply at jboss.com Mon Jul 10 19:39:18 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 10 Jul 2006 19:39:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations? Message-ID: <31682391.1152574758266.JavaMail.jboss@colo-br-02.atl.jboss.com> The @SelectItems component I've discussed above is done: http://bigbob.splendid.co.uk/selectitems.zip I still need to improve the example and add more documentation, but the component itself is done. Some notes (which need tidying up): http://jroller.com/page/pmuir?entry=selectitems_revisited It's also linked from the wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956814#3956814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956814 From do-not-reply at jboss.com Mon Jul 10 19:41:23 2006 From: do-not-reply at jboss.com (gosanjeev) Date: Mon, 10 Jul 2006 19:41:23 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Help in executing Hello World BPEL example Message-ID: <14371662.1152574883827.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm going through the tutorial http://docs.jboss.org/jbpm/bpel/tutorial.html#tutorial.hello.test and in the last step on running the JUnit test case named ClientTest I'm getting the following error: run-test: [junit] Testsuite: org.jbpm.bpel.tutorial.hello.ClientTest [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.411 sec [junit] ------------- Standard Output --------------- [junit] 16:36:46,761 ERROR ServiceObjectFactory : Cannot create service [junit] javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVer sionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940 [junit] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:127) [junit] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) [junit] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) [junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135) [junit] at $Proxy0.lookup(Unknown Source) [junit] at javax.naming.InitialContext.lookup(InitialContext.java:351) [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java:28) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1072) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:682) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1434) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:632) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [junit] at org.apache.tools.ant.Task.perform(Task.java:364) [junit] at org.apache.tools.ant.Target.execute(Target.java:341) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:369) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:668) [junit] at org.apache.tools.ant.Main.startAnt(Main.java:187) [junit] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [junit] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) [junit] 16:36:46,781 ERROR ServiceObjectFactory : Cannot create service [junit] javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVer sionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940 [junit] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:127) [junit] at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) [junit] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) [junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135) [junit] at $Proxy0.lookup(Unknown Source) [junit] at javax.naming.InitialContext.lookup(InitialContext.java:351) [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java:28) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:118) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:208) [junit] at junit.framework.TestSuite.run(TestSuite.java:203) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:1072) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:682) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeOrQueue(JUnitTask.java:1434) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:632) [junit] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [junit] at org.apache.tools.ant.Task.perform(Task.java:364) [junit] at org.apache.tools.ant.Target.execute(Target.java:341) [junit] at org.apache.tools.ant.Target.performTasks(Target.java:369) [junit] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [junit] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [junit] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [junit] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [junit] at org.apache.tools.ant.Main.runBuild(Main.java:668) [junit] at org.apache.tools.ant.Main.startAnt(Main.java:187) [junit] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) [junit] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) [junit] ------------- ---------------- --------------- ... Any help would be much appreciated. Thanks, Sanjeev Chakravarty View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956815#3956815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956815 From do-not-reply at jboss.com Mon Jul 10 19:51:06 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Mon, 10 Jul 2006 19:51:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to tweak output based on HTTP header for wired/mobil Message-ID: <8809235.1152575466337.JavaMail.jboss@colo-br-02.atl.jboss.com> "dbatcn" wrote : Putting a little information about this (dependence or lack thereof of javascript) in the Seam documentation area would be very helpful I think, particularly to people like me new to Seam/JSF/facelets/MyFaces/EJB3/JavaPersistence. Completly agree, it looks like seam documentation assumes some degree of competency with JSF, EJB (less in v3 due to Pojos but container managed concepts are needed, and other basics). Maybe a section like: "Things to Know About Underlying Frameworks in Seam" would be a good idea. In particular Seam has been a breeze for me as I'm very close to JSF, EJB and Java5, but to compete (catch up?) with Rails some minimal background in underlying frameworks is needed, and that could be a consideration for many as you mentioned Java developers. In regards to your original question, what about creating (or reusing) a pluggable JSF renderer. Something that Seam would be somewhat agnostic to -if not mistaken- Jsf renderers idea was that in principle: to server different clients. Yeyo "dbatcn" wrote : | I think that there's a large population of people like me who are Java-competent who need to create web apps and trying to decide whether to go forward with more recent Java stuff or move (defect?) to Ruby on Rails. Anything that gets people like this going will be hepful. I will admit as a newbie to this that the boundaries between the several projects/APIs I mentioned above are only slowly becoming clear, even with considerable reading from several sources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956816#3956816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956816 From do-not-reply at jboss.com Mon Jul 10 19:51:40 2006 From: do-not-reply at jboss.com (brado) Date: Mon, 10 Jul 2006 19:51:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss Message-ID: <26107695.1152575500061.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, Regarding your response -- "kukeltje" wrote : Intro: | 1: If they are deployed they are in the db and do not need to be loaded each time (btw, this is in the docs) The interaction with the engine is though the JbpmContext as can be read/seen in all code (and docs) and JMS or any wrapper you want to write yourself (this is in the docs two) | I have looked through all of the code in the starter's kit. I do not see a JbpmContext class anywhere in the starter's kit. Did you mean a class by a different name? Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956817#3956817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956817 From do-not-reply at jboss.com Mon Jul 10 19:59:06 2006 From: do-not-reply at jboss.com (brado) Date: Mon, 10 Jul 2006 19:59:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss Message-ID: <4967519.1152575946802.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, One more thing, I should have mentioned: "kukeltje" wrote : Brad, I said it is in the docs because it IS in the docs: | | http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted (among others) | I didn't see any reference to the JbpmContext in this doc either. Any chance you can point me to a specific section of a document, and/or specific fully qualified class name to look at in the starter's kit? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956819#3956819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956819 From do-not-reply at jboss.com Mon Jul 10 20:57:06 2006 From: do-not-reply at jboss.com (fawce) Date: Mon, 10 Jul 2006 20:57:06 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Using CsIL Message-ID: <6453115.1152579426947.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We just posted another beta of CsIL, which now runs on .Net2. Enjoy, fawce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956820#3956820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956820 From do-not-reply at jboss.com Mon Jul 10 21:02:06 2006 From: do-not-reply at jboss.com (vlasov01) Date: Mon, 10 Jul 2006 21:02:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can Seam be configured to support JSP and Facelets in an Message-ID: <4937564.1152579726331.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I've changed booking example to use jsp, but I'm getting the following error: 2006-07-10 17:16:21,921 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-booking].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception java.lang.StackOverflowError at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544) at javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:215) at org.apache.catalina.core.ApplicationHttpRequest.getSession(ApplicationHttpRequest.java:544) | | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | Seam Redirect Filter | org.jboss.seam.servlet.SeamRedirectFilter | | | | Seam Redirect Filter | *.seam | | | | | | javax.faces.STATE_SAVING_METHOD | client | | | | | | facelets.VIEW_MAPPINGS | *.xhtml | | | | facelets.DEVELOPMENT | true | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | Faces Servlet | *.seam | | | | Faces Servlet | /* | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956821#3956821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956821 From do-not-reply at jboss.com Mon Jul 10 21:09:25 2006 From: do-not-reply at jboss.com (ericmacau) Date: Mon, 10 Jul 2006 21:09:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: java.lang.ClassNotFoundException: org.jboss.portal.port Message-ID: <18268539.1152580165984.JavaMail.jboss@colo-br-02.atl.jboss.com> In my portlets, I never used WebAppRegistry and also changed all the descriptors. portlet-instances.xml | | | | | | | HelloWorldPortletInstance | HelloWorldPortlet | | | | | | MyPortletInstance | MyPortlet | | | | | | ProductCategoryPortletInstance | ProductCategoryPortlet | | | | | | | RegionPortletInstance | RegionPortlet | | | | | | | CityPortletInstance | CityPortlet | | | | | | ProductPortletInstance | ProductPortlet | | | | | | | reales-object.xml | | | | | | overwrite | | | reales | | | | | | layout.id | | realeslayout-classic | | | | | theme.id | realestheme-classic | | | | | | theme.renderSetId | divRenderer | | | | | layout.strategyId | maximizedRegion | | | | view | edit | help | | | normal | minimized | maximized | | | | default | | | theme.id | realestheme-classic | | | order | 1 | | | resourceKey | page.home | | | | | | | navPortletWindow | | NavigationPortletInstance | | navigation | 0 | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | catPortletWindow | CatalogPortletInstance | left | 0 | | | | | ProductPortletWindow | ProductPortletInstance | center | 0 | | | | | House | | | navPortletWindow | | NavigationPortletInstance | | navigation | 0 | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | catPortletWindow | | CatalogPortletInstance | | left | 0 | | | | | | ProductPortletWindow | | ProductPortletInstance | | center | 0 | | | | | | | viewrecursive | | | | | | City | | | | navPortletWindow | | NavigationPortletInstance | | navigation | 0 | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | catPortletWindow | | CatalogPortletInstance | | left | 0 | | | | CityPortletWindow | CityPortletInstance | center | 1 | | | | | | viewrecursive | | | | | | | Category | | | | navPortletWindow | | NavigationPortletInstance | | navigation | 0 | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | catPortletWindow | | CatalogPortletInstance | | left | 0 | | | | | ProductCategoryPortletWindow | | | ProductCategoryPortletInstance | | center | 2 | | | | | | viewrecursive | | | | | | Region | | | | navPortletWindow | | NavigationPortletInstance | | navigation | 0 | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | catPortletWindow | | CatalogPortletInstance | | left | 0 | | | | RegionPortletWindow | | RegionPortletInstance | | center | 3 | | | | | | viewrecursive | | | | | | | | | viewrecursive | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956822#3956822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956822 From do-not-reply at jboss.com Mon Jul 10 21:46:54 2006 From: do-not-reply at jboss.com (gedel) Date: Mon, 10 Jul 2006 21:46:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Updating pages with seam remoting Message-ID: <5651913.1152582414129.JavaMail.jboss@colo-br-02.atl.jboss.com> up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956823#3956823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956823 From do-not-reply at jboss.com Mon Jul 10 22:13:19 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Mon, 10 Jul 2006 22:13:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations? Message-ID: <1139784.1152583999984.JavaMail.jboss@colo-br-02.atl.jboss.com> I've also updated my wiki packages to include that bug fix as well as reflect the new package structure. http://www.jboss.com/wiki/Wiki.jsp?page=JBossSeam Sooner or later a true component repo will need to be knocked out. I know a lot of people like Maven and its repository support. I'd at least like to know when code is modified (watcher) and have basic changelog support. Maybe I should create a new page for my component and keep that current. Right know folks just add to this topic to report issues and request features. I'm open to suggestions for improving that setup. It would be nice if JBoss would host Seam components as well as provide issue tracking. I guess a wiki page is the best solution for changelogs and binaries. Could there be a contrib/third-party component to Seam's JIRA project? We already have two @SelectItems implementations in our repo. They both do very similar things, should there be an effort to consolidate, or is this futile? Variety is a blessing and a curse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956824#3956824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956824 From do-not-reply at jboss.com Mon Jul 10 22:20:35 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 10 Jul 2006 22:20:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <15640575.1152584435778.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you elaborate your test case? Looks like you are using PojoCache. If that's the case, 1) if you are using tx yourself, getCurrentTransaction() will return that tx, 2) if you are not, then I will detect it and initiate a transaction internally. In this case, getCurrentTransaction should not be null either. So I am a bit puzzled. Thanks, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956825#3956825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956825 From do-not-reply at jboss.com Mon Jul 10 22:49:14 2006 From: do-not-reply at jboss.com (superuser33) Date: Mon, 10 Jul 2006 22:49:14 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Acquire lock Message-ID: <29980250.1152586154879.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, just started evaluating JBossCache for our clustering needs, and i was not able to find a simple clusterwide readLock / writeLock. Is this available/supported through JBossCache or JGroups at all? Ideally it would be something as simple as ------------------------------------------------ | ClusterLock lock = tree.acquireReadLock("/key/a",30000L); //30 second timeout | try { | //do stuff | } finally { | tree.releaseReadLock("/key/a"); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956826#3956826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956826 From do-not-reply at jboss.com Mon Jul 10 22:50:49 2006 From: do-not-reply at jboss.com (byronlilu) Date: Mon, 10 Jul 2006 22:50:49 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - my jboss(4.0.2, oracle 9i, windows 2000) occour this problem Message-ID: <16615987.1152586249908.JavaMail.jboss@colo-br-02.atl.jboss.com> hi,everyone. I run jboss on windows, 9i oracle run on another station. at first, the all is ok, after a few days, occours the following error: 2006-07-10 05:04:15,828 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Io Exception: The Network Adapter could not establish the connection) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:162) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:519) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:208) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:566) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:395) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:320) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:447) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:888) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) ...... at sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:130) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624) at org.jboss.ejb.Container.invoke(Container.java:873) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:413) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88) at $Proxy70.uploadInfoFile(Unknown Source) at com.wri.nfh.cmms.comm.server.carrier.DealMessageRunable.updateObject(DealMessageRunable.java:385) at com.wri.nfh.cmms.comm.server.carrier.DealMessageRunable.run(DealMessageRunable.java:251) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: java.sql.SQLException: Io Exception: The Network Adapter could not establish the connection at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:222) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:335) at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:334) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:152) ... 37 more 2006-07-10 05:05:59,781 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:1323) 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. ... 3 more 1) after the above problem occoured, I could not my monitor, I could not remote login through mstsc.exe, ......., I only could access shared folder. 2) the oracle is normal, I could use sqlplus connect it and execute some sql. 3) when I view the connects using a sql, no connect from my jboss . is somebody tell me the reason. thanks first. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956827#3956827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956827 From do-not-reply at jboss.com Mon Jul 10 22:52:23 2006 From: do-not-reply at jboss.com (Remider) Date: Mon, 10 Jul 2006 22:52:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Example uses superstate Message-ID: <14828634.1152586343592.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm studying about creating process definition. I don't know how to use superstate. Can you help me ? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956828#3956828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956828 From do-not-reply at jboss.com Mon Jul 10 23:00:05 2006 From: do-not-reply at jboss.com (sbryzak2) Date: Mon, 10 Jul 2006 23:00:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Updating pages with seam remoting Message-ID: <23658823.1152586805084.JavaMail.jboss@colo-br-02.atl.jboss.com> Not yet, but I plan on writing a Seam Remoting-enabled datatable in the near future. It will use the remoting framework to update the table's data based on column sorting, next page, previous page, etc. I'm even thinking about the possibility of allowing in-place editing, however no promises on this particular feature. This is all probably at least a month away, unfortunately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956829#3956829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956829 From do-not-reply at jboss.com Tue Jul 11 00:12:40 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 11 Jul 2006 00:12:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: adding new service Message-ID: <21744026.1152591160878.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, To do this, you have to use MBean service.The information about writing the MBean services is available on following links. http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch2.chapter.html#ch2.mbeanservice.sect http://www.middleware.vt.edu/doku.php?id=middleware:jboss:service#mbean_services View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956830#3956830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956830 From do-not-reply at jboss.com Tue Jul 11 00:16:41 2006 From: do-not-reply at jboss.com (whooi) Date: Tue, 11 Jul 2006 00:16:41 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - JBoss Mbean Dependencies - How to start scheduler services a Message-ID: <7107321.1152591401105.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys, I am having trouble with the dependencies of "org.jboss.varia.scheduler.Scheduler". How do make the scheduler fires only after the EAR is fully deployed? This is my service.xml file: true com.acme.HelloWorld NOW 5000 -1 Now, the scheduler manage to call HelloWorld.perform() every 5 seconds. But, it is firing too early. I want to starts the scheduler only after my EAR is fully deployed. Help is greatly appreciated.. Thank you.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956831#3956831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956831 From do-not-reply at jboss.com Tue Jul 11 00:19:07 2006 From: do-not-reply at jboss.com (Basel) Date: Tue, 11 Jul 2006 00:19:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing a protected JSF page causes Message-ID: <10288100.1152591547122.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey Gavin, What about the FacesELResolvers error message? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956832#3956832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956832 From do-not-reply at jboss.com Tue Jul 11 00:29:09 2006 From: do-not-reply at jboss.com (whooi) Date: Tue, 11 Jul 2006 00:29:09 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: JBoss Mbean Dependencies - How to start scheduler servic Message-ID: <27875867.1152592149242.JavaMail.jboss@colo-br-02.atl.jboss.com> Opps sorry, heres the service.xml | | | true | com.acme.HelloWorld | NOW | 5000 | -1 | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956833#3956833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956833 From do-not-reply at jboss.com Tue Jul 11 00:43:18 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 11 Jul 2006 00:43:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Example uses superstate Message-ID: <20651392.1152592998286.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is something to start with: http://docs.jboss.org/jbpm/v3/userguide/processmodelling.html#superstates View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956834#3956834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956834 From do-not-reply at jboss.com Tue Jul 11 00:44:57 2006 From: do-not-reply at jboss.com (goose-dog) Date: Tue, 11 Jul 2006 00:44:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - conversationTimeout setting does not work Message-ID: <23794774.1152593097265.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, in the component.xml I have this setting, however my session bean which is in the conversation context which uses jdpl does not timeout at the specified time, in fact it takes 30 minutes before the context gets destroyed. Here is my compenent.xml @myFacesLifecycleBug@ @jndiPattern@ 120000 newUser.jpdl.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956835#3956835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956835 From do-not-reply at jboss.com Tue Jul 11 00:45:50 2006 From: do-not-reply at jboss.com (goose-dog) Date: Tue, 11 Jul 2006 00:45:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: conversationTimeout setting does not work Message-ID: <12788991.1152593150378.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | @myFacesLifecycleBug@ | @jndiPattern@ | | | | | 120000 | | | | newUser.jpdl.xml | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956836#3956836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956836 From do-not-reply at jboss.com Tue Jul 11 00:49:24 2006 From: do-not-reply at jboss.com (rocky.alam) Date: Tue, 11 Jul 2006 00:49:24 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Message Driven Beans reading messages before Application Sta Message-ID: <2882315.1152593364575.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are using the following: - JBoss AS 4.0.2 - WebSphere MQ v5.3 - IBM DB2 v8.1 Description: Our app is using Message Driven Beans to receive messages from queues on WSMQ. The app is initialized by an external system communicating with our app via messaging using a queue dedicated for this process. The initialization includes loading all configuration files within the app. This process is mandatory for the app to function properly (obviously!). Problem: As soon as the app is deployed on to the application server, the MDBs start processing messages from all queues. This pretty much errors out all transactions within, and initially some messages are lost before app completes its startup process. Question: Is there a way to enable connections to specific queues while disabling the MDBs listening to other queues, and after the startup process is complete, bring all mdbs online programatically? Any help will be appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956837#3956837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956837 From do-not-reply at jboss.com Tue Jul 11 00:51:15 2006 From: do-not-reply at jboss.com (goose-dog) Date: Tue, 11 Jul 2006 00:51:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - session bean in conversation context destroy method Message-ID: <14766454.1152593475289.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a session bean as follows. I want certain things to happen when the conversation times out. In my session bean I have injection to get my entity manager, I also have an entity bean in the session bean. When the context times out I want to do some things with the entity manager however when the context times out, all the attributes in the session bean that are retrieved via injection become null. The entity manager and the logger. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956838#3956838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956838 From do-not-reply at jboss.com Tue Jul 11 01:13:07 2006 From: do-not-reply at jboss.com (tdanecito) Date: Tue, 11 Jul 2006 01:13:07 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning Message-ID: <13624853.1152594787940.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, More about networks. For internal users you might want to check out extended or jumbo frames. The are several white papers on the subject but the limitation is for internal sites where you have gigabit lan where the client and server hardware supports. The test results in at least one paper indicate a 2x perfomance improvement. This will reduce the CPU loading on the web container and the client. Regards, Tony Anecito adanecito at yahoo.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956839#3956839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956839 From do-not-reply at jboss.com Tue Jul 11 01:21:56 2006 From: do-not-reply at jboss.com (dhinojosa) Date: Tue, 11 Jul 2006 01:21:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Avoiding the DRY Principle with beans Message-ID: <7146157.1152595316461.JavaMail.jboss@colo-br-02.atl.jboss.com> Question, I find myself doing something wrong with seam beans....and that is copying and pasting ad nauseum and violating the DRY Priniciple (Don't Repeat Yourself). Here is a prime example | | package com.evolutionnext.session; | | import com.evolutionnext.data.Employee; | import java.io.Serializable; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.persistence.PersistenceContextType; | import org.hibernate.validator.Valid; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | | @Stateful | @Scope(value=ScopeType.SESSION) | @Name(value="employeeBean") | public class EmployeeBean implements Serializable, EmployeeLocal { | | @PersistenceContext(unitName="hrsystem", | type=PersistenceContextType.EXTENDED) | private EntityManager entityManager; | | @In @Valid | private Employee employee; | | /** Creates a new instance of EmployeeBean */ | public EmployeeBean() { | } | | public void setEmployee(Employee employee) { | this.employee = employee; | } | | @In @Valid | public Employee getEmployee() { | return employee; | } | | public String update() { | entityManager.merge(employee); | return "Success"; | } | | public String create() { | entityManager.persist(employee); | return "Success"; | } | | public String delete() { | entityManager.remove(employee); | return "Success"; | } | } | All is well with this code...now what happens if I want the same functionality for uh...department, well I would need to copy and paste this code. This would violate the dry principal and make my app fragile in the process. One solution I thought would be to create a superclass and refactor my create, update, and delete methods. This is almost an elegant solution but still has some copy/pasting problems. Here is the code... | package com.evolutionnext.session; | | import java.io.Serializable; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.persistence.PersistenceContextType; | | public abstract class PersistentBean implements Serializable, PersistentLocal { | | @PersistenceContext(unitName="hrsystem", | type=PersistenceContextType.EXTENDED) | private EntityManager entityManager; | | private Object object; | | public abstract void setObject(Object object); | | public abstract Object getObject(); | | public String update() { | entityManager.merge(object); | return "Success"; | } | | public String create() { | entityManager.persist(object); | return "Success"; | } | | public String delete() { | entityManager.remove(object); | return "Success"; | } | } | My EmployeeBean would like this now: | package com.evolutionnext.session; | | import javax.ejb.Stateful; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Scope; | | /** | * | * @author Administrator | */ | @Stateful | @Scope(value=ScopeType.SESSION) | @Name(value="employeeBean") | public class EmployeeBean extends PersistentBean { | | /** Creates a new instance of EmployeeBean */ | public EmployeeBean() { | } | | private Object object; | | public void setObject(Object object) { | this.object = object; | } | | @In(value="employee") @Out(value="employee") | public Object getObject() { | return object; | } | | } | | I am not even sure if this type of subclassing works in Seam. Is this what I have to look to as far as abstraction. Let me know. ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956841#3956841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956841 From do-not-reply at jboss.com Tue Jul 11 01:28:58 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 11 Jul 2006 01:28:58 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss 3.2.1 Username and password (bad?) caching Message-ID: <13334922.1152595738439.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://www.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956842#3956842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956842 From do-not-reply at jboss.com Tue Jul 11 01:29:38 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 11 Jul 2006 01:29:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <6628403.1152595778512.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, this is a good approach, and should work in Seam. (If it does not, its a bug.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956843#3956843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956843 From do-not-reply at jboss.com Tue Jul 11 01:50:31 2006 From: do-not-reply at jboss.com (mnrz) Date: Tue, 11 Jul 2006 01:50:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: problem with running a Seam application Message-ID: <11744821.1152597031208.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am using myface1.1.3, all the jar files are the same in downloaded Seam framework. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956844#3956844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956844 From do-not-reply at jboss.com Tue Jul 11 01:51:48 2006 From: do-not-reply at jboss.com (gfzhang) Date: Tue, 11 Jul 2006 01:51:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can Seam be configured to support JSP and Facelets in an Message-ID: <20942460.1152597108388.JavaMail.jboss@colo-br-02.atl.jboss.com> After changing the servlet mapping according to CptnKirk's instruction, The modified sample works well. You please try: | | Seam Redirect Filter | /faces/* | | and | | | Faces Servlet | /faces/* | | I do not know why the program failed when using"/*" as the url-pattern. It can not work here either. It display the same error message as you reported. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956845#3956845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956845 From do-not-reply at jboss.com Tue Jul 11 02:14:53 2006 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Tue, 11 Jul 2006 02:14:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: transactions and distributed transactions in ejb3 Message-ID: <2548492.1152598493665.JavaMail.jboss@colo-br-02.atl.jboss.com> i can't resolve this problem again ... could anybody help me ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956846#3956846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956846 From do-not-reply at jboss.com Tue Jul 11 02:17:11 2006 From: do-not-reply at jboss.com (cisco) Date: Tue, 11 Jul 2006 02:17:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - problem on invoking WS Message-ID: <9372127.1152598631900.JavaMail.jboss@colo-br-02.atl.jboss.com> I have written a WebService on JBoss 4.0.4 GA (jboss-EJB-3.0_RC8-FD + jbossws-1.0.1.GA) | package webservices; | | import java.rmi.Remote; | | public interface SimpleService extends Remote { | String echo(String echo); | } | | package webservices; | | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | | import org.jboss.ws.annotation.PortComponent; | | @WebService(name="EndpointInterface", targetNamespace="http://localhost", serviceName="SimpleService") | @PortComponent(contextRoot="/jbosswstest", urlPattern="/*") | @Remote(SimpleService.class) | @Stateless | public class SimpleServiceImpl implements SimpleService { | @WebMethod | public String echo(String input) { | return input; | } | } | After deploy it to JBoss, I got a auto-generated WSDL as follow: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Then I try to code a client to invoke the webservice: | package client; | | import java.net.URL; | | import javax.xml.namespace.QName; | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceFactory; | | import webservices.SimpleService; | | public class SimpleServiceClient { | private static final String _namespace = "http://localhost"; | | private static final String _service = "SimpleService"; | | private static final String _wsdl = "http://localhost:8080/jbosswstest?wsdl"; | | public static void main(String[] args) { | try { | URL defUrl = new URL(_wsdl); | // Create the service factory | ServiceFactory serviceFactory = ServiceFactory.newInstance(); | // Load the service implementation class | Service remoteService = serviceFactory.createService(defUrl, | new QName(_namespace, _service)); | // Load a proxy for our class | SimpleService invoker = (SimpleService) remoteService | .getPort(SimpleService.class); | // Invoke our interface for each argument | for (int i = 0; i < args.length; i++) { | String returnedString = invoker.echo(args); | System.out.println("sent string: " + args | + ", received string: " + returnedString); | } | } catch (Exception e) { | e.printStackTrace(); | } | } | } | Here comes the problem -> org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://localhost}echo at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:450) at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) at client.SimpleServiceClient.main(SimpleServiceClient.java:24) Could somebody give me a idea what's wrong, thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956847#3956847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956847 From do-not-reply at jboss.com Tue Jul 11 02:17:46 2006 From: do-not-reply at jboss.com (legolas) Date: Tue, 11 Jul 2006 02:17:46 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Behaviour of collections in PojoCache Message-ID: <17377895.1152598666645.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, what should the expected behaviour be when adding a collection object to the PojoCache and later adding objects to the collection? Is the collection in the cache updated automagically? Regards, Marcel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956848#3956848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956848 From do-not-reply at jboss.com Tue Jul 11 02:25:44 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Tue, 11 Jul 2006 02:25:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations? Message-ID: <21514508.1152599144886.JavaMail.jboss@colo-br-02.atl.jboss.com> I've created a wiki page that should be a more permanent home for my DataBinder and added it to the components section of the Seam wiki. Unfortunately I don't see a way to remove attachments from the wiki. I'll deal with the Seam home page clean up later. http://wiki.jboss.org/wiki/Wiki.jsp?page=SelectItemsBinder Future features planned: * startLabel="Pick One..." support * Utility to ease selected value -> original object lookup (until there's a proper @SelectItemsSelected) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956849#3956849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956849 From do-not-reply at jboss.com Tue Jul 11 02:35:36 2006 From: do-not-reply at jboss.com (legolas) Date: Tue, 11 Jul 2006 02:35:36 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Behaviour of collections in PojoCache Message-ID: <32914333.1152599736901.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry guys, RTFM! I just read the answer in the User Doc, chapter 4.5. Thanks for allowing me to waiste your time ;-) Marcel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956850#3956850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956850 From do-not-reply at jboss.com Tue Jul 11 02:36:21 2006 From: do-not-reply at jboss.com (yjusot) Date: Tue, 11 Jul 2006 02:36:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Beta 2.4: Login Problem with IExplorer Message-ID: <17415962.1152599781289.JavaMail.jboss@colo-br-02.atl.jboss.com> Finally I found the reason: cookies must be acepted in IE (options/privacy). It works on my side after this change. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956851#3956851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956851 From do-not-reply at jboss.com Tue Jul 11 02:39:39 2006 From: do-not-reply at jboss.com (wolfc) Date: Tue, 11 Jul 2006 02:39:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ManyToOne and ManyToMany foreign key issues Message-ID: <11183064.1152599979226.JavaMail.jboss@colo-br-02.atl.jboss.com> Please try the following: Test1 t1=new Test1(); | ArrayList a=new ArrayList(); | Test2 t2=new Test2(); | t2.setField(1);entityManager.persist(t2);a.add(t2); | t2=new Test2(); | t2.setField(2);entityManager.persist(t2);a.add(t2); | t1.setTest2s(a); | t1.setField(1); | entityManager.persist(t1); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956852#3956852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956852 From do-not-reply at jboss.com Tue Jul 11 02:40:00 2006 From: do-not-reply at jboss.com (anurudh) Date: Tue, 11 Jul 2006 02:40:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How to navigate from one page to another page containing dif Message-ID: <31627923.1152600000387.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created a page in which there are 3 portlets and one of them is the login portlet. Now if the user is valid then i have to display a new page containing different portlets some of them are common. I have mentioned that page in *-Object.xml but i am facing problem in portlet class in creating the url to dispatch. Please tell me the way to create that url and how to forward it to display a new page. Thanks................!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956853#3956853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956853 From do-not-reply at jboss.com Tue Jul 11 02:52:00 2006 From: do-not-reply at jboss.com (beep_beep) Date: Tue, 11 Jul 2006 02:52:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Circular call of beans, transaction context Message-ID: <13580155.1152600720845.JavaMail.jboss@colo-br-02.atl.jboss.com> I have 3 SfSB : A,B,C Bean A has method getBean(Class), this getBean(B.class) returns bean B, then I call method doSomthing() on B, this method doSomthing has @TransactionAttribute(TransactionAttributeType.REQUIRED) and doSomthing calls A.getBean(C.class) to achive C. In this example bean A is factory, which is accessible from all beans and provides reference from one bean to another. I tried to assign ALL existent attributes "TransactionAttribute" on method getBean(Class), but anyway I have this exception: On this last call exception happens: anonymous wrote : javax.ejb.EJBException: java.lang.RuntimeException: cannot import a transaction context when a transaction is already associated with the thread | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:308) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:104) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:72) | at org.jboss.remoting.Client.invoke(Client.java:525) | at org.jboss.remoting.Client.invoke(Client.java:488) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133) | at $Proxy87.create(Unknown Source) | ....... What happen here? Any attribute on getBean does not help! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956854#3956854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956854 From achill at matrix.gatewaynet.com Tue Jul 11 03:12:59 2006 From: achill at matrix.gatewaynet.com (Achilleus Mantzios) Date: Tue, 11 Jul 2006 10:12:59 +0300 (EEST) Subject: [jboss-user] https://lists.jboss.org/mailman/options/jboss-user editing works? In-Reply-To: <29980250.1152586154879.JavaMail.jboss@colo-br-02.atl.jboss.com> Message-ID: Hi i'd like to update my jboss-user profile to digest mode, however i dont have the password, and the "Remind" button does not seem to work either. Is there a way that list admin could make this "Remind" button work? -- -Achilleus From do-not-reply at jboss.com Tue Jul 11 03:01:53 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Tue, 11 Jul 2006 03:01:53 -0400 (EDT) Subject: [jboss-user] [JBossWS] - JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <31102033.1152601313064.JavaMail.jboss@colo-br-02.atl.jboss.com> We have a web service implemented as EJB3 Stateless Session endpoint using JSR181. I followed instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurityConfig to turn on message signing but nothing happens: Our application works exactly the same with or without the jboss-wsse-server.xml file. We are using JBossWS 1.0.1GA on JBoss 4.0.4GA Our application is pakcaged and deployed as an EAR with the following structure: app.ear --META-INF ------application.xml ------jboss-app.xml --webservice.jar ------class files ------META-INF ----------jboss-wsse-server.xml ----------wsse.keystore ----------wsse.truststroe Here is the boss-wsse-server.xml: | META-INF/oipm.keystore | oipmessaging | JKS | META-INF/oipm.keystore | oipmessaging | | | | | | | | Any help is greatly appreciated! Yi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956855#3956855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956855 From do-not-reply at jboss.com Tue Jul 11 03:04:06 2006 From: do-not-reply at jboss.com (kane999) Date: Tue, 11 Jul 2006 03:04:06 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - how can get the Tutorial of using entitybean??? Message-ID: <11617174.1152601446737.JavaMail.jboss@colo-br-02.atl.jboss.com> hi,everybody, i'm a new user in using jboss eclipse ide to develop the j2ee project. i have learn the jbosside-Tutorial. in the jbosside-Tutorial, there is nothing about how to using the entitybean and how to use the Hibernate etc. if you can provide something about these,i'll appreciate you. thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956856#3956856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956856 From do-not-reply at jboss.com Tue Jul 11 03:09:35 2006 From: do-not-reply at jboss.com (J0Ke) Date: Tue, 11 Jul 2006 03:09:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Remote Client to EJB 3.0 fail .. :( javax.naming.Communi Message-ID: <15039993.1152601775963.JavaMail.jboss@colo-br-02.atl.jboss.com> I am at work and i have created new EJB and deloy it its 1:1 with beffore and JBoss version here is 4.0.4- patch 1 The EJB is @Stateless(name="SimpleEJB") public class SimpleEJBBean implements SimpleEJB { public SimpleEJBBean() { } public String sayHello(String name) { return "Hello "+name; } } the EAR is the same with application.xml in it. and the JNDIView says this : listXML() invoke : 4.0.3 EJB 3 deploy org.jnp.interfaces.NamingContext SimpleEJB org.jnp.interfaces.NamingContext remote $Proxy65 but in my test client public class TestClient { public static void main(String [] args) { try { final Context context = getInitialContext(); SimpleEJB sessEJBTest = (SimpleEJB)context.lookup("SimpleEJB"); sessEJBTest.sayHello("exxx"); } catch (Exception ex) { ex.printStackTrace(); } } private static Context getInitialContext() throws NamingException { Hashtable environment = new Hashtable(); environment.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); environment.put(Context.PROVIDER_URL, "jnp://localhost:1099"); return new InitialContext(environment); } } result is the same : javax.naming.NameNotFoundException: SimpleEJB 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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956857#3956857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956857 From do-not-reply at jboss.com Tue Jul 11 03:17:28 2006 From: do-not-reply at jboss.com (BARC) Date: Tue, 11 Jul 2006 03:17:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: No deployment of files in Message-ID: <28697880.1152602248347.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah okay, thanks pointing it out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956858#3956858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956858 From do-not-reply at jboss.com Tue Jul 11 03:18:33 2006 From: do-not-reply at jboss.com (hubertg) Date: Tue, 11 Jul 2006 03:18:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Why Message-ID: <990828.1152602313101.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having the very same problem here. trying to get the servletcontext within my portlet. | protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException | { | | ServletContextProvider prov = new JBossServletContextProvider(); | HttpServletRequest hreq = prov.getHttpServletRequest(this, rRequest); | ... | } | im getting this error: | 08:52:14,001 ERROR [ContentPortlet] The portlet threw an exception | java.lang.IllegalStateException: No bridge set | at org.jboss.portal.bridge.JBossServletContextProvider.getServletContext(JBossServletContextProvider.java:66) | at at.jku.kusss.portlet.main.ContentPortlet.doView(Unknown Source) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:561) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:482) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:69) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:165) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:62) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:63) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:196) | at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84) | at org.jboss.portal.portlet.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:108) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:60) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:109) | 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 $Proxy59.invoke(Unknown Source) | at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.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: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 $Proxy61.invoke(Unknown Source) | at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:134) | at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:159) | 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 $Proxy57.invoke(Unknown Source) | at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:61) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:82) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:125) | 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 $Proxy46.invoke(Unknown Source) | at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:266) | at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:121) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | (...) | any help is appreciated very much! br, hubert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956859#3956859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956859 From do-not-reply at jboss.com Tue Jul 11 03:22:50 2006 From: do-not-reply at jboss.com (hubertg) Date: Tue, 11 Jul 2006 03:22:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Why - small correction Message-ID: <21727207.1152602570446.JavaMail.jboss@colo-br-02.atl.jboss.com> oops, wrong stacktrace, the one above was for prov.getServletContext(portlet), basically it should make no difference, any call to the JBossServletContextProvider ends up in the "no bridge set" exception. ok, this is the right stacktrace: | 09:19:13,817 ERROR [ContentPortlet] The portlet threw an exception | java.lang.IllegalStateException: No bridge set | at org.jboss.portal.bridge.JBossServletContextProvider.getHttpServletRequest(JBossServletContextProvider.java:79) | at at.jku.kusss.portlet.main.ContentPortlet.doView(Unknown Source) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:561) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:482) | (...) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956860#3956860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956860 From do-not-reply at jboss.com Tue Jul 11 03:23:31 2006 From: do-not-reply at jboss.com (mnrz) Date: Tue, 11 Jul 2006 03:23:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to use JAX-WS with Seam? Message-ID: <10567989.1152602611208.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok Thank you Gavin. we are looking forward to see that version. wish you success. regards Mohammad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956861#3956861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956861 From do-not-reply at jboss.com Tue Jul 11 03:30:10 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 03:30:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Regarding Identity Management Component Message-ID: <3545851.1152603010605.JavaMail.jboss@colo-br-02.atl.jboss.com> At this point introducing and checking permissions has not been a priority because in most cases this responsibility is assumed by the application (webapp, standalone app) hosting jBPM. Moreover it is very difficult to provide a generic system that does not impact performance and that satisfies every user. So the way to do this is to define the permissions you want to have in your system, develop your own AuthorizationService and the checkPermission method of this service, and insert calls to this service at the appropriate places in the jBPM code as this service is not yet used for the reasons stated above. Hope this helps, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956862#3956862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956862 From do-not-reply at jboss.com Tue Jul 11 03:31:21 2006 From: do-not-reply at jboss.com (armita) Date: Tue, 11 Jul 2006 03:31:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: TrialBlazer is not working! Message-ID: <28062156.1152603081141.JavaMail.jboss@colo-br-02.atl.jboss.com> I used the installer with th EJB3 option! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956863#3956863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956863 From do-not-reply at jboss.com Tue Jul 11 03:31:42 2006 From: do-not-reply at jboss.com (Dee_Rag) Date: Tue, 11 Jul 2006 03:31:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - How to run multiple instance of single JBoss installation ? Message-ID: <30176985.1152603102338.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all,, Our application needs to be deployed on multiple instances each with different port numbers of the JBoss server which will be installed on a Unix box. So we need to know 1) Is it possible with JBoss 3.2.7 ?? 2) How to configure each instance of the server seperately? 3) Can we deploy .tar files on Jboss ? 4) Is .war or .ear files a must to deploy on Jboss? Please get back to me on this which will be helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956864#3956864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956864 From do-not-reply at jboss.com Tue Jul 11 03:33:31 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 03:33:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: automatic generation of form Message-ID: <12509484.1152603211159.JavaMail.jboss@colo-br-02.atl.jboss.com> The only generic mechanism available at this point is the default controller. Have a look at the websale example. We are working on a more powerful system using facelets in the 3.2 branch. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956865#3956865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956865 From do-not-reply at jboss.com Tue Jul 11 03:33:48 2006 From: do-not-reply at jboss.com (warrenc6) Date: Tue, 11 Jul 2006 03:33:48 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: session bean access with soap Message-ID: <13512412.1152603228792.JavaMail.jboss@colo-br-02.atl.jboss.com> remember to package your remote with the client ie axis/WEB-INF/classes or in axis/WEB-INF/lib the wsdd should look like View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956866#3956866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956866 From do-not-reply at jboss.com Tue Jul 11 03:34:43 2006 From: do-not-reply at jboss.com (armita) Date: Tue, 11 Jul 2006 03:34:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Class cast exception in web module Message-ID: <6242245.1152603283370.JavaMail.jboss@colo-br-02.atl.jboss.com> When I put the slsb interface in my WEB-INF/classes dir, the cast of lookuped object to local interface gives me a ClassCastException. When I remove it everything is fine. But I think the interface should be within the client, which in this case is the webmodule, isn't it?! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956867#3956867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956867 From do-not-reply at jboss.com Tue Jul 11 03:35:12 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 11 Jul 2006 03:35:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: How to run multiple instance of single JBoss installatio Message-ID: <14950467.1152603312330.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956868#3956868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956868 From do-not-reply at jboss.com Tue Jul 11 03:38:41 2006 From: do-not-reply at jboss.com (warrenc6) Date: Tue, 11 Jul 2006 03:38:41 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: session bean access with soap Message-ID: <11919020.1152603521667.JavaMail.jboss@colo-br-02.atl.jboss.com> remember to package your remote with the client ie axis/WEB-INF/classes or in axis/WEB-INF/lib the wsdd should look like service name="myendpoint" provider="java:EJB" style="rpc" use="encoded"> parameter name="wsdlFile" value="name.wsdl"/> parameter name="wsdlTargetNamespace" value="urn:http://blah"/> parameter name="wsdlServiceElement" value="BlahInterfaceService"/> parameter name="wsdlServicePort" value="BlahEndpoint"/> parameter name="wsdlPortType" value="BlahInterface"/> parameter name="typeMappingVersion" value="1.2"/> parameter name="allowedMethods" value="*"/> parameter name="beanJndiName" value="Blah"/> parameter name="homeInterfaceName" value="blahRemoteHome"/> parameter name="remoteInterfaceName" value="BlahRemote"/> parameter name="localHomeInterfaceName" value="BlahLocalHome"/> parameter name="localInterfaceName" value="BlahLocal"/> parameter name="jndiContextClass" value="org.jboss.security.jndi.JndiLoginInitialContextFactory"/> parameter name="jndiURL" value="jnp://localhost:1099"/> requestFlow> handler type="session"/> /requestFlow> responseFlow> handler type="session"/> /responseFlow> /service> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956869#3956869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956869 From do-not-reply at jboss.com Tue Jul 11 03:46:12 2006 From: do-not-reply at jboss.com (monu) Date: Tue, 11 Jul 2006 03:46:12 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - ThreadPoolFullException:Pool is blocked Message-ID: <9770590.1152603972235.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am using JBoss 4.0.2. When I push messages in JMS Q for long time with high TPS after sometime in log I see following errors: org.jboss.util.threadpool.ThreadPoolFullException: java.lang.RuntimeException: Pool is blocked To avoid this I tried with following changes for threadpool setting in jboss-service.xml but then also it didn't work. -Changing "BlockingMode" to "wait" -MaximumPoolSize to 150 from 10 -MaximumQueueSize to 2500 from 1000 Please let me know if anyone has faced similar problem and how to resolve it. Thanks in advance. Cheers, Monu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956870#3956870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956870 From do-not-reply at jboss.com Tue Jul 11 03:52:47 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 03:52:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webforms and more info Message-ID: <17050592.1152604367284.JavaMail.jboss@colo-br-02.atl.jboss.com> If you want to create customized forms, you have to rely on the technology of your choice and use JSF, Struts, etc... The default mechanism uses a simple rendering mechanism that shows forms based on a default task controller. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956871#3956871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956871 From do-not-reply at jboss.com Tue Jul 11 03:57:47 2006 From: do-not-reply at jboss.com (oabidian) Date: Tue, 11 Jul 2006 03:57:47 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING Message-ID: <26771740.1152604667127.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I can not say really "my pleasure". But the least I can do is to report my finding. You guys are doing the hard work there. Have a good day sir. A. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956872#3956872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956872 From do-not-reply at jboss.com Tue Jul 11 03:58:12 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 03:58:12 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problem in FieldInstansiator Message-ID: <19430786.1152604692180.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for reporting this. Would you mind filing a JIRA issue for us referencing this post? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956873#3956873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956873 From do-not-reply at jboss.com Tue Jul 11 04:00:51 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:00:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process Definition Tutorials Message-ID: <13012671.1152604851211.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't be too hesitating to dive into the code and more in particular look at the unit tests and the webapp. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956874#3956874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956874 From do-not-reply at jboss.com Tue Jul 11 04:03:41 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Tue, 11 Jul 2006 04:03:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Possible to write a rollback SeamTest? Message-ID: <13239101.1152605021824.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, so pardon my lack of clue here. This is kind of a minor conundrum, but maybe someone knows the answer off the top of their head. I am writing a base class for versioned objects. These versioned objects can make (dynamically) immutable copies of themselves. I call these copies "snapshots". To ensure that my code doesn't modify the supposed-to-be-immutable snapshots, I have a @PreUpdate method in the base class which checks to see if the object is a snapshot (which is true iff its "replicatedChangeset" field is non-null). If it is, the @PreUpdate throws a SnapshotModifiedException. @Entity | @Inheritance(strategy=InheritanceType.JOINED) | public abstract class RepObject { | ... | private Changeset replicatedChangeset; | ... | @PreUpdate | private void checkUpdate () { | log.debug("Calling checkUpdate on " + this + "..."); | if (replicatedChangeset != null) { | throw new SnapshotModifiedException(this); | } | } | ... | } SnapshotModifiedException: @ApplicationException(rollback=true) | public class SnapshotModifiedException | extends RuntimeException | { | RepObject snapshot; | | public SnapshotModifiedException(RepObject snapshot) { | this.snapshot = snapshot; | assert snapshot.getReplicatedChangeset() != null; | } | ... | } This all works fine, actually. So now, naturally enough, I want to write a SeamTest that tries to modify a snapshot object, and then fails if the modification is successful, and passes if the modification blows up as expected. Here's my attempt: @Override | protected void updateModelValues() | { | entityManager = (EntityManager) Component.getInstance("entityManager", true); | changesetLog = (ChangesetLog) Contexts.getApplicationContext().get("changesetLog"); | } | | @Override | protected void invokeApplication() | { | // ... get a list of snapshot objects in the List priorBlogPosts ... | try { | BlogPost prior1 = priorBlogPosts.get(0); | prior1.setTitle("changedTitle"); // shouldn't change a snapshot! | | // trigger the @PreUpdate check | entityManager.flush(); | | assert false; // plan to die if we get this far; should get exception from the flush | } catch (RuntimeException e) { | log.info("Got expected exception from attempted snapshot update", e); | | // rethrow e... since it's marked as @ApplicationException(rollback=true), should roll back peacefully?! | throw e; | } | } Now, this obviously doesn't work, because I rethrow the exception, so the test dies. (Note that the exception is not a SnapshotModifiedException, it's an InvocationTargetException wrapping a SnapshotModifiedException. Oh well.) But what should I do instead? If I swallow the exception, the test will still die, because it will try to flush again and fail. I think I want to do setRollbackOnly. But I don't actually know how to *do* setRollbackOnly from inside a SeamTest. The only syntax I see for it is (from the dvd example): @Resource | SessionContext ctx; | ... | ctx.setRollbackOnly(); But this can't be done from a SeamTest. If I just change my test to: @Resource | SessionContext ctx; | ... | } catch (RuntimeException e) { | log.info("Got expected exception from attempted snapshot update", e); | | ctx.setRollbackOnly(); | } Then I get a NullPointerException because SeamTests don't seem to support @Resource injection, so ctx is null. So how do I get a hold of a javax.ejb.SessionContext in my SeamTest to make it roll back peacefully? Basically I'm between a rock and a hard place: 1) If I swallow the exception, then the test blows up when it tries to commit, because it flushes again and hits the exception again. 2) If I rethrow the exception, then the test blows up because an exception thrown out a test causes a test failure. 3) I can't do "ctx.setRollbackOnly();" in my catch clause because I don't know how to inject or otherwise obtain a javax.ejb.SessionContext in my test. Obviously I could just punt on this whole test, but this is really important functionality in my little framework and I want a test for it :-) Clues, anyone? There's probably some dead simple way to get the SessionContext from inside a SeamTest... I just can't imagine what it is! Thanks! Cheers, Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956875#3956875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956875 From do-not-reply at jboss.com Tue Jul 11 04:04:39 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:04:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Class chooser for ActionHandler not working in designer Message-ID: <12847197.1152605079680.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for reporting Johan. One additional question from me. Do you see anything related to this in your Eclipse error log? If so please add it to the issue. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956876#3956876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956876 From do-not-reply at jboss.com Tue Jul 11 04:10:55 2006 From: do-not-reply at jboss.com (adik) Date: Tue, 11 Jul 2006 04:10:55 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <2195985.1152605455425.JavaMail.jboss@colo-br-02.atl.jboss.com> Jerry hi, thanks for answering and sorry for the late desponse but when I installed Jboss I chose the "all" option which give me only "default" instance (probably with the all configuration) any idea? I read the document and I don't know what to do, I have the same problem with other instances (not on the same machine) what can blobk them from seeing each other. as far as I understand I don't need to do any configuration they will work by default they are working in the default partition View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956877#3956877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956877 From do-not-reply at jboss.com Tue Jul 11 04:16:33 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Tue, 11 Jul 2006 04:16:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4 problem Message-ID: <1179113.1152605793315.JavaMail.jboss@colo-br-02.atl.jboss.com> does your form use a method="POST" or method="GET" ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956878#3956878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956878 From do-not-reply at jboss.com Tue Jul 11 04:20:53 2006 From: do-not-reply at jboss.com (honest.length) Date: Tue, 11 Jul 2006 04:20:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB3 MDB Singleton Message-ID: <23341790.1152606054010.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is it possible to configure an MDB as a singleton via annotaions? In jboss 3 this could be acheived via deployment descriptors from memory. If not is there a work around etc. Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956879#3956879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956879 From do-not-reply at jboss.com Tue Jul 11 04:26:33 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:26:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Error in named query: SchedulerSession.deleteTimersForPr Message-ID: <31045094.1152606393697.JavaMail.jboss@colo-br-02.atl.jboss.com> What JIRA issue are you referring to? Is it resolved in 3.1.1? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956880#3956880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956880 From do-not-reply at jboss.com Tue Jul 11 04:37:17 2006 From: do-not-reply at jboss.com (Renierb) Date: Tue, 11 Jul 2006 04:37:17 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - JBOSS Pooling Message-ID: <26399726.1152607037198.JavaMail.jboss@colo-br-02.atl.jboss.com> I use to use individual connections to connect from our JSP pages to Postgresql. Then we setup a pool in jboss in postgres-ds.xml, in my deploy directory. We use a datasource also setup in JBOSS, used in our JSP pages. But our stress testing results show that with pooling its about 10% slower than without pooling. What can I configure to make it faster? Here is what I have setup so far: 5 20 50000 15 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956881#3956881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956881 From do-not-reply at jboss.com Tue Jul 11 04:38:16 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:38:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM Message-ID: <8848568.1152607096495.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know the specifics of the Intalio product. Specific advantages of jBPM are without doubt: - independence of database - independence of application server - embeddable in custom applications - easily clusterable and thus ready for high demanding environments - from a developer's perspective, highly customizable Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956882#3956882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956882 From do-not-reply at jboss.com Tue Jul 11 04:39:39 2006 From: do-not-reply at jboss.com (Glammy) Date: Tue, 11 Jul 2006 04:39:39 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Handling Multipart Request Message-ID: <13301010.1152607179047.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. I see Tomcat 5.5 has no implementation for multipart form data parsing. Can anyone tell me how to implement this myself or suggest me a good implemtation. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956883#3956883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956883 From do-not-reply at jboss.com Tue Jul 11 04:40:21 2006 From: do-not-reply at jboss.com (hubertg) Date: Tue, 11 Jul 2006 04:40:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Why - solution Message-ID: <24689851.1152607221788.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i found a solution for this problem: as of cvs version 1.89 of /portal-core-sar/META-INF/jboss-service.xml the bridge interceptor has been switched off temporarily. my solution: i added the following in line 281 (after SessionPostDispatch) to the file jboss-service.xml portal:service=Interceptor,type=Portlet,name=Bridge | restart jboss, then it works. of course I do not know why the Bridge interceptor has been deactivaed, maybe there exist good reasons for doing this? now i have additional questions: as said, I use the following code to get the servletRequest | JBossServletContextProvider prov = new JBossServletContextProvider(); | HttpServletRequest hreq = prov.getHttpServletRequest(this, rRequest); | imho the returned HttpServletRequest should behave like a standard servlet's HttpServletRequest, but it doesn't! eg: getParameter never returns any parameter values, there are simply no parameters at all; also hreq.getServletPath() returns null. is this normal behaviour? is there a documentation about what to except when using the JBossServletContextProvider's HttpServletRequest? thank you very much for any answers! r hubert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956884#3956884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956884 From do-not-reply at jboss.com Tue Jul 11 04:43:49 2006 From: do-not-reply at jboss.com (burakbayramli) Date: Tue, 11 Jul 2006 04:43:49 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Changing Ports (two nodes, same machine, 4.0.4) Message-ID: <25163481.1152607429381.JavaMail.jboss@colo-br-02.atl.jboss.com> Adding the jar did not help. The config below in jboss-service.xml still results in same default ports being used. | ports-01 | c:/jboss-4.0.4.GA-clustered/docs/examples/binding-manager/sample-bindings.xml | | org.jboss.services.binding.XMLServicesStoreFactory | | Any insights would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956885#3956885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956885 From do-not-reply at jboss.com Tue Jul 11 04:44:03 2006 From: do-not-reply at jboss.com (ericmacau) Date: Tue, 11 Jul 2006 04:44:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4 problem Message-ID: <33059542.1152607443273.JavaMail.jboss@colo-br-02.atl.jboss.com> I used POST in FORM. But sometimes I use RenderURL for link, if I use a parameter "action" it cannot procceed my action. And now, I changed all the parameter "action" to "_action", everything works fine. Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956886#3956886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956886 From do-not-reply at jboss.com Tue Jul 11 04:45:18 2006 From: do-not-reply at jboss.com (sunilkumar679) Date: Tue, 11 Jul 2006 04:45:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: how to access the the process without UI from other (sta Message-ID: <16253010.1152607518692.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you both very much newbie007 & Ronald newbie007 <- I am getting NullPointerException for GraphSession graphSession = jbpmContext.getGraphSession(); Ronald <- i am new to JBPM and i don't know where to get testcases/examples, and it will be great if you can tell me where can i find closely my solution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956887#3956887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956887 From do-not-reply at jboss.com Tue Jul 11 04:47:51 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:47:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deploying JBPM Message-ID: <12904870.1152607671308.JavaMail.jboss@colo-br-02.atl.jboss.com> Start with posting the relevant parts of the JBoss log file to increase your chances on a meaningful answer. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956888#3956888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956888 From do-not-reply at jboss.com Tue Jul 11 04:50:37 2006 From: do-not-reply at jboss.com (wolfc) Date: Tue, 11 Jul 2006 04:50:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with inheritance and aop in MessageDrivenBeans ( Message-ID: <16778255.1152607837590.JavaMail.jboss@colo-br-02.atl.jboss.com> Problem reproduced. The AbstractMDB must have public modifier. public class AbstractMDB { public void onMessage(final Message message) { | Logger.getLogger(this.getClass()).debug("Received a message."); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956889#3956889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956889 From do-not-reply at jboss.com Tue Jul 11 04:53:46 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 04:53:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: hibernate.cfg.xml not found (pb with rmi) Message-ID: <14185857.1152608026860.JavaMail.jboss@colo-br-02.atl.jboss.com> As the error says, there is no hibernate configuration file found in your RMI server... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956890#3956890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956890 From do-not-reply at jboss.com Tue Jul 11 04:54:36 2006 From: do-not-reply at jboss.com (YashodaN) Date: Tue, 11 Jul 2006 04:54:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Stateful Session Bean Time out Message-ID: <30187388.1152608076360.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, My application time-out is set to about 1 hour (60 minutes) in my web.xml. However, if I leave the screen idle for about 20-30 minutes, I get an error because my stateful session beans have already timed out. Can anybody tell me where I can set the time-out default for stateful session EJB in Jboss configuraration files ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956891#3956891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956891 From do-not-reply at jboss.com Tue Jul 11 04:56:47 2006 From: do-not-reply at jboss.com (jmix2006) Date: Tue, 11 Jul 2006 04:56:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Source of JBPM Message-ID: <10766583.1152608207316.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want old source of JBPM; i didn't find them anywhere Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956892#3956892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956892 From do-not-reply at jboss.com Tue Jul 11 04:58:45 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 11 Jul 2006 04:58:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations? Message-ID: <10672054.1152608325235.JavaMail.jboss@colo-br-02.atl.jboss.com> Something I think would be useful would be a 'how to write components guide' - covering packaging, example writing, documentation, where to submit to ... I'm open to consolidation - as you say the binder side is very similar! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956894#3956894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956894 From do-not-reply at jboss.com Tue Jul 11 04:59:39 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 04:59:39 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <7107159.1152608379099.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you got a transaction manager registered? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956896#3956896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956896 From do-not-reply at jboss.com Tue Jul 11 04:59:50 2006 From: do-not-reply at jboss.com (esatkaan) Date: Tue, 11 Jul 2006 04:59:50 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Servlet problem Message-ID: <3312396.1152608390603.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody, I've been workin on deploying our project which developed in ibm websphere into jboss application server. I did the deployment, but when i make a request via jakarta's httpclient-3.0.1 to our servlet i get the following error in my server console 11:12:24,531 ERROR [[MyServlet]] Allocate exception for servlet MyServlet java.lang.ExceptionInInitializerError at org.apache.log4j.PropertyWatchdog.doOnChange(PropertyConfigurator.java:673) at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:80) at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:49) at org.apache.log4j.PropertyWatchdog.(PropertyConfigurator.java:665) at org.apache.log4j.PropertyConfigurator.configureAndWatch(PropertyConfigurator.java:373) at system.appcore.MyServlet.init(MyServlet.java:96) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt p11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.ClassCastException at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:139) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:644) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460) at org.apache.log4j.LogManager.(LogManager.java:113) and invalid stream header exception on the client side. I thought that this was because of the httpclient that I used, because when I use the ibm V6 app server the response comes in chunkedinputstream but in the jboss case it comes in contentlengthinputstream. And I realized that these are arranged by the httpclient. Then I stop using httpclient and used the general method httpurlconnection. In this case I get the http 500 error which indicates that my server does not work properly. Is this because of the above Allocate exception error?? if anyone encountered this error before, please help me. Thanks a lot.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956897#3956897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956897 From do-not-reply at jboss.com Tue Jul 11 05:00:00 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:00:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss Message-ID: <14767594.1152608400773.JavaMail.jboss@colo-br-02.atl.jboss.com> google or any other search functionality is your friend View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956898#3956898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956898 From do-not-reply at jboss.com Tue Jul 11 05:00:32 2006 From: do-not-reply at jboss.com (jason_rency) Date: Tue, 11 Jul 2006 05:00:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SEAM CRUD application has no impact to the DB Message-ID: <22292135.1152608432694.JavaMail.jboss@colo-br-02.atl.jboss.com> any ideas? by the way, in the persistence.xml jta-data-source>java:/DefaultDS but I am not using the bundled HSQL db with jboss, I am using the server mode of a seperate hsql installation. so I am just wondering if the configuration here in the persistence.xml is correct. regards Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956899#3956899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956899 From do-not-reply at jboss.com Tue Jul 11 05:03:25 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:03:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Source of JBPM Message-ID: <32814932.1152608605909.JavaMail.jboss@colo-br-02.atl.jboss.com> all the source is in CVS, use that to retrieve what you need View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956900#3956900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956900 From do-not-reply at jboss.com Tue Jul 11 05:08:23 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:08:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: how to access the the process without UI from other (sta Message-ID: <11595902.1152608903037.JavaMail.jboss@colo-br-02.atl.jboss.com> testcases are normally in the sourcecode, so start with that. hth, Ronald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956901#3956901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956901 From do-not-reply at jboss.com Tue Jul 11 05:09:04 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:09:04 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Remoting On Existing POJO Channel Message-ID: <32772773.1152608944773.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Sorry for the slow response. You shouldn't look at using JBoss Cache as an RPC mechanism. It is a library for distributing state and that is it. I try and discourage people from using JBoss Cache as an RPC library and this is why the callRemoteMethods() are deprecated. They will disappear in 2.0.0. If you need to implement an RPC protocol, using JGroups + RpcDispatcher is one way to do it. And as you've seen, this is how we perform RPC in JBoss Cache. If you need JBoss Cache functionality *as well as* RPC functionality, perhaps you should start a separate JGroups channel (different mcast address/port/cluster name) for RPC calls and a separate channel for JBoss Cache. This will prevent any conflicts in messages, etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956902#3956902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956902 From do-not-reply at jboss.com Tue Jul 11 05:09:27 2006 From: do-not-reply at jboss.com (chaituu) Date: Tue, 11 Jul 2006 05:09:27 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - http://www.p6spy.com/documentation/other.htm#jboss_jmx Message-ID: <20021449.1152608967188.JavaMail.jboss@colo-br-02.atl.jboss.com> i am using jboss-4.0.2;try to put mbean code in jboss-service.xml;i placed p6spy.jar in default/lib directory;but i am getting below error; org.jboss.deployment.DeploymentException: Unexpected error during load of: com.p6spy.management.jboss.P6SpyManager, msg=com/p6spy/management/jboss/P6SpyManagerMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: com.p6spy.management.jboss.P6SpyManager, msg=com/p6spy/management/jboss/P6SpyManagerMBean) http://www.p6spy.com/documentation/other.htm#jboss_jmx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956903#3956903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956903 From do-not-reply at jboss.com Tue Jul 11 05:17:02 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 05:17:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Deployment order of dependent process definitions Message-ID: <33078153.1152609422404.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems that if I have process definition 1, which refers to process definition 2 in a process-state node, I must ensure that I deploy 2 before 1, i.e. that sub-process resolution is done at deployment time. Failure to do that results in a an error "Can't create process instance when processDefinition is null" I can't see how this will be workable in a moderately complex scenario where consultants are able to modify and re-upload process definitions. Can we not defer sub-process definition resolution to runtime? Or have I got the wrong end of the stick :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956904#3956904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956904 From do-not-reply at jboss.com Tue Jul 11 05:17:32 2006 From: do-not-reply at jboss.com (bfo81) Date: Tue, 11 Jul 2006 05:17:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <28737409.1152609452272.JavaMail.jboss@colo-br-02.atl.jboss.com> Mh... template method pattern, very beautiful. I'm messing around with JSF frameworks and example codes for a while now, and I often wondered why no one did it like this before. I'd like to add something. I believe you can implement the setObject()-method in the abstract class PersistenceBean, too, since it should be the same in alle inheriting classes. BUT: What about casting? I mean when you access the employee, e.g. then JSF accesses the getName() method of the employee object. But since this one is a java.lang.Object and not a Employee I fear that we might get a MethodNotFoundError. Or is the reflection mechanism in Java smart enough for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956905#3956905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956905 From do-not-reply at jboss.com Tue Jul 11 05:19:25 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 05:19:25 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Read-Mostly entities with CMR Message-ID: <30065800.1152609565985.JavaMail.jboss@colo-br-02.atl.jboss.com> I would never use CMP from EJB prior to 3.0 any more. It's broken and useless. Just use Hibernate instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956906#3956906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956906 From do-not-reply at jboss.com Tue Jul 11 05:21:55 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:21:55 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Global caching Message-ID: <16586227.1152609715483.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Kurt Sorry for the slow response, been juggling a few too many things at the same time here. Just trying to recreate your problem now; will re-post soon. Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956907#3956907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956907 From do-not-reply at jboss.com Tue Jul 11 05:24:20 2006 From: do-not-reply at jboss.com (DanSalt) Date: Tue, 11 Jul 2006 05:24:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: How to deploy a connector in an ear file Message-ID: <1577574.1152609860894.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Yes, it is possible. I deploy one EAR file containing everything. Put the DS file in the root of the RAR file. Then in the DS file, you need to use specify the RAR file as [EAR_FILE]#[RAR_FILE]. JcaAdapter.rar with JcaLaucher_EAR.ear#JcaAdapter.rar (assuming your EAR file is called JcaLaucher_EAR.ear, edit if not) Hope that helps, Cheers, Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956908#3956908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956908 From do-not-reply at jboss.com Tue Jul 11 05:24:44 2006 From: do-not-reply at jboss.com (pcarvalho) Date: Tue, 11 Jul 2006 05:24:44 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Soap Attachments problem with JBossAS 4.0.3 Message-ID: <31284853.1152609884763.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using JBoss 4.0.3 in order to deploy a WS with attachments. I've tried the step by step process available in the web site but still have problems when deploying on JBoss (under the SunApp Server, all works fine). Is it possible to use the -f:datahandleronly argument of the wscompile tool in order to deploy the SAAJ WS? What's the difference between the base64Binary generated with this option and the hexBinary added by hand in the tutorial? Are these two data types supported by JBossAS 4.0.3? Is there a sample zip file working good anywhere? (a war to deploy directly and wrking), or has anybody any good sample, explained properly with the config files associated with? Thanks. Phil. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956909#3956909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956909 From do-not-reply at jboss.com Tue Jul 11 05:32:02 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:32:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <11672120.1152610322877.JavaMail.jboss@colo-br-02.atl.jboss.com> One 'wrong' end of the stick (maybe I should say 'other' although not many sticks have two 'useful' ends ;-) ) is anonymous wrote : I can't see how this will be workable in a moderately complex scenario where consultants are able to modify and re-upload process definitions. IMHO (and Toms' and many others), consultants are not the ones to deploy things. Read Tom's blogs to see what the point of view of jBPM is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956910#3956910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956910 From do-not-reply at jboss.com Tue Jul 11 05:34:31 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:34:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Example uses superstate Message-ID: <23357448.1152610471479.JavaMail.jboss@colo-br-02.atl.jboss.com> hmmm.... funny, that document is behind the second result google gave me when using the words "superstate jbpm docs" in the query. Would that be a coincidence David? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956911#3956911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956911 From do-not-reply at jboss.com Tue Jul 11 05:37:46 2006 From: do-not-reply at jboss.com (Seto) Date: Tue, 11 Jul 2006 05:37:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problems about EJB3 Message-ID: <14329200.1152610666410.JavaMail.jboss@colo-br-02.atl.jboss.com> While I'm reading Enterprise JavaBeans 3.0, 5th Edition, Oreilly, I found the code that entityManager.create(cust). But I can't find the create method in the javadoc. Can someone explain it for me? Is it the difference in versions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956913#3956913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956913 From do-not-reply at jboss.com Tue Jul 11 05:39:53 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:39:53 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Global caching Message-ID: <376740.1152610793509.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, there may be a bug in the lifecycle methods of the TcpCacheServer - but this should not stop it from normal operations, of acting as a far cache. Are the other nodes in the cluster able to speak to this Tcp Cache server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956914#3956914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956914 From do-not-reply at jboss.com Tue Jul 11 05:41:48 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 05:41:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <25162303.1152610908267.JavaMail.jboss@colo-br-02.atl.jboss.com> OK - forget consultants or not consultants - it is not the point. The point is - are we expected to remember the deployment order of process definitions. This seems unworkable in a complex scenario, no matter who handles the deployment. Why can sub-process definition resolution not be left until runtime? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956915#3956915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956915 From do-not-reply at jboss.com Tue Jul 11 05:46:19 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:46:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBoss Cache Error Message-ID: <17810355.1152611179442.JavaMail.jboss@colo-br-02.atl.jboss.com> have you referred to the examples in http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheAndWebLogic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956916#3956916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956916 From do-not-reply at jboss.com Tue Jul 11 05:48:21 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:48:21 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: No local transaction... Message-ID: <12957296.1152611301327.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes - this has to do with a network timing thing where the remote node receives a rollback (for some reason) before it has received the prepare (1PC since you are using ASYNC). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956917#3956917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956917 From do-not-reply at jboss.com Tue Jul 11 05:49:41 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 11 Jul 2006 05:49:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <18114430.1152611381134.JavaMail.jboss@colo-br-02.atl.jboss.com> hey, you brought it up yourself ;-) It could ofcourse be left until runtime, but then the parent process won't run since the subprocess is not there. You have to react to that as well. IMO you do not want runtime errors because of this and thus want to have all processes deployed when you start some new instance. A CMDB would be great for this, either way right? Or do I mis something? If it is just the order, you could create a small ant script that deploys all the relevant processes in the correct order. This ant script could probably be generated from the CMDB. We try to automate as much of this as possible to prevent errors, deploy time or runtime View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956918#3956918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956918 From do-not-reply at jboss.com Tue Jul 11 05:50:13 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 05:50:13 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: complex object problem Message-ID: <16501487.1152611413349.JavaMail.jboss@colo-br-02.atl.jboss.com> which version of Jalapeno were you using? Beta1, Beta2, CR1 or CR2? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956919#3956919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956919 From do-not-reply at jboss.com Tue Jul 11 05:53:41 2006 From: do-not-reply at jboss.com (floefliep) Date: Tue, 11 Jul 2006 05:53:41 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem Message-ID: <261066.1152611621524.JavaMail.jboss@colo-br-02.atl.jboss.com> More news: It seems it is happening with the query cache enabled, since at the location of the exception the toString() of workspaceNode is: WorkNode fqn=/org/hibernate/cache/StandardQueryCache dirty ver=null When I disable the query cache, I get another similar exception: Caused by: java.lang.NullPointerException at org.hibernate.util.ComparableComparator.compare(ComparableComparator.java:13) at org.hibernate.cache.OptimisticTreeCache$DataVersionAdapter.newerThan(OptimisticTreeCache.java:258) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:124) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:101) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:66) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:95) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:796) at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1061) ... 73 more Now in order to force it to proceed, I tried to patch org.hibernate.util.ComparableComparator.compare() by adding if (x == null) return -1; This seems to make it work, but I get: WARN [OptimisticTreeCache] Unexpected optimistic lock check on inserted data It seems that the core of the problem is that org.hibernate.cache.OptimisticTreeCache$DataVersionAdapter.previousVersion is null in some cases, probably set by org.hibernate.cache.OptimisticTreeCache.writeLoad(), but I have no clue as to why these lock checks occur, or whether these instances with a version or previousversion set to null are ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956920#3956920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956920 From do-not-reply at jboss.com Tue Jul 11 05:54:58 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Tue, 11 Jul 2006 05:54:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Attributes to a group of portlets Message-ID: <32697181.1152611698833.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Sometimes when we're building a portal that uses attributes to send all the portlets, we use the APPLICATION_SCOPE. But, sometimes, this attributes must only be visible to a group of portlets, and not to all portlets. For example, i have a PORTLET A, B e C, that uses the same attribute. But, for one special case, when i do setAttribute, i only want to set the variable to portlet A and B. How can i do this with jboss Portal? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956921#3956921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956921 From do-not-reply at jboss.com Tue Jul 11 06:00:23 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 06:00:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <3163258.1152612023888.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : hey, you brought it up yourself ;-) ?? - I wasn't angry about anything. Apologies if that appeared to be the tone :) anonymous wrote : IMO you do not want runtime errors because of this and thus want to have all processes deployed when you start some new instance Can't we leave that decision to users rather than making it for them? anonymous wrote : A CMDB would be great for this, either way right? Or do I mis something? What's a CMDB? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956922#3956922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956922 From do-not-reply at jboss.com Tue Jul 11 06:00:43 2006 From: do-not-reply at jboss.com (hti-patmas_team) Date: Tue, 11 Jul 2006 06:00:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity Bean behaves strangely with @OneToMany Message-ID: <8287027.1152612044004.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Andi, thanks for your reply Neither the Javadoc (from Sun) nor the O'Reilly EJB 3 book mentiones this. I presume this is a JBoss specific issue? Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956923#3956923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956923 From do-not-reply at jboss.com Tue Jul 11 06:01:24 2006 From: do-not-reply at jboss.com (Seto) Date: Tue, 11 Jul 2006 06:01:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - JBoss Seam is just a toy in front of the user using Spring+H Message-ID: <9488135.1152612084951.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm told that the JBoss Seam sollution simplified the develop. But at the same time, it reduce the funtionality of the Spring+Hibernate. I'm just told that it's unnecessary to learn JBoss Seam. Can someone list some advantage of JBoss Seam? I'm just confused. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956924#3956924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956924 From do-not-reply at jboss.com Tue Jul 11 06:03:10 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 06:03:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_LOG: who performed the transition? Message-ID: <32059495.1152612190761.JavaMail.jboss@colo-br-02.atl.jboss.com> JBPM_LOG is indeed the way to construct the audit trail. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956925#3956925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956925 From do-not-reply at jboss.com Tue Jul 11 06:04:59 2006 From: do-not-reply at jboss.com (wolfc) Date: Tue, 11 Jul 2006 06:04:59 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using TimerService Message-ID: <22642830.1152612299527.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/EJBTHREE-613 Issue is resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956927#3956927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956927 From do-not-reply at jboss.com Tue Jul 11 06:09:35 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Tue, 11 Jul 2006 06:09:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Acquire lock Message-ID: <32511626.1152612575794.JavaMail.jboss@colo-br-02.atl.jboss.com> Nope, we don't do cluster-wide locking. Instead we use 2PC transactions to maintain integrity across a cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956928#3956928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956928 From do-not-reply at jboss.com Tue Jul 11 06:11:23 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 06:11:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <18834419.1152612683969.JavaMail.jboss@colo-br-02.atl.jboss.com> I've just re-read the thread in its entirety. We're getting crossed wires. I'm about to re-post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956929#3956929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956929 From do-not-reply at jboss.com Tue Jul 11 06:12:09 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Tue, 11 Jul 2006 06:12:09 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <23030954.1152612729241.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have fixed on bug: http://jira.jboss.com/jira/browse/JBCACHE-691 that I think if your problem. Basically, PojoCache will throw an exception if: 1. You are using other tm, e.g., JBossTransactionManagerLookup classs 2. You are not using any transaction, e.g., not tx.begin() in user code. Can you please verify? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956930#3956930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956930 From do-not-reply at jboss.com Tue Jul 11 06:15:58 2006 From: do-not-reply at jboss.com (qbacomarch) Date: Tue, 11 Jul 2006 06:15:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - NullPointerException in HelloWorld Message-ID: <8643715.1152612958962.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'am using NetBeans5.5 Beta, and latest JBoss 4.0.4GA Patch1. My problem is, when trying to run simple HelloWorld application I have NPE message. What do I do wrong or what should I do more? here is enterprise bean class: package hello; import javax.ejb.Stateless; @Stateless public class HelloBean implements hello.HelloRemote { public HelloBean() {} public String komunikat() { return "HelloWorld"; } } remote interface: package hello; import javax.ejb.Remote; @Remote public interface HelloRemote { public String komunikat(); } application client: package hellojb; import javax.annotation.EJB; import hello.HelloRemote; public class Main { @EJB private static HelloRemote bin; public Main() { } public static void main(String[] args) { System.out.println("HERE: " + bin.komunikat()); //<----this line makes exception } } log: Applicaton Deployed Operation start started run-deploy: run-tool: run-jar: Exception in thread "main" java.lang.NullPointerException at hellojb.Main.main(Main.java:35) Java Result: 1 run-display-browser: run: BUILD SUCCESSFUL (total time: 1 second) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956932#3956932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956932 From do-not-reply at jboss.com Tue Jul 11 06:16:24 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 11 Jul 2006 06:16:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <24549518.1152612984243.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, let's start again - we're actually agreeing, and it seems I did not express my original post adequately. (PD = Process Definition) I have PD 1 and PD 2. PD 1 refers to PD 2 as a sub-process. I deploy PD 2. Then I deploy PD 1. They are both now deployed. Then I create a process instance from PD 1. It fails, saying that PD 2 does not exist. This is wrong(?) Start from scratch. I deploy PD 1. Then I deploy PD 2. They are both now deployed. Then I create a process instance from PD 1. Everything works fine. Of course, all PDs must be deployed at the time the process instance is created. But should it be necessary that I deploy them in the correct sequence? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956933#3956933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956933 From do-not-reply at jboss.com Tue Jul 11 06:16:56 2006 From: do-not-reply at jboss.com (mika.fhdw) Date: Tue, 11 Jul 2006 06:16:56 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: some questions about JBoss and Catalina Message-ID: <6061245.1152613016867.JavaMail.jboss@colo-br-02.atl.jboss.com> hi PeterJ, thanks for your reply. i will have a look at the postet url's. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956934#3956934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956934 From do-not-reply at jboss.com Tue Jul 11 06:19:39 2006 From: do-not-reply at jboss.com (jnerd) Date: Tue, 11 Jul 2006 06:19:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with inheritance and aop in MessageDrivenBeans ( Message-ID: <8380910.1152613179287.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, Ah that's right. But still, this is an incorrect behaviour in Java terms. Shouldn't we open a (not very high priority) bug for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956935#3956935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956935 From do-not-reply at jboss.com Tue Jul 11 06:22:31 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 11 Jul 2006 06:22:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to invoke a business process in JBoss Message-ID: <20160917.1152613351456.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried it just out of curiosity: http://www.google.com/search?hl=en&q=JbpmContext&meta= ;-) Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956936#3956936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956936 From do-not-reply at jboss.com Tue Jul 11 06:24:00 2006 From: do-not-reply at jboss.com (bfo81) Date: Tue, 11 Jul 2006 06:24:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss Seam is just a toy in front of the user using Spri Message-ID: <15699261.1152613440645.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I've been trying out the AppFuse framework which includes JSF+Spring+Hibernate before I started to use Seam. And it was a good decision to switch. Even the author of AppFuse, Matt Raible, says that Seam is great. Of course, like everytime you start learning something from scratch, Seam sometimes makes you learn the hard way. But hey, developing web applications in J2EE never goes like reading, trying, adapting, finished. It's not a picnic ;). And learning Spring+Hibernate was - in my opinion - much more confusing. Seam closes the gap between JSF and EJB3 (which is much easier than EJB2 was). JSF+Spring+Hibernate means a lot of glue code, but in Seam everything fits >seamlessly< together ;). Just have a look at the examples. I believe Seam is the very next step in J2EE webapps and it will surely lead to some sort of official and standardized Java stuff (namely "web beans"). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956937#3956937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956937 From do-not-reply at jboss.com Tue Jul 11 06:24:31 2006 From: do-not-reply at jboss.com (beep_beep) Date: Tue, 11 Jul 2006 06:24:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB3 and Home Interface Support Message-ID: <4415039.1152613471393.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, My simple question is: Is there some replacement to old Home interface(except backward support of ejb2.1) in session beans? What mechanism should I use to create several instances of the same session bean Type? How to find instances? link to some examples, please, if you could. Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956938#3956938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956938 From do-not-reply at jboss.com Tue Jul 11 06:33:48 2006 From: do-not-reply at jboss.com (pure) Date: Tue, 11 Jul 2006 06:33:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Possible bug in handling of wsdl fault names Message-ID: <18780870.1152614028165.JavaMail.jboss@colo-br-02.atl.jboss.com> When i try to generate code with wstools for the following wsdl file i get this problem: The fault classes are generated as they should but when they are used in the _PortType the Fault suffix is removed. If i rename the Fault's in the wsdl file to something else it seems to work. wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config: | | | | | | Here is the code for the PortType that is generated.. As you can see the exceptions do not end with Fault as stated in the WSDL file. The exception classes that are generated does have the Fault suffix. | package com.mtcrapmore; | public interface GS4Extension_PortType extends java.rmi.Remote | { | | public com.mtcrapmore.GameRoundList getGameRounds(com.mtcrapmore.GameRoundRequest gameRoundRequest) throws com.mtcrapmore.Argument,com.mtcrapmore.InvalidSession,com.mtcrapmore.System,com.mtcrapmore.Access, java.rmi.RemoteException; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956939#3956939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956939 From do-not-reply at jboss.com Tue Jul 11 06:42:24 2006 From: do-not-reply at jboss.com (pure) Date: Tue, 11 Jul 2006 06:42:24 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Possible bug in handling of wsdl fault names Message-ID: <15392852.1152614544168.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss 4.0.4GA btw.. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956943#3956943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956943 From do-not-reply at jboss.com Tue Jul 11 06:48:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 11 Jul 2006 06:48:20 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with ClassNotFoundException while trying to add Message-ID: <6624919.1152614900823.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you post your entire log4j.xml and the snippet of code where you are logging the message (Use the 'Code' button to enclose the contents in a code block, for better readability) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956945#3956945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956945 From do-not-reply at jboss.com Tue Jul 11 06:49:38 2006 From: do-not-reply at jboss.com (little) Date: Tue, 11 Jul 2006 06:49:38 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - JBoss Architecture Overview Message-ID: <27561707.1152614978236.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to learn the architecture of JBoss,but in the site i find only one page.This is the link http://labs.jboss.com/portal/jbossas/architecture . Thanks, little View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956946#3956946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956946 From do-not-reply at jboss.com Tue Jul 11 07:02:32 2006 From: do-not-reply at jboss.com (louise_za) Date: Tue, 11 Jul 2006 07:02:32 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portlet tag interpretation sequence Message-ID: <20116782.1152615752292.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have a class that generates some jsp code for me when calling on a specific method. This code includes the tag: | public String getChildren(String id) | { | String children; | children = "\t\n" + | "\t\t\n" + | "\t\n" + | " | | b.jsp ------------------------------------------------------------------ | <%@ page language="java" contentType="text/html; charset=UTF-8"%> | | | | | | <% | request.setCharacterEncoding("UTF-8"); | String names = request.getParameter("names"); | System.out.println("Names:"+names); | %> | | following is configuration: jbossweb-tomcat50.sar/server.xml | | | Console print: Names:???????????? While I set 'useBodyEncodingForURI' to false,Console print is OK: Names:?? why? what is real meaning of 'useBodyEncodingForURI=true'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957617#3957617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957617 From do-not-reply at jboss.com Thu Jul 13 00:13:51 2006 From: do-not-reply at jboss.com (joff) Date: Thu, 13 Jul 2006 00:13:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Is this the correct way to go about this? Message-ID: <25887464.1152764031213.JavaMail.jboss@colo-br-02.atl.jboss.com> We are developing a Seam application using JBoss Seam current CVS, Sun JSF 1.2, and Facelets. We currently have this type of model: Our EJB3 entities are: CompanyCustomerUser Company has many customers, who in turn have many users. We have developed what we are calling "DAOs" or Data Access Objects, so that we can pull out (for example) a List of all Company objects (this is outside of any form context so no EJB3 is currently involved). For example, our CompanyDAO implementation looks like this: @Name("dao_company") | public class CompanyDAOImpl implements Serializable, CompanyDAO { | | private static final long serialVersionUID = 1L; | | @In(create=true) | private transient EntityManager entityManager; | | @SuppressWarnings("unchecked") | @WebRemote | public List getCompanies() { | Query query = entityManager.createQuery("FROM Company company"); | return (List) query.getResultList(); | } | } We would like to add a getCompanyByID() method to this class. However, because this method needs to be called from the JSF layer, we have to pass in the parameter as a field annotated with @RequestParameter. When we do this, the getCompanies() method (which does not use the annotated parameter) can no longer be called unless this field is filled in. We have two questions: Is this the correct way to be doing this type of "pull" data access? We have looked at the "Blog" example, but it does not seem as complex as what we are trying to do. Is it possible to have multiple @RequestParameter fields on a JavaBean like the one above, which do not all have to be populated when any given method (which may or may not use them) is called? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957618#3957618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957618 From do-not-reply at jboss.com Thu Jul 13 00:32:09 2006 From: do-not-reply at jboss.com (jnorris10) Date: Thu, 13 Jul 2006 00:32:09 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea Message-ID: <31104308.1152765129724.JavaMail.jboss@colo-br-02.atl.jboss.com> A few more questions related to this: 1) I have this interceptor deployed as a separate .aop artifact, separate from my application ear. Is it possible to somehow deploy this inside the ear (and therefore have my new aspect domain scoped inside it)? 2) I have called my aop descriptor "jboss-aop.xml". Since this inherits a domain from the main ejb3 interceptor stack, would this be better named "test-ejb3-interceptors-aop.xml" like the "aspectdomain" unit test, or does this name mean something else? What are the best practices for naming this? (btw, I could only get the .aop to deploy by calling it "jboss-aop.xml") 3) I have created a reusable transaction retry handler that ties into the jboss EJB3 interceptor stack (like the example above). Would this be a useful in the jboss aop aspect library as a reusable component? If so, what are the best practices for packaging this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957620#3957620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957620 From do-not-reply at jboss.com Thu Jul 13 00:37:16 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 13 Jul 2006 00:37:16 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: New to JBoss Clustering? Please read before you post. Message-ID: <3462503.1152765436917.JavaMail.jboss@colo-br-02.atl.jboss.com> It works now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957621#3957621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957621 From do-not-reply at jboss.com Thu Jul 13 01:28:23 2006 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Thu, 13 Jul 2006 01:28:23 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Insert into Orace TimesTen In Memory DataBase Message-ID: <21195276.1152768503356.JavaMail.jboss@colo-br-02.atl.jboss.com> i have created table in oracle timesten [ | CREATE TABLE "PAATA"."STUDENT" ( | "ID" INTEGER NOT NULL, | "NAME" VARCHAR(200), | "SURNAME" VARCHAR(200), | "AGE" INTEGER, | "GROUPID" INTEGER | ) ; | /code] | | then i tried to insert from java | | | | import java.sql.DriverManager; | | import java.sql.Connection; | | import java.sql.*; | | | | public class TestTimesTen { | | public static void main(String[] args) { | | try { | | Class.forName("com.timesten.jdbc.TimesTenDriver"); | | String URL = "jdbc:timesten:DSName"; | | Connection _Connection = DriverManager.getConnection(URL); | | Statement stmt = _Connection.createStatement(); | | int res1 = stmt.executeUpdate("insert into PAATA.STUDENT (ID,NAME,SURNAME,AGE,GROUPID) values (1,'asdasd','asdasdasd',22,2)"); | | | | System.out.println("asdasdasdasd"); | | } | | catch (SQLException ex) { | | ex.printStackTrace(); | | } | | catch (ClassNotFoundException ex) { | | ex.printStackTrace(); | | } | | } | | } | | | | | | | but i get an error :( i don't know why :( | | | | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC Driver][TimesTen]TT2206: Table ADMINISTRATOR.STUDENT not found -- file "comp.c", lineno 2031, procedure "sbCompCacheTbl()" | | at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327) | | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460) | | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425) | | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934) | | at com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420) | | at com.timesten.jdbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:328) | | at untitled3.Untitled1.main(Untitled1.java:16) | | | | | | can anybody help me ? | thanks.... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957622#3957622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957622 From hkleo at yahoo.com Thu Jul 13 01:31:12 2006 From: hkleo at yahoo.com (Tai Wai Wang) Date: Wed, 12 Jul 2006 22:31:12 -0700 (PDT) Subject: [jboss-user] unsubscribe In-Reply-To: <20060713030533.52134.qmail@web34102.mail.mud.yahoo.com> Message-ID: <20060713053112.85820.qmail@web52807.mail.yahoo.com> --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060712/4d8e51fd/attachment.html From do-not-reply at jboss.com Thu Jul 13 01:32:38 2006 From: do-not-reply at jboss.com (free1000) Date: Thu, 13 Jul 2006 01:32:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Slow load up time for Portal 2.4.0 CR1 Message-ID: <9652455.1152768758562.JavaMail.jboss@colo-br-02.atl.jboss.com> Sounds like a slow session start up to me as it happens either after leaving the browser for a bit, or switching browser types. Check what is happening when a new session is started. Are you hitting any authentication services, EJB's, etc. Is there something which happens on session start which requires work. Then Id also check the JVM settings and make sure it has plenty of memory, maybe tweak the startup params in the startup scripts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957623#3957623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957623 From do-not-reply at jboss.com Thu Jul 13 01:33:55 2006 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Thu, 13 Jul 2006 01:33:55 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Insert into Orace TimesTen In Memory DataBase Message-ID: <31381251.1152768835996.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry when i was wrote insert into PAATA.STUDENT (ID,NAME,SURNAME,AGE,GROUPID) values (1,'asdasd','asdasdasd',22,2) i get an error anonymous wrote : | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC Driver][TimesTen]TT2206: Table PAATA.STUDENT not found -- file "comp.c", lineno 2031, procedure "sbCompCacheTbl()" | at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327) | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460) | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425) | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934) | at com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420) | at com.timesten.jdbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:360) | at untitled3.Untitled1.main(Untitled1.java:26) | and if i remove shemaname PAATA from insert insert into STUDENT (ID,NAME,SURNAME,AGE,GROUPID) values (1,'asdasd','asdasdasd',22,2) i get an error like this : | java.sql.SQLException: [TimesTen][TimesTen 6.0.2 ODBC Driver][TimesTen]TT2206: Table ADMINISTRATOR.STUDENT not found -- file "comp.c", lineno 2031, procedure "sbCompCacheTbl()" | at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6327) | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6460) | at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6425) | at com.timesten.jdbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3934) | at com.timesten.jdbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:420) | at com.timesten.jdbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:360) | at untitled3.Untitled1.main(Untitled1.java:26) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957624#3957624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957624 From do-not-reply at jboss.com Thu Jul 13 01:37:20 2006 From: do-not-reply at jboss.com (ampieb) Date: Thu, 13 Jul 2006 01:37:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <12658423.1152769040820.JavaMail.jboss@colo-br-02.atl.jboss.com> Sounds promising. With REST, do you mean you would like the user to freely traverse the associations amongst objects, and the client having enough state to know exactly "where" in the network of domain objects it is? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957625#3957625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957625 From do-not-reply at jboss.com Thu Jul 13 01:38:42 2006 From: do-not-reply at jboss.com (mookambikainfo) Date: Thu, 13 Jul 2006 01:38:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not restore ejb timers exception occured to JBossD Message-ID: <33124143.1152769122180.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I do faced with the same problem. If there avails any solution for this, Kindly post the same. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957626#3957626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957626 From do-not-reply at jboss.com Thu Jul 13 01:58:11 2006 From: do-not-reply at jboss.com (TheThirdEye) Date: Thu, 13 Jul 2006 01:58:11 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - java.lang.ClassNotFoundException --- from createMBean Message-ID: <32067361.1152770291177.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to create a Mock mbean using the following statment mbs.createMBean(MOCK_MSG_CLASS_NAME, testMsg); | where MOCK_MSG_CLASS_NAME --- "com.pack.mockMsg" and testMsg = Object Name I have imported the package com.pack.mockMsg. I recieve the following exception when I exucute the testCase through Eclipse .. | Caused by: java.lang.ClassNotFoundException: com.pack.mockMsg | at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192) | Any help is greatly appriciated ! Regards, RM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957627#3957627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957627 From do-not-reply at jboss.com Thu Jul 13 02:06:36 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 13 Jul 2006 02:06:36 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE Mailing Lists Message-ID: <16600923.1152770796884.JavaMail.jboss@colo-br-02.atl.jboss.com> When will we shut down the forums to avoid redundant "lists" ? Is the mail archives searched when you use the search feature here on jboss.com/org ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957628#3957628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957628 From do-not-reply at jboss.com Thu Jul 13 02:16:34 2006 From: do-not-reply at jboss.com (hceylan) Date: Thu, 13 Jul 2006 02:16:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Cannot get JBoss to JBoss EJB3 Talk Message-ID: <27660630.1152771394266.JavaMail.jboss@colo-br-02.atl.jboss.com> I really need to solve problem. Please help.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957629#3957629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957629 From do-not-reply at jboss.com Thu Jul 13 02:21:01 2006 From: do-not-reply at jboss.com (TheThirdEye) Date: Thu, 13 Jul 2006 02:21:01 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean Message-ID: <19297144.1152771661900.JavaMail.jboss@colo-br-02.atl.jboss.com> A bit more information : the MBeanServer (mbs) used is a remote mbean server obtained through the RMIAdaptor mbs = (MBeanServerConnection) ctx.lookup("jmx/invoker/RMIAdaptor"); | This is the full stack trace generated javax.management.ReflectionException: Class not found: com.pack.mockMsg | at org.jboss.mx.server.MBeanServerImpl.handleInstantiateExceptions(MBeanServerImpl.java:1243) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1222) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:233) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:279) | 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.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251) | at sun.reflect.GeneratedMethodAccessor81.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:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:87) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164) | at sun.reflect.GeneratedMethodAccessor80.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: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:245) | 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.GeneratedMethodAccessor79.invoke(Unknown Source) | 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: java.lang.ClassNotFoundException: com.pack.mockMsg | at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192) | ... 40 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957630#3957630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957630 From do-not-reply at jboss.com Thu Jul 13 02:22:34 2006 From: do-not-reply at jboss.com (yj4jboss) Date: Thu, 13 Jul 2006 02:22:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Customize Navigation Portlet Message-ID: <12484433.1152771754550.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was trying to implement the Navigation Portlet but could not find the following in the portal librairies ?? import org.jboss.portal.security.PortalPermissionFactory; | import org.jboss.portal.security.PortalPolicyException; could you tell me which jar file contain these ?? I am using jboss-portal 2.2.0 on Fedora Core 5 and MySQL 4.1.2. Thnx, Yogesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957631#3957631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957631 From do-not-reply at jboss.com Thu Jul 13 02:30:54 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 02:30:54 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: File Path in EAR..!!! Message-ID: <10104953.1152772254766.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : WEB-INF/conf/tm.xml This means that your tm.xml file is in youWar.war/WEB-INF/conf directory. So your code should look like: InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("WEB-INF/conf/tm.xml"); | | InputStreamReader inputStreamReader = new InputStreamReader(inputStream) ; | | thidPartyLib.someAPI(inputStreamReader); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957632#3957632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957632 From do-not-reply at jboss.com Thu Jul 13 02:37:28 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 02:37:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Classloading: There are JARs inside my EAR, and my brain Message-ID: <31411884.1152772648532.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not sure which version of jboss you are using. Currently, we use JBoss-3.2.3 and we have a similar case where there are jar files in our ear file and the way we configure it is as follows: - Create a application.xml file containing the following: | | | | My Struts Example | | | first.jar | | | | second.jar | | | - Place this application.xml file in the META-INF directory of yourApp.ear This works for us without any issues. See if this approach suits you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957634#3957634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957634 From do-not-reply at jboss.com Thu Jul 13 02:39:30 2006 From: do-not-reply at jboss.com (arekatla@gmail.com) Date: Thu, 13 Jul 2006 02:39:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - maximum concurernt users --- jboss Message-ID: <16266220.1152772770880.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Can any one answer to the following query Is Jboss3.0 suitable for hosting high traffic internet sites? whats the maximum concurernt users jboss can support? Regards Ramesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957635#3957635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957635 From do-not-reply at jboss.com Thu Jul 13 02:44:46 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Thu, 13 Jul 2006 02:44:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Windows Explorer automatically pops up displaying C:\Program Message-ID: <20948054.1152773086472.JavaMail.jboss@colo-br-02.atl.jboss.com> Windows explorer displays a windows for directory C:\Program (containing jboss-4.0.4.GA) ever since i installed jboss 4.0.4.GA. The shell is popping up after I log on to Windows XP. It returns automatically after a few seconds if I close the window. It does this about 4 times. Why? How do I turn it off? It is slightly annoying. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957636#3957636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957636 From do-not-reply at jboss.com Thu Jul 13 02:45:11 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 02:45:11 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss Message-ID: <30854787.1152773111965.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I'm seeing the same issue here, and I've also noticed the following How is your application packaged? Are using your own log4j file in your webapp or are you using the log4j.xml present in %JBOSS_HOME%/server/conf directory. Post the contents of the log4j.xml file that you are using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957637#3957637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957637 From do-not-reply at jboss.com Thu Jul 13 02:50:34 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 02:50:34 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <17208102.1152773434421.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=EnableClassloaderLogging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957638#3957638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957638 From do-not-reply at jboss.com Thu Jul 13 02:59:02 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 02:59:02 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: JBoss Security Message-ID: <11111099.1152773942829.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : my thread is here... | | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85722 Had a look at that thread. Could not make out your exact problem. Please create a separate thread and explain what you are trying out in your application. anonymous wrote : I am trying to call connectionFactory.createQueueConnection("queueUser", "queueUserPassword") but I am getting a security exception joejack, it would be great if you could provide more details about your application, as to how the queues are configured and the code from where this is operation is being carried and also the exception stacktrace that you are seeing. This information will help someone here to help you out with your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957639#3957639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957639 From do-not-reply at jboss.com Thu Jul 13 03:02:07 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 03:02:07 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean Message-ID: <23129516.1152774127324.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : javax.management.ReflectionException: Class not found: com.pack.mockMsg Where have you placed the jar containing this anonymous wrote : com.pack.mockMsg class in jboss. How is it packaged? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957640#3957640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957640 From do-not-reply at jboss.com Thu Jul 13 03:06:42 2006 From: do-not-reply at jboss.com (ctday) Date: Thu, 13 Jul 2006 03:06:42 -0400 (EDT) Subject: [jboss-user] [Remoting] - jboss-jmx-remoting in JBoss 4.0.4.GA Message-ID: <28095429.1152774402778.JavaMail.jboss@colo-br-02.atl.jboss.com> We've have been using featues from the JBoss 3.2.5 example remoting.sar, in particular the MBeanTracker and the like from the jboss-jmx-remoting.jar file in remoting.sar. We now must move to JDK 1.5.0_07 and JBoss 4.0.4.GA. While JBossRemoting seems to be available in 4.0.4.GA and JMX Remoting is in JDK 1.5.0_07, I can't find the equivalent of jboss-jmx-remoting.jar anywhere. It seems targeted for JBoss 5.0, but we can't wait for that. We don't need the security features that it seems to be waiting on. How do I recover a working version of the MBeanTracker code? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957641#3957641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957641 From do-not-reply at jboss.com Thu Jul 13 03:22:28 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Thu, 13 Jul 2006 03:22:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <27226508.1152775348675.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, The reason might be jboss is starting at the time of windows bootup. To check whether JBoss is starting at bootup time, use the msconfig command. To check that, 1. Go to the Run prompt in the Start menu and give msconfig command, it will give the list of programs which are starting up at the time of Windows boot up. 2. Check whether the jboss entry is present. If so, remove the JBoss entry from that file and check it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957642#3957642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957642 From do-not-reply at jboss.com Thu Jul 13 03:27:19 2006 From: do-not-reply at jboss.com (abl) Date: Thu, 13 Jul 2006 03:27:19 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Cannot get JBoss to JBoss EJB3 Talk Message-ID: <19125766.1152775639630.JavaMail.jboss@colo-br-02.atl.jboss.com> we have the same problem - no solution yet. see: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75953 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957643#3957643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957643 From do-not-reply at jboss.com Thu Jul 13 03:34:51 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 13 Jul 2006 03:34:51 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <2212582.1152776091921.JavaMail.jboss@colo-br-02.atl.jboss.com> You are using different versions on the client and server View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957644#3957644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957644 From do-not-reply at jboss.com Thu Jul 13 03:38:38 2006 From: do-not-reply at jboss.com (nitinpokhriyal) Date: Thu, 13 Jul 2006 03:38:38 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - help me out Message-ID: <16558712.1152776318553.JavaMail.jboss@colo-br-02.atl.jboss.com> hi everyone, i have a j2ee application i have successfully deployed it to jboss-4.0.3RC2 app server but when i m trying to deploying it on jboss-4.0.4GA. i m getting following errors.. if anybody has idea then help me out. 2006-07-13 12:59:27,913 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at b6510f3d { url=file:/C:/jboss-4.0.4.GA/server/all/deploy/jms/jedi-service.xml } deployer: org.jboss.deployment.SARDeployer at 12a55aa status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.mq.destination:service=Queue,name=REQUESTQ state: FAILED watch: file:/C:/jboss-4.0.4.GA/server/all/deploy/jms/jedi-service.xml altDD: null lastDeployed: 1152775723422 lastModified: 1152775723406 mbeans: org.jboss.deployment.DeploymentInfo at 43761501 { url=file:/C:/jboss-4.0.4.GA/server/all/deploy/jms/jms-ds.xml } deployer: org.jboss.deployment.XSLSubDeployer at 2e879 status: Deployment FAILED reason: Trying to install an already registered mbean: jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool state: FAILED watch: file:/C:/jboss-4.0.4.GA/server/all/deploy/jms/jms-ds.xml altDD: null lastDeployed: 1152775729577 lastModified: 1152775729561 mbeans: --- MBeans waiting for other MBeans --- ObjectName: jboss.j2ee:service=EJB3,module=jedi.ejb3 State: FAILED Reason: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getSessionEventListenerConfig()Lorg/hibernate/event/SessionEventListenerConfig; --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.j2ee:service=EJB3,module=jedi.ejb3 State: FAILED Reason: java.lang.NoSuchMethodError: org.hibernate.cfg.AnnotationConfiguration.getSessionEventListenerConfig()Lorg/hibernate/event/SessionEventListenerConfig; Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957645#3957645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957645 From do-not-reply at jboss.com Thu Jul 13 03:45:44 2006 From: do-not-reply at jboss.com (squishy) Date: Thu, 13 Jul 2006 03:45:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Relationships destroyed at ManyToMany merge on owning si Message-ID: <18104413.1152776744579.JavaMail.jboss@colo-br-02.atl.jboss.com> Still could use a little help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957646#3957646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957646 From do-not-reply at jboss.com Thu Jul 13 04:07:42 2006 From: do-not-reply at jboss.com (ericmacau) Date: Thu, 13 Jul 2006 04:07:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Cannot create role and user in 2.4CR2 Message-ID: <12809794.1152778062116.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Is there any problem in 2.4CR2, it does not show the new created role? I tried to create a new role, but it seems no response after submit. And it just shows the "2 roles". Anyway, how can I create a new user ? I can't find a place to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957647#3957647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957647 From do-not-reply at jboss.com Thu Jul 13 04:17:04 2006 From: do-not-reply at jboss.com (chaituu) Date: Thu, 13 Jul 2006 04:17:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - how to write new service in jboss-service.xml Message-ID: <30140200.1152778624573.JavaMail.jboss@colo-br-02.atl.jboss.com> i am using jboss-4.0.2;i placed p6spy.jar in default/lib directory; try to put mbean code in jboss-service.xml but i am getting below error; org.jboss.deployment.DeploymentException: Unexpected error during load of: com.p6spy.management.jboss.P6SpyManager, msg=com/p6spy/management/jboss/P6SpyManagerMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: com.p6spy.management.jboss.P6SpyManager, msg=com/p6spy/management/jboss/P6SpyManagerMBean) see this link http://www.p6spy.com/documentation/other.htm#jboss_jmx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957649#3957649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957649 From do-not-reply at jboss.com Thu Jul 13 04:20:49 2006 From: do-not-reply at jboss.com (adik) Date: Thu, 13 Jul 2006 04:20:49 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <7899189.1152778849049.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I tried and unfortuantly it doesn't work, I also tried to copy from other server his instance which is working with clustering and it's not working too. don't have any clue.. will be happy to hear any suggestion Thansk View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957650#3957650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957650 From do-not-reply at jboss.com Thu Jul 13 04:21:05 2006 From: do-not-reply at jboss.com (tobad) Date: Thu, 13 Jul 2006 04:21:05 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <22342480.1152778865566.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you using Embedded Tomcat or JBoss? I'm using Tomcat with the Embedded Container and it works very well. This is my config Web.xml (including tomahawk code) Notice that I'am using the nekohtml based FastFilter for Ajax4Jsf This means that you need to download NekoHtml from http://java-source.net/open-source/html-parsers/nekohtml and probably Xerces | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | javax.faces.STATE_SAVING_METHOD | client | | | | javax.faces.DEFAULT_SUFFIX | .html | | | | facelets.DEVELOPMENT | true | | | | facelets.LIBRARIES | /WEB-INF/tomahawk.taglib.xml | | | | org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION | 50 | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | | Faces Servlet | *.jsf | | | | Seam Remoting | org.jboss.seam.remoting.SeamRemotingServlet | | | | Seam Remoting | /seam/remoting/* | | | | | | Ajax4jsf Filter | ajax4jsf | org.ajax4jsf.FastFilter | | | ajax4jsf | *.jsf | | | ajax4jsf | /faces/* | | | | org.ajax4jsf.VIEW_HANDLERS | com.sun.facelets.FaceletViewHandler | | | org.ajax4jsf.Filter | org.ajax4jsf.FastFilter | | | | | | | Seam Redirect Filter | org.jboss.seam.servlet.SeamRedirectFilter | | | | Seam Redirect Filter | *.jsf | | | | Seam Servlet Filter | org.jboss.seam.servlet.SeamServletFilter | | | | Seam Servlet Filter | /servlets/* | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | ExtensionsFilter | | org.apache.myfaces.component.html.util.ExtensionsFilter | | | uploadMaxFileSize | 10m | | | uploadThresholdSize | 100k | | | | ExtensionsFilter | Faces Servlet | | | ExtensionsFilter | *.jsf | | | ExtensionsFilter | /faces/* | | | faces-config.xml | | | | | | | org.joda.ext.jsf.converter.DateTime | org.joda.ext.jsf.converter.DateTimeConverter | | | | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener | | | | tomahawk.taglib.xml | | | | | http://myfaces.apache.org/tomahawk | | aliasBean | | org.apache.myfaces.AliasBean | org.apache.myfaces.AliasBean | | | | buffer | | org.apache.myfaces.Buffer | org.apache.myfaces.Buffer | | | | checkbox | | org.apache.myfaces.HtmlCheckbox | org.apache.myfaces.Checkbox | com.skalasoft.facelets.tags.generated.HtmlCheckboxTagHandler | | | | collapsiblePanel | | org.apache.myfaces.HtmlCollapsiblePanel | org.apache.myfaces.CollapsiblePanel | com.skalasoft.facelets.tags.generated.HtmlCollapsiblePanelTagHandler | | | | column | | org.apache.myfaces.HtmlColumn | | | | columns | | org.apache.myfaces.HtmlColumns | | | | commandButton | | org.apache.myfaces.HtmlCommandButton | | | | commandLink | | org.apache.myfaces.HtmlCommandLink | org.apache.myfaces.Link | | | | commandNavigation | | org.apache.myfaces.HtmlCommandNavigation | javax.faces.Link | | | | commandSortHeader | | org.apache.myfaces.HtmlCommandSortHeader | org.apache.myfaces.SortHeader | com.skalasoft.facelets.tags.generated.HtmlCommandSortHeaderTagHandler | | | | dataList | | org.apache.myfaces.HtmlDataList | org.apache.myfaces.List | com.skalasoft.facelets.tags.generated.HtmlDataListTagHandler | | | | dataScroller | | org.apache.myfaces.HtmlDataScroller | org.apache.myfaces.DataScroller | com.skalasoft.facelets.tags.generated.HtmlDataScrollerTagHandler | | | | dataTable | | org.apache.myfaces.HtmlDataTable | org.apache.myfaces.Table | com.skalasoft.facelets.tags.generated.HtmlDataTableTagHandler | | | | date | | org.apache.myfaces.HtmlInputDate | org.apache.myfaces.Date | | | | div | | org.apache.myfaces.Div | | | | graphicImage | | org.apache.myfaces.HtmlGraphicImage | org.apache.myfaces.Image | | | | htmlTag | | org.apache.myfaces.HtmlTag | org.apache.myfaces.HtmlTagRenderer | | | | inputCalendar | | org.apache.myfaces.HtmlInputCalendar | org.apache.myfaces.Calendar | com.skalasoft.facelets.tags.generated.HtmlInputCalendarTagHandler | | | | inputDate | | org.apache.myfaces.HtmlInputDate | org.apache.myfaces.Date | | | | inputFileUpload | | org.apache.myfaces.HtmlInputFileUpload | org.apache.myfaces.FileUpload | com.skalasoft.facelets.tags.generated.HtmlInputFileUploadTagHandler | | | | inputHidden | | org.apache.myfaces.HtmlInputHidden | javax.faces.Hidden | | | | inputHtml | | org.apache.myfaces.InputHtml | org.apache.myfaces.InputHtml | | | | inputSecret | | org.apache.myfaces.HtmlInputSecret | org.apache.myfaces.Secret | com.skalasoft.facelets.tags.generated.HtmlInputSecretTagHandler | | | | inputText | | org.apache.myfaces.HtmlInputText | org.apache.myfaces.Text | com.skalasoft.facelets.tags.generated.HtmlInputTextTagHandler | | | | inputTextarea | | org.apache.myfaces.HtmlInputTextarea | org.apache.myfaces.Textarea | com.skalasoft.facelets.tags.generated.HtmlInputTextareaTagHandler | | | | inputTextHelp | | org.apache.myfaces.HtmlInputTextHelp | org.apache.myfaces.TextHelp | com.skalasoft.facelets.tags.generated.HtmlInputTextHelpTagHandler | | | | jscookMenu | | org.apache.myfaces.JSCookMenu | org.apache.myfaces.JSCookMenu | | | | jsValueChangeListener | | org.apache.myfaces.JsValueChangeListener | org.apache.myfaces.JsValueChangeListener | | | | jsValueSet | | org.apache.myfaces.HtmlJsValueSet | org.apache.myfaces.JsValueSet | | | | layout | | org.apache.myfaces.HtmlPanelLayout | org.apache.myfaces.Layout | | | | message | | org.apache.myfaces.HtmlMessage | org.apache.myfaces.Message | | | | messages | | org.apache.myfaces.HtmlMessages | org.apache.myfaces.Messages | | | | navigationMenuItem | | org.apache.myfaces.NavigationMenuItem | com.skalasoft.facelets.tags.generated.HtmlNavigationMenuItemTagHandler | | | | navigationMenuItems | | org.apache.myfaces.NavigationMenuItem | | | | newspaperTable | | org.apache.myfaces.HtmlNewspaperTable | org.apache.myfaces.HtmlNewspaperTable | | | | panelGrid | | org.apache.myfaces.HtmlPanelGrid | javax.faces.Grid | com.skalasoft.facelets.tags.generated.HtmlPanelGridTagHandler | | | | panelGroup | | org.apache.myfaces.HtmlPanelGroup | javax.faces.Group | com.skalasoft.facelets.tags.generated.HtmlPanelGroupTagHandler | | | | panelNavigation | | org.apache.myfaces.HtmlPanelNavigation | org.apache.myfaces.Navigation | | | | panelStack | | org.apache.myfaces.HtmlPanelStack | org.apache.myfaces.PanelStack | | | | panelTab | | org.apache.myfaces.HtmlPanelTab | javax.faces.Group | | | | panelTabbedPane | | org.apache.myfaces.HtmlPanelTabbedPane | org.apache.myfaces.TabbedPane | com.skalasoft.facelets.tags.generated.HtmlPanelTabbedPaneTagHandler | | | | popup | | org.apache.myfaces.HtmlPopup | org.apache.myfaces.Popup | com.skalasoft.facelets.tags.generated.HtmlPopupTagHandler | | | | radio | | org.apache.myfaces.HtmlRadio | org.apache.myfaces.Radio | com.skalasoft.facelets.tags.generated.HtmlRadioTagHandler | | | | saveState | | org.apache.myfaces.SaveState | | | | selectBooleanCheckbox | | org.apache.myfaces.HtmlSelectBooleanCheckbox | com.skalasoft.facelets.tags.generated.HtmlSelectBooleanCheckboxTagHandler | | | | selectManyCheckbox | | org.apache.myfaces.HtmlSelectManyCheckbox | com.skalasoft.facelets.tags.generated.HtmlSelectManyCheckboxTagHandler | | | | selectManyListbox | | org.apache.myfaces.HtmlSelectManyListbox | com.skalasoft.facelets.tags.generated.HtmlSelectManyListboxTagHandler | | | | selectManyMenu | | org.apache.myfaces.HtmlSelectManyMenu | com.skalasoft.facelets.tags.generated.HtmlSelectManyMenuTagHandler | | | | selectOneCountry | | org.apache.myfaces.SelectOneCountry | org.apache.myfaces.SelectOneCountry | | | | selectOneLanguage | | org.apache.myfaces.SelectOneLanguage | org.apache.myfaces.SelectOneLanguage | | | | selectOneListbox | | org.apache.myfaces.HtmlSelectOneListbox | com.skalasoft.facelets.tags.generated.HtmlSelectOneListboxTagHandler | | | | selectOneMenu | | org.apache.myfaces.HtmlSelectOneMenu | org.apache.myfaces.Menu | com.skalasoft.facelets.tags.generated.HtmlSelectOneMenuTagHandler | | | | selectOneRadio | | org.apache.myfaces.HtmlSelectOneRadio | com.skalasoft.facelets.tags.generated.HtmlSelectOneRadioTagHandler | | | | stylesheet | | org.apache.myfaces.Stylesheet | org.apache.myfaces.Stylesheet | | | | swapImage | | org.apache.myfaces.HtmlSwapImage | org.apache.myfaces.SwapImage | | | | tree2 | | org.apache.myfaces.HtmlTree2 | org.apache.myfaces.HtmlTree2 | com.skalasoft.facelets.tags.generated.TreeTagHandler | | | | validateCreditCard | | org.apache.myfaces.validator.CreditCard | | | | validateEmail | | org.apache.myfaces.validator.Email | | | | validateEqual | | org.apache.myfaces.validator.Equal | | | | validateRegExpr | | org.apache.myfaces.validator.RegExpr | | | | And then I import Ajax4Jsf into my page with | | If you have any more questions feel free to send me an email or ask here for everyones benefit. Cheers Tobias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957651#3957651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957651 From do-not-reply at jboss.com Thu Jul 13 04:31:06 2006 From: do-not-reply at jboss.com (wayha) Date: Thu, 13 Jul 2006 04:31:06 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: deployment exception Message-ID: <10285750.1152779466820.JavaMail.jboss@colo-br-02.atl.jboss.com> JBOSS 4.0.4GA, JDK 1.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957652#3957652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957652 From do-not-reply at jboss.com Thu Jul 13 04:33:20 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Thu, 13 Jul 2006 04:33:20 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea Message-ID: <4802181.1152779600893.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) You can deploy it inside the ear file, please see the docs/examples/aspect-framework/injboss example that comes with the jboss aop distribution for afew examples of packaging. The aspects will however get deployed to global scope and apply to any applications which mach the pointcuts. If you want them to apply just to that ear, you will need to scope the ear classloader (This only works with aop 1.5.0.GA onwards in jboss 4) 2) Within a .aop file it must be in META-INF/jboss-aop.xml file. Outside a .aop file it must just have the -aop.xml extension 3) If you want you can send me the code and I will see with Bill Burke about including it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957653#3957653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957653 From do-not-reply at jboss.com Thu Jul 13 04:39:58 2006 From: do-not-reply at jboss.com (TheThirdEye) Date: Thu, 13 Jul 2006 04:39:58 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean Message-ID: <13518817.1152779998072.JavaMail.jboss@colo-br-02.atl.jboss.com> Its an ear package placed in the deploy directory $JBOSS_HOME/server/default/deploy . Do you reckon the problem is associated with the class not being in the LoaderRepository? Caused by: java.lang.ClassNotFoundException: com.pack.mockMsg | at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClass(UnifiedLoaderRepository3.java:593) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1192) | | Do I have to do anything else to prompt JBoss to load the class in the LoaderRepository or is placing the ear file in the deploy directory enough signal for JBoss to load the class in the repository? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957655#3957655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957655 From do-not-reply at jboss.com Thu Jul 13 04:51:16 2006 From: do-not-reply at jboss.com (jason_rency) Date: Thu, 13 Jul 2006 04:51:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - call seam session bean from J2SE/J2ME application Message-ID: <5302559.1152780676442.JavaMail.jboss@colo-br-02.atl.jboss.com> HI all, just wondering if I can call a session bean in a seam application via HTTP/RMI or whatever? I am thinking to implement a seam application that user can update/retrive the DB data via both browser and j2se/j2me application. forgive me if this question is stupid, I am still a newbie...;) regards Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957656#3957656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957656 From do-not-reply at jboss.com Thu Jul 13 05:06:03 2006 From: do-not-reply at jboss.com (Becka) Date: Thu, 13 Jul 2006 05:06:03 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Shutdown of Specific Instaces Message-ID: <10068809.1152781563611.JavaMail.jboss@colo-br-02.atl.jboss.com> We have currently running 5 different jBoss Servers on one of our Servers. Every Server is bound to a own IP Adress. If we wold like to stop a Server we have to get the Process ID to kill it. How can we Shutdown a specific Server Instance? Or how can we use a Single Server with Multiple vHost, that every Instance has it own Datasource? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957657#3957657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957657 From do-not-reply at jboss.com Thu Jul 13 05:06:36 2006 From: do-not-reply at jboss.com (fheldt) Date: Thu, 13 Jul 2006 05:06:36 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How to secure a JSR 181 EJB endpoint Message-ID: <5280096.1152781596372.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the sample in this thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=84647 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957658#3957658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957658 From do-not-reply at jboss.com Thu Jul 13 05:10:11 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 05:10:11 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Shutdown of Specific Instaces Message-ID: <7053336.1152781811151.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : How can we Shutdown a specific Server Instance? These might help: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=59029 http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch01.html#d0e1391 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957659#3957659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957659 From do-not-reply at jboss.com Thu Jul 13 05:11:11 2006 From: do-not-reply at jboss.com (rt_s) Date: Thu, 13 Jul 2006 05:11:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - java-wsdl conversion for Custom Exception Message-ID: <2069343.1152781871063.JavaMail.jboss@colo-br-02.atl.jboss.com> Below is the scaled down version of a service that i am trying to develop. My service throws a custom exception. However, i get an error when trying to generate a WSDL for this SEI. SEI | package com.testservice; | | import java.rmi.Remote; | import java.rmi.RemoteException; | | import com.testservice.exception.MyCustomException; | | public interface ExceptionService extends Remote | { | public void throwCustomException() throws MyCustomException, RemoteException; | } | MyCustomException class | package com.testservice.exception; | | public class MyCustomException extends Exception | { | private int errorCode; | | private String customMsg; | | private String[] arr; | | public MyCustomException() | { | super(); | } | | public MyCustomException(int errorCode, String customMsg, String[] arr) { | super(); | | this.errorCode = errorCode; | this.customMsg = customMsg; | this.arr = arr; | } | | public String[] getArr() { | return arr; | } | | public void setArr(String[] arr) { | this.arr = arr; | } | | public String getCustomMsg() { | return customMsg; | } | | public void setCustomMsg(String customMsg) { | this.customMsg = customMsg; | } | | public int getErrorCode() { | return errorCode; | } | | public void setErrorCode(int errorCode) { | this.errorCode = errorCode; | } | | } | ANT for generating stubs | | | | | | | WSTools Config XML | | | | | | | | | And the error i get on running the ANT is ... | generate_stubs: | [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). | [wstools] log4j:WARN Please initialize the log4j system properly. | [wstools] java.lang.IllegalArgumentException: Could not locate a constructor with the following types: class com.testservice.exception.MyCustomException [class [Ljava.lang.String;, class java.lang.String, int] | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getComplexTypeForJavaException(SchemaTypeCreator.java:722) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:268) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:133) | [wstools] at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:109) | [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:555) | [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:178) | [wstools] at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:241) | [wstools] at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:168) | [wstools] at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:318) | [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122) | [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:129) | [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) | [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | [wstools] at org.apache.tools.ant.Task.perform(Task.java:364) | [wstools] at org.apache.tools.ant.Target.execute(Target.java:341) | [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369) | [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) | [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) | [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) | [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) | [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668) | [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187) | [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) | [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) | (I have a JBoss-4.0.4 setup running on Java5) I can solve this problem if i change the order of parameters to parameterized constructor of MyCustomException as follows: | public MyCustomException(String[] arr, String customMsg, int errorCode) { | super(); | | this.errorCode = errorCode; | this.customMsg = customMsg; | this.arr = arr; | } | I would like to know 1) Is this an expected behavior or bug? 2) If it is an expected behavior, are there any guidelines for the order in which parameters to a parameterized constructor are passed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957660#3957660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957660 From do-not-reply at jboss.com Thu Jul 13 05:13:14 2006 From: do-not-reply at jboss.com (AshuDagr8) Date: Thu, 13 Jul 2006 05:13:14 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: File Path in EAR..!!! Message-ID: <436649.1152781994830.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot things are working now.. !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957661#3957661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957661 From do-not-reply at jboss.com Thu Jul 13 05:16:13 2006 From: do-not-reply at jboss.com (Becka) Date: Thu, 13 Jul 2006 05:16:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Shutdown of Specific Instaces Message-ID: <23684575.1152782173743.JavaMail.jboss@colo-br-02.atl.jboss.com> Aah, ok thank you for your help. Do you know how i can run only one Server with jBPM and a own DataSource or better Deploy folder for every vHost? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957662#3957662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957662 From do-not-reply at jboss.com Thu Jul 13 05:23:52 2006 From: do-not-reply at jboss.com (sgodden) Date: Thu, 13 Jul 2006 05:23:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: swimlane mapping to sub-processes (JBPM-572?) Message-ID: <13022951.1152782632242.JavaMail.jboss@colo-br-02.atl.jboss.com> Would love a reply on this :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957663#3957663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957663 From do-not-reply at jboss.com Thu Jul 13 05:24:48 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 05:24:48 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean Message-ID: <29562260.1152782688787.JavaMail.jboss@colo-br-02.atl.jboss.com> As per the javadoc of createMBean: http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServerConnection.html#createMBean(java.lang.String,%20javax.management.ObjectName) anonymous wrote : | The MBean server will use its Default Loader Repository to load the class of the MBean And the Default Loader Repository description is provided at: http://java.sun.com/j2ee/1.4/docs/api/javax/management/loading/ClassLoaderRepository.html Going by these docs, i think that the jar containing your MBean classes will have to be placed in the %JBOSS_HOME%/server/default/lib directory. Try it out and let us know if you have any issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957664#3957664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957664 From do-not-reply at jboss.com Thu Jul 13 05:32:03 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 05:32:03 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Shutdown of Specific Instaces Message-ID: <12537318.1152783123395.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : or better Deploy folder for every vHost I havent worked with virtual hosts, so dont have much idea about the same. But, see if the following is of any help to you: http://wiki.jboss.org/wiki/Wiki.jsp?page=VirtualHosts View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957667#3957667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957667 From do-not-reply at jboss.com Thu Jul 13 05:42:04 2006 From: do-not-reply at jboss.com (yj4jboss) Date: Thu, 13 Jul 2006 05:42:04 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How to include Navigation Portlet Message-ID: <24785268.1152783724793.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Can anyone brief me on how to include the Navigation Portlet into a page. There is an example of the code at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=76008&postdays=0&postorder=asc&start=0 but i cannot find the following in any of the libraries import org.jboss.portal.security.PortalPermissionFactory; | import org.jboss.portal.security.PortalPolicyException; I am using jboss portal 2.2.0 , Fedora Core 5 and MySQL 4.1.2 Thnx, Yogesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957668#3957668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957668 From do-not-reply at jboss.com Thu Jul 13 05:42:32 2006 From: do-not-reply at jboss.com (Becka) Date: Thu, 13 Jul 2006 05:42:32 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Shutdown of Specific Instaces Message-ID: <9478910.1152783752413.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to use that Information but not really successfully I was able to create vHosts on the Server - isn't very difficult. But i don't know how to set up different Deploy Folders for every Host View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957669#3957669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957669 From do-not-reply at jboss.com Thu Jul 13 05:42:49 2006 From: do-not-reply at jboss.com (bennyckp) Date: Thu, 13 Jul 2006 05:42:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Why loading the class in EJB jar rather than the one in war Message-ID: <289490.1152783769503.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, This question is about the class loader config in JBoss. I am currently deploying a EJB jar and a war in JBoss 4.0.3SP1. They are mdb.jar and app.war and are placed in the server/default/deploy folder separately. In the mdb.jar, I have a ClassA.class, i.e. mdb |_ ClassA.class (version 1) |_ META-INF In the app.war, I also have a ClassA.class but it contains some system out in this version, i.e. app |_ WEB-INF | |_ classes | |_ClassA.class (version 2 w/ system out) |_ ... When I startup my JBoss, I don't know why the web application uses the ClassA in the mdb.jar which has no system out? My Question is: 1. Do the jar and the war share a common class loader ? 2. After I've read the doc about JBoss setting, I config the jboss-web.xml in the app.war as follow but the problem still exists. | | | com.cherrypicks:loader=chs.war | java2ParentDelegation=false | | | Even though I redeploy the app.war, it still loads the ClassA in mdb.jar. Can anybody explain it ? My jboss tomcat setting is like below.. false | false 3. I want different deployments use their own classes in jar/war and don't let them to use the classes (with same name) in other deployment, i.e. separate class loader. How can I do that ? Thanks, Benny Chan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957670#3957670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957670 From do-not-reply at jboss.com Thu Jul 13 05:45:24 2006 From: do-not-reply at jboss.com (kingofhawks) Date: Thu, 13 Jul 2006 05:45:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Why SLSB maintain state between method invocation? Message-ID: <21328429.1152783924999.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi: I have written a SLSB like following: public @Stateless class SwitchHealthMgrBean implements SwitchHealthMgrLocal,SwitchHealthMgrRemote { private Logger logger=Logger.getLogger(SwitchHealthMgrBean.class); private int count=0; public void start() { count=1; logger.info("Count#"+count); } public void stop() { logger.info("Count#"+count); } } And i have written a client(JSP page) to first invoke start(),second invoke stop(),the logger info indicates that it has maintained state between method invocation! Anyone can tell me why? Best Regards! Kingofhawks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957671#3957671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957671 From do-not-reply at jboss.com Thu Jul 13 05:47:11 2006 From: do-not-reply at jboss.com (shasho) Date: Thu, 13 Jul 2006 05:47:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect flow between two beans? Message-ID: <3093522.1152784031774.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to call specific function in hotelsearch - find and not just load it I want to know how to direct to a specific fucntion inside hotelsearch which is a Java bean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957672#3957672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957672 From do-not-reply at jboss.com Thu Jul 13 05:48:58 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 05:48:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <19283220.1152784138374.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : My jboss tomcat setting is like below.. false | false I believe, this should be: true | true Try it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957673#3957673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957673 From do-not-reply at jboss.com Thu Jul 13 05:54:09 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 13 Jul 2006 05:54:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <20632964.1152784449101.JavaMail.jboss@colo-br-02.atl.jboss.com> Of course, there are many ways to build such a CRUD stuff. But I think one shouldn't persist a new object right after creation, cause then you have an item in your database with empty fields. I mean objects should only be persisted after JSF validation and a click on "Save". In addition to that, I regard a Delete button on the edit page as useful. And this one should not be shown to the user when he just created a new object. Just for existing ones. My approach would be like that: - A page with a list of all existing instances of an entity. Every entity gets an edit link, and at the bottom there's a create button. - Both buttons lead to the edit page. On the edit page there are the fields belonging to that entity, a save button, a cancel button, and a delete button (not for newly created entities). So that's what I suggest: The abstract superclass (it should use generics like iradix suggested): | ... | | private boolean new; | //true: Object has just bean created | //false: User is editing an existing object | | public setNew(boolean new) { | this.new = new; | } | | public boolean getNew() { | return new; | } | | | | public String create() { | setNew(true); | setObject(new T()); | return "editPage"; | } | | | public String edit() { | setNew(false); | setObject((T) entityManager.merge(theList.getSelection())); //how to get the entity from the previous page's list is discussed in another topic - so that's something to implement later ;) | return "editPage"; | } | | | public String delete() { | entityManager.remove(getObject()); | return "listPage"; | } | | | public String save() { | | if(getNew()) | entityManager.persist(getObject()); | else | entityManager.merge(getObject()); | | return "listPage"; | } | | The concrete bean class: | ... | | @In(required=false) @Out //Don't create here, this is done in the edit() or create() method ;) | private Employee employee; | | public Employee getObject() { | return employee; | } | | public void setObject(Employee employee) { | this.employee = employee; | } | ... | The list page: | ... | | | | ... | | | | | | | | | | | The edit page: | ... | | | | | ... | | | | | | | ... | Note: This is just a draft and I wasn't able to test it here. Let me know if you like it or if you would do it an other way. Feel free to add your comments and don't be polite ;). My TODOs (I'm thankful for any hint): - How to put an entity that's been selected on the list page into the editor bean in a convenient way (without violating the "Don't Repeat Yourself" rule ;)) - cancel method (I'm not sure if return "pageList" is sufficient cause I'm not sure if the entityManager does some stuff behind my back ;)) - How to refresh the list when returning to it. I encounter problems here as the list page always needs an explicit refresh (F5 key) before it shows updated and new entries. - Safety question: "Oh my god, do you really wanna delete this?" ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957674#3957674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957674 From do-not-reply at jboss.com Thu Jul 13 06:07:01 2006 From: do-not-reply at jboss.com (AshuDagr8) Date: Thu, 13 Jul 2006 06:07:01 -0400 (EDT) Subject: [jboss-user] [J2EE Design Patterns] - quite a design problem..!!! Message-ID: <12557798.1152785221667.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear Forum, I am facing design problem...here it goes... I have a class that contains several method having name pattern like "createXXX()". All of these methods contains similar logic except data.This class is examined by the another class for the"createXXX" methods for futher processing.Suppose name of class containing createXXX method is "abc"..then i have to pass this class to third party class like addClass(abc.class); Now to avoid almost redundant code and facilites maintenace i want to keep all my data in the xml file and "createXXX" method at the runtime in the abc class using data from xml file. How can i make this happen ? Thanks in advance ..!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957676#3957676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957676 From do-not-reply at jboss.com Thu Jul 13 06:12:12 2006 From: do-not-reply at jboss.com (bennyckp) Date: Thu, 13 Jul 2006 06:12:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <21368247.1152785532471.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, jaikiran. But it still don't work. Could you tell me what is the purpose to config like this ? true | true How can I use separate class loaders in separate deployments? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957677#3957677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957677 From do-not-reply at jboss.com Thu Jul 13 06:16:21 2006 From: do-not-reply at jboss.com (jatsrt) Date: Thu, 13 Jul 2006 06:16:21 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Setup for single box cluster on 2 Alpha Message-ID: <30201786.1152785781642.JavaMail.jboss@colo-br-02.atl.jboss.com> That seems to be the problem, if I type in the primary IP address then it lets a 4.0 server be created and if I type localhost it lets it be created, if I type in anything else, including my seconday ip address it filters it out. BTW, this is a linux box running FC5. My primary is eth0 and is set to 172.16.10.205 My secondary is eth0:0 and is set 172.16.10.203 My host file has both ips mapped to the same hostname. So when I type in the ip for eth0 it is fine, but does not accept the ip for eth0:0 -Jake View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957679#3957679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957679 From do-not-reply at jboss.com Thu Jul 13 06:23:29 2006 From: do-not-reply at jboss.com (freechild) Date: Thu, 13 Jul 2006 06:23:29 -0400 (EDT) Subject: [jboss-user] [JBoss and NetBeans] - Re: Welcome - READ ME 1st! Message-ID: <9165728.1152786209715.JavaMail.jboss@colo-br-02.atl.jboss.com> can you help me how to configure netbeans and jboss, but jboss run in the other PC. I have to configure build-impl.xml but some fiture netbeans can't show.. thanks best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957681#3957681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957681 From do-not-reply at jboss.com Thu Jul 13 06:42:05 2006 From: do-not-reply at jboss.com (beugeair) Date: Thu, 13 Jul 2006 06:42:05 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <27023639.1152787325436.JavaMail.jboss@colo-br-02.atl.jboss.com> thx, I've seen the first two link with no results, but the logging tell this : | [...] | [2098372,RepositoryClassLoader,http-0.0.0.0-8080-3] loadClassLocally, org.jboss.mx.loading.UnifiedClassLoader3 at 5a3923{ url=file:/D:/gwallet/tools/j2ee/jboss-4.0.3SP1/server/default/tmp/deploy/tmp23128jboss-service.xml ,addedOrder=2} name=si3si.metier.quartierforce.client.vo.VoAdrEml | [2098372,RepositoryClassLoader,http-0.0.0.0-8080-3] findClass, name=si3si.metier.quartierforce.client.vo.VoAdrEml | [2098388,RepositoryClassLoader,http-0.0.0.0-8080-3] CFNE: Adding to blacklist: si3si.metier.quartierforce.client.vo.VoAdrEml | [2098388,RepositoryClassLoader,http-0.0.0.0-8080-3] CFNE: Adding to blacklist: si3si.metier.quartierforce.client.vo.VoAdrEml | [2098388,RepositoryClassLoader,http-0.0.0.0-8080-3] loadClassLocally, org.jboss.mx.loading.UnifiedClassLoader3 at 5a3923{ url=file:/D:/gwallet/tools/j2ee/jboss-4.0.3SP1/server/default/tmp/deploy/tmp23128jboss-service.xml ,addedOrder=2} name=si3si.metier.quartierforce.client.vo.VoAdrEml not found | The classloader is blacklisting the class because it don't find it inside the webapp, but the class IS INSIDE THE WEBAPP ? Don't understand ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957682#3957682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957682 From do-not-reply at jboss.com Thu Jul 13 06:43:44 2006 From: do-not-reply at jboss.com (sudjboss) Date: Thu, 13 Jul 2006 06:43:44 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Deployment Error Message-ID: <29453176.1152787424641.JavaMail.jboss@colo-br-02.atl.jboss.com> This EJB example I am trying with jboss-4.0.4.GA and am trying to deply the StringProcessor.jar file to C:\jboss-4.0.4.GA\server\default\deploy. The error generated is: 2006-07-13 12:20:33,606 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at e4b0ad97 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/StringProcessor.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: Deployment FAILED reason: Invalid XML: file=jar:file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31156StringProcessor.jar!/META-INF/ejb-jar.xml at 6:2; - nested throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.) state: FAILED watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/StringProcessor.jar altDD: null lastDeployed: 1152786033278 lastModified: 1152786033278 mbeans: I have also alternatively tried with adding to ejb-jar.xml file DOCTYPE versions ( ) or ( ) And even I tried including the jboss.xml file. Still getting the same error, any help to solve this settings is appreciated. Thanks. The files used are: ********************************************************************* Listing 1. The StringProcessor.java File package com.javapro.ejb; import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface StringProcessor extends EJBObject { public String toUpperCase(String s) throws RemoteException; } ********************************************************************* Listing 2. The StringProcessorHome.java File package com.javapro.ejb; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBHome; public interface StringProcessorHome extends EJBHome { StringProcessor create() throws RemoteException, CreateException; } ********************************************************************* Listing 3. The StringProcessorBean.java File package com.javapro.ejb; import java.rmi.RemoteException; import javax.ejb.SessionBean; import javax.ejb.SessionContext; public class StringProcessorBean implements SessionBean { public String toUpperCase(String s) { System.out.println("from StringProcessorBean"); if (s==null) return null; else return s.toUpperCase(); } public void ejbCreate() { } public void ejbRemove() { } public void ejbActivate() { } public void ejbPassivate() { } public void setSessionContext(SessionContext sc) { } } ********************************************************************* Listing 4. The ejb-jar.xml File Your first EJB application String Processor Application StringProcessor com.javapro.ejb.StringProcessorHome com.javapro.ejb.StringProcessor com.javapro.ejb.StringProcessorBean Stateless Bean ********************************************************************* Listing 5. Client.java import javax.naming.*; import javax.rmi.PortableRemoteObject; import java.util.Properties; import com.javapro.ejb.StringProcessor; import com.javapro.ejb.StringProcessorHome; public class Client { public static void main(String[] args) { // first argument must be the input if (args.length==0) { System.out.println("Please specify the input to convert to upper case."); return; } String input = args[0]; // preparing properties for constructing an InitialContext object Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); properties.put(Context.PROVIDER_URL, "localhost:1099"); try { // Get an initial context InitialContext jndiContext = new InitialContext(properties); System.out.println("Got context"); // Get a reference to the Bean Object ref = jndiContext.lookup("StringProcessor"); System.out.println("Got reference"); // Get a reference from this to the Bean's Home interface StringProcessorHome home = (StringProcessorHome) PortableRemoteObject.narrow (ref, StringProcessorHome.class); // Create an Adder object from the Home interface StringProcessor sp = home.create(); System.out.println ("Uppercase of '" + input + "' is " + sp.toUpperCase(input)); } catch(Exception e) { System.out.println(e.toString()); } } } ********************************************************************* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957683#3957683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957683 From do-not-reply at jboss.com Thu Jul 13 06:44:37 2006 From: do-not-reply at jboss.com (sudjboss) Date: Thu, 13 Jul 2006 06:44:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Deployment Error Message-ID: <23840859.1152787477093.JavaMail.jboss@colo-br-02.atl.jboss.com> This EJB example I am trying with jboss-4.0.4.GA and am trying to deply the StringProcessor.jar file to C:\jboss-4.0.4.GA\server\default\deploy. The error generated is: 2006-07-13 12:20:33,606 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at e4b0ad97 { url=file:/C:/jboss-4.0.4.GA/server/default/deploy/StringProcessor.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: Deployment FAILED reason: Invalid XML: file=jar:file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31156StringProcessor.jar!/META-INF/ejb-jar.xml at 6:2; - nested throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.) state: FAILED watch: file:/C:/jboss-4.0.4.GA/server/default/deploy/StringProcessor.jar altDD: null lastDeployed: 1152786033278 lastModified: 1152786033278 mbeans: I have also alternatively tried with adding to ejb-jar.xml file DOCTYPE versions ( ) or ( ) And even I tried including the jboss.xml file. Still getting the same error, any help to solve this settings is appreciated. Thanks. The files used are: ********************************************************************* Listing 1. The StringProcessor.java File package com.javapro.ejb; import javax.ejb.EJBObject; import java.rmi.RemoteException; public interface StringProcessor extends EJBObject { public String toUpperCase(String s) throws RemoteException; } ********************************************************************* Listing 2. The StringProcessorHome.java File package com.javapro.ejb; import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBHome; public interface StringProcessorHome extends EJBHome { StringProcessor create() throws RemoteException, CreateException; } ********************************************************************* Listing 3. The StringProcessorBean.java File package com.javapro.ejb; import java.rmi.RemoteException; import javax.ejb.SessionBean; import javax.ejb.SessionContext; public class StringProcessorBean implements SessionBean { public String toUpperCase(String s) { System.out.println("from StringProcessorBean"); if (s==null) return null; else return s.toUpperCase(); } public void ejbCreate() { } public void ejbRemove() { } public void ejbActivate() { } public void ejbPassivate() { } public void setSessionContext(SessionContext sc) { } } ********************************************************************* Listing 4. The ejb-jar.xml File Your first EJB application String Processor Application StringProcessor com.javapro.ejb.StringProcessorHome com.javapro.ejb.StringProcessor com.javapro.ejb.StringProcessorBean Stateless Bean ********************************************************************* Listing 5. Client.java import javax.naming.*; import javax.rmi.PortableRemoteObject; import java.util.Properties; import com.javapro.ejb.StringProcessor; import com.javapro.ejb.StringProcessorHome; public class Client { public static void main(String[] args) { // first argument must be the input if (args.length==0) { System.out.println("Please specify the input to convert to upper case."); return; } String input = args[0]; // preparing properties for constructing an InitialContext object Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); properties.put(Context.PROVIDER_URL, "localhost:1099"); try { // Get an initial context InitialContext jndiContext = new InitialContext(properties); System.out.println("Got context"); // Get a reference to the Bean Object ref = jndiContext.lookup("StringProcessor"); System.out.println("Got reference"); // Get a reference from this to the Bean's Home interface StringProcessorHome home = (StringProcessorHome) PortableRemoteObject.narrow (ref, StringProcessorHome.class); // Create an Adder object from the Home interface StringProcessor sp = home.create(); System.out.println ("Uppercase of '" + input + "' is " + sp.toUpperCase(input)); } catch(Exception e) { System.out.println(e.toString()); } } } ********************************************************************* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957684#3957684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957684 From do-not-reply at jboss.com Thu Jul 13 06:48:50 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 13 Jul 2006 06:48:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is this the correct way to go about this? Message-ID: <10915441.1152787730055.JavaMail.jboss@colo-br-02.atl.jboss.com> "joff" wrote : We have two questions: | Is this the correct way to be doing this type of "pull" data access? We have looked at the "Blog" example, but it does not seem as complex as what we are trying to do. | Is it possible to have multiple @RequestParameter fields on a JavaBean like the one above, which do not all have to be populated when any given method (which may or may not use them) is called? * The examples are intentionally kept quite simple, so don't wonder why your real-life app seems to be "overcomplex". It surely isn't. DAOs are a very good way to retrieve data from a database, as long as they are used in many other classes. If there is only one class performing a certain db query (and no other predictable scenario in the future) I wouldn't create a DAO cause this only blows up the complexity. If there's no need for something and you still use it, then it's "pattern madness". But that's just my opinion and there surely are other opinion about this, too ;). * Unfortunately there's no attribute "required" for @RequestParameter like @In or @Out have, and so it always must be set when invoking one of the methods of your bean. I don't know exactly how your app works, but maybe you can use @In(required=false) instead of @RequestParameter? I even believe that this is the way it was meant to in Seam. RequestParameter seems to me to be just a little... well... accomodation to the old fashioned way of passing data from one page to another;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957685#3957685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957685 From do-not-reply at jboss.com Thu Jul 13 06:56:37 2006 From: do-not-reply at jboss.com (ashiiid) Date: Thu, 13 Jul 2006 06:56:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - hosting jbpm in console application Message-ID: <20575992.1152788197262.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I 'm trying to host jbpm in console application . I've chosen a "jbpm process " project and i added a java file with a main method . i can get the JbpmContext through : jbpmContext=JbpmContext.getCurrentJbpmContext(); But when i try to set the actor id or get the TaskMgmtSession i face a java.lang.NullPointerException . JbpmContext.getCurrentJbpmContext().setActorId("test"); TaskMgmtSession = jbpmContext.getTaskMgmtSession(); Can any one help me . Regards , Samid . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957686#3957686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957686 From do-not-reply at jboss.com Thu Jul 13 07:02:56 2006 From: do-not-reply at jboss.com (michalzel) Date: Thu, 13 Jul 2006 07:02:56 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - exception while processing @Timeout method Message-ID: <20757436.1152788576951.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I have got method annotated by @Timeout in my @Stateless bean. Method is called once a day and performs some activites. When these are done, just before method exits, new timer event is prepared. Unfortunatelly, when EJBException (or other) is thrown during processing, timer event is not created, although It's being made in finally block. I would like to have certainty that timer event is created though. How can this be achieved? I am using JBoss4.0.3SP1 with EJB3 RC3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957687#3957687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957687 From do-not-reply at jboss.com Thu Jul 13 07:11:11 2006 From: do-not-reply at jboss.com (hubertg) Date: Thu, 13 Jul 2006 07:11:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - download non-html file from portlet Message-ID: <8828786.1152789071610.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, a portlet normally provides a HTML fragment. All portlets of a portal must provide content of the same content type. Now, what if I want to have a link to a pdf, doc, xls .... file within a portlet? Within a servlet I just set the response's content type and write into the out stream. Is there a analogous way for portlets? Thank you very much! regards, hubert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957689#3957689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957689 From do-not-reply at jboss.com Thu Jul 13 07:20:39 2006 From: do-not-reply at jboss.com (ftiss) Date: Thu, 13 Jul 2006 07:20:39 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - PB with EJB while upgrading from 3.2.7 to 4.0.4 Message-ID: <16013317.1152789639296.JavaMail.jboss@colo-br-02.atl.jboss.com> I've an application which work fine with JBoss 3.2.7. I try to use it with JBoss 4.0.4. I've a problem while connecting with a EJB. I use the getHandle instruction, to obtain an handle on my EJB. When I use this handle with handle.getEJBObject(), I got the following : javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jboss.proxy.ejb.handle.StatefulHandleImpl.getEJBObject(StatefulHandleImpl.java:171) When I run the application with a debbuger, this is what I got for the handle : Handle I've got with JBoss 4.0.4. metaHandle: javax.ejb.Handle = {org.jboss.proxy.ejb.handle.StatefulHandleImpl at 700} org.jboss.proxy.ejb.handle.StatefulHandleImpl id: java.lang.Object = {org.jboss.util.id.UID at 701} invoker: org.jboss.invocation.Invoker = null invokerID: java.lang.Object = null invokerProxyBinding: java.lang.String = null jndiEnv: java.util.Hashtable = null jndiName: java.lang.String = "MetaSFR" objectName: int = 0 Handle I've got with JBoss 3.2.7. metaHandle: javax.ejb.Handle = {org.jboss.proxy.ejb.handle.StatefulHandleImpl at 6f8} org.jboss.proxy.ejb.handle.StatefulHandleImpl id: java.lang.Object = {org.jboss.util.id.UID at 6f9} invoker: org.jboss.invocation.Invoker = {org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy at 6fa} invokerID: java.lang.Object = {org.jboss.util.id.GUID at 6fb} invokerProxyBinding: java.lang.String = "stateful-rmi-invoker" jndiName: java.lang.String = "MetaSFR" objectName: int = 899834709 As you can see, invoker is null under JBoss 4.0.4. I've surely done a mistake in my configuration. But where ? Thank you for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957690#3957690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957690 From do-not-reply at jboss.com Thu Jul 13 07:22:14 2006 From: do-not-reply at jboss.com (sgodden) Date: Thu, 13 Jul 2006 07:22:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Use of external zip process in designer build.xml Message-ID: <23963391.1152789734805.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a particular reason why we are spawing an external zip process in the assemble.org.jbpm.gd.jpdl.feature.xml script? This is something ant can do, instead of being forced to install a command line zip facility on win32. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957691#3957691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957691 From do-not-reply at jboss.com Thu Jul 13 07:22:28 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 07:22:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <32055963.1152789748889.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : How can I use separate class loaders in separate deployments? There is very good information about this on the Wiki pages. Here are the links to the same: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=EnableClassloaderLogging anonymous wrote : Could you tell me what is the purpose to config like this ? true Have a look at: http://jira.jboss.com/jira/browse/JBAS-1691 And looking at this JIRA and the earlier links that i mentioned, i guess you were correct in mentioning false View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957692#3957692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957692 From do-not-reply at jboss.com Thu Jul 13 07:25:53 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 07:25:53 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: PB with EJB while upgrading from 3.2.7 to 4.0.4 Message-ID: <24535769.1152789953189.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=Getquotjavax.naming.NoInitialContextExceptionquot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957693#3957693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957693 From do-not-reply at jboss.com Thu Jul 13 07:29:47 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 07:29:47 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <4138036.1152790187939.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : but the class IS INSIDE THE WEBAPP Run the following command from the prompt and post your output: jar -tf yourApp.ear or jar -tf yourApp.war This will display the contents and the directory structure of your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957694#3957694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957694 From do-not-reply at jboss.com Thu Jul 13 07:36:06 2006 From: do-not-reply at jboss.com (ftiss) Date: Thu, 13 Jul 2006 07:36:06 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: PB with EJB while upgrading from 3.2.7 to 4.0.4 Message-ID: <32159842.1152790566714.JavaMail.jboss@colo-br-02.atl.jboss.com> I've watched it. I've a properties file with all thet. It works fine with 3.2.7, not with 4.0.4. Here is my problem... Thank's for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957695#3957695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957695 From do-not-reply at jboss.com Thu Jul 13 07:38:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 07:38:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <25643903.1152790700298.JavaMail.jboss@colo-br-02.atl.jboss.com> I went through your first post once again and was a bit confused by the statement: anonymous wrote : When I startup my JBoss, I don't know why the web application uses the ClassA in the mdb.jar which has no system out Can you explain as to who is invoking this ClassA? Is it JBoss or it from some other class? Just trying to understand as to why JBoss would invoke that class when deployment is going on, assuming ClassA is just a POJO class(or is it not?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957696#3957696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957696 From do-not-reply at jboss.com Thu Jul 13 07:44:30 2006 From: do-not-reply at jboss.com (justkeys) Date: Thu, 13 Jul 2006 07:44:30 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - serlialize extended persistence context to client Message-ID: <20700700.1152791070359.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to (de)serialize the extended persistence manager, in order to make an "offline" application that remembers (queues) the entity updates and deletions, and executes them later on, when the context is sent back to the server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957697#3957697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957697 From do-not-reply at jboss.com Thu Jul 13 07:52:49 2006 From: do-not-reply at jboss.com (floefliep) Date: Thu, 13 Jul 2006 07:52:49 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem Message-ID: <25574473.1152791569927.JavaMail.jboss@colo-br-02.atl.jboss.com> Exceptions all over the place, must be my lucky day! ;) (today is the 13th after all...) Fortunately for one part it seems a simple beauty fixup, I replaced in your latest OptimisticTreeCache: | public void writeLoad(Object key, Object value, Object currentVersion) { | try { | Option option = new Option(); | option.setFailSilently( true ); | option.setDataVersion( NonLockingDataVersion.INSTANCE ); | cache.remove( new Fqn( regionFqn, key ), "ITEM", option ); by | public void writeLoad(Object key, Object value, Object currentVersion) { | try { | this.remove(key); for the same reasons you mention in remove(). The bad part: now I get once in a while get a CacheException thrown where it shouldn't. At some point, TreeCache seems to detect parent nodes with higher versions than in the transaction's workspace. I'm still debugging into these. Oddily enough, my quick 'n dirty fix I posted above didn't do that. I'll post as soon as I have a result. As for your comments: - The insert warning: it no longer occurs since writeLoad() no longer passes in a previousVersion=null, so now we have the behaviour of the warning which corresponds to the idea. I got confused by the combination of the bug and the text of the warning, never mind. - The query-cache-0.6-second gap and the CMT edge case you suspect: could you tell where that happens in the code? I'm very interested in looking up these issues since my app is highly concurrent. - Weird validated node in next transaction: now that is strange. Could you perhaps post a code snippet where it occurs? However, I refer to my earlier post, TreeCache does seem to validate all nodes your transaction has accessed - modified or not. To me this sounds perfectly okay since you effectively read/write lock this way using the benefit of version control. Perhaps you're seeing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957698#3957698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957698 From do-not-reply at jboss.com Thu Jul 13 07:58:24 2006 From: do-not-reply at jboss.com (honest.length) Date: Thu, 13 Jul 2006 07:58:24 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - EJB3 Singleton MDB possible? Message-ID: <33361115.1152791904903.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is it possible to configure an MDB as a singleton via annotaions? In jboss 3 this could be acheived via deployment descriptors from memory. If not is there a work around etc. Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957699#3957699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957699 From do-not-reply at jboss.com Thu Jul 13 08:02:13 2006 From: do-not-reply at jboss.com (sherkan777) Date: Thu, 13 Jul 2006 08:02:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Global object how to use Message-ID: <5437824.1152792133674.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! Can anyone tell me how to use global object from my first page(I have Form there) on other sub pages? I have global object Person(ID, Name...) loaded from MySQL, and I need to use him to navigate my page. Could anyone show me simple source code? Sherkan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957700#3957700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957700 From do-not-reply at jboss.com Thu Jul 13 08:05:10 2006 From: do-not-reply at jboss.com (bdaw) Date: Thu, 13 Jul 2006 08:05:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: download non-html file from portlet Message-ID: <27853178.1152792310717.JavaMail.jboss@colo-br-02.atl.jboss.com> Best practise is to create a servlet just like you described, place it in the same web application as your portlet and just link/redirect to it from portlet. Because servlet can share session with your portlet (same web app) you can either secure downloads with some kind of token id passed in querystring and token placed in session. You can even generate content displayed inside your portlet that way Refer to attachments in ForumsPortlet implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957701#3957701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957701 From do-not-reply at jboss.com Thu Jul 13 08:11:08 2006 From: do-not-reply at jboss.com (elenh) Date: Thu, 13 Jul 2006 08:11:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam - iterator tag? Message-ID: <33033320.1152792668999.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Can anybody inform me about where I can find the documentation about seam's tag library (s:)? I'm trying to find out if seam provides any tag for iteration, like jstl's c:foreach? Or I have to use jstl? Thanx, Elenh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957702#3957702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957702 From do-not-reply at jboss.com Thu Jul 13 08:18:31 2006 From: do-not-reply at jboss.com (ncapito) Date: Thu, 13 Jul 2006 08:18:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Simple Problem Literal Problem Message-ID: <10771665.1152793111295.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you all support this construct that is in the spec? : Spec: | ... literal value ... | | | 1 | | | I am having issues trying to get an int constant in my script. anonymous wrote : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957703#3957703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957703 From do-not-reply at jboss.com Thu Jul 13 08:19:09 2006 From: do-not-reply at jboss.com (frank.beullens) Date: Thu, 13 Jul 2006 08:19:09 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Problem with webservices on 4.0.4GA Message-ID: <31113393.1152793149157.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i have written a webservices layer that runs on the 4.0.4.GA server (with the update of the jbossws 1.0.1). The wsdl file was generated on the server. When i try to cal a method on my server, i get in the method, but when trying to marshal the object for the response the server throws the following error: 2006-07-13 12:45:17,973 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception javax.xml.rpc.JAXRPCException: Cannot create or send response message at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:296) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:221) at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither getter nor field where found for defaultAssertionStatus in class java.lang.ClassLoader at org.jboss.xb.binding.MappingObjectModelProvider$FieldToElementMapping.(MappingObjectModelProvider.java:368) at org.jboss.xb.binding.MappingObjectModelProvider.mapFieldToElement(MappingObjectModelProvider.java:71) at org.jboss.ws.jaxb.JAXBMarshallerImpl.marshal(JAXBMarshallerImpl.java:145) at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:138) at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:152) at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:822) at org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:739) at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211) at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186) at org.jboss.util.xml.DOMWriter.printNode(DOMWriter.java:135) at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:290) ... 24 more Here is my wsdl file: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Sorry, heres the wsdl file again: - | - | - | | | | | | | | | | - | - | | | | | | | - | - | | | | | | - | - | | | | | | | | - | - | | | | | | - | - | | | | | | | - | - | | | | | | - | - | | | | | | | | - | - | | | | | | - | - | | | | | | - | - | | | | | | - | - | | | | | | | | | - | - | | | | | | | - | - | | | | | | | | | | | - | | | | | | | | | | - | - | | | | | | | | | | | | | | | - | - | | | | | | | | | | | - | - | | | | - | - | | | | | | | | | | | | | | | | | | | - | | | - | - | | | | | | | - | | | | | | | | | | - | | | - | - | | | | | - | | | | | | | | | | - | - | | | | | | | - | - | | | | | | | - | | | | | | | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | | | - | - | | | | - | - | | | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | | - | - | | | | - | - | | | | | - | - | | | | - | - | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - | | | | | | | | | | - | - | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - | - | | | | | - | - | | | | - | - | | | | | | | | | | | | | | - | | | | | | | | | | - | - | | | | | - | - | | | | | | - | - | | | | - | - | | | | - | - | | | | | | | - | | | - | - | | | | | | - | | | | | | | | | | - | - | | | | | | | | | | | | | | | - | | | | | | | | | | - | | | - | - | | | | - | - | | | | | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | | | - | - | | | | - | | | | - | | | | - | | | | - | | | | - | | | | - | | | | - View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957705#3957705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957705 From do-not-reply at jboss.com Thu Jul 13 08:24:42 2006 From: do-not-reply at jboss.com (bennyckp) Date: Thu, 13 Jul 2006 08:24:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <17567776.1152793482605.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry to confuse you. I should say "After I startup my JBoss,.." ClassA is invoked by a JSP in app.war rather than JBoss. Thanks for your useful links first. As I mentioned before, I've read all these before this post. To my understanding, do you suggest the following config ? true | false As I am back home, I will try this tomorrow. Thanks for your help again ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957707#3957707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957707 From do-not-reply at jboss.com Thu Jul 13 08:26:43 2006 From: do-not-reply at jboss.com (free1000) Date: Thu, 13 Jul 2006 08:26:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - 2.0.4-CR1 W2k CMS start problem Message-ID: <2208530.1152793603732.JavaMail.jboss@colo-br-02.atl.jboss.com> I successfully installed 2.0.4-CR1 on my mac then tried on my W2k box. JBoss 2.4. I get a problem when the CMS is starting, note that the datasource PortalDS is correctlyconfigured and deployed. First the final report, then the full shell transcript. --- MBeans waiting for other MBeans --- ObjectName: portal:service=CMS State: FAILED Reason: java.lang.IllegalStateException: You need to specify a JNDI Name for t he HibernateSessionFactory I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule portal:service=CMS,hibernateSessionFactory=CMSHibernateStoreSessionFactory portal:service=CMS,hibernateSessionFactory=CMSHibernatePersistenceManagerSes sionFactory Depends On Me: portal:commandFactory=CMSObject --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: portal:service=CMS State: FAILED Reason: java.lang.IllegalStateException: You need to specify a JNDI Name for t he HibernateSessionFactory I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule portal:service=CMS,hibernateSessionFactory=CMSHibernateStoreSessionFactory portal:service=CMS,hibernateSessionFactory=CMSHibernatePersistenceManagerSes sionFactory Depends On Me: portal:commandFactory=CMSObject stdout entries follow 13:17:19,562 INFO [JCRCMS] Starting JCR CMS 13:17:19,875 INFO [RepositoryImpl] Starting repository... 13:17:19,875 WARN [RepositoryImpl] Existing lock file at C:\Program Files\jboss -4.0.4.GA\server\default\data\portal\cms\conf\.lock deteteced. Repository was no t shut down properly. 13:17:21,578 INFO [NodeTypeRegistry] no custom node type definitions found 13:17:21,890 INFO [RepositoryImpl] initializing workspace 'default'... 13:17:21,890 WARN [ServiceController] Problem starting service portal:service=C MS java.lang.IllegalStateException: You need to specify a JNDI Name for the Hiberna teSessionFactory at org.jboss.portal.cms.util.HibernateUtil.getSessionFactory(HibernateUt il.java:14) at org.jboss.portal.cms.hibernate.HibernateStore.init(HibernateStore.jav a:141) at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemCon fig.java:57) at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(Re positoryImpl.java:1506) at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImp l.java:502) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java: 244) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java: 483) at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(J ackrabbitJCRService.java:102) at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:167) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1 96) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBo ssService.java:72) 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.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:995) 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 sun.reflect.GeneratedMethodAccessor8.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:302) 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 $Proxy86.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor13.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.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.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.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.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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) 13:17:22,031 INFO [NamingHelper] JNDI InitialContext properties:{} 13:17:22,031 INFO [DatasourceConnectionProvider] Using datasource: java:PortalD S 13:17:22,031 INFO [SettingsFactory] RDBMS: MySQL, version: 4.1.11 13:17:22,031 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.13 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 200 5) $, $Revision$ ) 13:17:22,046 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect 13:17:22,046 INFO [TransactionFactoryFactory] Transaction strategy: org.hiberna te.transaction.JTATransactionFactory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957708#3957708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957708 From do-not-reply at jboss.com Thu Jul 13 08:31:47 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 08:31:47 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: auth-method Form and Subject access Message-ID: <13750487.1152793907168.JavaMail.jboss@colo-br-02.atl.jboss.com> atorres, Warren6 is just plain silly. There are at least two ways to get the Authenticated Subject. I think all of them are JBoss dependant; not sure if this is a problem for you. However... 1.) the way you have done it is a great way using JNDI 2.) tomcat service has an SubjectAttributeName option that will store the authenticated subject in request scope. Enjoy, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957709#3957709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957709 From do-not-reply at jboss.com Thu Jul 13 08:35:28 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 13 Jul 2006 08:35:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <8149744.1152794128619.JavaMail.jboss@colo-br-02.atl.jboss.com> Iteration over JSF tags isn't possible. You know, every JSF page has a static component tree, and the number of contained components cannot vary. To put it in a nutshell: There's no JSF iteration tag, and you even NEVER shouldn't do something like that: The only possibilty to iterate over something in JSF is the dataTable-Tag. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957710#3957710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957710 From do-not-reply at jboss.com Thu Jul 13 08:35:48 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 13 Jul 2006 08:35:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Global object how to use Message-ID: <18221455.1152794148062.JavaMail.jboss@colo-br-02.atl.jboss.com> Is that Person the logged in user? If so, you might attach that Person to a session bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957711#3957711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957711 From do-not-reply at jboss.com Thu Jul 13 08:36:59 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 13 Jul 2006 08:36:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <31086500.1152794219777.JavaMail.jboss@colo-br-02.atl.jboss.com> For some reason the forum has corrupted my Post. So here it is again: What you shouldn't do Start of JTSL Loop A JSF Tag End of JSTL Loop View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957712#3957712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957712 From do-not-reply at jboss.com Thu Jul 13 08:37:13 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 08:37:13 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding data to session after login Message-ID: <1294796.1152794233885.JavaMail.jboss@colo-br-02.atl.jboss.com> Paul, Warrenc6 is leading you in the wrong direction. Your idea to extend DatabaseServerLoginModule is a good choice. In order for you to access the HttpSession from you login module you will need to see http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication let us know if you need more help, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957713#3957713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957713 From do-not-reply at jboss.com Thu Jul 13 08:37:30 2006 From: do-not-reply at jboss.com (petekol) Date: Thu, 13 Jul 2006 08:37:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - asynchronous processing, will we get it? Message-ID: <8071277.1152794250196.JavaMail.jboss@colo-br-02.atl.jboss.com> i am new to seam but what i've got is that asynchronous processing is on it's way. Is it right? What I am particulary missing is synchronous commonent execution/call in business process context for jBPM actions for example. I've seen a feature in JIRA. What are the plans to implement it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957714#3957714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957714 From do-not-reply at jboss.com Thu Jul 13 08:46:47 2006 From: do-not-reply at jboss.com (pander) Date: Thu, 13 Jul 2006 08:46:47 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding data to session after login Message-ID: <6416423.1152794807130.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi j2ee_junkie, Yes, thanks for that. I had come to the same conclusion a little while ago now. I have indeed settled for my original idea which is to populate some beans via a database query during the login process. i.e. If the user has logged in successfully then I query the database and then put the populated beans in the session for future use. 'anavailablename', if you are still stuck with what to do you could always try this: public class DBLoginModule extends DatabaseServerLoginModule { | | /** The JACC PolicyContext key for the current Subject */ | public static final String WEB_REQUEST_KEY = "javax.servlet.http.HttpServletRequest"; | | public boolean login() throws LoginException { | | boolean loginAccepted = super.login(); | | if(loginAccepted) { | | HttpServletRequest request = null; | HttpSession session = null; | try { | request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY); | session = ((HttpServletRequest) request).getSession(true); | } catch(PolicyContextException e) { | log.error("Unable to retrieve Policy Context: "+e.getMessage()); | e.printStackTrace(); | return false; | } | | // make your database queries here and populate beans | | // add to session | | // NB: if you need to due to errors or other problems you can always revoke | // the login at any point by setting loginAccepted to false. | | } | | return loginAccepted; | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957715#3957715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957715 From do-not-reply at jboss.com Thu Jul 13 08:47:20 2006 From: do-not-reply at jboss.com (Jörg) Date: Thu, 13 Jul 2006 08:47:20 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem: Write data with EJB, read with Hibernate Message-ID: <24101346.1152794840495.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I use EJB to update a record in a MySQL 4 database. After this I try to read with Hibernate, but the data is not updated yet. After a page refresh, the new data is there. More Details: I use JBoss 4.0.2 and EJB 2.0 . The data comes by a http request, a portlet calls a stateless sessionbean and this calls a entitybean to update a record in the database. The entitiybean is configured as "Instance Per Transaction CMP 2.x EntityBean" . Then the entitybean is left and the sessionbean is left. (Then the data should be written into the database, I assumed). The portlet class reads the records of the updated table using hibernate. But now the record that should have been updated, still contains the old values. Then I try to call the data again (without any action) and now hibernate receives the updated record correctly. Is this a kind of caching problem? How can I solve this problem? Thanks for your reply. J?rg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957716#3957716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957716 From do-not-reply at jboss.com Thu Jul 13 08:49:45 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Thu, 13 Jul 2006 08:49:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: exception while processing @Timeout method Message-ID: <31515265.1152794985729.JavaMail.jboss@colo-br-02.atl.jboss.com> this is required by the spec. Timer events are transactional. THe process of throwing an EJBException from our @Timeout method is equivalent to a transaction rollback. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957717#3957717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957717 From do-not-reply at jboss.com Thu Jul 13 08:55:51 2006 From: do-not-reply at jboss.com (kivanc) Date: Thu, 13 Jul 2006 08:55:51 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - 1000 connections Message-ID: <5252608.1152795351690.JavaMail.jboss@colo-br-02.atl.jboss.com> We need your help! Was anybody of you able to establish 1000 or more connections on a JBOSS Server? We established 800 connections. However, after a certain period of time a couple of connections were lost. Our configuration: Applications Server Pentium IV, 2.8GHZ, 2,5GB RAM Windows 2003 Server SP1 JBOSS Server Pentium IV, 3,0GHZ, 4,0 GB RAM Windows 2003 x64 Server We are looking forward for your answers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957718#3957718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957718 From do-not-reply at jboss.com Thu Jul 13 08:56:23 2006 From: do-not-reply at jboss.com (beugeair) Date: Thu, 13 Jul 2006 08:56:23 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <18965429.1152795383261.JavaMail.jboss@colo-br-02.atl.jboss.com> So I use this commande : > jar -tf force-webapp-vpt-020708.war | [...] | WEB-INF/lib/force-quartier-facturation-020708.jarWEB-INF/lib/force-quartier-force-020708.jarWEB-INF/lib/force-quartier-livraison-020708.jar | [...] | It display all the content of the webapp, the VoAdrEml isn't inside WEB-INF/classes because it is inside the ejb-client-jar ... WEB-INF/lib/force-quartier-force-020708.jar ... which appear in the webApp content. I remember that the webapp is class loader isolated. I don't understand why jboss can't find this class but load successfully the VoPdv class which is in the same WEB-INF/lib/force-quartier-force-020708.jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957719#3957719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957719 From do-not-reply at jboss.com Thu Jul 13 09:09:12 2006 From: do-not-reply at jboss.com (christian.bauer@jboss.com) Date: Thu, 13 Jul 2006 09:09:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - ADF and Facelets Message-ID: <21191551.1152796152163.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone have a small project that uses Oracle ADF + Facelets, not necessarily with Seam, that works? With the latest releases of ADF, Facelets, and MyFaces 1.x? I've given up on this combination and need help. If yes, it would be great if you could wrap it up and package it. I promise it will help others, I'm working on an example application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957722#3957722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957722 From do-not-reply at jboss.com Thu Jul 13 09:17:28 2006 From: do-not-reply at jboss.com (elenh) Date: Thu, 13 Jul 2006 09:17:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <28022136.1152796648378.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok thanx for the reply? But where can I find the documendation of the seam tag library? I have only come up with the s:link, s:conversationId and s:validateAll tag? Thanx, Elenh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957723#3957723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957723 From do-not-reply at jboss.com Thu Jul 13 09:22:24 2006 From: do-not-reply at jboss.com (wolfc) Date: Thu, 13 Jul 2006 09:22:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea Message-ID: <14903665.1152796944848.JavaMail.jboss@colo-br-02.atl.jboss.com> Please try: getBusinessObject(MyInterface.class).sayHelloTo("me"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957724#3957724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957724 From do-not-reply at jboss.com Thu Jul 13 09:26:42 2006 From: do-not-reply at jboss.com (m_ok) Date: Thu, 13 Jul 2006 09:26:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_LOG: who performed the transition? Message-ID: <27850014.1152797202805.JavaMail.jboss@colo-br-02.atl.jboss.com> "Hannes" wrote : I have changed the 'ProcessLog.java' and 'ProcessLog.hbm.xml' by adding a property named 'actorId' which is set in the constructor: 'actorId = Authentication.getAuthenticatedActorId();' | | hbm: | | This was made with 3.0, but maybe it works for 3.1 too. Thank you very much for posting that. I know I added a sort of ProcessInstanceCreateLog.hbm.xml to log when a process was created. And it worked well also. At the time, I didn't want to modify the JBPM source code because we would then have to do it every time we update. You're giving me motivation to go ahead and do it though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957725#3957725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957725 From do-not-reply at jboss.com Thu Jul 13 09:29:15 2006 From: do-not-reply at jboss.com (thmix10) Date: Thu, 13 Jul 2006 09:29:15 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WSDL First Model? Message-ID: <10685775.1152797355089.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't see anything in the JBossWS documentation describing how to create and deploy a service if I want to hand-craft the WSDL file and let it be the source for generating other server-side artificats. Is there some doc on how this can be done in 4.0.4.GA? Thanks, Todd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957726#3957726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957726 From do-not-reply at jboss.com Thu Jul 13 09:30:34 2006 From: do-not-reply at jboss.com (steve.ebersole@jboss.com) Date: Thu, 13 Jul 2006 09:30:34 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem Message-ID: <30760915.1152797434656.JavaMail.jboss@colo-br-02.atl.jboss.com> "floefliep" wrote : The insert warning: it no longer occurs since writeLoad() no longer passes in a previousVersion=null Perhaps that is the reasoning. But my experience was that this scenario was actually previously caused by this "(re)validate in any subsequent transaction(s)" check in most cases and that it was much more the "if ( this == dataVersion )" check that stopped the exceptions. But either way... "floefliep" wrote : query-cache-0.6-second gapFirst, I was wrong about .6 seconds as I forgot a division of the timestamp by 100 in my manual calculation. This basically comes from o.h.c.UpdateTimestampsCache. This is responsible for deciding whether or not cached query results should be considered invalid; it does this through some timestamping. Whenever Hibernate performs DML operations against a set of "table spaces", it notifies the UpdateTimestampsCache in a two phase process (preinvalidate and invalidate). invalidate() is responsible for setting the appropriate timetamp value into the underlying cache region that is then later used in the isUpToDate() checks. However, that invalidate() call happens during Hibernate's after-transaction-completion process. Which of course fails when using TreeCache because it does not like this put() outside the scope of an active transaction. And basically this all means that query caching is totally useless here. "floefliep" wrote : CMT edge case For example, in my tests, it creeps up in trying to clean up the test data. Consider: | s = openSession(); | s.delete( item ); | where item is a detached instance and where we are relying on flush-on-completion with CMT. In this case, Hibernate has made no TreeCache calls and thus TreeCache has not had a chance to register its synchronization. Now, at transaction commit Hibernate's synchronization gets a beforeCompletion callback and starts its flush processing; at that point it now calls into TreeCache which causes TreeCache to register its synch - but that is obviously too late in the game since because it registers in the midst of the beforeCompletion phase it will (at least) not get a "floefliep" wrote : Weird validated node in next transaction In my experience, it *appears* that it does not matter if you even access the node at all... But I need to verify this some more. "floefliep" wrote : I replaced in your latest OptimisticTreeCache: So I am missing something. You mean to tell me that TreeCache.remove() *fails* if the node does not exist even when you explicitly specify "fail silently"? I needed the "protection check" in OptimisitcTreeCache.remove() because there I cannot explcitly set the fail-silectly mode... "floefliep" wrote : Exceptions all over the place Other than whats discussed above? What are they? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957727#3957727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957727 From do-not-reply at jboss.com Thu Jul 13 09:30:58 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 13 Jul 2006 09:30:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.0.4-CR1 W2k CMS start problem Message-ID: <8780923.1152797458326.JavaMail.jboss@colo-br-02.atl.jboss.com> Blow away JBOSS_HOME/server/default/data and restart. The .lock file is held by JCR, so you can normally just remove that file, but to be safe on a clean install, kill the entire /data. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957728#3957728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957728 From do-not-reply at jboss.com Thu Jul 13 09:31:27 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 13 Jul 2006 09:31:27 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <24175029.1152797487162.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Tobias, Thank you so much for your very detailed guidance. I will try it again. I am currently using JBoss 4.0.4.GA and Seam 1.0.1.GA. Best regards, GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957729#3957729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957729 From do-not-reply at jboss.com Thu Jul 13 09:31:45 2006 From: do-not-reply at jboss.com (creative77) Date: Thu, 13 Jul 2006 09:31:45 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Cannot bind Session Factory to JNDI Message-ID: <3980635.1152797505056.JavaMail.jboss@colo-br-02.atl.jboss.com> Cannot bind session factory to jndi name, no jndi name configured. I have read that this is a result of the hibernate libs being deployed with my applications.war file. So does this mean I have to remove all teh hibernate files from application before deployment? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957730#3957730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957730 From do-not-reply at jboss.com Thu Jul 13 09:35:40 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 13 Jul 2006 09:35:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal Tabs do not wrap correctly Message-ID: <26624645.1152797740385.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a navigation portlet rendering problem. I will create a task in jira, but not sure if I can get to it by 2.6 CR2, next week. http://jira.jboss.com/jira/browse/JBPORTAL-951 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957732#3957732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957732 From do-not-reply at jboss.com Thu Jul 13 09:37:03 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 13 Jul 2006 09:37:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: where did the IPC documentation go to? Message-ID: <27985488.1152797823882.JavaMail.jboss@colo-br-02.atl.jboss.com> IPC docs were removed until IPC is working in 2.4. When it is working, the docs will be updated w/ sample code accordingly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957733#3957733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957733 From do-not-reply at jboss.com Thu Jul 13 09:43:00 2006 From: do-not-reply at jboss.com (wolfc) Date: Thu, 13 Jul 2006 09:43:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Why SLSB maintain state between method invocation? Message-ID: <114401.1152798180167.JavaMail.jboss@colo-br-02.atl.jboss.com> JSR 220: Enterprise JavaBeansTM,Version 3.0, Final Release, 4.5 Stateless Session Beans, 2nd paragraph: The term ?stateless? signifies that an instance has no state for a specific client. However, the instance variables of the instance can contain the state across client-invoked method calls. Examples of such state include an open database connection and an object reference to an enterprise bean object. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957734#3957734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957734 From do-not-reply at jboss.com Thu Jul 13 09:43:20 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 09:43:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues Message-ID: <26479324.1152798200252.JavaMail.jboss@colo-br-02.atl.jboss.com> Kazaam, If you send me your email address I can send you a copy of our internal wiki, which contains the instructions we used to get the starter kit up and working with the Oracle database. Everything went well for us there, except there were two tests that failed, mainly due to bad test procedure, one was referrring to the old hibernate database, and another to a missing class. It should contain pretty detailed instructions for you. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957735#3957735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957735 From do-not-reply at jboss.com Thu Jul 13 09:44:08 2006 From: do-not-reply at jboss.com (ashwin1984) Date: Thu, 13 Jul 2006 09:44:08 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - how to run an java program continously on jboss Message-ID: <13013550.1152798248802.JavaMail.jboss@colo-br-02.atl.jboss.com> I am totally new to jBoss and its functionality....please excuse my doubt if it elementary.... i have a java program that listens on a comm port for incoming messages how do i deploy this program on to the jBoss server...is it possible to do so...it should continously run in the server ashwin v.g. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957736#3957736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957736 From do-not-reply at jboss.com Thu Jul 13 09:57:55 2006 From: do-not-reply at jboss.com (caveli) Date: Thu, 13 Jul 2006 09:57:55 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: how to run an java program continously on jboss Message-ID: <31777000.1152799075199.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi ashwin, First, make a jar file with your project classes. Second, put this jar in lib directory (...server\default\lib). Third, start the server. In boot.log you can see your jar file deployed. Ej output: 01:36:12,383 DEBUG [SARDeployer] deployed classes for file:/jboss/jbossadm/jboss-4.0.3/server/all/lib/your_program.jar I hope help you. C?sar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957738#3957738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957738 From do-not-reply at jboss.com Thu Jul 13 10:02:57 2006 From: do-not-reply at jboss.com (dloiacono) Date: Thu, 13 Jul 2006 10:02:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <27515970.1152799377342.JavaMail.jboss@colo-br-02.atl.jboss.com> In my post http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81904 there is Sun Web UI integration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957739#3957739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957739 From do-not-reply at jboss.com Thu Jul 13 10:03:33 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Thu, 13 Jul 2006 10:03:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - using a set-method on an entity bean when in the web layer h Message-ID: <22708827.1152799413321.JavaMail.jboss@colo-br-02.atl.jboss.com> if i use a set method on a entity bean when inside a session bean, the method has the desired effect (i e the data is propelled down to the database), but if try the same set-method when inside the web layer (as in a JSP page) it does not have any effect. should it have an effect? it would be nice. mvh, markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957740#3957740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957740 From do-not-reply at jboss.com Thu Jul 13 10:12:37 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 10:12:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timers Documentation and Eclipse incorrect. Message-ID: <26721915.1152799957748.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, that worked perfectly, thanks for the tips. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957743#3957743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957743 From do-not-reply at jboss.com Thu Jul 13 10:14:24 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 10:14:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues Message-ID: <9873488.1152800064482.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's a line from our wiki that may help: When this completes, you can examine detailed reports on all the tests by loading jbpm-db/build/oracle/testfiles/index.html in your web browser. When I first ran the test, I got lots of errors back due to a missing C3P0 module. This is explained on the JBOSS site. (http://jboss.com/index.html?module=bb&op=viewtopic&p=3932199) Running this test on the JBPM starter kit, we find three errors. One is a class not found error which seems to result from a bad configuration file specifying a non-existent class, and the other two are in the org.jbpm.graph.exe.SuspendAndResumeDbTest class, apparently due to a hard-coded reference to the Hypersonic SQL DB, when in fact we're testing against Oracle. Maybe that will help some. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957744#3957744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957744 From do-not-reply at jboss.com Thu Jul 13 10:15:31 2006 From: do-not-reply at jboss.com (huangjd) Date: Thu, 13 Jul 2006 10:15:31 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Isolation level in detail Message-ID: <27458453.1152800131649.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am looking for more information on the different types of isolation levels. I've read over the documentation but was wondering if anyone knows of any external sites that might give more examples. It doesn't have to be JBoss Cache related, as I am sure this is a overall cache topic. (I am just trying to learn more about caching architecture in general). Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957745#3957745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957745 From do-not-reply at jboss.com Thu Jul 13 10:17:57 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 10:17:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <28432450.1152800277297.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : Tested 3.2 only... read the postings!!!! | | 3.2-head (head being a cvs keyword) is available in CVS. | | Is the user a member of the groups in your DB? | Yes there are two members which belong to the group, and I check teh db afterwards, and it appears there is a relation in one table from the task to the group name, but when we view the webpage, it does not show the task in the users task list. I am trying to download the newest cvs version now. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957747#3957747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957747 From do-not-reply at jboss.com Thu Jul 13 10:21:18 2006 From: do-not-reply at jboss.com (monicabologa) Date: Thu, 13 Jul 2006 10:21:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM 3.2 CVS download and document management Message-ID: <25163017.1152800478302.JavaMail.jboss@colo-br-02.atl.jboss.com> We downloaded the jBPM from the HEAD using anonymous CVS access, but we didn't find anything related to JCR based support for document management. Do we need developer CVS access in order to see the 3.2 version (with this feature)? We would also like to see the changes in the jPDL (email support, variable data types) and the new webapp. I saw that the host for anonymous and developer access is different, so maybe the same is true for the versions in the HEAD? Any input on this matter is appreciated! Thank you, Monica View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957748#3957748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957748 From do-not-reply at jboss.com Thu Jul 13 10:23:57 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Thu, 13 Jul 2006 10:23:57 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Jboss Cache Entry Stats Message-ID: <27712268.1152800637838.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an interface which has these methods about an entry in cache (Key,Value) i need to write a class which gets these stats to us like this. public interface CacheEntry{ public long getCreationTime(); public long getExpirationTime(); public long getLastAccessTime(); public long getLastUpdateTime(); public long getVersion(); public boolean isValid(); } from the input we give of a Jboss Tree Cache which contains our particular entry(key,value). Can any one please let me know how this can be achieved. Thanks in advance. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957749#3957749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957749 From do-not-reply at jboss.com Thu Jul 13 10:28:50 2006 From: do-not-reply at jboss.com (znbailey) Date: Thu, 13 Jul 2006 10:28:50 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <21825142.1152800930424.JavaMail.jboss@colo-br-02.atl.jboss.com> Rob, That sounds good. I'm sure there may be people here whose servers take that long to start, but I think we can imagine they would be in the minority. I will see if the new build addresses this issue. However I am not sure it was the timeout issue I was ever suffering from - I have seen this error screen pop up once before when my server took more than 2 minutes to start - and it was different than the error dialog I receive most of the time which is the generic "the server failed to start" rather than the "timeout exceeded" error message. I will report back in this thread when the new release hits. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957751#3957751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957751 From do-not-reply at jboss.com Thu Jul 13 10:31:21 2006 From: do-not-reply at jboss.com (emailmsgbox) Date: Thu, 13 Jul 2006 10:31:21 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Using j_security_check with a custom Principal , a custom Ca Message-ID: <21258379.1152801081769.JavaMail.jboss@colo-br-02.atl.jboss.com> Hear me out, I'll make it short I need username, password and kuku as parameters in my CallbackHandler and my LoginModule when I initiate a login using my CallbackHandler MyPrincipal to my facades local or remote like this | MyLoginHandler login = new MyLoginHandler(new MyPrincipal( username, kuku),password); | loginContext = new LoginContext("my-login",login); | loginContext.login(); | ... | all is good but when I try the "full Monty" meaning web and EJB with auth-method FORM (j_security_check) I of course fail , since the CallbackHandler that I get in my login module is a with a SimplePrincipal and this SimplePrincipal is missing the extra parameter So my problem is to pass the extra parameter to the my LoginModule how do I get the j_security_check to take the extra paramenter and pass it on . in some way I looked at the ExtendedFormAuthenticator but I do not see how could did help me. since I do not use a filter So be a sport and H-E-L-P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957753#3957753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957753 From do-not-reply at jboss.com Thu Jul 13 10:31:35 2006 From: do-not-reply at jboss.com (KChvilyov) Date: Thu, 13 Jul 2006 10:31:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <19738482.1152801095235.JavaMail.jboss@colo-br-02.atl.jboss.com> Thahk you for 1.4 GA release. There is resolved previous error. But we have a new: java.lang.RuntimeException: PojoCache.putObject(): fqn: /poker/tournaments/1361/21/data at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:478) at org.jboss.cache.aop.CacheInterceptor.invoke(CacheInterceptor.java:152) at org.jboss.aop.joinpoint.FieldReadInvocation.invokeNext(FieldReadInvocation.java:48) at com.intersolved.poker.table.model.TableModelData.currRound_r_$aop(TableModelData.java) at com.intersolved.poker.table.model.TableModelData.getCurrRound(TableModelData.java:61) at com.intersolved.poker.table.model.TableModel.getCurrRound(TableModel.java:324) at com.intersolved.poker.table.services.hand.manager.AbstractHandManagerService.check(AbstractHandManagerService.java:327) at com.intersolved.poker.table.AbstractPokerTable.check(AbstractPokerTable.java:331) at com.intersolved.poker.lobby.tourney.tournaments.tournament.TournamentPokerTable.check(TournamentPokerTable.java:157) at com.intersolved.poker.lobby.tourney.tournaments.tournament.AbstractTournament.cleanTables(AbstractTournament.java:1042) at com.intersolved.poker.lobby.tourney.tournaments.tournament.AbstractTournament.handFinishedProcess(AbstractTournament.java:1158) at com.intersolved.poker.lobby.tourney.tournaments.tournament.AbstractTournament.processLosers(AbstractTournament.java:1099) at com.intersolved.poker.lobby.tourney.tournaments.tournament.TournamentPokerTable.onHandFinished(TournamentPokerTable.java:88) at com.intersolved.poker.table.services.hand.manager.TournamentHandManagerService.finish(TournamentHandManagerService.java:17) at com.intersolved.poker.table.services.hand.manager.AbstractHandManagerService.handProcess(AbstractHandManagerService.java:266) at com.intersolved.poker.table.services.hand.manager.AbstractHandManagerService.onTimer(AbstractHandManagerService.java:223) at com.intersolved.poker.table.AbstractPokerTable.onTimer(AbstractPokerTable.java:845) at com.intersolved.xmlserver.common.AbstractAsyncCommandExecutor.onEvent(AbstractAsyncCommandExecutor.java:63) at com.intersolved.xmlserver.common.AbstractCommandExecutor.execute(AbstractCommandExecutor.java:266) at com.intersolved.xmlserver.common.CommandExecutorQueue$PacketThreadQueueElement.executePacket(CommandExecutorQueue.java:89) at com.intersolved.xmlserver.common.CommandExecutorQueue$PacketThreadQueueElement.run(CommandExecutorQueue.java:71) at com.intersolved.xmlserver.common.queue.SynchronizedSystemThreadQueue$1.run(SynchronizedSystemThreadQueue.java:40) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:595)Caused by: java.lang.RuntimeException: InternalDelegate.incrementRefCount(): null aopInstance for fqn: /poker/tournaments/1361/21/data at org.jboss.cache.aop.InternalDelegate.incrementRefCount(InternalDelegate.java:96) at org.jboss.cache.aop.ObjectGraphHandler.incrementRefCount(ObjectGraphHandler.java:212) at org.jboss.cache.aop.ObjectGraphHandler.setupRefCounting(ObjectGraphHandler.java:192) at org.jboss.cache.aop.ObjectGraphHandler.objectGraphPut(ObjectGraphHandler.java:88) at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:197) at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:731) at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:462) ... 23 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957754#3957754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957754 From do-not-reply at jboss.com Thu Jul 13 10:31:51 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 13 Jul 2006 10:31:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Cannot get JBoss to JBoss EJB3 Talk Message-ID: <12378693.1152801111556.JavaMail.jboss@colo-br-02.atl.jboss.com> This problem is not specific to EJB3, I ran into the same problen using EJB 2.1. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85455 As you said, so far we are being ignored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957755#3957755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957755 From do-not-reply at jboss.com Thu Jul 13 10:32:27 2006 From: do-not-reply at jboss.com (thmix10) Date: Thu, 13 Jul 2006 10:32:27 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - charset=ISO-8895-1 being added to response content type Message-ID: <32632741.1152801147406.JavaMail.jboss@colo-br-02.atl.jboss.com> We have an application that is comprised of a client side component run on phones, and a server side component which communicates with the phones and links them to our other SOA architectures. This was previously running on WebLogic 7, but since we are shifting to JBoss, it was decided to move this application over. For the most part, the port went smoothly. Removal of WebLogic specific classes was a simple task, getting it to compile under the new environment took a little time and tinkering but it, too, went smoothly. After getting the ported application deployed to the server and letting some of the phones communicate, strange things started to happen. After some time trying to debug the situation, we found the problem. Without getting into too much nitty-gritty about how the application (phone or server) works, the responses coming from the server differ in one small way that breaks functionality on the phone. Mainly, we are setting the content type to a specific type (?application/eventstream?). When this response leaves the server, it has become ?application/eventstream;charset=ISO-8895-1?. While there is nothing wrong with this from an HTTP standpoint, then phone application is exclusively looking for ?application/eventstream? and nothing else. Now, probably the simplest thing to do to fix the issue would be to change a ?.equals? to a ?.startsWith? or a ?.indexOf(?)>=0? inside the phone code. However, there are some 3000+ phones in the field and the procedure for getting the application on the phones and actually updated is a long and arduous one. The change would have to be server-side, at least as a temporarily until we reach a point where an update can be made to the phone application. So, back to work looking for where this string is modified in the JBoss (or to be more exact, Tomcat) codebase. It can be tracked to the class org.apache.coyote.Response. Inside the getContentType() method, there is a small section of code that is checking for encoding, and appending it on the string before it?s returned. It?s an easy task to comment out that small section and recompile the class. However, it?s not so easy to figure out what to do with the class. The solution that seemed to work was to take the class, jar it up, and throw that jar into the JBoss instance?s \lib directory. When the class-loader started loading, this was picked up first and was therefore the instance of the class used from there on. Problems do exist with this, however. The override is instance wide, which means that any other applications deployed to that instance also have the changed class. It also makes for a headache going forward, as this class needs to be checked with every new version to make sure that it is still compatible with the other code around it. I tried looking for ways to make it local to the application and found a few possibilities with the class-loader, but none seemed to override the original class. I also tried to think of different implementation strategies, such as implementing a custom servlet (it?s currently a set of JSP pages), but these seemed to also use the same underlying class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957756#3957756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957756 From do-not-reply at jboss.com Thu Jul 13 10:33:00 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 13 Jul 2006 10:33:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <14469194.1152801180857.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : To my understanding, do you suggest the following config ? true | false NO. Let it be: false | false With this setting and with Classloader logging enabled: http://wiki.jboss.org/wiki/Wiki.jsp?page=EnableClassloaderLogging post the classloader logs. That will surely help in understanding, whats going on internally. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957757#3957757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957757 From do-not-reply at jboss.com Thu Jul 13 10:35:34 2006 From: do-not-reply at jboss.com (jacxia81) Date: Thu, 13 Jul 2006 10:35:34 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: exception=java.io.OptionalDataException when running the Message-ID: <33166495.1152801334920.JavaMail.jboss@colo-br-02.atl.jboss.com> great reply, thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957759#3957759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957759 From do-not-reply at jboss.com Thu Jul 13 10:41:43 2006 From: do-not-reply at jboss.com (amit_verma22) Date: Thu, 13 Jul 2006 10:41:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - problem with business days for duedate attribute of task in Message-ID: <26031946.1152801703881.JavaMail.jboss@colo-br-02.atl.jboss.com> The business days set in processdefinitional.xml was not getting converted to correct duedate for task instances. I looked into the src code found that add method of Daypart class was the culprit. I changed it and it is working fine now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957760#3957760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957760 From do-not-reply at jboss.com Thu Jul 13 10:45:05 2006 From: do-not-reply at jboss.com (jnorris10) Date: Thu, 13 Jul 2006 10:45:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea Message-ID: <19394531.1152801905733.JavaMail.jboss@colo-br-02.atl.jboss.com> "wolfc" wrote : Please try: | getBusinessObject(MyInterface.class).sayHelloTo("me"); Yeah, I've found that, thanks. That call currently is "Not Implemented" (in EJB3 RC7) although it seems to be implemented in source control now. For now I simply inject "myself" which works fine: ie: | @EJB MyInterface myself | Although this seems dirty and I'm not sure if this is really supposed to be supported in the spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957762#3957762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957762 From do-not-reply at jboss.com Thu Jul 13 10:45:17 2006 From: do-not-reply at jboss.com (asarubbi) Date: Thu, 13 Jul 2006 10:45:17 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Any known issue with being behind an HTTP proxy? Message-ID: <22330734.1152801917286.JavaMail.jboss@colo-br-02.atl.jboss.com> Got another problem with proxied network and jboss trying to access external urls... My SQUID reports: 1152805871.888 4 jboss_ip_address TCP_DENIED/400 1730 POST http://proxy_ip_address:proxy_porthttp://external_url - NONE/- text/html | It prefixes the proxy address on the url.. Obviously, this results in 400 Bad Request Dumping proxy, connects directly Any tip? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957763#3957763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957763 From do-not-reply at jboss.com Thu Jul 13 10:51:22 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 10:51:22 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: charset=ISO-8895-1 being added to response content type Message-ID: <32544264.1152802282438.JavaMail.jboss@colo-br-02.atl.jboss.com> thmix10 >From the HTTP 1.1 spec... anonymous wrote : | 3.4.1 Missing Charset | ... | HTTP/1.1 recipients MUST respect the charset label provided by | the sender; and those user agents that have a provision to "guess" | a charset MUST use the charset from the content-type field if they | support that charset, rather than the recipient's preference, when | initially displaying a document. | ... | Just FYI, I do not have any solutions. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957764#3957764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957764 From do-not-reply at jboss.com Thu Jul 13 10:52:00 2006 From: do-not-reply at jboss.com (roberto) Date: Thu, 13 Jul 2006 10:52:00 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - ClusteredSingleSignOn problem Message-ID: <4553706.1152802320621.JavaMail.jboss@colo-br-02.atl.jboss.com> I try to setup a cluster with a SSO. Cluster seem works fine, but SSO not. Maybe i make some mistake in cfg.. I'm using Apache 2.0.58 + Mod_jk2 + Jboss 4.0.4 using sticky session I start from "all" server cfg and set jmvRoute, useJK, loopback for UDP connection (i'm using a windows environment), and also set to activate ClusteredSingleSignOn My war contains distributable tag and use a FORM based authentication method (based on users and roles properties file). The problem is that SSO doesn't works. E.g.: The user connect to my application (http://myapp:80/app) This request is routed to node1 (node2 is running also) The user execute login and works as usually Now node1 died When the user done a new request, the request is routed to node2 but the use must autheticate itself again . On the log i can see this message: "SSO cookie is not present" 2006-07-13 15:34:38,781 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is not present 2006-07-13 15:34:38,781 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id eMgnAW0y81sbuSJGlhp4-g**.node1 2006-07-13 15:34:38,781 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 21 and replicate. so seems that SSO cookie is not propagated.. why? (my browser allow cookie) Any idea? Thank You Roberto View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957765#3957765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957765 From do-not-reply at jboss.com Thu Jul 13 11:00:56 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 13 Jul 2006 11:00:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problem with business days for duedate attribute of task Message-ID: <11752123.1152802856538.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please give more details? What lines did you change and why? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957766#3957766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957766 From do-not-reply at jboss.com Thu Jul 13 11:01:22 2006 From: do-not-reply at jboss.com (roberto) Date: Thu, 13 Jul 2006 11:01:22 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <673890.1152802882160.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you remember to change lookback to true ? On Windows machines, because of the media sense feature being broken with multicast (even after disabling media sense) set the loopback attribute to true in the cluster-service.xml and tc5-cluster-service.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957767#3957767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957767 From do-not-reply at jboss.com Thu Jul 13 11:04:05 2006 From: do-not-reply at jboss.com (kristof_taveirne) Date: Thu, 13 Jul 2006 11:04:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - java.lang.NoClassDefFoundError: org/quartz/SchedulerExceptio Message-ID: <28439866.1152803045627.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I installed JBoss 4.0.4GA and I used the "all" configuration. I afterwards downloaded the EJB3-RC8-FD distribution and installed it according to the INSTALL howto included. When I run the server I get the following error upon starting: 16:55:30,203 INFO [RARDeployment] Required license terms exist, view META-INF/r | a.xml in .../deploy/quartz-ra.rar | 16:55:30,203 WARN [ServiceController] Problem starting service jboss.jca:servic | e=RARDeployment,name='quartz-ra.rar' | java.lang.NoClassDefFoundError: org/quartz/SchedulerException | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) | at java.lang.Class.getConstructor0(Class.java:2640) | at java.lang.Class.newInstance0(Class.java:321) | at java.lang.Class.newInstance(Class.java:303) | at org.jboss.resource.deployment.ResourceAdapterFactory.createResourceAd | apter(ResourceAdapterFactory.java:69) | at org.jboss.resource.deployment.RARDeployment.startService(RARDeploymen | t.java:108) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS | upport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB | eanSupport.java:245) | at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBea | nSupport.java:124) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 | 64) | 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) | ... | | | 16:55:31,984 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar' | State: FAILED | Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.jca:service=RARDeployment,name='quartz-ra.rar' | State: FAILED | Reason: java.lang.NoClassDefFoundError: org/quartz/SchedulerException | The schedulerException class is included in the quartz-all-1.5.2.jar file which is placed in the C:\jboss-4.0.4.GA\lib directory. Somehow this file doesn't get loaded before the quartz-ra.rar file is being deployed. Is there anyone who has any idea why this is, and how I can fix it? Thanks alot! Kristof Taveirne. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957768#3957768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957768 From do-not-reply at jboss.com Thu Jul 13 11:04:31 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 13 Jul 2006 11:04:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <8008150.1152803071756.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I'm trying to find out if seam provides any tag for iteration, like jstl's c:foreach? If you use facelets you can use View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957769#3957769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957769 From do-not-reply at jboss.com Thu Jul 13 11:06:50 2006 From: do-not-reply at jboss.com (mdasif2k4) Date: Thu, 13 Jul 2006 11:06:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - persistence.xml DSN creation Message-ID: <23125114.1152803210880.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss seam reference section 1.2.1.8 contains the following instructions The persistence.xml file tells the EJB persistence provider where to find the datasource, and contains some vendor-specific settings. In this case, enables automatic schema export at startup time. org.hibernate.ejb.HibernatePersistence java:/DefaultDS How to create this DSN ? Is this data source similar to Websphere datasource ? Is there a way where we can create this through Eclipse IDE and map it to corresponding database ? please clarify. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957770#3957770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957770 From do-not-reply at jboss.com Thu Jul 13 11:11:19 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 13 Jul 2006 11:11:19 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Deployment Error Message-ID: <13653513.1152803479067.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) Do NOT post the same question to multiple forums! 2) The error message states: Deployment FAILED reason: Invalid XML: | file=jar:file:/C:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp31156StringProcessor.jar!/META-INF/ejb-jar.xml at 6:2; | - nested throwable: (org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.) The key parts are the xml file name and the location of the error (line 6, char position 2). (You will, of course, want to fix the ejb-jar.xml file located within the original jar file, not the one in the tmp directory.) 3) You reformatted the xml file when you posted it (you should post it exactly as is and use the "CODE" brackets - paste the XML into the text box then highlight the XML text and click the Code button above the text entry area), so I cannot tell exactly what the problem is with it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957771#3957771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957771 From do-not-reply at jboss.com Thu Jul 13 11:11:32 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 13 Jul 2006 11:11:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect flow between two beans? Message-ID: <31903141.1152803492936.JavaMail.jboss@colo-br-02.atl.jboss.com> If all you want to do is call some method you could use a page action. http://docs.jboss.com/seam/latest/reference/en/html/concepts.html#d0e2740 I have a feeling there's more to your story, but will need more information about what it is you're trying to do. You may also benefit from reading about the @Factory and @Unwrap annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957772#3957772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957772 From do-not-reply at jboss.com Thu Jul 13 11:11:59 2006 From: do-not-reply at jboss.com (peterhanlon) Date: Thu, 13 Jul 2006 11:11:59 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Marshalling and Unmarshalling objects within SOAP server Message-ID: <13957678.1152803519465.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a document/literal soap service built using jbossws-1.0.1.GA. The server accepts objects of many different types, processes them then persists them to a database this all works as expected. In order to simplify the persistance of the objects I would like to convert the objects into XML before they are persisted and convert them from XML back to objects when they are requested back from the soap service. Given that the JAXB layer used by the web service already knows about my objects and how to Marshal and Unmarshal the objects it seems sensible to reuse this functionality if possible. I have tried variations on the code below but I always get an exception saying that it can't load the jaxb.properties file when I try to create a new instance of JAXBContext. I haven't used JAXB before but I can't see why this wouldn't work. If anyone has any ideas I would be really grateful. @WebService @SOAPBinding(style=SOAPBinding.Style.DOCUMENT, use=SOAPBinding.Use.LITERAL, parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) public class test { @WebMethod public Document store(Document msg){ try { StringWriter XML= new StringWriter(); JAXBContext jc = JAXBContext.newInstance("uk.co.test.document"); Marshaller marshaller = jc.createMarshaller(); marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true)); marshaller.marshal(msg, XML); System.out.println(XML); } catch (Exception e) { e.printStackTrace(); } return msg; } } Regards Pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957773#3957773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957773 From do-not-reply at jboss.com Thu Jul 13 11:13:39 2006 From: do-not-reply at jboss.com (monicabologa) Date: Thu, 13 Jul 2006 11:13:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM 3.2 CVS download and document management Message-ID: <18526436.1152803619850.JavaMail.jboss@colo-br-02.atl.jboss.com> Problem solved! We were looking in the wrong CVS, the sourceforge's one (jbpm.cvs.sourceforge.net), not anoncvs.forge.jboss.com. Monica View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957774#3957774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957774 From do-not-reply at jboss.com Thu Jul 13 11:17:37 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 13 Jul 2006 11:17:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <25180164.1152803857200.JavaMail.jboss@colo-br-02.atl.jboss.com> I think if you use JSF 1.2 you can use c:foreach again. Although iterators like dataTable and ui:repeat are supposed to be much more efficient than JSTL looping. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957775#3957775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957775 From do-not-reply at jboss.com Thu Jul 13 11:20:08 2006 From: do-not-reply at jboss.com (CasaDelNorte) Date: Thu, 13 Jul 2006 11:20:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Thread Stalling on Scheduled Job Message-ID: <29592031.1152804008546.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm experiencing a troublesome issue in production: During one of our scheduled processing events, which grabs and processes chunks of 1000 rows, either the thread gets stucks, or the database driver, or the logger, or something. Basically, it just gets stuck. Future scheduled events are ignored (because the job is still open), and it takes either redeploying the application, or restarting JBoss, or rebooting the server to recover. There's absolutely NOTHING in the logs. It's as is the thread goes quietly to sleep in nana land. I know this is impossible to debug here, but I've been looking for a week. Does ANYONE have any recommendations where to look? Or how to find out what's stalling the thread? We're using JBoss 4.0.4.GA, Quartz 1.5.2, and JTDS 1.2. Any and all suggestions are appreciated. Larry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957776#3957776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957776 From do-not-reply at jboss.com Thu Jul 13 11:22:03 2006 From: do-not-reply at jboss.com (sriv.abhishek) Date: Thu, 13 Jul 2006 11:22:03 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Launch configuration does not support source lookup Message-ID: <29828868.1152804123807.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, I was using JBOSS IDe for AOP development and I am getting the same error as other, Launch configuration does not support source lookup. Kabir said something about rectifying that error. Has there been an update on that? What is the other way for me to launch an AOP configuration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957777#3957777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957777 From do-not-reply at jboss.com Thu Jul 13 11:22:33 2006 From: do-not-reply at jboss.com (kristof_taveirne) Date: Thu, 13 Jul 2006 11:22:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/quartz/SchedulerExce Message-ID: <14967396.1152804153755.JavaMail.jboss@colo-br-02.atl.jboss.com> nevermind, i'm an idiot! I placed the .jar in the wrong lib directory. Time for me to call it a day K. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957778#3957778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957778 From do-not-reply at jboss.com Thu Jul 13 11:29:17 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 13 Jul 2006 11:29:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <9191775.1152804557788.JavaMail.jboss@colo-br-02.atl.jboss.com> Any particular functionality you're looking for? I've done this a few times at work, but can't donate verbatim work code. I'm happy to re-implement something. What are you looking for? I'm on adf-faces-10_1_3_0_4 facelets-1.1.11 myfaces-core-1.1.3 I could probably port one of the Seam examples to ADF/Facelets/MyFaces too. Would something smallish like Registration be representative enough? -Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957780#3957780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957780 From do-not-reply at jboss.com Thu Jul 13 11:31:34 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Thu, 13 Jul 2006 11:31:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Customize Navigation Portlet Message-ID: <25214639.1152804694674.JavaMail.jboss@colo-br-02.atl.jboss.com> those classes are part of the old Security structure http://fisheye.jboss.com/viewrep/JBoss/jboss-portal/security/src/main/org/jboss/portal/security/PortalPermissionFactory.java Take a look at the NavigationPortlet.java http://fisheye.jboss.com/viewrep/JBoss/jboss-portal/core/src/main/org/jboss/portal/core/portlet/catalog/NavigationPortlet.java?r=1.16 rali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957781#3957781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957781 From do-not-reply at jboss.com Thu Jul 13 11:36:02 2006 From: do-not-reply at jboss.com (michaelholtzman) Date: Thu, 13 Jul 2006 11:36:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_LOG: who performed the transition? Message-ID: <13623345.1152804962793.JavaMail.jboss@colo-br-02.atl.jboss.com> I solved this by adding my own ProcessLog subclass: | package com.olf.bpm.identity; | | import org.jbpm.logging.log.*; | | public class IdentityLog extends CompositeLog { | | private static final long serialVersionUID = 1L; | | protected String actorId = null; | | public IdentityLog() { | } | | public IdentityLog(String invoker) { | this.actorId = invoker; | } | | public String getActorId() { | return actorId; | } | | public String toString() { | return "invoker["+ actorId +"]"; | } | } | And the corresponding hibernate config file: | | | | | | | | | | | | | | Then, before initiating any BPM action, I call: | idLog = new IdentityLog(invoker); | token.startCompositeLog(idLog); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957784#3957784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957784 From do-not-reply at jboss.com Thu Jul 13 11:38:21 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Thu, 13 Jul 2006 11:38:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss Message-ID: <18884883.1152805101422.JavaMail.jboss@colo-br-02.atl.jboss.com> Hiya. My application is packaged as a JAR which in turn contains EJB3 JARs and other library JARs. I'm Using JBoss 4.0.4-GA with the log4j.xml in ${JBOSS_HOME}/server/[instancename]/conf: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957785#3957785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957785 From do-not-reply at jboss.com Thu Jul 13 11:40:11 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Thu, 13 Jul 2006 11:40:11 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using j_security_check with a custom Principal , a custo Message-ID: <30927223.1152805211416.JavaMail.jboss@colo-br-02.atl.jboss.com> emailmsgbox- You can try sending the extra parameter "kuku" as part of your Login Form submission and extract it in your login module using: request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY); Now, if this "kuku" parameter is Login Module configuration related, you can also use kuku-value Hope this helps Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957786#3957786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957786 From do-not-reply at jboss.com Thu Jul 13 11:40:31 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Thu, 13 Jul 2006 11:40:31 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Problem using FileCacheLoader Message-ID: <2111971.1152805231755.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am setting up a prototype to evaluate our re-engineering project. I need a cache system to hold the transaction data and I've choose JBoss Cache after browsing the website. So I am new to JBoss Cache and I meet a problem in setting up using the FileCacheLoader. My intension is to first setup a simple Cache with file persist for fail over recovery. Everything seems working fine untill I set up a FileCacheLoder. The problem is it becomes SO SLOW for putting entries after set up the FileCacheLoader. I have a testing program that simply write and read some objects to the same cache node in a loop. Before I set up the FileCacheLoader, it take only about 1-2ms to read/write an object. But after using the FileCacheLoader, it takes 100ms to write an entry in the beginning and the time keeps growing and finally reach about 1000ms per write. I know there must be some performance degrade after using cacheLoader but this kind of degrade seems not right . Can somebody take a look at my configuration file as following, Thanks a lot ! Besides, will a JDBCCacheLoader provide better performance ? It will be greatly appreciated if somebody can provide samples for that . =========== jbosscache-config.xml ========== | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | org.jboss.cache.DummyTransactionManagerLookup | | REPEATABLE_READ | | LOCAL | | TreeCache-Cluster | | | | | | | | | | | | | | | | | | | | 10000 | | 15000 | | | | | | false | /test | false | | | org.jboss.cache.loader.FileCacheLoader | | location=/tmp/filetore | | true | | true | false | false | | | | | | | ===== Testing Program ===== | | TreeCache cache = new TreeCache(); | PropertyConfigurator pc = new PropertyConfigurator(); | pc.configure(cache, "jbosscache-config.xml"); | | cache.createService(); | cache.startService(); | | cache.put("/test", key, obj ); | | .... [img][/img][img][/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957787#3957787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957787 From do-not-reply at jboss.com Thu Jul 13 11:41:15 2006 From: do-not-reply at jboss.com (adamw) Date: Thu, 13 Jul 2006 11:41:15 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Filter and servlet mappings Message-ID: <26341635.1152805275310.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a servlet mapped to /*: | | myServlet | /* | | and a filter mapped to /something/*: | | myFilter | /something/* | INCLUDE | FORWARD | | At some point in my servlet, I forward the request: | response.setContentType("text/html"); | request.getRequestDispatcher("/something/sth2").forward(request, response); | However, the filter doesn't get invoked. The request goes straight to the servlet. Why is that? -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957788#3957788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957788 From do-not-reply at jboss.com Thu Jul 13 11:46:00 2006 From: do-not-reply at jboss.com (christian.bauer@jboss.com) Date: Thu, 13 Jul 2006 11:46:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <17224113.1152805560466.JavaMail.jboss@colo-br-02.atl.jboss.com> Absolutely, I just need a small working example that I can copy/paste from. I can't even get the combination to work (although I was able to create prototypes several times in the past year). So a Registration with some ADF screens in Facelets would be perfect. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957791#3957791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957791 From do-not-reply at jboss.com Thu Jul 13 11:48:58 2006 From: do-not-reply at jboss.com (creative77) Date: Thu, 13 Jul 2006 11:48:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Customize Navigation Portlet Message-ID: <9955806.1152805738046.JavaMail.jboss@colo-br-02.atl.jboss.com> Just another suggestion would be to assign the tab order or arrange by sorting. Ordered: i.e. TabA order=1, TabB order=2 etc. I like the idea of sorting but , I would like to have finer control over how the tabs are arranged. I don't think it would be that much of a leap to add this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957792#3957792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957792 From do-not-reply at jboss.com Thu Jul 13 11:49:20 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 11:49:20 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings Message-ID: <14824814.1152805760866.JavaMail.jboss@colo-br-02.atl.jboss.com> Adam, That is the behavior defined by the servlet spec. If you want a filter on that resource to be invoked, then you need to use re-direct, not forward. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957793#3957793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957793 From do-not-reply at jboss.com Thu Jul 13 11:52:43 2006 From: do-not-reply at jboss.com (adamw) Date: Thu, 13 Jul 2006 11:52:43 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings Message-ID: <15109341.1152805963720.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, thanks. -- Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957794#3957794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957794 From do-not-reply at jboss.com Thu Jul 13 11:54:02 2006 From: do-not-reply at jboss.com (iradix) Date: Thu, 13 Jul 2006 11:54:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods Message-ID: <8019154.1152806042849.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : By "stateless", I don't really mean using a SLSB, I mean using only request-scoped state, and passing state as request parameters (like the blog example does). I'll check out the blog example, but I'd imagine that does bypass the usage of a DataTable. Seems a shame since at first glance that was one of my favorite JSF features. Any thoughts on using PAGE scope and reattaching the selected object in a method anotated @DataModelSelection? Also, I've used the @End(beforeRedirect=true) feature and it works great.... except that in the endConversation(boolean beforeRedirect) method of ConversationInterceptor, you have: Manager.instance().endConversation(false) rather than Manager.instance().endConversation(beforeRedirect) After the change it does exactly what I was looking for though so thanks again. -Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957795#3957795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957795 From do-not-reply at jboss.com Thu Jul 13 11:57:15 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 13 Jul 2006 11:57:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <13373555.1152806235255.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok. I'll work on it this evening PDT (unless someone else wants to beat me to it). Christian, do you have an upload location? I'm wary to use the wiki for temp upload, because I can't delete to clean up. I don't have a lot of web space of my own (I think with all the required libs this example my exceed my jroller limits). -Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957796#3957796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957796 From do-not-reply at jboss.com Thu Jul 13 11:57:49 2006 From: do-not-reply at jboss.com (adamw) Date: Thu, 13 Jul 2006 11:57:49 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings Message-ID: <30643569.1152806269986.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm still wondering tho, why does it work if the servlet is mapped to a more specific path - like /xxx/* - then the forwards work as they should. -- Cheers, Ada View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957797#3957797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957797 From do-not-reply at jboss.com Thu Jul 13 12:02:30 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Thu, 13 Jul 2006 12:02:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Deployment order of dependent process definitions Message-ID: <21725286.1152806550910.JavaMail.jboss@colo-br-02.atl.jboss.com> This is indeed the default behaviour. However, it relies on a default org.jbpm.graph.node.SubprocessResolver implementation. This default implementation is org.jbpm.graph.node.DbSubProcessResolver. You can configure your own implementation for this and thus change this default behaviour. The configured name to use is jbpm.sub.process.resolver... Look for details in the implementation of the ProcessState node. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957798#3957798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957798 From do-not-reply at jboss.com Thu Jul 13 12:09:04 2006 From: do-not-reply at jboss.com (iradix) Date: Thu, 13 Jul 2006 12:09:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect flow between two beans? Message-ID: <28122332.1152806944819.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure I follow, but if as your comment states you want to call the method from another seam managed bean try: @In(create = true) | private HotelSearchingAction hotelSearchingAction user = results.get(0); | Contexts.getSessionContext().set("loggedIn", true); | FacesMessages.instance().add("Welcome, #{user.name}"); | // here I want to redirect to hotel search instead of displaying the main page | // need to call HotelSearchingAction.find | return hotelSearchingAction.find(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957799#3957799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957799 From do-not-reply at jboss.com Thu Jul 13 12:10:54 2006 From: do-not-reply at jboss.com (homerlex) Date: Thu, 13 Jul 2006 12:10:54 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - How to Unsubscribe? - Please!! Message-ID: <14937096.1152807054463.JavaMail.jboss@colo-br-02.atl.jboss.com> A few days ago I got an email that I was subscribed to jboss-users. I dropped the subscription that was associated with that email address years ago. Now I am getting flooded with emails from this list. I've tried unsubscribing, resubscribing/unsubscribing, disabling email, requesting just the digest, etc - but I still continue to get flooded everytime someone posts. How can I stop the emails? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957800#3957800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957800 From do-not-reply at jboss.com Thu Jul 13 12:12:17 2006 From: do-not-reply at jboss.com (iradix) Date: Thu, 13 Jul 2006 12:12:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: persistence.xml DSN creation Message-ID: <10059618.1152807137129.JavaMail.jboss@colo-br-02.atl.jboss.com> It's very much like a WebSphere DataSource, which is just a DataSource bound to JNDI. Looks at the examples, particularly in the file jboss-beans.xml for how to do this with JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957801#3957801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957801 From do-not-reply at jboss.com Thu Jul 13 12:23:29 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 12:23:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: cvs details Message-ID: <23466214.1152807809985.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, can someone add this to the downloads webpage? Having the module name seems fairly important, and I had to wade through 10 diff cvs posting topics to find it here.. as opposed to on the cvs details page. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957802#3957802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957802 From do-not-reply at jboss.com Thu Jul 13 12:25:28 2006 From: do-not-reply at jboss.com (Holger Prause) Date: Thu, 13 Jul 2006 12:25:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ajax4js and seam integration - my guide Message-ID: <17872653.1152807928178.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, well thats strange, i somehow remember this error but i dindt get it anymore for 1 day,maybe u deploy the jars u copied to $JBOSSSERVERHOME/default/lib with your application? (look at build.xml) If all dont helps, try cleaning up/reinstalling everything, sorry i couldnt help anyfurther, Bye, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957803#3957803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957803 From do-not-reply at jboss.com Thu Jul 13 12:29:49 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 13 Jul 2006 12:29:49 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Setup for single box cluster on 2 Alpha Message-ID: <20501127.1152808189074.JavaMail.jboss@colo-br-02.atl.jboss.com> jatsrt: I've created a JIRA issue for this, and also bugged it in eclipse webtools. JIRA: http://jira.jboss.com/jira/browse/JBIDE-340 Eclipse: https://bugs.eclipse.org/bugs/show_bug.cgi?id=150531[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957804#3957804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957804 From do-not-reply at jboss.com Thu Jul 13 12:31:27 2006 From: do-not-reply at jboss.com (christian.bauer@jboss.com) Date: Thu, 13 Jul 2006 12:31:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <6300480.1152808287303.JavaMail.jboss@colo-br-02.atl.jboss.com> You can send it to me via email directly, just leave out the big *-all.jars. Many thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957805#3957805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957805 From do-not-reply at jboss.com Thu Jul 13 12:32:42 2006 From: do-not-reply at jboss.com (adamw) Date: Thu, 13 Jul 2006 12:32:42 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings Message-ID: <4478395.1152808362251.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, is there any way then to include a JSP page in a servlet, which is mapped to /*? I tried doing simply request.getRequestDispatcher("/mypage.jsp").include(request, response); but this invokes the servlet and causes a loop. -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957806#3957806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957806 From do-not-reply at jboss.com Thu Jul 13 12:38:26 2006 From: do-not-reply at jboss.com (hubertg) Date: Thu, 13 Jul 2006 12:38:26 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: where did the IPC documentation go to? Message-ID: <12755700.1152808706127.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the answer! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957807#3957807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957807 From do-not-reply at jboss.com Thu Jul 13 12:44:44 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 12:44:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is this the correct way to go about this? Message-ID: <11371861.1152809084058.JavaMail.jboss@colo-br-02.atl.jboss.com> @RequestParameter String companyId; | | public Company getCompany() | { | return getCompany(companyId); | } | | public Company getCompany(String companyId) | { | return entityManager.find(Company.class, companyId); | } Note that if there is no value for an @RequestParameter, it will be null, it will not throw an exception (yes, this is inconsistent with @In and is arguably a wart). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957808#3957808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957808 From do-not-reply at jboss.com Thu Jul 13 12:45:15 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 12:45:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <29012492.1152809115812.JavaMail.jboss@colo-br-02.atl.jboss.com> yes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957809#3957809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957809 From do-not-reply at jboss.com Thu Jul 13 12:45:36 2006 From: do-not-reply at jboss.com (kazam) Date: Thu, 13 Jul 2006 12:45:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues Message-ID: <26827401.1152809136640.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks James, I appreciate your help. Please take a look at my profile for the email address, I have also sent you an email. I would get back once I try adding the cp30 jar or taking it out. Thanks Again, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957810#3957810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957810 From do-not-reply at jboss.com Thu Jul 13 12:47:31 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 12:47:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: call seam session bean from J2SE/J2ME application Message-ID: <13077905.1152809251475.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, it is possible, but note that there is no propagation of session or event context across RMI :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957811#3957811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957811 From do-not-reply at jboss.com Thu Jul 13 12:53:00 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 12:53:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <3360956.1152809580245.JavaMail.jboss@colo-br-02.atl.jboss.com> Personally I am very happy with ui:repeat in facelets. I'm not convinced that h:dataTable isn't a little over-engineered for what it does ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957812#3957812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957812 From do-not-reply at jboss.com Thu Jul 13 12:57:43 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 12:57:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: asynchronous processing, will we get it? Message-ID: <20407765.1152809863147.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, this is a major roadmap item but I havn't yet committed to any dates on it. Basically I want to get two things really sorted out first: (1) AJAX + JSF (2) CRUD app generation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957813#3957813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957813 From do-not-reply at jboss.com Thu Jul 13 13:01:19 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 13:01:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <28355475.1152810079540.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll work on documenting the Seam taglib today. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957814#3957814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957814 From do-not-reply at jboss.com Thu Jul 13 13:04:26 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 13:04:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Beginning conversations in @Factory methods Message-ID: <29635444.1152810266451.JavaMail.jboss@colo-br-02.atl.jboss.com> oops, thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957815#3957815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957815 From do-not-reply at jboss.com Thu Jul 13 13:09:40 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 13 Jul 2006 13:09:40 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <21657688.1152810580774.JavaMail.jboss@colo-br-02.atl.jboss.com> 1. Is it reproducible? 2. I have noticed that there is concurrent worker in the stack trace. Are you updating the POJO concurrently? What is the update pattern? POJO is supposed to have long lifetime under PojoCache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957816#3957816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957816 From do-not-reply at jboss.com Thu Jul 13 13:14:22 2006 From: do-not-reply at jboss.com (jbossjbh) Date: Thu, 13 Jul 2006 13:14:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam 1.0.0.GA Message-ID: <22525358.1152810862402.JavaMail.jboss@colo-br-02.atl.jboss.com> Installed via JEMS using ejb3 profile, everything works great. Have a question though. The wiki states the following: "Install the "ejb3" configuration using the wizard, "ejb3-clustered" if you need to run it on a cluster or "portal", if you want to use Seam to create portlets." My question is, I've installed using the ejb3 profile, if I want to do portal development do I need to use the portal profile in addition to the ejb3 and in place of? Many thanks, Jon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957817#3957817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957817 From do-not-reply at jboss.com Thu Jul 13 13:20:09 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 13:20:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam 1.0.0.GA Message-ID: <13092154.1152811209679.JavaMail.jboss@colo-br-02.atl.jboss.com> No, just install the portal profile. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957818#3957818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957818 From do-not-reply at jboss.com Thu Jul 13 13:21:42 2006 From: do-not-reply at jboss.com (jdcmember) Date: Thu, 13 Jul 2006 13:21:42 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WSDL First Model? Message-ID: <11702421.1152811302170.JavaMail.jboss@colo-br-02.atl.jboss.com> If you're looking to build JSR-181 endpoints, then you can "handcraft" the implement class, endpoint interface, and all the JAXB value classes using JSR-181 annotations. I'm using the JAX-WS 2.0 RI "wsimport" tool to generate these classes frm a hand-crafted WSDL. (Throw away the "-Service.java" class that gets generated as that's client-side only stuff.) Implement the endpoint interface, package as a beas or in a WAR, and you're off. I've run in to a few deployment-time problems in complex WSDL/schema cases, but generally seems to be working well with this technique. Brian Maso View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957819#3957819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957819 From do-not-reply at jboss.com Thu Jul 13 13:22:35 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Thu, 13 Jul 2006 13:22:35 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <9337297.1152811355571.JavaMail.jboss@colo-br-02.atl.jboss.com> I knew that'd be the first answer I got. That's why I spent an hour last night making sure that I had a fresh install of the server and that the jboss-messaging-client.jar came from the same zip file I installed the messaging into JBoss with. All I have in my clients classpath is the jboss-messaging-client.jar and log4j.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957820#3957820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957820 From do-not-reply at jboss.com Thu Jul 13 13:28:06 2006 From: do-not-reply at jboss.com (MainLineDude) Date: Thu, 13 Jul 2006 13:28:06 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Look-up ejb class getInterfaces shows my home interface, but Message-ID: <4625712.1152811686084.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to instantiate a simple bean: The class object for the bean as looked up says it implements my home interface, but in reality it does not (see jsp code below): | Object theBean = | ctx.lookup("DemoBean"); | out.write("


looked up DemoBean


"); | | Method!! methods = theBean.getClass().getDeclaredMethods(); | out.write("

Methods:

    "); | for (int i = 0; i < methods.length; i++) { | out.write("
  • " + methods!i!.getName() + "
  • "); | } | out.write("

"); | | Class!! interfaces = theBean.getClass().getInterfaces(); | out.write("

Interfaces:

    "); | for (int i = 0; i < interfaces.length; i++) { | out.write("
  • " + interfaces!i!.getName() + "
  • "); | } | out.write("

"); | // list includes my home interface: ejb.demo.DemoHome | | out.write("
" + | ((theBean instanceof ejb.demo.DemoHome) ? | " is " : " is not " ) + | "an instance of DemoHome"); | // note: it is not | | out.write("
" + | ((theBean.getClass(). | isAssignableFrom(ejb.demo.DemoHome.class) ) ? | " is " : " is not " ) + | "assignable from DemoHome"); | // note: it is not | | out.write("
about to try cast"); | ejb.demo.DemoHome dhome = (ejb.demo.DemoHome) theBean; | //fails with ClassCastException | Is this a some sort of scoping issue? (Note that I created this thru NetBeans 5.0, which wanted me to have two separate projects within the same application -- the above file is in the WebModule, while the EJB classes are in the EJBModule) Note that in the above code ! are used for array brackets, because, try as I might, I could not get bbCode to be disabled, at least in the preview (ditto for HTML actually, but in bbCode mode that didn't seem to matter) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957821#3957821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957821 From do-not-reply at jboss.com Thu Jul 13 13:30:30 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 13 Jul 2006 13:30:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <30536913.1152811830518.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, Thanks, I'll take a look! One last question for you: "kukeltje" wrote : | I've given demos to customers using 3.2 just because I can create snappier screens much more quickly. | What about 3.2 over 3.1 makes you able to create snappier screens more quickly? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957822#3957822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957822 From do-not-reply at jboss.com Thu Jul 13 13:31:46 2006 From: do-not-reply at jboss.com (hlfsousa) Date: Thu, 13 Jul 2006 13:31:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - CMS NullPointerException due to hibernate.connection.datasou Message-ID: <62417.1152811906718.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to run release 2.2.1-SP1 of JBoss Portal and Forums. Database is working OK (MySQL 5 with jdbcCompliantTruncation=false). There is just one error going on. When starting CMS service an exception is raised because property "hibernate.connection.datasource" is null. I tried finding this everywhere, and I ended up finding similar matches in hibernate.cfg.xml files. Everywhere I found it, the property value was "java:PortalDS" (MySQL). I'm running JBoss 4.0.4-GA, and here is a snippet from the server log: 2006-07-13 14:24:19,653 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory | 2006-07-13 14:24:19,747 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 2006-07-13 14:24:19,747 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] Running hbm2ddl schema update | 2006-07-13 14:24:19,747 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] fetching database metadata | 2006-07-13 14:24:19,763 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] updating schema | 2006-07-13 14:24:19,841 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] table found: jbossportal.jbp_cms_cmsentry | 2006-07-13 14:24:19,841 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] columns: [fsentry_path, fsentry_data, fsentry_name, fsentry_length, fsentry_lastmod, pk] | 2006-07-13 14:24:19,856 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] foreign keys: [] | 2006-07-13 14:24:19,856 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] indexes: [primary] | 2006-07-13 14:24:19,950 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] table found: jbossportal.jbp_cms_repositoryentry | 2006-07-13 14:24:19,950 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] columns: [fsentry_path, fsentry_data, fsentry_name, fsentry_length, fsentry_lastmod, pk] | 2006-07-13 14:24:19,966 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] foreign keys: [] | 2006-07-13 14:24:19,966 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] indexes: [primary] | 2006-07-13 14:24:20,044 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] table found: jbossportal.jbp_cms_versionentry | 2006-07-13 14:24:20,044 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] columns: [fsentry_path, fsentry_data, fsentry_name, fsentry_length, fsentry_lastmod, pk] | 2006-07-13 14:24:20,044 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] foreign keys: [] | 2006-07-13 14:24:20,059 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] indexes: [primary] | 2006-07-13 14:24:20,059 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] schema update complete | 2006-07-13 14:24:20,075 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{} | 2006-07-13 14:24:20,075 INFO [org.jboss.portal.cms.hibernate.HibernateStore] HibernateSessionFactory Created. | 2006-07-13 14:24:20,091 INFO [org.jboss.portal.cms.hibernate.HibernateStore] BUILDING SessionFactory. | 2006-07-13 14:24:20,106 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: org/jboss/portal/cms/hibernate/CMSEntry.hbm.xml | 2006-07-13 14:24:20,138 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.CMSEntry -> jbp_cms_cmsentry | 2006-07-13 14:24:20,153 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: org/jboss/portal/cms/hibernate/VersionEntry.hbm.xml | 2006-07-13 14:24:20,200 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.VersionEntry -> jbp_cms_versionentry | 2006-07-13 14:24:20,200 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: org/jboss/portal/cms/hibernate/RepositoryEntry.hbm.xml | 2006-07-13 14:24:20,247 INFO [org.hibernate.cfg.HbmBinder] Mapping class: org.jboss.portal.cms.hibernate.RepositoryEntry -> jbp_cms_repositoryentry | 2006-07-13 14:24:20,278 ERROR [org.jboss.portal.cms.hibernate.HibernateStore] failed to initialize file system | java.lang.NullPointerException | at java.util.Hashtable.put(Hashtable.java:396) | at java.util.Properties.setProperty(Properties.java:128) | at org.hibernate.cfg.Configuration.setProperty(Configuration.java:1289) | at org.jboss.portal.cms.hibernate.HibernateStore.init(HibernateStore.java:231) | at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemConfig.java:55) | at org.apache.jackrabbit.core.config.WorkspaceConfig.init(WorkspaceConfig.java:81) | at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:249) | at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:128) | at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:101) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:233) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:199) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) | at sun.reflect.GeneratedMethodAccessor12.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.ServiceController$ServiceProxy.invoke(ServiceController.java:995) | at $Proxy0.start(Unknown Source) | (...) | 2006-07-13 14:24:20,856 WARN [org.jboss.system.ServiceController] Problem starting service portal:service=CMS | org.apache.jackrabbit.core.config.ConfigurationException: File system initialization failure.: failed to initialize file system: null: failed to initialize file system: null | at org.apache.jackrabbit.core.config.FileSystemConfig.init(FileSystemConfig.java:61) | at org.apache.jackrabbit.core.config.WorkspaceConfig.init(WorkspaceConfig.java:81) | at org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:249) | at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:128) | at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService.java:101) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:233) | at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:199) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) | at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) | at sun.reflect.GeneratedMethodAccessor12.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.ServiceController$ServiceProxy.invoke(ServiceController.java:995) | at $Proxy0.start(Unknown Source) | (...) | 2006-07-13 14:24:40,466 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: portal:service=CMS | State: FAILED | Reason: org.apache.jackrabbit.core.config.ConfigurationException: File system initialization failure.: failed to initialize file system: null: failed to initialize file system: null | I Depend On: | jboss.jca:service=DataSourceBinding,name=PortalDS | portal:service=JAASLoginModule | Depends On Me: | portal:mapper=CMSObject | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: portal:service=CMS | State: FAILED | Reason: org.apache.jackrabbit.core.config.ConfigurationException: File system initialization failure.: failed to initialize file system: null: failed to initialize file system: null | I Depend On: | jboss.jca:service=DataSourceBinding,name=PortalDS | portal:service=JAASLoginModule | Depends On Me: | portal:mapper=CMSObject Any ideas of what is going on? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957823#3957823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957823 From do-not-reply at jboss.com Thu Jul 13 13:33:34 2006 From: do-not-reply at jboss.com (taiji3) Date: Thu, 13 Jul 2006 13:33:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Interportlet Communication (Again) Message-ID: <12597870.1152812014915.JavaMail.jboss@colo-br-02.atl.jboss.com> I have checked out all the threads on this topic and have not found the answer to my issue. I am running JBoss Portal 2.2 on Linux. As I am new to portlet development, I am attempting to make use of the freely available book by Hepper, et. al. which was never published by Manning. In Chapter 3, there is a project with two portlets, a Calendar portlet and a Todo portlet. The Calendar portlet has actionURL's for each date - when you click a date, it sets the date value in a bean stored in the portlet session at application scope. The Todo portlet should read that date and display the date as well as any Todo's you have set up on that date. The problem is that the Todo portlet only picks up the date when it has a mode change (view to edit and vice versa). I can click 4 or 5 dates in a row on the Calendar portlet with no change in the Todo portlet. Not even refreshing the page does anything. But if I put the Todo portlet in edit mode (or back to view mode), it displays the last date I clicked on the Calendar. So obviously the date is being set, but I have no idea why the Todo portlet won't see it unless the mode changes. If anyone has any ideas, I would appreciate it. I am quite new to this whole portlet idea and there are precious few resources for portlet development out there. Also - I downloaded the HelloPortletIPC example, but I want to stick with JSR168 compliance. These portlets use jsps and the jstl tag libraries if that matters. I can post code if anyone wants to see it. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957824#3957824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957824 From do-not-reply at jboss.com Thu Jul 13 13:40:10 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 13 Jul 2006 13:40:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <18131100.1152812410134.JavaMail.jboss@colo-br-02.atl.jboss.com> You're right, that kind of performance degradation is strange. Do you have a lot of contention for disk IO on your system or do you have a particularly slow/fragmented disk? I'd also look at BDBJE cache loader and JDBM cache loaders as potentially faster alternatives. I'd also upgrade to the latest JBoss Cache 1.4.0 which is much more efficient with cache loaders. Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957826#3957826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957826 From do-not-reply at jboss.com Thu Jul 13 13:51:00 2006 From: do-not-reply at jboss.com (tfulton) Date: Thu, 13 Jul 2006 13:51:00 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - stateless session bean is caching data ??? Message-ID: <17505342.1152813060072.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've got a stateless session bean that appears to be indeed caching data between clients. Its really bumming me out. Can anyone at all see why? Anyone? Todd CODE ----------------------------------------------------------------- package com.bgi.kmdp.aqs.commands.simplefeed; . . . . import org.apache.log4j.Logger; import org.apache.xmlbeans.XmlObject; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.rmi.RemoteException; import java.util.Vector; /** * Created by IntelliJ IDEA. * User: fulttod * Date: May 11, 2006 * Time: 1:39:23 PM * To change this template use File | Settings | File Templates. */ public class SimpleFeedBean extends BaseEJBSessionBean { private static Logger logger = Logger.getLogger(SimpleFeed.class); private Vector results = new Vector(); /** * Implemented method from BaseCommand. * * @param args * @param commandConfig * @return int status * @throws RemoteException * @throws BaseException */ public int execute(XmlObject args, CommandConfig commandConfig) throws RemoteException, BaseException { logger.info("BEGIN: SimpleFeedBean.execute"); try { // get our args GetfeedRequest request = (GetfeedRequest) args; request.validate(); String feedName = request.getFeedName(); // get our feed configurations ServiceConfig svcConfig = ConfigLoader.getInstance().getServiceConfig(); FeedConfig feedConfig = svcConfig.findFeedConfig(feedName); logger.info("FeedConfig acquired for feedname = '" + feedName + "'"); logger.info("\tConfig name: " + feedConfig.getName()); logger.info("\tConfig url: " + feedConfig.getUrl()); logger.info("\tConfig file base: " + feedConfig.getFileBase()); logger.info("\tConfig file extension: " + feedConfig.getFileExtension()); // get our service adapter and process it RetrievalLogger rLogger = new RetrievalLogger(request, feedConfig); rLogger.start(); // start the logger BaseServiceAdapterFactory adapterFactory = new BaseServiceAdapterFactory(); BaseServiceAdapter adapter = adapterFactory.getProtocolAdapter(new URL(feedConfig.getUrl()).getProtocol()); adapter.process(request, feedConfig); String filePath = (String) adapter.getServiceResult(); // DEBUG ONLY !!! logger.info("\tFilepath from Adapter: " + filePath); // DEBUG ONLY !!! // generate a url which an external system may use to access the file ArgumentConfig arg = commandConfig.findArgumentConfig("httpbase"); String httpBase = arg.getValue(); int index = filePath.lastIndexOf('/'); String fileName = filePath.substring(index + 1); String strUrl = httpBase + fileName; URL url = new URL(strUrl); results.add(url); // DEBUG ONLY!!! logger.info("\tURL passed to rLogger: " + url.toString()); logger.info("\tResults size: " + results.size()); // DEBUG ONLY!!! rLogger.stop(new File(filePath), url); // stop the logger (which also catalogs the feed instance) } catch (MalformedURLException ue) { logger.error(ue); return BaseCommand.ERROR; } catch (BaseException e) { logger.error(e); return BaseCommand.ERROR; } logger.info("END: SimpleFeedBean.execute"); return BaseCommand.SUCCESS; } /** * Implemented method from BaseCommand. * * @return An instance of AQSResult * @throws RemoteException */ public Object getResults() throws RemoteException { return results; } } OUTPUT FROM CONSOLE (each line is different client/invocation -- see timestamp of log) ---------------------------------------------------------------- 10:44:52,374 INFO [SimpleFeed] URL passed to rLogger: http://localhost:8080/aqs/20060713_1044_52kmdp_bb18_20060601.dat.EUR 10:44:52,374 INFO [SimpleFeed] Results size: 1 10:45:07,812 INFO [SimpleFeed] URL passed to rLogger: http://localhost:8080/aqs/20060713_1045_7kmdp_bb18_20060601.dat.EUR 10:45:07,812 INFO [SimpleFeed] Results size: 2 10:45:32,626 INFO [SimpleFeed] URL passed to rLogger: http://localhost:8080/aqs/20060713_1045_32kmdp_bb18_20060601.dat.EUR 10:45:32,626 INFO [SimpleFeed] Results size: 3 CONFIG SNIPPETS ------------------------------------------------------------------ EJB-JAR.XML SimpleFeedCommand Session Bean SimpleFeed com.bgi.kmdp.aqs.commands.simplefeed.SimpleFeedHome com.bgi.kmdp.aqs.commands.simplefeed.SimpleFeed com.bgi.kmdp.aqs.commands.simplefeed.SimpleFeedBean Stateless Container JBOSS.XML [nothing in this file for this bean] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957829#3957829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957829 From do-not-reply at jboss.com Thu Jul 13 13:53:29 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 13 Jul 2006 13:53:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History Message-ID: <22505908.1152813209252.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there anyone who has gotten logging and saving process instances to the database (specifically populating the JBPM_LOG and JBPM_PROCESSINSTANCE tables) working in jBPM 3.1.1? If so, could you post your jbpm.cfg.xml file, so I can rule out a configuration error in mine? I'd really appreciate it. Any tips you can give on getting this working would be greatly appreciated too. Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957830#3957830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957830 From do-not-reply at jboss.com Thu Jul 13 13:55:55 2006 From: do-not-reply at jboss.com (bezdomny) Date: Thu, 13 Jul 2006 13:55:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Running JBoss as a windows service Message-ID: <22265633.1152813355725.JavaMail.jboss@colo-br-02.atl.jboss.com> This post is old but hopefully this will help. I just went through this and your problem is that the -params " -c all" must be broken up into seperate params. It should be -params "-c" "all" Hope this helps someone. I first got the service installed, but it was using the default server not the "all" server as I needed. B View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957831#3957831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957831 From do-not-reply at jboss.com Thu Jul 13 13:56:25 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 13 Jul 2006 13:56:25 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Launch configuration does not support source lookup Message-ID: <11939770.1152813385623.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm the old maintainer of JBoss AOP IDE. (no longer active on this project) What I do know is that a recent API change in eclipse has changed the process for supporting source lookup, which means it's most likely a simple error. I'll look into it now for you, and if it's a simple fix I'll commit it to CVS. It will not make it into this week's JBoss IDE release at all, however if the problem is as simple as I believe it is, I will try to ensure it is in 2.0. Sorry for the change, but it was upstream of us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957832#3957832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957832 From do-not-reply at jboss.com Thu Jul 13 13:58:29 2006 From: do-not-reply at jboss.com (smodou) Date: Thu, 13 Jul 2006 13:58:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - How to upgrade JBOSS AS? Message-ID: <26305879.1152813509245.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, Since my search didnt locate anything, can someone point me to any docs that can tell me how to upgrade from Jboss AS 4.0.4CR2 to 4.0.4GA? or just from any version to another. regards, Modou View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957833#3957833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957833 From do-not-reply at jboss.com Thu Jul 13 14:19:15 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Thu, 13 Jul 2006 14:19:15 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <17224297.1152814755843.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, just to be sure, here are the steps I have followed: 1) Installed JBoss 4.0.4.GA-Patch1 using the installer jar 2) Unzipped jboss-messaging-1.0.1.CR3.zip and run the release-admin.xml ant script. 3) Copied the jboss-messaging-client.jar into my standalone client's lib directory (all that is in there beyond that is log4j.xml) 4) Set the classpath of my client to use only what is in the lib directory mentioned in step 3. 5) Started my JBoss server (the destinations deploy) 6) Run my client. I still get the same errors. I've tried this 4 times now, adjusting libraries here and there, and I'm still having no luck. Is it possible that the jboss-messaging-client.jar that comes with jboss-messaging-1.0.1.CR3.zip is incompatible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957838#3957838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957838 From do-not-reply at jboss.com Thu Jul 13 14:30:53 2006 From: do-not-reply at jboss.com (rknechtel) Date: Thu, 13 Jul 2006 14:30:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - jboss-EJB-3.0_RC8-FD Install Instructions wrong Message-ID: <8973365.1152815453859.JavaMail.jboss@colo-br-02.atl.jboss.com> While manually installing jboss-EJB-3.0_RC8-FD I found that in the "INSTALL.html" has three steps that are no good. These steps state: 15. Copy jboss-ejb3-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client 16. Copy jboss-annotations-ejb3.jar from the lib/ directory of the distribution to jboss-4.0.x/client 17. Copy hibernate-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client However these three jar files -are not- in the distribution. Where do I get these jars to install? Thanks much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957839#3957839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957839 From do-not-reply at jboss.com Thu Jul 13 14:33:25 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Thu, 13 Jul 2006 14:33:25 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: wrong principal although authenticated in 4.0.4 GA Message-ID: <15292763.1152815605291.JavaMail.jboss@colo-br-02.atl.jboss.com> Details on producing the problem in a jira issue are needed: http://jira.jboss.com/jira/browse/JBAS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957841#3957841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957841 From do-not-reply at jboss.com Thu Jul 13 14:35:19 2006 From: do-not-reply at jboss.com (bpatters) Date: Thu, 13 Jul 2006 14:35:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TransactionManager Name not bound? Message-ID: <9882700.1152815719342.JavaMail.jboss@colo-br-02.atl.jboss.com> "ablevine1" wrote : yes. exactly like that. | | -Alex Did you ever find a solution for this? I'm having the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957842#3957842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957842 From do-not-reply at jboss.com Thu Jul 13 14:36:11 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 14:36:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Marshalling and Unmarshalling objects within SOAP server Message-ID: <17607927.1152815771338.JavaMail.jboss@colo-br-02.atl.jboss.com> This seems to be similiar to http://jira.jboss.com/jira/browse/JBWS-947. You might also take a look at http://labs.jboss.com/portal/jbossws/user-guide/en/html/getting-started.html#message-endpoints View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957843#3957843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957843 From do-not-reply at jboss.com Thu Jul 13 14:47:27 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 14:47:27 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Web Service Client : Could not transmit message Message-ID: <3534822.1152816447301.JavaMail.jboss@colo-br-02.atl.jboss.com> well, get the remote server log file and look why it's responding with "Invalid HTTP server response [400] - Bad Request"... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957845#3957845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957845 From do-not-reply at jboss.com Thu Jul 13 14:51:48 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 14:51:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <20035133.1152816708070.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, we discovered that issue as well: http://jira.jboss.com/jira/browse/JBWS-1072. It will be resolved with 1.0.2. In the meantime you could get branch 1.0 and build it yourself. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957846#3957846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957846 From do-not-reply at jboss.com Thu Jul 13 14:52:15 2006 From: do-not-reply at jboss.com (asarubbi) Date: Thu, 13 Jul 2006 14:52:15 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Web Service Client : Could not transmit message Message-ID: <25042642.1152816735296.JavaMail.jboss@colo-br-02.atl.jboss.com> No logs at the server. It does not pass through the proxy. Here's the proxy log: 1152805871.888 4 myipaddress TCP_DENIED/400 1730 POST http://myproxyipaddress:3 | 128http://myurl/rucas/SessionManagementEJB - NONE/- text/html watch that proxy address and port are appended to the invocation URL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957847#3957847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957847 From do-not-reply at jboss.com Thu Jul 13 14:53:57 2006 From: do-not-reply at jboss.com (adamw) Date: Thu, 13 Jul 2006 14:53:57 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Filter and servlet mappings Message-ID: <2420507.1152816837561.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I solved the problem by mapping the servlet to /, and thus making it the default servlet. Then the requests for the JSP page go where they shold. Though I thught that when there are two overlapping mappings specified, one more and one less specific, the more specific is used in case of an path that matches both. -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957848#3957848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957848 From do-not-reply at jboss.com Thu Jul 13 14:55:39 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 14:55:39 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Jboss Context Message-ID: <19826010.1152816939418.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I deployed my test web applicaion in Jboss at jboss/jboss-4.0.2/server/default/deploy/test.war. I want to deploy the application as a folder instead of war file. Like instead of test.war I want to create a folder called test and place all the files under test folder. How to create the context for this folder? Will Jboss only take war file as context? Any help/suggestion will be great. Thanks in Advance. Thanks Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957849#3957849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957849 From do-not-reply at jboss.com Thu Jul 13 14:56:08 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 14:56:08 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How get MessageContex in WebService implemented as EJB Message-ID: <15491004.1152816968988.JavaMail.jboss@colo-br-02.atl.jboss.com> A non portable way would be to call | MessageContextAssociation.peekMessageContext() | Although it's not recommended. I need to look at the above issue... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957850#3957850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957850 From do-not-reply at jboss.com Thu Jul 13 14:56:34 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 14:56:34 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Loading mod_jk.so Message-ID: <28284493.1152816994555.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to Integrate Apache with JBoss. I get this error when starting Apache. Syntax error on line 2 of httpd-2.2.2/conf/tomcat/mod_jk.conf: Cannot load mod_jk.so into server: ld.so.1: /httpd-2.2.2/bin/httpd:fatal:relocation error: file mod_jk.so:symbol ap_null_cleanup: referenced symbol not found I have included the line "Include conf/mod_jk.conf" in httpd.conf file under /conf and placed the mod_jk.so under /modules. mod_jk version is 1.2.15 Any help me on this is appreciated. Thanks in Advance. Thanks Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957851#3957851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957851 From do-not-reply at jboss.com Thu Jul 13 14:56:56 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 13 Jul 2006 14:56:56 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Launch configuration does not support source lookup Message-ID: <3982182.1152817016532.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm the old maintainer of JBoss AOP IDE. (no longer active on this project) What I do know is that a recent API change in eclipse has changed the process for supporting source lookup, which means it's most likely a simple error. I'll look into it now for you, and if it's a simple fix I'll commit it to CVS. It will not make it into this week's JBoss IDE release at all, however if the problem is as simple as I believe it is, I will try to ensure it is in 2.0. Sorry for the change, but it was upstream of us. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957852#3957852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957852 From do-not-reply at jboss.com Thu Jul 13 14:58:51 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 14:58:51 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How get MessageContex in WebService implemented as EJB Message-ID: <18826499.1152817131713.JavaMail.jboss@colo-br-02.atl.jboss.com> You can monitor progress, or volunteer for fixing it here: http://jira.jboss.com/jira/browse/JBWS-1075 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957853#3957853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957853 From do-not-reply at jboss.com Thu Jul 13 15:04:49 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 15:04:49 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: jbossws 1.0.1GA sample not working Message-ID: <32088359.1152817489942.JavaMail.jboss@colo-br-02.atl.jboss.com> What's anonymous wrote : | Sarooooooooooooooooobbbi!!!! | supposed to mean? However, do we agree that it's not an eventing problem, more a encoding problem? If so, can one the gentlemen please supply with some information about your environments? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957854#3957854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957854 From do-not-reply at jboss.com Thu Jul 13 15:09:09 2006 From: do-not-reply at jboss.com (mculpepper@jboss.com) Date: Thu, 13 Jul 2006 15:09:09 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE Mailing Lists Message-ID: <31905500.1152817749683.JavaMail.jboss@colo-br-02.atl.jboss.com> I figured we'd at least keep the user forums up since some users would prefer this method of interaction.. The mail archives can't be searched yet that I know of (I will contact IT and see what the plans are for that) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957855#3957855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957855 From do-not-reply at jboss.com Thu Jul 13 15:10:08 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 13 Jul 2006 15:10:08 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: problem on invoking WS Message-ID: <4044829.1152817808058.JavaMail.jboss@colo-br-02.atl.jboss.com> I am really wondering why poeple don't read the docs: http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html#jsr109-clients View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957856#3957856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957856 From do-not-reply at jboss.com Thu Jul 13 15:16:29 2006 From: do-not-reply at jboss.com (mmigal) Date: Thu, 13 Jul 2006 15:16:29 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Exception when storing Object that contains a set of other o Message-ID: <16802588.1152818189788.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss 4.0.4. I have 2 objects: | public class StorageArray { | // properties | private String m_UID = null; | private long m_wwn=-1; | private Set m_nodes=Collections.synchronizedSet(new HashSet()); | | public StorageArray() {} | | // setters | public void setUID(String UID) { | m_UID = UID; | } | public void setWWN(long wwn) { | m_wwn=wwn; | } | public void setNodes(Set nodes) { | m_nodes=nodes; | } | | // getters | public String getUID() { | return m_UID; | } | public long getWWN() { | return m_wwn; | } | public Set getNodes() { | return m_nodes; | } | } | | public class ControllerNode { | private String m_UID = null; | private short m_position=-1; | private boolean m_master=false; | | // constructors | public ControllerNode() {} | | public ControllerNode(String UID, String parentUID) { | super(UID, parentUID); | } | | // setters | public void setUID(String UID) { | m_UID = UID; | } | public void setPosition(Short position) { | if(position!=null) | m_position=position.shortValue(); | } | public void setMaster(Boolean master) { | if(master!=null) | m_master=master.booleanValue(); | } | | // getters | public String getUID() { | return m_UID; | } | public short getPosition() { | return m_position; | } | public boolean getMaster() { | return m_master; | } | } | I declared 2 hbm.xml files, for each of the classes: | | | | | | | | | | | | | | | | | | | | | | | | | When I start the JBoss, everything loads fine and I can see 3 tables being created. However, when I try to store an object instance of StorageArray, which contains a set of ControllerNode objects (in this case set contains just 1), I get following errors: anonymous wrote : | 11:30:01,477 DEBUG [SessionFactoryObjectFactory] JNDI lookup: hibernate/TestSessionFactory | 11:30:01,477 DEBUG [SessionFactoryObjectFactory] lookup: uid=402891eb0c69267f010c6926819e0000 | 11:30:01,537 DEBUG [JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 11:30:01,537 DEBUG [SessionImpl] opened session at timestamp: 4721931884449792 | 11:30:01,547 DEBUG [JTATransaction] Looking for UserTransaction under: UserTransaction | 11:30:01,547 DEBUG [JTATransaction] Obtained UserTransaction | 11:30:01,547 DEBUG [JTATransaction] begin | 11:30:01,547 DEBUG [JTATransaction] Began a new JTA transaction | 11:30:01,557 DEBUG [JDBCContext] successfully registered Synchronization | 11:30:01,567 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 11:30:01,567 DEBUG [ConnectionManager] opening JDBC connection | 11:30:01,567 DEBUG [SQL] select storagearr_.M_ARRAY_UID, storagearr_.M_PARENTUID as M2_0_, storagearr_.M_NAME as M3_0_, storagearr_.M_WWN as M4_0_ fro | m tbl_StorageArray storagearr_ where storagearr_.M_ARRAY_UID=? | 11:30:01,577 INFO [STDOUT] Hibernate: select storagearr_.M_ARRAY_UID, storagearr_.M_PARENTUID as M2_0_, storagearr_.M_NAME as M3_0_, storagearr_.M_WW | N as M4_0_ from tbl_StorageArray storagearr_ where storagearr_.M_ARRAY_UID=? | 11:30:01,577 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 11:30:01,577 DEBUG [ConnectionManager] aggressively releasing JDBC connection | 11:30:01,587 DEBUG [ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 11:30:01,587 DEBUG [AbstractSaveEventListener] generated identifier: UID_Array0, using strategy: org.hibernate.id.Assigned | 11:30:01,617 DEBUG [JTATransaction] commit | 11:30:01,627 DEBUG [AbstractFlushingEventListener] processing flush-time cascades | 11:30:01,627 DEBUG [AbstractFlushingEventListener] dirty checking collections | 11:30:01,637 DEBUG [Collections] Collection found: [com.test.inform.data.array.StorageArray.nodes#UID_Array0], was: [] (initialized) | 11:30:01,637 DEBUG [AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects | 11:30:01,647 DEBUG [AbstractFlushingEventListener] Flushed: 1 (re)creations, 0 updates, 0 removals to 1 collections | 11:30:01,647 DEBUG [Printer] listing entities: | 11:30:01,647 DEBUG [Printer] com.test.inform.data.array.StorageArray{WWN=123456789, nodes=[com.test.inform.data.node.ControllerNode#UID_Node0], UID=UI | D_Array0, name=Storage Array, parentUID=null} | 11:30:01,657 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 11:30:01,687 DEBUG [ConnectionManager] opening JDBC connection | 11:30:01,687 DEBUG [SQL] insert into tbl_StorageArray (M_PARENTUID, M_NAME, M_WWN, M_ARRAY_UID) values (?, ?, ?, ?) | 11:30:01,687 INFO [STDOUT] Hibernate: insert into tbl_StorageArray (M_PARENTUID, M_NAME, M_WWN, M_ARRAY_UID) values (?, ?, ?, ?) | 11:30:01,697 DEBUG [AbstractBatcher] Executing batch size: 1 | 11:30:01,697 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 11:30:01,697 DEBUG [ConnectionManager] skipping aggressive-release due to flush cycle | 11:30:01,697 DEBUG [AbstractCollectionPersister] Inserting collection: [com.test.inform.data.array.StorageArray.nodes#UID_Array0] | 11:30:01,707 DEBUG [AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 11:30:01,707 DEBUG [SQL] insert into tbl_StorageArrayControllerNode (M_ARRAY_UID, M_NODE_UID) values (?, ?) | 11:30:01,707 INFO [STDOUT] Hibernate: insert into tbl_StorageArrayControllerNode (M_ARRAY_UID, M_NODE_UID) values (?, ?) | 11:30:01,707 DEBUG [AbstractCollectionPersister] done inserting collection: 1 rows inserted | 11:30:01,717 DEBUG [AbstractBatcher] Executing batch size: 1 | 11:30:01,717 DEBUG [AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 11:30:01,747 DEBUG [ConnectionManager] skipping aggressive-release due to flush cycle | 11:30:01,747 DEBUG [JDBCExceptionReporter] Could not execute JDBC batch update [insert into tbl_StorageArrayControllerNode (M_ARRAY_UID, M_NODE_UID) v | alues (?, ?)] | java.sql.BatchUpdateException: failed batch | at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:517) | at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:340) | at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59) | at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491) | at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:146) | at com.test.inform.server.hibernate.TPDHibernateClient.saveObject(Unknown Source) | at com.test.inform.server.HibernateTest.runSaveTest(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: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.jmx.adaptor.control.Server.invokeOpByName(Server.java:258) | at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 11:30:01,887 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 11:30:01,887 ERROR [JDBCExceptionReporter] failed batch | 11:30:01,887 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session | org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:340) | at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59) | at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491) | at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:146) | at com.test.inform.server.hibernate.TPDHibernateClient.saveObject(Unknown Source) | at com.test.inform.server.HibernateTest.runSaveTest(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: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.jmx.adaptor.control.Server.invokeOpByName(Server.java:258) | at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.sql.BatchUpdateException: failed batch | at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:517) | at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242) | ... 49 more | 11:30:02,028 DEBUG [ConnectionManager] aggressively releasing JDBC connection | 11:30:02,038 DEBUG [ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 11:30:02,038 ERROR [JTATransaction] JTA commit failed | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=lt_mmigal_xp/14, BranchQual=, localId=14] sta | tus=STATUS_NO_TRANSACTION; - nested throwable: (org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:146) | at com.test.inform.server.hibernate.TPDHibernateClient.saveObject(Unknown Source) | at com.test.inform.server.HibernateTest.runSaveTest(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: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.jmx.adaptor.control.Server.invokeOpByName(Server.java:258) | at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:143) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:340) | at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59) | at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491) | at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324) | ... 39 more | Caused by: java.sql.BatchUpdateException: failed batch | at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:517) | at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58) | at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242) | ... 49 more | 11:30:02,198 ERROR [[HtmlAdaptor]] Servlet.service() for servlet HtmlAdaptor threw exception | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957857#3957857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957857 From do-not-reply at jboss.com Thu Jul 13 15:22:21 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 13 Jul 2006 15:22:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Context Message-ID: <725372.1152818541498.JavaMail.jboss@colo-br-02.atl.jboss.com> Say you have a myapp.war file containing the files index.jsp and WEB-INF/web.xml. You can create a directory named ./server/default/deploy.war, and into that directory place the file index.jsp. Also create the directory ./server/default/deploy.war/WEB-INF and place the web.xml file into that directory. I know I answered this is some earlier post but I could not find it. Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts for further information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957858#3957858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957858 From do-not-reply at jboss.com Thu Jul 13 15:26:58 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 13 Jul 2006 15:26:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Context Message-ID: <20701318.1152818818519.JavaMail.jboss@colo-br-02.atl.jboss.com> Still didn't find my post, but Peter Muir has a great diagram showing an exploded ear file at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84879&start=0&postdays=postDays&postorder=postOrder&highlight=highlight View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957859#3957859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957859 From do-not-reply at jboss.com Thu Jul 13 15:28:44 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Thu, 13 Jul 2006 15:28:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Client Access to EJB3s Message-ID: <3535980.1152818924464.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi. I've seen a few posts on this forum regarding errors in obtaining EJB3 stubs by a standalone client. While I haven't had any problems doing JNDI lookups from within the container, when I attempt via a standalone client I get the following exception: java.lang.NullPointerException | at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) | at $Proxy0.getRequiredContextProperty(Unknown Source) | at com.ninem.rx.core.servicelocator.ServiceLocator.initializeNinemServicesContext(ServiceLocator.java:105) | at com.ninem.rx.core.servicelocator.ServiceLocator.(ServiceLocator.java:86) | at com.ninem.rx.core.servicelocator.ServiceLocator.getInstance(ServiceLocator.java:96) | at com.ninem.rx.api.encryption.EncryptionDelegate.encrypt(EncryptionDelegate.java:53) | at com.ninem.rx.api.encryption.EncryptionDelegateTests.testRoundtripEncryption(EncryptionDelegateTests.java:33) | 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:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | I'm using JBoss 4.0.4-GA w/ EJB3 profile as obtained today from the JNLP Installer. My client has every lib in $JBOSS_HOME/client, the EJB3 Deployer, and the AOP Deployer in the classpath. Thanks in advance to anyone with insight. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957860#3957860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957860 From do-not-reply at jboss.com Thu Jul 13 15:29:06 2006 From: do-not-reply at jboss.com (maeste) Date: Thu, 13 Jul 2006 15:29:06 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: jbossws 1.0.1GA sample not working Message-ID: <29622023.1152818946687.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, I'm a collegue of Alessio (palin). "heiko.braun at jboss.com" wrote : | anonymous wrote : | | Sarooooooooooooooooobbbi!!!! | | | supposed to mean? | is the same question I'd like to ask. I suppose something about Taleban....something like a humoristic trolling? "heiko.braun at jboss.com" wrote : | However, do we agree that it's not an eventing problem, more a encoding problem? | If so, can one the gentlemen please supply with some information about your environments? | yes for sure. We have a Linux server 64 bit (opteron) with java 1.5.0_06 jboss-4.04GA with jboss-ws-1.0.1 and ejb3-RC8-FD. Operating system is installed in italian, and the default encoding is ISO-8859-15. We tryied to force the parameter -Dfile.encoding=ISO-8859-1 (or UTF-8) and it works perfectly. Do you need some more informations? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957861#3957861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957861 From do-not-reply at jboss.com Thu Jul 13 15:29:45 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 13 Jul 2006 15:29:45 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Launch configuration does not support source lookup Message-ID: <3800139.1152818985699.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBIDE-341 Issue has been initiated and resolved. It will be out in the next jboss ide release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957862#3957862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957862 From do-not-reply at jboss.com Thu Jul 13 15:30:51 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 13 Jul 2006 15:30:51 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Launch configuration does not support source lookup Message-ID: <32721849.1152819051644.JavaMail.jboss@colo-br-02.atl.jboss.com> By next I mean the one after this one, because this one is already in release mode. Beta2 I assume. Whichever one doesnt come out this week. The one after this week. You get the picture. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957863#3957863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957863 From do-not-reply at jboss.com Thu Jul 13 15:32:16 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Thu, 13 Jul 2006 15:32:16 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <22177390.1152819136059.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the quick response. As of my disk IO. It's on a development machine but I don't feel particular slow because I also use it for JMS queue persist. And I don't see much delay for the JMS Queue processing when I sended persistent msg. I will update to 1.4 (current is 1.3) and try BDBJE cache loader and let you know. Regards. -Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957864#3957864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957864 From do-not-reply at jboss.com Thu Jul 13 15:32:32 2006 From: do-not-reply at jboss.com (maeste) Date: Thu, 13 Jul 2006 15:32:32 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: jbossws 1.0.1GA sample not working Message-ID: <3948999.1152819152640.JavaMail.jboss@colo-br-02.atl.jboss.com> "maeste" wrote : hi, | | yes for sure. We have a Linux server 64 bit (opteron) with java 1.5.0_06 jboss-4.04GA with jboss-ws-1.0.1 and ejb3-RC8-FD. | I'm sorry, Iforgot we made some test on a different server Linux 2.6.12 32 bit java 1.5.0_07 and same jboss and library of the previous. We get same problem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957865#3957865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957865 From do-not-reply at jboss.com Thu Jul 13 15:38:58 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 13 Jul 2006 15:38:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <7671108.1152819538924.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having trouble getting a sample seam-hibernate reverse eng to build. I followed the directions in the movie and everything works up to the point of compiling. I get "Begin cannot be resolved to a type" and so on for every annotation. What am I doing wrong? I'm using Eclipse 3.2RC7 and the latest plug-ins from the nightly build as recommended. The plugin has a couple of UI differences, choices regarding EJB3 and Java5 syntax generation, which I have tried but it makes no difference. I have built other Seam examples with no problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957866#3957866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957866 From do-not-reply at jboss.com Thu Jul 13 15:46:12 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Thu, 13 Jul 2006 15:46:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client Access to EJB3s Message-ID: <16580831.1152819972304.JavaMail.jboss@colo-br-02.atl.jboss.com> I should clarify that the error above occurs when attempting to invoke a method on my EJB. The stub I receive from the JNDI lookup is a ServiceLocalProxy with members "container" and "provider" both set to NULL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957869#3957869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957869 From do-not-reply at jboss.com Thu Jul 13 15:47:37 2006 From: do-not-reply at jboss.com (dzhao00) Date: Thu, 13 Jul 2006 15:47:37 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application Message-ID: <31576536.1152820057669.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi sundartri, After you invalidate the session, also delete the cookie that is tracking the session. This way you will get a new sessionId when the next time you call request.getSession(true). In my case, I'm using JBoss 4.0.3SP1 and the cookie name is JSESSIONID. use cookie.setMaxAge(0) will delete the cookie. That should do the trick. Good Luck. Dave. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957871#3957871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957871 From do-not-reply at jboss.com Thu Jul 13 15:48:45 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 13 Jul 2006 15:48:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History Message-ID: <6031698.1152820125420.JavaMail.jboss@colo-br-02.atl.jboss.com> I get tons of logs in my log output, and I didn't have to do much. | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957872#3957872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957872 From do-not-reply at jboss.com Thu Jul 13 15:55:47 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 15:55:47 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application Message-ID: <13544353.1152820547208.JavaMail.jboss@colo-br-02.atl.jboss.com> Why bother. There is no harm in re-using the session ID. The real issue is weather or not the session contents were getting trashed on invalidate. If that is occuring, then all is good. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957873#3957873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957873 From do-not-reply at jboss.com Thu Jul 13 16:02:12 2006 From: do-not-reply at jboss.com (sacha.labourey@jboss.com) Date: Thu, 13 Jul 2006 16:02:12 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Blog for JBoss Portal Message-ID: <27538790.1152820932314.JavaMail.jboss@colo-br-02.atl.jboss.com> Where can we find a blog portlet for JBP? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957874#3957874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957874 From do-not-reply at jboss.com Thu Jul 13 16:08:36 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 13 Jul 2006 16:08:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History Message-ID: <5101680.1152821316130.JavaMail.jboss@colo-br-02.atl.jboss.com> cpob, Thank you very much for the reply. I have the same text as you in my jbpm.cfg.xml file. So if it isn't a matter of what's in the config file itself, perhaps it is an issue of where the file is located. Within my jbpm.sar file, there is a file called jbpm.sar.cfg.jar, and inside of it, in its root, is this jbpm.cfg.xml file. Is this consistent with where your jbpm.cfg.xml file is? Where is your jpbm.cfg.xml file in your archive? Thanks again... Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957876#3957876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957876 From do-not-reply at jboss.com Thu Jul 13 16:20:33 2006 From: do-not-reply at jboss.com (ablevine1) Date: Thu, 13 Jul 2006 16:20:33 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TransactionManager Name not bound? Message-ID: <17004646.1152822033229.JavaMail.jboss@colo-br-02.atl.jboss.com> no. not yet, as no one has responded View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957877#3957877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957877 From do-not-reply at jboss.com Thu Jul 13 16:22:11 2006 From: do-not-reply at jboss.com (dzhao00) Date: Thu, 13 Jul 2006 16:22:11 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application Message-ID: <32013263.1152822131939.JavaMail.jboss@colo-br-02.atl.jboss.com> I know what you're saying. But if someone has his own reason or is already using sessionId in his code and have to find a quick solution right away, keep saying why bother doesn't help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957878#3957878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957878 From do-not-reply at jboss.com Thu Jul 13 16:25:20 2006 From: do-not-reply at jboss.com (jliptak) Date: Thu, 13 Jul 2006 16:25:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jbpmschema fails to build for CVS HEAD Message-ID: <3504379.1152822320320.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to build the HEAD of CVS and it's failing with classpath issues in the jbpmschema task. Is this a temporary or known problem? If so, I'll ignore it for now otherwise I'll keep looking at my checkout. [jbpmschema] using jbpm configuration jbpm/db2.jbpm.cfg.xml | | BUILD FAILED | C:\projects\hibernate\jBPM\jbpm.3\build\build.xml:36: The following error occurred while executing this line: | java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957879#3957879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957879 From do-not-reply at jboss.com Thu Jul 13 16:39:16 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 13 Jul 2006 16:39:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <8091197.1152823156298.JavaMail.jboss@colo-br-02.atl.jboss.com> did you add the seam jars to the project ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957881#3957881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957881 From do-not-reply at jboss.com Thu Jul 13 16:40:58 2006 From: do-not-reply at jboss.com (rrajesh) Date: Thu, 13 Jul 2006 16:40:58 -0400 (EDT) Subject: [jboss-user] [News & Announcements] - JBossCache 1.3.0.SP3 released Message-ID: <27154220.1152823258340.JavaMail.jboss@colo-br-02.atl.jboss.com> JBossCache 1.3.0.SP3 has been released and is available for download on SourceForge at http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=102339&release_id=431780 Release 1.3.0.SP3 ============ A bug fix release. Changes: ** Bug * [ JBCACHE-668 ] Failure in synchronous remote commit() call leads to unreleased locks. * [ JBCACHE-665 ] Concurrent modification exception when eviction thread attempts to access workspace with opt locking * [ JBCACHE-682 ] AbortionTest extension to close channel in beforeCompletion() fails * [ JBCACHE-661 ] Serious concurrency issue with empty Cache & CacheLoader View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957883#3957883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957883 From do-not-reply at jboss.com Thu Jul 13 16:50:00 2006 From: do-not-reply at jboss.com (jayankandathil) Date: Thu, 13 Jul 2006 16:50:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBoss 3.2.5 fails startup with -Xmx1536m Message-ID: <3503114.1152823800855.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello: We are running JBoss AS 3.2.5 with Sun J2SE 1.4.2_12 (32-bit) on Windows Server 2003 Enterprise Edition SP1 (also 32-bit). Setting the JVM to -Xmx1024m in run.bat works fine but setting it to -Xmx1536m causes JBoss not to start. The error in the console is this: Error occurred during initialization of VM Could not reserve enough space for object heap Press any key to continue . . . The box is dedicated to this single JBoss instance and has 4 GB of RAM. We're using the "all" configuration. Any help would be much appreciated. Thanks in advance. - Jayan Jayan Kandathil Adobe Systems Canada View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957887#3957887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957887 From do-not-reply at jboss.com Thu Jul 13 16:51:47 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Thu, 13 Jul 2006 16:51:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <5504540.1152823907485.JavaMail.jboss@colo-br-02.atl.jboss.com> Sacha, it is here http://anonsvn.labs.jboss.com/labs/jbosslabs/trunk/portal-extensions/forge-blog/src/java/org/jboss/portlet/blog/BlogPortlet.java. It display RSS feeds and does not have any underlying backend service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957888#3957888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957888 From do-not-reply at jboss.com Thu Jul 13 16:54:06 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Thu, 13 Jul 2006 16:54:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <21167440.1152824046254.JavaMail.jboss@colo-br-02.atl.jboss.com> Otherwise I found that http://pal.sourceforge.jp/blog/maven-reports.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957889#3957889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957889 From do-not-reply at jboss.com Thu Jul 13 17:01:43 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 13 Jul 2006 17:01:43 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application Message-ID: <13178472.1152824503210.JavaMail.jboss@colo-br-02.atl.jboss.com> dzhao00, There was no requirement to not re-use session ID in original question of sundartri. The problem was how to invalidate the session. The original poster was under the impression that the session was not being invalidated because the ID did not change. You mis-read the problem and added a solution that was unecessary. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957890#3957890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957890 From do-not-reply at jboss.com Thu Jul 13 17:05:25 2006 From: do-not-reply at jboss.com (mcrose) Date: Thu, 13 Jul 2006 17:05:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: panelGrid / panelGroup... actions does not work Message-ID: <14827924.1152824725640.JavaMail.jboss@colo-br-02.atl.jboss.com> well, I try in every way including the form [ FireFox detects 2 errors (just to tell) ] but the actions didn't work I did the next: instead of using and , I used and the table tag like before it works View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957891#3957891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957891 From do-not-reply at jboss.com Thu Jul 13 17:06:17 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 13 Jul 2006 17:06:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <7832731.1152824777857.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, but you have to be on the right track. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957892#3957892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957892 From do-not-reply at jboss.com Thu Jul 13 17:12:49 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 17:12:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Context Message-ID: <11022675.1152825169918.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi PeterJ, It Worked!!!! Thank u very much for the solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957893#3957893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957893 From do-not-reply at jboss.com Thu Jul 13 17:13:37 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 13 Jul 2006 17:13:37 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <860906.1152825217559.JavaMail.jboss@colo-br-02.atl.jboss.com> Labs blog portlet is an RSS aggregator, not a full-featured blog app. Pal's blogportlet, I have not invested the time required to get it to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957894#3957894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957894 From do-not-reply at jboss.com Thu Jul 13 17:28:27 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 17:28:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Context Message-ID: <17809158.1152826107576.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Can I place my application folder outside JBoss and give a context to it? This can be done in Tomcat by setting up context path in server.xml For Ex: while the server will be in /appl/tomcat/.. Can anyone help me how to do this in Jboss? Should all application be deployed under /default/deploy only ? Thanks in Advance Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957896#3957896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957896 From do-not-reply at jboss.com Thu Jul 13 17:29:05 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 17:29:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Application folder outside JBoss Message-ID: <11532920.1152826145596.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Can I place my application folder outside JBoss and give a context to it? This can be done in Tomcat by setting up context path in server.xml For Ex: while the server will be in /appl/tomcat/.. Can anyone help me how to do this in Jboss? Should all application be deployed under /default/deploy only ? Thanks in Advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957897#3957897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957897 From do-not-reply at jboss.com Thu Jul 13 17:29:33 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 13 Jul 2006 17:29:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <6803448.1152826173975.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, it turns out the the "Import:From File System" step as illustrated in the movie doesn't work. I had to use: "Properties:Java Build Path:Libraries:Add External Jar" for all of the libraries and the build errors (related to libraries) disappeared. I have a new problem now, that has an easy workaround. The code generator is generating com.example.mydatabase as the package name but it is putting the files in src.com.example.mydatabase. So I can edit the package line in each file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957898#3957898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957898 From do-not-reply at jboss.com Thu Jul 13 17:29:53 2006 From: do-not-reply at jboss.com (yantriki) Date: Thu, 13 Jul 2006 17:29:53 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - How to make my service wait for port 1099 to come up? Message-ID: <4552884.1152826193881.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the following dependencies in the jboss-service.xml file. | jboss:service=Naming | jboss:service=invoker,type=jrmp | jboss:service=invoker,type=http,target=Naming | but the service, where I am registering an object in the naming service fails to start during boot because it's start lifecycle method is getting called even before the port 1099 is created. Appreciate any insight. Regards Vivek | 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]] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) | at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) | ... 101 more | Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] | at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243) | ... 102 more | Caused by: java.net.ConnectException: Connection refused: connect | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957899#3957899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957899 From do-not-reply at jboss.com Thu Jul 13 17:31:36 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 13 Jul 2006 17:31:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <15237836.1152826296538.JavaMail.jboss@colo-br-02.atl.jboss.com> you should allow it to generate into the root directory since it genereates more than just src. in a future version we will allow you to generate these things in more managble steps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957900#3957900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957900 From do-not-reply at jboss.com Thu Jul 13 17:32:21 2006 From: do-not-reply at jboss.com (newbie007) Date: Thu, 13 Jul 2006 17:32:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD Message-ID: <16588834.1152826341398.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, It clearly says that you are missing commons logging jar file in your classpath.Check your build path and try it again after adding required jar. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957901#3957901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957901 From do-not-reply at jboss.com Thu Jul 13 17:37:35 2006 From: do-not-reply at jboss.com (sdawson) Date: Thu, 13 Jul 2006 17:37:35 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - When is the optimistic lock check done? Message-ID: <26509928.1152826655151.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a question regarding when an optimistic lock check is performed. As per the EJB 3.0 specification, when we attempt to merge a detatched entity that has a stale version, the exception is thrown. However, consider the following case: | @TransactionAttribute(value = TransactionAttributeType.REQUIRED) | public void versionTest(Long id, String value) { | DbSample sample = entityManager.find(DbSample.class, id); | id.setValue(value); | entityManager.flush(); | } | (where DbSample is an entity bean with a @Version property) Now, consider the following set of events: Client A calls versionTest(1, "ClientA") and a breakpoint is set after the sample is fetched Client B calls versionTest(1, "ClientB") and a breakpoint is set after the sample is fetched Client B is allowed to continue its transaction and commit. Client A is then allowed to continue its transaction and commit. Instead of an optimistic lock exception being thrown, the result is that the value "ClientB" is saved to the database, and the version is incremented by 1. The ClientA method call seems to be silently ignored despite committing last. Is this the expected behaviour? The EJB 3.0 specification states that the optimistic lock check is supposed to be done at transaction commit time. This seems like a bug. Thoughts? -Sean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957902#3957902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957902 From do-not-reply at jboss.com Thu Jul 13 17:42:20 2006 From: do-not-reply at jboss.com (dzhao00) Date: Thu, 13 Jul 2006 17:42:20 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Creating new sessionID in the browser after application Message-ID: <20621367.1152826940492.JavaMail.jboss@colo-br-02.atl.jboss.com> A colleague of mine was looking for a quick solution to get a new sessionId when he upgraded the app server from jboss 3.2.5 to jboss 4.0.3sp1, because in his code he already used the sessionId and refactoring is not a good option for him now. We searched on the web including this forum and didn't find any clue. The subject of this thread is on top of the search results. I just want to post the way to do it for those people who does need a new sessionId. If you only need to invalidate the session, and don't care about the sessionId, fine, ignore my post. I don't want to waste my time argue with you whether I should post it here or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957903#3957903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957903 From do-not-reply at jboss.com Thu Jul 13 17:42:46 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 13 Jul 2006 17:42:46 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <16359531.1152826966765.JavaMail.jboss@colo-br-02.atl.jboss.com> I got a feedback from the Ajax4jsf developer as follows for the exception when using Ajax4jsf + Seam, maybe it is helpful for Seam integration with Ajax4jsf in future: anonymous wrote : Date: Thu, 13 Jul 2006 10:29:56 +0400 | From: Alexander Smirnov | Content-Type: text/plain; charset=ISO-8859-1; format=flowed | Subject: Cannot run ajax4jsf on Seam | | | It's problem from JBOSS ClassLoader configuration - see | http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingOverview . | We use apache commons-degetester for got web application configuration | details, and this message mean that class for store filter | configuration can't be loaded by degitester. See Jboss wiki for possible | workaroutd, I thing that You must turn web-app classloading from | JBOSS-specific to JEE spec - see jboss-service.xml for embedded tomcat. | I will be made sample application and provide detail instructions. The exception which I got is reposted again as below: java.lang.ClassNotFoundException: No ClassLoaders found for: org.ajax4jsf.framework.util.config.FilterBean | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java :204) | ....... Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957904#3957904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957904 From do-not-reply at jboss.com Thu Jul 13 17:44:15 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Thu, 13 Jul 2006 17:44:15 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <12942844.1152827055804.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I got a 50% performance gain after I upgrade to version 1.4 even still using FileCacheLoader. (That was 100-300 ms per write, still slow though) After I switched to JDBM cache loader, I felt that is what I am looking for: the average writing time reduced to 20-30ms and kept stable when I dumped more data. Two more questions remain: - Do I need JDBM project license if I want to use JdbmCacheLoader in production ? - I simply replaced the FileCacheLoader with JdbmCacheLoader in the above config file. With the above setting, should it auto-preload all data under "/test" Node when cache.startService() get called as in my testing problem ? How do I know because it seems not doing that way. Thanks a lot! -Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957905#3957905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957905 From do-not-reply at jboss.com Thu Jul 13 18:06:10 2006 From: do-not-reply at jboss.com (mmigal) Date: Thu, 13 Jul 2006 18:06:10 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Exception when storing Object that contains a set of oth Message-ID: <16016102.1152828370342.JavaMail.jboss@colo-br-02.atl.jboss.com> Never mind. I found a solution for my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957907#3957907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957907 From do-not-reply at jboss.com Thu Jul 13 18:24:09 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 13 Jul 2006 18:24:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <719697.1152829449190.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I have the 3.2 CVS version loaded and I built all tasks listed in the readme file..... Now.... How can I merge this with the starter kit version, where I can pull up the webpage and use it? I am confused about the structure of the directory there. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957909#3957909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957909 From do-not-reply at jboss.com Thu Jul 13 18:30:41 2006 From: do-not-reply at jboss.com (nmalbranche) Date: Thu, 13 Jul 2006 18:30:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering Message-ID: <26597966.1152829841157.JavaMail.jboss@colo-br-02.atl.jboss.com> workaround: use import javax.interceptor.Interceptors; instead (from jboss-ejb3x.jar) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957911#3957911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957911 From do-not-reply at jboss.com Thu Jul 13 18:31:09 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Thu, 13 Jul 2006 18:31:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Client access to Entity beans Message-ID: <25716639.1152829869162.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm really stuck here; is it possible to connect to an Entity Bean deployed on JBoss 4.0.4 with EJB3 from a standalone client? Can anyone post a link to an example? I've found lots of examples with a session bean between the client and the entity but I can't find any examples where the client connects to the entity directly. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957912#3957912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957912 From do-not-reply at jboss.com Thu Jul 13 18:32:15 2006 From: do-not-reply at jboss.com (nmalbranche) Date: Thu, 13 Jul 2006 18:32:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering Message-ID: <17068469.1152829935847.JavaMail.jboss@colo-br-02.atl.jboss.com> err, just realized the question was already answered... oh well :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957913#3957913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957913 From do-not-reply at jboss.com Thu Jul 13 18:38:40 2006 From: do-not-reply at jboss.com (genman) Date: Thu, 13 Jul 2006 18:38:40 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <6565198.1152830320447.JavaMail.jboss@colo-br-02.atl.jboss.com> bruce - a lot of the persistence mechanisms (including the file/JDBC) use a single record per Fqn, meaning that if you are adding a lot of keys to an Fqn in separate operations, each one will be increasingly slow. The JDBM implementation that I wrote uses a single record per key. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957914#3957914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957914 From do-not-reply at jboss.com Thu Jul 13 18:40:09 2006 From: do-not-reply at jboss.com (jnorris10) Date: Thu, 13 Jul 2006 18:40:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Entity bean state not rolled back on TX rollback: Message-ID: <2239352.1152830409371.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an entity bean with a "id" property annotated by: | @Id | @GeneratedValue | However, when this transaction fails with a database level deadlock and is rolled back (ie: EJBTransactionRolledbackException ...), the entity's "id" property is not rolled back and still has the database generated id value that it was given before the deadlock. So it essentially becomes a detached entity with no real backing value in the database. Shouldn't an entity bean's state be rolled back as well when the application TX is rolled back? Is this a bug? The rollback is initiated by a database deadlock and is described by the following exception stack: | javax.ejb.EJBTransactionRolledbackException | javax.persistence.PersistenceException | org.hibernate.exception.LockAcquisitionException: could not insert: ... | java.sql.SQLException: Deadlock found when trying to get lock; try restarting transaction | Let me know if you need more information to reproduce/investigate this... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957915#3957915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957915 From do-not-reply at jboss.com Thu Jul 13 18:44:24 2006 From: do-not-reply at jboss.com (genman) Date: Thu, 13 Jul 2006 18:44:24 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <20987099.1152830664613.JavaMail.jboss@colo-br-02.atl.jboss.com> JDBM is open source so you don't have to worry about licencing. The persistence manager isn't as well tested as the others, unfortunately. Perhaps there was a configuration mistake? What does the log message at start up say? You should see something like: anonymous wrote : | JDBM database /tmp/foo opened with 1242 entries | . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957916#3957916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957916 From do-not-reply at jboss.com Thu Jul 13 18:51:48 2006 From: do-not-reply at jboss.com (jnorris10) Date: Thu, 13 Jul 2006 18:51:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <11343957.1152831108218.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry... I am running JBoss 4.0.4.GA (w/ EJB3 RC7) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957917#3957917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957917 From do-not-reply at jboss.com Thu Jul 13 18:52:47 2006 From: do-not-reply at jboss.com (genman) Date: Thu, 13 Jul 2006 18:52:47 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache Entry Stats Message-ID: <23754921.1152831167629.JavaMail.jboss@colo-br-02.atl.jboss.com> A lot of this data is external to a node. For example, the expiration time of a node is managed by the eviction RegionManager for an Fqn. You may want to manage this data yourself by creating a TreeCacheListener and attaching it to the TreeCache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957918#3957918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957918 From do-not-reply at jboss.com Thu Jul 13 18:59:37 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 13 Jul 2006 18:59:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 3.2.5 fails startup with -Xmx1536m Message-ID: <7915035.1152831577796.JavaMail.jboss@colo-br-02.atl.jboss.com> The Sun JVM attempts to allocate a contiguous section of memory from its available address space. Considering that on a 32-bit box you have only 2GB of available address per process, and that typical application stuff (code and whatnot) takes up low memory space and that the majority of the Windows DLLs take up high memory, you will end up with a significantly smaller amount of memory avaiulable for the heap. So you will have to decrease your heap size. I can't recall the maximum heap we have ever gotten out of Windows 2003, though 1.4 GB comes to mind. Also, setting the /3GB boot option will not help because even with that option there is not enough contiguous memory available for the size of heap you want. However, you could use a JVM that doesn't need contiguous memory space to allocate the heap, and such a JVM might be able to allocate a big heap even without the /3GB heap option. The Unisys JVM (available at http://ecommunity.unisys.com/ecommunity/templates/longdescription.aspx?DocID=62563, requires free registration) does not require contiguous memory. If I recall correctly, we have gotten heaps of about 1.7GB without the /3GB boot option and around 2.7GB with the /3GB boot option. Of course, your mileage may vary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957919#3957919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957919 From do-not-reply at jboss.com Thu Jul 13 19:08:07 2006 From: do-not-reply at jboss.com (jnorris10) Date: Thu, 13 Jul 2006 19:08:07 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Interceptors not fired on methods called from within bea Message-ID: <7757150.1152832087870.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks again for the great info Kabir! I will let you know how this proceeds... However, currently this project is blocking on another problem which I have described in the EJB3 Forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86775 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957920#3957920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957920 From do-not-reply at jboss.com Thu Jul 13 19:12:22 2006 From: do-not-reply at jboss.com (mastrivens) Date: Thu, 13 Jul 2006 19:12:22 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Managed Connection Pools Message-ID: <890179.1152832342715.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the 'NoManagedConnections' Exception this only happens after a while, but I confess I am confused by the JBoss documentation and the few examples of servlets working with JBoss don't seem to be much help. I get a new connection object when I call the init method of each of my servlets (there are about 20), that is the only connection object I use for that servlet (I pass it as a parameter to the various factory classes I use within the servlet to do database access). But if I understand correctly, there is only one instance of each servlet - so it shoud only be using one connection? So I should only be using the same number of connections as servlets? Do I really need to close and create connections whenever I use JDBC? Is there somewhere I can put a close command that wouldn't be too much rework? Or is there a timeout for spotting dead connections? I already have a fairly large application and this would be painful to put it mildly... I thought that was the point of a managed connection pool? I have included the datasource XML file and also the code for getting a connection. Thank-you in advance Mark I have project-ds.xml file to set-up a connection pool with Postgres: | | | MtrdbDS | jdbc:postgresql://myserver:5434/myDb | org.postgresql.Driver | someUser | somepassword | | PostgreSQL 8.0 | | | I use a JNDI call to get a connection from that pool: | public Connection getConnection() throws SQLException | { | Connection conn = null; | Context ctx = null; | DataSource ds = null; | String sourceName = ""; | | try | { | ctx = new InitialContext(); | | if(ctx == null ) | throw new NamingException("Error 'Db.getConnection' - No Context"); | | sourceName = this.getDbName(ctx); | | ds = (DataSource)ctx.lookup(sourceName); | } | catch (NamingException e) | { | MtrErr.writeExc(MtrErr.OTHER_SOURCE,this.getClass().toString(),"getConnection",e); | } | catch (Exception e) | { | MtrErr.writeExc(MtrErr.OTHER_SOURCE,this.getClass().toString(),"getConnection",e); | } | | if (ds != null) | { | conn = ds.getConnection(); | } | | return(conn); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957921#3957921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957921 From do-not-reply at jboss.com Thu Jul 13 19:22:56 2006 From: do-not-reply at jboss.com (TheThirdEye) Date: Thu, 13 Jul 2006 19:22:56 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: java.lang.ClassNotFoundException --- from createMBean Message-ID: <7894720.1152832976337.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks matey !! The solution did work . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957922#3957922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957922 From do-not-reply at jboss.com Thu Jul 13 19:23:33 2006 From: do-not-reply at jboss.com (joff) Date: Thu, 13 Jul 2006 19:23:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is this the correct way to go about this? Message-ID: <21064283.1152833013621.JavaMail.jboss@colo-br-02.atl.jboss.com> Upon closer inspection, we found our problem: the parameter was being passed in as a String, and we were expecting a long. So we now have: | @RequestParameter | private String companyID; | | public Company getCompany() { | if(companyID != null) { | return (Company) entityManager.find(Company.class, | Long.decode(companyID)); | } | return null; | } Everything seems to be working happily now - thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957923#3957923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957923 From do-not-reply at jboss.com Thu Jul 13 19:31:44 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 13 Jul 2006 19:31:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is this the correct way to go about this? Message-ID: <21856277.1152833504941.JavaMail.jboss@colo-br-02.atl.jboss.com> Seam should automagically do the type conversion from String to Long ... are you sure that was the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957924#3957924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957924 From do-not-reply at jboss.com Thu Jul 13 19:47:24 2006 From: do-not-reply at jboss.com (joff) Date: Thu, 13 Jul 2006 19:47:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is this the correct way to go about this? Message-ID: <8310542.1152834444888.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem was when the request parameter wasn't passed in via the URL, i.e. when we use the getCustomers() method, which doesn't use that parameter. We were actually expecting a primitive long (I should have checked my capitalization in my previous post), which obviously cannot be made null by Seam when it isn't passed in. We're now expecting a Long object instead, and it works :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957926#3957926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957926 From do-not-reply at jboss.com Thu Jul 13 19:55:00 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Thu, 13 Jul 2006 19:55:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client access to Entity beans Message-ID: <29714648.1152834900267.JavaMail.jboss@colo-br-02.atl.jboss.com> There are several examples in the tutorial: http://docs.jboss.org/ejb3/app-server/tutorial/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957927#3957927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957927 From do-not-reply at jboss.com Thu Jul 13 19:55:21 2006 From: do-not-reply at jboss.com (MainLineDude) Date: Thu, 13 Jul 2006 19:55:21 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Look-up ejb class getInterfaces shows my home interface, Message-ID: <11557175.1152834921507.JavaMail.jboss@colo-br-02.atl.jboss.com> An addendum: After posting, I tried creating a new bean and it worked fine. I had been noticing startup errors for InstanceAlreadyExistsException, so I wondered if I had been using a cached version of the original bean instead of the latest. So I edited my new bean by adding another method, redeployed it, and it now fails the same way. So I'm thinking that my JSP is wanting to use one definition of my class, and JBoss is supplying a different version of it, thus the ClassCastException (I have a vague recollection that Java is smart enough to see that two classes that coincidentally have the same name can't be cast to one another). So, if that is the case, how do I flush out the old bean definitions? (I already tried deleting everything in the server\default\tmp\deploy directory, but that didn't help) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957928#3957928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957928 From do-not-reply at jboss.com Thu Jul 13 20:11:35 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Thu, 13 Jul 2006 20:11:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <33287748.1152835895845.JavaMail.jboss@colo-br-02.atl.jboss.com> genman: Thank you for the information. Below is the log I got when the cache start up, it seems found all the objects under the node "/loanet" but not loaded in memory: main org.jboss.cache.PropertyConfigurator - Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 21f46a | main org.jboss.cache.PropertyConfigurator - attribute size: 10 | main org.jboss.cache.PropertyConfigurator - setting attribute TransactionManagerLookupClass to org.jboss.cache.DummyTransactionManagerLookup | main org.jboss.cache.PropertyConfigurator - setting attribute NodeLockingScheme to OPTIMISTIC | main org.jboss.cache.PropertyConfigurator - setting attribute IsolationLevel to REPEATABLE_READ | main org.jboss.cache.PropertyConfigurator - setting attribute CacheMode to LOCAL | main org.jboss.cache.PropertyConfigurator - setting attribute ClusterName to TreeCache-Cluster | main org.jboss.cache.PropertyConfigurator - Invoking setter method: public void org.jboss.cache.TreeCache.setClusterConfig(org.w3c.dom.Element) with parameter "[config: null]" of type class weblogic.apache.xerces.dom.DeferredElementImpl | main org.jboss.cache.TreeCache - setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.2.3;mcast_port=45566;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD(down_thread=true;shun=true;up_thread=true):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false) | main org.jboss.cache.PropertyConfigurator - Invoking setter method: public void org.jboss.cache.TreeCache.setSyncReplTimeout(long) with parameter "10000" of type class java.lang.Long | main org.jboss.cache.PropertyConfigurator - Invoking setter method: public void org.jboss.cache.TreeCache.setLockAcquisitionTimeout(long) with parameter "15000" of type class java.lang.Long | main org.jboss.cache.PropertyConfigurator - getSubElementObject(): element object. Does not exist for config | main org.jboss.cache.PropertyConfigurator - setting attribute EvictionPolicyClass to | main org.jboss.cache.PropertyConfigurator - Invoking setter method: public void org.jboss.cache.TreeCache.setCacheLoaderConfiguration(org.w3c.dom.Element) with parameter "[config: null]" of type class weblogic.apache.xerces.dom.DeferredElementImpl | main org.jboss.cache.transaction.DummyTransactionManager - binding of DummyTransactionManager failed | javax.naming.OperationNotSupportedException: bind not allowed in a ReadOnlyContext; remaining name '/TransactionManager' | at weblogic.jndi.factories.java.ReadOnlyContextWrapper.newOperationNotSupportedException(ReadOnlyContextWrapper.java:145) | at weblogic.jndi.factories.java.ReadOnlyContextWrapper.newOperationNotSupportedException(ReadOnlyContextWrapper.java:161) | at weblogic.jndi.factories.java.ReadOnlyContextWrapper.bind(ReadOnlyContextWrapper.java:57) | at weblogic.jndi.internal.AbstractURLContext.bind(AbstractURLContext.java:45) | at javax.naming.InitialContext.bind(InitialContext.java:355) | at org.jboss.cache.transaction.DummyTransactionManager.getInstance(DummyTransactionManager.java:33) | at org.jboss.cache.DummyTransactionManagerLookup.getTransactionManager(DummyTransactionManagerLookup.java:17) | at org.jboss.cache.TreeCache._createService(TreeCache.java:1311) | at org.jboss.cache.TreeCache.createService(TreeCache.java:1297) | at com.citigroup.posmgmt.biz.JBossCacheImpl.startService(JBossCacheImpl.java:54) | at com.citigroup.posmgmt.biz.JBossCacheImpl.startup(JBossCacheImpl.java:91) | at weblogic.t3.srvr.StartupClassService.invokeStartup(StartupClassService.java:177) | at weblogic.t3.srvr.StartupClassService.invokeClass(StartupClassService.java:158) | at weblogic.t3.srvr.StartupClassService.access$000(StartupClassService.java:36) | at weblogic.t3.srvr.StartupClassService$1.run(StartupClassService.java:121) | at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) | at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) | at weblogic.t3.srvr.StartupClassService.invokeStartupClass(StartupClassService.java:116) | at weblogic.t3.srvr.PostDeploymentStartupService.resume(PostDeploymentStartupService.java:63) | at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136) | at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965) | at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360) | at weblogic.Server.main(Server.java:32) | main org.jboss.cache.loader.AsyncCacheLoader - setConfig {location=/tmp/cacheStore} | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - Configuring cache loader with location = /tmp/cacheStore | main org.jboss.cache.TreeCache - Not using an EvictionPolicy | main org.jboss.cache.factories.InterceptorChainFactory - interceptor chain is: | class org.jboss.cache.interceptors.CallInterceptor | class org.jboss.cache.interceptors.OptimisticNodeInterceptor | class org.jboss.cache.interceptors.OptimisticCreateIfNotExistsInterceptor | class org.jboss.cache.interceptors.OptimisticValidatorInterceptor | class org.jboss.cache.interceptors.OptimisticLockingInterceptor | class org.jboss.cache.interceptors.CacheStoreInterceptor | class org.jboss.cache.interceptors.CacheLoaderInterceptor | class org.jboss.cache.interceptors.TxInterceptor | class org.jboss.cache.interceptors.CacheMgmtInterceptor | main org.jboss.cache.TreeCache - cache mode is local, will not create the channel | main org.jboss.cache.loader.AsyncCacheLoader - Async cache loader starting: org.jboss.cache.loader.AsyncExtendedCacheLoader at 5e25f3 delegate=[JdbmCacheLoader locationStr=/tmp/cacheStore size=-1] processor=null stopped=true batchSize=100 pollWait=100 returnOld=true asyncPut=true queue.capacity()=10000 queue.peek()=null | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - Starting JdbmCacheLoader instance. | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - JdbmCacheLoader located as 131100 | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - JDBM database /tmp/cacheStore/TreeCache-Cluster opened with 11134 entries | AsyncCacheLoader-1 org.jboss.cache.loader.AsyncCacheLoader - run0 | main org.jboss.cache.loader.CacheLoaderManager - preloading transient state from cache loader org.jboss.cache.loader.AsyncExtendedCacheLoader at 5e25f3 delegate=[JdbmCacheLoader locationStr=/tmp/cacheStore size=11134] processor=TQ t=Thread[AsyncCacheLoader-1,5,main] stopped=false batchSize=100 pollWait=100 returnOld=true asyncPut=true queue.capacity()=10000 queue.peek()=null | main org.jboss.cache.loader.CacheLoaderManager - preloading /loanet | main org.jboss.cache.interceptors.TxInterceptor - (null) call on method [_get(/loanet, bla, true)] | main org.jboss.cache.interceptors.TxInterceptor - Creating transaction for thread Thread[main,5,main] | main org.jboss.cache.interceptors.TxInterceptor - local transaction exists - registering global tx if not present for Thread[main,5,main] | main org.jboss.cache.interceptors.TxInterceptor - Associated gtx in txTable is null | main org.jboss.cache.TreeCache - created new GTX: GlobalTransaction::1, local TX=org.jboss.cache.transaction.DummyTransaction at 562791 | main org.jboss.cache.interceptors.TxInterceptor - Registering sync handler for tx org.jboss.cache.transaction.DummyTransaction at 562791, gtx GlobalTransaction::1 | main org.jboss.cache.transaction.DummyTransaction - registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 562791, handlers=[] | main org.jboss.cache.interceptors.TxInterceptor - registering for TX completion: SynchronizationHandler(TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::1, tx=org.jboss.cache.transaction.DummyTransaction at 562791)) | main org.jboss.cache.interceptors.CacheLoaderInterceptor - invoke _get(/loanet, bla, true) | main org.jboss.cache.interceptors.CacheLoaderInterceptor - load element /loanet mustLoad=true | main org.jboss.cache.interceptors.CacheLoaderInterceptor - loadNode /loanet | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - get /loanet map={600001466=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 4a1bda, 600003106=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 16a93b8, 600007439=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 838a2, 600010984=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 1be40d5, 600007195=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 19261de, 600006550=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 157566d, 600003453=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at eb203b, 600005005=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 911fb5, 600006685=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 1b8b5cd, 600006145=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 1a7d9e7, 600004544=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at d2ee5d, 600004711=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 1f568f, 600002342=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 16c02df, 600002640=com.citigroup.posmgmt.vo.LoaNetActivityTbEx at 30803a, 600 | ....... | [-- More data info for the node --] | | main org.jboss.cache.interceptors.CacheLoaderInterceptor - nodeExists true | main org.jboss.cache.Node - created child: fqn=/loanet | main org.jboss.cache.interceptors.CacheStoreInterceptor - CacheStoreInterceptor called with meth _get(/loanet, bla, true) | main org.jboss.cache.interceptors.CacheStoreInterceptor - transactional so don't put stuff in the cloader yet. | main org.jboss.cache.transaction.DummyTransaction - processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 562791, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::1, tx=org.jboss.cache.transaction.DummyTransaction at 562791)] | main org.jboss.cache.interceptors.TxInterceptor - Running beforeCompletion on gtx GlobalTransaction::1 | main org.jboss.cache.interceptors.TxInterceptor - No modifications in this tx. Skipping beforeCompletion() | main org.jboss.cache.transaction.DummyTransaction - processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 562791, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::1, tx=org.jboss.cache.transaction.DummyTransaction at 562791)] | main org.jboss.cache.interceptors.TxInterceptor - calling aftercompletion for GlobalTransaction::1 | main org.jboss.cache.interceptors.TxInterceptor - Running commit phase. One phase? false | main org.jboss.cache.interceptors.TxInterceptor - running commit for GlobalTransaction::1 | main org.jboss.cache.interceptors.CacheLoaderInterceptor - invoke commit(GlobalTransaction::1) | main org.jboss.cache.interceptors.CacheStoreInterceptor - CacheStoreInterceptor called with meth commit(GlobalTransaction::1) | main org.jboss.cache.interceptors.CacheStoreInterceptor - transactional so don't put stuff in the cloader yet. | main org.jboss.cache.interceptors.CacheStoreInterceptor - Commit called with no modifications; ignoring. | main org.jboss.cache.interceptors.OptimisticValidatorInterceptor - commiting validated changes | main org.jboss.cache.interceptors.OptimisticValidatorInterceptor - Merging node /loanet not necessary since the node is not dirty | main org.jboss.cache.interceptors.TxInterceptor - Finished local commit/rollback method for GlobalTransaction::1 | main org.jboss.cache.interceptors.TxInterceptor - Finished commit phase | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - getChildrenNames /loanet | main org.jboss.cache.loader.CacheLoaderManager - preloading transient state from cache loader was successful (in 7169 milliseconds) | main org.jboss.cache.interceptors.TxInterceptor - (null) call on method [_get(/loanet, bla, true)] | main org.jboss.cache.interceptors.TxInterceptor - Creating transaction for thread Thread[main,5,main] | main org.jboss.cache.interceptors.TxInterceptor - local transaction exists - registering global tx if not present for Thread[main,5,main] | main org.jboss.cache.interceptors.TxInterceptor - Associated gtx in txTable is null | main org.jboss.cache.TreeCache - created new GTX: GlobalTransaction::2, local TX=org.jboss.cache.transaction.DummyTransaction at 58ba4b | main org.jboss.cache.interceptors.TxInterceptor - Registering sync handler for tx org.jboss.cache.transaction.DummyTransaction at 58ba4b, gtx GlobalTransaction::2 | main org.jboss.cache.transaction.DummyTransaction - registering synchronization handler tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b, handlers=[] | main org.jboss.cache.interceptors.TxInterceptor - registering for TX completion: SynchronizationHandler(TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::2, tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b)) | main org.jboss.cache.interceptors.CacheLoaderInterceptor - invoke _get(/loanet, bla, true) | main org.jboss.cache.interceptors.CacheLoaderInterceptor - load element /loanet mustLoad=false | main org.jboss.cache.interceptors.CacheStoreInterceptor - CacheStoreInterceptor called with meth _get(/loanet, bla, true) | main org.jboss.cache.interceptors.CacheStoreInterceptor - transactional so don't put stuff in the cloader yet. | main org.jboss.cache.transaction.DummyTransaction - processing beforeCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::2, tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b)] | main org.jboss.cache.interceptors.TxInterceptor - Running beforeCompletion on gtx GlobalTransaction::2 | main org.jboss.cache.interceptors.TxInterceptor - No modifications in this tx. Skipping beforeCompletion() | main org.jboss.cache.transaction.DummyTransaction - processing afterCompletion for tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b, handlers=[TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction::2, tx=org.jboss.cache.transaction.DummyTransaction at 58ba4b)] | main org.jboss.cache.interceptors.TxInterceptor - calling aftercompletion for GlobalTransaction::2 | main org.jboss.cache.interceptors.TxInterceptor - Running commit phase. One phase? false | main org.jboss.cache.interceptors.TxInterceptor - running commit for GlobalTransaction::2 | main org.jboss.cache.interceptors.CacheLoaderInterceptor - invoke commit(GlobalTransaction::2) | main org.jboss.cache.interceptors.CacheStoreInterceptor - CacheStoreInterceptor called with meth commit(GlobalTransaction::2) | main org.jboss.cache.interceptors.CacheStoreInterceptor - transactional so don't put stuff in the cloader yet. | main org.jboss.cache.interceptors.CacheStoreInterceptor - Commit called with no modifications; ignoring. | main org.jboss.cache.interceptors.OptimisticValidatorInterceptor - commiting validated changes | main org.jboss.cache.interceptors.OptimisticValidatorInterceptor - Merging node /loanet not necessary since the node is not dirty | main org.jboss.cache.interceptors.TxInterceptor - Finished local commit/rollback method for GlobalTransaction::2 | main org.jboss.cache.interceptors.TxInterceptor - Finished commit phase | main org.jboss.cache.loader.jdbm.JdbmCacheLoader - getChildrenNames /loanet I have also tried to change to JBossTransactionManagerLookup but it totally not working (I am using Weblogic 8.1 AS). Did I miss anything in the configuration ?? Thanks a lot ! -Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957930#3957930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957930 From do-not-reply at jboss.com Thu Jul 13 20:12:11 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Thu, 13 Jul 2006 20:12:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss Portal 2.4.0 CR2 released Message-ID: <31094997.1152835931100.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Portal 2.4.0 CR2 was released today and is available for download from Sourceforge at http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509&release_id=415694 Thanks, Rali Genova JBoss QA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957931#3957931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957931 From do-not-reply at jboss.com Thu Jul 13 20:20:49 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 13 Jul 2006 20:20:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History Message-ID: <18651103.1152836449542.JavaMail.jboss@colo-br-02.atl.jboss.com> Problem solved. The problem was apparently that I had no jbpmContext.close() operation, so although everything was executing properly, no commit was ever done on the SQL transactions performed on the context. However, this begs another question, which is directly applicable to my code that I posted earlier in this thread. What if I want to perform more than one jbpmContext.save() operation, and I want the first save operation committed prior to the next one being committed? If the only way to commit is using the close() method, do I have to close() the jbpmContext and then recreate another one? Thanks... Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957932#3957932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957932 From do-not-reply at jboss.com Thu Jul 13 20:37:32 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 20:37:32 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Application folder outside JBoss Message-ID: <31415229.1152837452882.JavaMail.jboss@colo-br-02.atl.jboss.com> In Tomcat it is given in server.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957933#3957933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957933 From do-not-reply at jboss.com Thu Jul 13 20:38:54 2006 From: do-not-reply at jboss.com (saravanag) Date: Thu, 13 Jul 2006 20:38:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Application folder outside JBoss Message-ID: <5601904.1152837534346.JavaMail.jboss@colo-br-02.atl.jboss.com> Context path=docBase="/export/home/user/webhome/" debug="0" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957934#3957934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957934 From do-not-reply at jboss.com Thu Jul 13 20:43:20 2006 From: do-not-reply at jboss.com (richmitc) Date: Thu, 13 Jul 2006 20:43:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Theme No Selection Leads to Null Pointer Selection Message-ID: <14983058.1152837800721.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to JBoss. I recently downloaded Portal 2.4CR1 and installed it on Fedora Core 5. I was experimenting with the various theme selections. After trying each of the other four, I tried "No Selection". Now I get a HTTP 500 error with a Null Pointer Exception no matter where I go. I'll try to figure out Hibernate and see if I can reset it. Maybe. Or perhaps, I'll just reinstall from scratch since I haven't done much yet. Anyway, if someone has a quick-and-dirty to fix this, I would appreciate it. Thanks. Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957936#3957936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957936 From do-not-reply at jboss.com Thu Jul 13 20:49:17 2006 From: do-not-reply at jboss.com (mauhawk) Date: Thu, 13 Jul 2006 20:49:17 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Deploying with JBoss rules Message-ID: <31087613.1152838157490.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to deploy an EAR which contains two WARs and some utility JARs containing drools specific classes. These utility jars are included in the classpath for the WARs through the manifest file. However, during execution, the server throws an error saying : java.lang.NoSuchMethodError: org.eclipse.jdt.internal.compiler.CompilationResult.getProblems(). The funny thing is that this error does not arise when the utility jars containing drools are placed within the WEB-INF/lib folder of the WARs. Another way to avoid the error is to add -Ddrools.compiler=JANINO as a command line switch for JBoss server. Though I have a way of making my application work, I just wanted to know the reason behind this peculiar behavior. I do realize that this may be occuring due to mismatch in the JDT compiler that JBoss and Drools. I just want to be sure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957937#3957937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957937 From do-not-reply at jboss.com Thu Jul 13 21:07:37 2006 From: do-not-reply at jboss.com (blipsman) Date: Thu, 13 Jul 2006 21:07:37 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with ClassNotFoundException while trying to add Message-ID: <7540782.1152839257659.JavaMail.jboss@colo-br-02.atl.jboss.com> jaikiran, thanks a lot man for the help! I really appreciate it. it does work if I use Logger from log4j ( as you have suggested !! ). but if I used wrapper around Logger, it did not work. Really strange, but anyway, thanks a lot for your help!! I am struggling with last problem regarding SMTPAppender. This is the code I am trying to run directlly inside my init method. | Handler eHandler = new Handler("test"); | SMTPAppender smtpAppender = new SMTPAppender(); | | smtpAppender.setLayout(new SimpleLayout()); | smtpAppender.setThreshold(ExtraLevel.toExtraLevel(props.getProperty(EMAIL_THRESHOLD))); | smtpAppender.setSMTPHost(props.getProperty(SMTP_SERVER)); | smtpAppender.setTo(props.getProperty(EMAIL_RECIPIENT)); | smtpAppender.setFrom(props.getProperty(EMAIL_FROM)); | smtpAppender.setSubject(props.getProperty(EMAIL_SUBJECT)); | smtpAppender.activateOptions(); | eHandler.addAppender(smtpAppender); | handlers.add(eHandler); | | Unfortunatelly, I get the error | java.lang.NoClassDefFoundError: javax/mail/internet/AddressException | when I try to execute the line | SMTPAppender smtpAppender = new SMTPAppender(); | I put into the JBOSS_HOME/server/default/lib 2 jars mail.jar and activation.jar, but I still get this error. Any idea ...? Really strange, if I try to execute the same code outside of jboss all works just fine. Cheers jaikiran, and thanks again for sharing experience!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957938#3957938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957938 From do-not-reply at jboss.com Thu Jul 13 21:10:15 2006 From: do-not-reply at jboss.com (spec_third) Date: Thu, 13 Jul 2006 21:10:15 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to set Character Encoding correctly? Message-ID: <11773374.1152839415115.JavaMail.jboss@colo-br-02.atl.jboss.com> b.jsp?names=?? ?? is chinese character. Anybody help? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957939#3957939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957939 From do-not-reply at jboss.com Thu Jul 13 21:35:05 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 13 Jul 2006 21:35:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <21187517.1152840905390.JavaMail.jboss@colo-br-02.atl.jboss.com> Done. It should be delivered shortly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957940#3957940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957940 From do-not-reply at jboss.com Thu Jul 13 21:58:28 2006 From: do-not-reply at jboss.com (warrenc6) Date: Thu, 13 Jul 2006 21:58:28 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding data to session after login Message-ID: <5011222.1152842308848.JavaMail.jboss@colo-br-02.atl.jboss.com> Glad that it works. Point to note however, from a code design perspective you are assuming that your loginmodule is on the same machine/process as jboss-tomcat. For arguments sake say loginmodule was a proxy to another loginmodule on another platform. You totally lose portability. That is not C.O.O.L. ! Bad PolicyContext bad PolicyContext If PolicyContext was a cat, I wouldn't feed it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957941#3957941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957941 From do-not-reply at jboss.com Thu Jul 13 22:19:53 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 13 Jul 2006 22:19:53 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <4791186.1152843593410.JavaMail.jboss@colo-br-02.atl.jboss.com> The best way is to start from the Wiki jgroups layer troubleshooting to make sure mcast is working properly first. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957942#3957942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957942 From do-not-reply at jboss.com Thu Jul 13 22:29:07 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 13 Jul 2006 22:29:07 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Changing Ports (two nodes, same machine, 4.0.4) Message-ID: <21419671.1152844147295.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmn.. don't know what is your problem specifically. I can check out the cvs and build just fine. I have opened up a Jira: http://jira.jboss.com/jira/browse/JBAS-3394 for this. To work around your problem, like I said, you can also use multi-IP approach (-b host) to bind your multiple AS instances. Thanks, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957943#3957943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957943 From do-not-reply at jboss.com Thu Jul 13 22:31:09 2006 From: do-not-reply at jboss.com (warrenc6) Date: Thu, 13 Jul 2006 22:31:09 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ClassNotFoundExceptions Message-ID: <18955007.1152844269769.JavaMail.jboss@colo-br-02.atl.jboss.com> i went into /opt/jboss/server/default/deploy/jbossweb-tomcat55.sar and modified context.xml and added the allowLinking View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957944#3957944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957944 From do-not-reply at jboss.com Thu Jul 13 22:32:30 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 13 Jul 2006 22:32:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <31055664.1152844350631.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe I missed the solution, but I saw where other people are having a similar problem and I didn't see the solution: 17:44:58,661 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Cannot get value for expression '#{rolleruserSelector.pageTitle}' It Builds, it deploys, but doesn't run. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957945#3957945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957945 From do-not-reply at jboss.com Thu Jul 13 22:45:42 2006 From: do-not-reply at jboss.com (ssgemail) Date: Thu, 13 Jul 2006 22:45:42 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - HILO, oracle9i Message-ID: <3943138.1152845142904.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using the jboss4.0.3 , and datasource from sqlserver to oracle9i now, when I deploy the oracle-ds.xml, ejb is ok! But it show me the errors as following: someone help? --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: ??????? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957946#3957946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957946 From chanche3 at yahoo.com Thu Jul 13 22:47:17 2006 From: chanche3 at yahoo.com (cs) Date: Thu, 13 Jul 2006 19:47:17 -0700 (PDT) Subject: [jboss-user] unsubscribe In-Reply-To: <10104953.1152772254766.JavaMail.jboss@colo-br-02.atl.jboss.com> Message-ID: <20060714024717.36186.qmail@web32707.mail.mud.yahoo.com> unsubscribe --- jaikiran wrote: > anonymous wrote : WEB-INF/conf/tm.xml > > This means that your tm.xml file is in > youWar.war/WEB-INF/conf directory. So your code > should look like: > > InputStream inputStream = > this.getClass().getClassLoader().getResourceAsStream("WEB-INF/conf/tm.xml"); > | > | InputStreamReader inputStreamReader = new > InputStreamReader(inputStream) ; > | > | thidPartyLib.someAPI(inputStreamReader); > > > > View the original post : > http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957632#3957632 > > Reply to the post : > http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957632 > _______________________________________________ > jboss-user mailing list > jboss-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/jboss-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From do-not-reply at jboss.com Thu Jul 13 23:01:06 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Thu, 13 Jul 2006 23:01:06 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Can any one give me a complete and valid example of CMP Message-ID: <10941459.1152846067014.JavaMail.jboss@colo-br-02.atl.jboss.com> o,o,.........,any one ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957947#3957947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957947 From do-not-reply at jboss.com Thu Jul 13 23:28:22 2006 From: do-not-reply at jboss.com (jliptak) Date: Thu, 13 Jul 2006 23:28:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD Message-ID: <31870449.1152847702774.JavaMail.jboss@colo-br-02.atl.jboss.com> I did that and the classpath passed into the taskdef is correct. It's not being processed by the task as far as I can tell. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957949#3957949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957949 From do-not-reply at jboss.com Thu Jul 13 23:30:22 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 13 Jul 2006 23:30:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - For help on myfaces/tiles + fileUpload Message-ID: <11590110.1152847822988.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, It seems I got some class loading problem on Seam. I followed Seam/wiki/fileupload instruction to add the file uploading function (which worked on JBoss, JSF/EJB3), and put the tomahawk.jar in ear file. However, when I deployed my application to JBoss 4.0.4.GA, the myfaces/tiles cannot find its struts tiles class. If I put the tomahawk.jar in WEB/lib, the org/apache/commons/fileupload/disk/DiskFileItem could not be found. I really have no idea. Any help will be very appreciated. Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957950#3957950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957950 From do-not-reply at jboss.com Thu Jul 13 23:33:41 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 13 Jul 2006 23:33:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <19365831.1152848021266.JavaMail.jboss@colo-br-02.atl.jboss.com> "jason_rency" wrote : "fkaufmes" wrote : My problem with the Seam tool is just told, I get the error message: | | | | ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | | | javax.faces.el.EvaluationException: Cannot get value for expression '#{catererEditor.new}' | | | | I have no many-to-many mappings. The database structure is very simple for testing. Is there a possible solution for this problem? | | try to use the latest version of jboss ejb3 jars (jobss-ejb3 latest download) instead of the jars in ejb3.deploy in the server is still the old version. OK I got the latest (I built jboss-4.0.5.CR1 from CVS) and used the libraries from there. Got the search page showing up now. But, it fails when I hit the Find button with: javax.faces.FacesException: Error calling action method of component with id _id2:_id18 org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) javax.faces.component.UICommand.broadcast(UICommand.java:106) javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957951#3957951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957951 From do-not-reply at jboss.com Thu Jul 13 23:35:18 2006 From: do-not-reply at jboss.com (BOBSINM) Date: Thu, 13 Jul 2006 23:35:18 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Failing to boot JBoss Message-ID: <7831270.1152848118047.JavaMail.jboss@colo-br-02.atl.jboss.com> Please help as i am stumped. I have used JBoss quite a while ago a little and just re-installed the latest versions on a new computer (Windows XP). I have Sun Java JDK version 1.5.0 Update 7 and JBoss AS 4.0.4.GA. This is the error I am geting... Is the double slash '\\' in the JBOSS_HOME & CLASSPATH ok...this looks a little out of place? =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: C:\Program Files\JBoss\jboss-4.0.4.GA\bin\\.. . JAVA: C:\Java\jdk1.5.0_07\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: C:\Java\jdk1.5.0_07\lib\tools.jar;C:\Program Files\JBoss\jboss-4.0. 4.GA\bin\\run.jar . =============================================================================== . Failed to boot JBoss: java.lang.ClassNotFoundException: org.jboss.system.server.ServerImpl 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.system.server.ServerLoader.createServer(ServerLoader.java:2 85) at org.jboss.system.server.ServerLoader.load(ServerLoader.java:267) at org.jboss.Main.boot(Main.java:194) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:595) Press any key to continue . . . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957952#3957952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957952 From do-not-reply at jboss.com Fri Jul 14 00:06:48 2006 From: do-not-reply at jboss.com (gfzhang) Date: Fri, 14 Jul 2006 00:06:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - How to redirect to the start page in a conversation when the Message-ID: <7522889.1152850008996.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Suppose a wizard compose a few pages and these pages are organized in a conversaction. In an intermediate page of the wizard and at this place the Http session is timed out. At this time if a user click a button on the page, I want to display the first page of the wizard or display a warning page, then redirect to the first page. Does Seam have built-in mechanism to support it? I made a sample. I restart JBoss server to simulate the time out (I even removed the tmp and work directory). When the http session is timed out, I found that the page is alway redisplayed when I click any button on an intermediate page. It should diplay the next page as in the normal case, but it does not. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957953#3957953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957953 From do-not-reply at jboss.com Fri Jul 14 00:10:08 2006 From: do-not-reply at jboss.com (gcowsar) Date: Fri, 14 Jul 2006 00:10:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <32001532.1152850208406.JavaMail.jboss@colo-br-02.atl.jboss.com> More info: it doesn't always cause an exception, but it never returns any query results. If I put % in all the fields or a * in all the fields then it doesn't cause an exception. This is probably closer to the root cause (SQL Error: -227): 20:58:00,121 INFO [STDOUT] Hibernate: select top ? rolleruser0_.id as id58_, rolleruser0_.locale as locale58_, rolleruser0_.username as username58_, rolleruser0_.passphrase as passphrase58_, rolleruser0_.fullname as fullname58_, rolleruser0_.emailaddress as emailadd6_58_, rolleruser0_.datecreated as datecrea7_58_, rolleruser0_.timezone as timezone58_, rolleruser0_.isenabled as isenabled58_ from roller.rolleruser rolleruser0_ where (rolleruser0_.username like ?) and (rolleruser0_.fullname like ?) and (rolleruser0_.locale like ?) and (rolleruser0_.timezone like ?) and rolleruser0_.isenabled=? 20:58:00,124 WARN [JDBCExceptionReporter] SQL Error: -227, SQLState: 3F000 20:58:00,124 ERROR [JDBCExceptionReporter] invalid schema name: ROLLER in statement [select top ? rolleruser0_.id as id58_, rolleruser0_.locale as locale58_, rolleruser0_.username as username58_, rolleruser0_.passphrase as passphrase58_, rolleruser0_.fullname as fullname58_, rolleruser0_.emailaddress as emailadd6_58_, rolleruser0_.datecreated as datecrea7_58_, rolleruser0_.timezone as timezone58_, rolleruser0_.isenabled as isenabled58_ from roller.rolleruser rolleruser0_ where (rolle ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957954#3957954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957954 From do-not-reply at jboss.com Fri Jul 14 00:17:51 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 00:17:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect to the start page in a conversation when Message-ID: <19907983.1152850671670.JavaMail.jboss@colo-br-02.atl.jboss.com> Use @Conversational in the current release, or no-conversation-view-id in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957956#3957956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957956 From do-not-reply at jboss.com Fri Jul 14 00:22:34 2006 From: do-not-reply at jboss.com (warrenc6) Date: Fri, 14 Jul 2006 00:22:34 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ClassNotFoundExceptions Message-ID: <25298898.1152850954203.JavaMail.jboss@colo-br-02.atl.jboss.com> Arrgh, this is lame. do I have to escape xml? here is the line Context cookies="true" crossContext="true" allowLinking="true" > View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957957#3957957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957957 From do-not-reply at jboss.com Fri Jul 14 00:25:09 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Fri, 14 Jul 2006 00:25:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: How to upgrade JBOSS AS? Message-ID: <24986737.1152851110019.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Refer the following links. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossReleaseNotes http://wiki.jboss.org/wiki/Wiki.jsp?page=404UpgradeIssues This may help you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957958#3957958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957958 From do-not-reply at jboss.com Fri Jul 14 00:27:22 2006 From: do-not-reply at jboss.com (bennyckp) Date: Fri, 14 Jul 2006 00:27:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <5870692.1152851242963.JavaMail.jboss@colo-br-02.atl.jboss.com> Please refer the scenario and the config in my first post. In the jmx-console, I invoke the getPackageClassLoaders() of the loader with the param=ClassA. It returns like that anonymous wrote : [org.jboss.mx.loading.LoadMgr3$PkgClassLoader at bb365d | {ucl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 4129e3 | { url=null ,addedOrder=0} order=1}, | | org.jboss.mx.loading.LoadMgr3$PkgClassLoader at ee37f2 | {ucl=org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62 | { url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb.jar ,addedOrder=41} order=2}, | | org.jboss.mx.loading.LoadMgr3$PkgClassLoader at 19b07e9 | {ucl=org.jboss.mx.loading.UnifiedClassLoader3 at 24fe6b | { url=null ,addedOrder=0} order=3} | ] My question is: 1. What is the meaning of "url=null"? 2. Does the "order=1", "order=2"... determine the class loading order? 3. ClassA is loaded from mdb.jar instead of the app.war. But why? FYI, I can see the package of ClassA (say com.XXX) only appears once in the ucl log. anonymous wrote : ... | [48531,UnifiedClassLoader,main] New jmx UCL with url file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar | [48531,RepositoryClassLoader,main] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1da669c, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62{ url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar ,addedOrder=0} | [48531,RepositoryClassLoader,main] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1da669c, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62{ url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar ,addedOrder=0} | [48531,UnifiedLoaderRepository3,main] Adding org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62{ url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar ,addedOrder=0} | [48547,ClassLoaderUtils,main] Indexed pkg: com.XXX, UCL: org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62{ url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar ,addedOrder=41} | [48547,ClassLoaderUtils,main] Indexed pkg: com.XXX.YYY, UCL: org.jboss.mx.loading.UnifiedClassLoader3 at 10cf62{ url=file:/C:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp44379mdb-1.3.jar ,addedOrder=41} | ... It's difficult to post the class loading log here as it is too large. Could you suggest what thing I should post here? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957959#3957959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957959 From do-not-reply at jboss.com Fri Jul 14 00:39:48 2006 From: do-not-reply at jboss.com (ashwin1984) Date: Fri, 14 Jul 2006 00:39:48 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - how to run a java program on JBoss Message-ID: <1271146.1152851988275.JavaMail.jboss@colo-br-02.atl.jboss.com> i am totally new to JBoss....i have a java program that listens on a comm port for incoming messages....how to deploy this program on the JBoss Application server...it should continously run listening on the comm port View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957960#3957960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957960 From do-not-reply at jboss.com Fri Jul 14 00:40:33 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 14 Jul 2006 00:40:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Possible to write a rollback SeamTest? Message-ID: <15354313.1152852033377.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm. No, actually, that's not the problem. I mean, I was sticking that @Resource tag into a SeamTest instance. Why should E-EJB inject into a SeamTest? Nothing else does.... What I wanted was the equivalent of "Component.getInstance("sessionContext")" for the EJB session context, that I could use from within the SeamTest. That would seem cleaner than your getTransactionManager() suggestion. But lacking that, I did this instead: @Name("testAction") | @Scope(ScopeType.CONVERSATION) | public class TestAction implements Serializable | { | private static final Logger log = Logger.getLogger(TestAction.class); | | @In(create=true) | private transient EntityManager entityManager; | | @Resource | private SessionContext ctx; | | /** | * Alter the passed-in BlogPost, then flush. If failure, then setRollbackOnly and | * rethrow. | */ | public void alterBlogPost (BlogPost bp) { | try { | bp.setTitle("newTestTitle"); | | entityManager.flush(); | } catch (RuntimeException e) { | log.debug("Could not flush changed blog post", e); | ctx.setRollbackOnly(); // this line turns out to be optional!!! | throw e; | } | } | } Then changed my test to: testAction = (TestAction)Component.getInstance("testAction", true); | BlogPost prior1 = priorBlogPosts.get(0); | | try { | testAction.alterBlogPost(prior1); | | // should throw a RuntimeException, so shouldn't get here | assert false; | } catch (RuntimeException e) { | log.debug("Caught expected exception", e); | } Works great :-) The sessionContext gets @Resource-injected into my TestAction, which flushes, blows up, and does setRollbackOnly; then it rethrows to my test case, which catches and ignores the exception. Result: my test case passes just fine, and I avoid having to use your hacky workaround. But thanks for mentioning it anyway, you never know when you might need something like that :-D The WEIRD thing, though, is that even if you leave out the ctx.setRollbackOnly() line, the action still rolls back when the runtime exception gets thrown out of it! Is this expected? It surprised me, but actually it's kind of cool. Is this standard Seam behavior or standard EJB3 behavior, or something else? You never know what a test will teach you.... Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957961#3957961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957961 From do-not-reply at jboss.com Fri Jul 14 00:52:48 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 14 Jul 2006 00:52:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam web services (RESTful ones)? Message-ID: <30307023.1152852768622.JavaMail.jboss@colo-br-02.atl.jboss.com> Are there any recommended best practices for constructing web services based on Seam? It would be very nice to get a sample REST-like web services app... right now the only path into Seam seems to be through JSF. It looks like you could write a sort of XML-based web service with Facelets, but I don't think it's exactly best practice... or is it? Anyway, are there any examples of using Seam without JSF per se, or is that not the best way to think about constructing REST-y web services with Seam? For instance, if I wanted to build something like the Flickr REST API http://www.flickr.com/services/api/response.rest.html with Seam, should I do it via Facelets for now? In an adjacent thread, Gavin says his priorities are AJAX + JSF and CRUD app generation. (I don't understand the app-generation focus, but maybe I'm just not worried enough by Rails ;-) Is anyone building Seam-based web services in the meantime? Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957962#3957962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957962 From do-not-reply at jboss.com Fri Jul 14 00:54:54 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 00:54:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Possible to write a rollback SeamTest? Message-ID: <30355738.1152852894889.JavaMail.jboss@colo-br-02.atl.jboss.com> There is no EJB sessioncontext outside the scope of an EJB ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957963#3957963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957963 From do-not-reply at jboss.com Fri Jul 14 00:58:06 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 14 Jul 2006 00:58:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <32679217.1152853086061.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm, my bad, this has been discussed already: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83603 So either wait for JAX-WS (which is not what I want for something cheap and RESTy like the Flickr API), or just roll my own servlet with filter around Seam. I'll probably go down the latter route once I get there. Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957964#3957964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957964 From do-not-reply at jboss.com Fri Jul 14 00:59:15 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 00:59:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <23657665.1152853155217.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been doing a LOT of thinking about restful webservices with Seam, and I'm actually pretty happy with facelets as a way to produce XML (I already implemented an RSS feed in the blog example). JSF as the request processing layer is also OK, I guess, but it feels kinda wierd to use JSF this way (you aren't using any of the JSF lifecycle). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957965#3957965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957965 From do-not-reply at jboss.com Fri Jul 14 01:00:01 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 01:00:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <16032369.1152853201806.JavaMail.jboss@colo-br-02.atl.jboss.com> Note that Seam-WS and Seam-REST are two entirely seperate things.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957966#3957966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957966 From do-not-reply at jboss.com Fri Jul 14 01:08:41 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 14 Jul 2006 01:08:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Possible to write a rollback SeamTest? Message-ID: <1679553.1152853721209.JavaMail.jboss@colo-br-02.atl.jboss.com> Yer, once I realized that, the TestAction strategy was obvious :-) What about the auto-rollback? Is that standard EJB3? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957967#3957967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957967 From do-not-reply at jboss.com Fri Jul 14 01:11:19 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 14 Jul 2006 01:11:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <1998195.1152853879726.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : I'm actually pretty happy with facelets as a way to produce XML (I already implemented an RSS feed in the blog example). Ah cool, I missed that. Will check it out. Not sure how it works to do POSTs with XML in them to a JSF app, but that's probably just my inner newbie talking... doesn't seem like it should be a problem. anonymous wrote : JSF as the request processing layer is also OK, I guess, but it feels kinda wierd to use JSF this way (you aren't using any of the JSF lifecycle). That seems like a feature, not a bug :-) If you don't care about big chunks of the lifecycle, stub it right out! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957968#3957968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957968 From do-not-reply at jboss.com Fri Jul 14 01:17:19 2006 From: do-not-reply at jboss.com (gfzhang) Date: Fri, 14 Jul 2006 01:17:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect to the start page in a conversation when Message-ID: <27930032.1152854239453.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your quick reply. But it does not work. I add some pages in the numberGuess sample. The followng is the page flow xml file: | | | | .... | | | | | | | | | | | | | | | | | | | | | | In "toInterval" page, I restart JBoss server, then click Done button. I hope this would cause the numberGuess page to be displayed, but not. The toInterval page is redisplayed. The following is the show method: | @Conversational(ifNotBegunOutcome="back") | public void show() | { | System.out.println( "i am called" ) ; | } | | even if i use @Conversational(ifNotBegunOutcome="/numberGuess.jsp") it still won't work. What is wrong in my code? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957969#3957969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957969 From do-not-reply at jboss.com Fri Jul 14 01:30:01 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Fri, 14 Jul 2006 01:30:01 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <14732875.1152855001888.JavaMail.jboss@colo-br-02.atl.jboss.com> genman: Sorry, I missed the trace in the log file: main org.jboss.cache.loader.jdbm.JdbmCacheLoader - JDBM database /tmp/cacheStore/TreeCache-Cluster opened with 11134 entries. Does that mean all the 11134 entries had been Physically loaded in memory? It seemed only take 7 seconds -- was the time reasonable ? The reason for the doubt was also because the GET performance SLOWED down pretty much after I restart the Cache. The test case was as following: 1. In a for loop, right after I PUT an entry, I call a GET on the same node with same key to make sure the entry saved successfully. 2. In step 1 each GET took average time about 5-10 ms. 3. After PUT about 11K entries (diff key/value under one node). I stop the service and restart the Cache (currently it hosted on Weblogic AS so I acturally restarted the Weblogic AS). And I hope the cache would pre-load the 11K entries in memory from the persistent file in the startup. 4. Then I GET the entry again. But this time it was much slower -- each took about 70-100ms. So it seemed to me the object may not really found in the memory. Could you please take a look for the setting and log, and check whether I missed anything ? Besides, in our current business requirement, we actually need to write/read a lot data to cache in a Burst mode, so we pretty concern about the cache write/read performance but not care too much how it persist. When write to cache most of the data are new, and when read from the cache if the data not in Cache memory it won't be in the file either (We prefer cache all data in mem without expiration). Could you please suggest the best configuration for it ? Also considering the tree structure, if I store the data under multiple node instead one, will that improve the read/write performance ? Thank you very much ! -Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957970#3957970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957970 From do-not-reply at jboss.com Fri Jul 14 02:00:35 2006 From: do-not-reply at jboss.com (beep_beep) Date: Fri, 14 Jul 2006 02:00:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - SfSB singleton per session Message-ID: <9157371.1152856835883.JavaMail.jboss@colo-br-02.atl.jboss.com> suppose I have several session beans , all these beans should call(have access to) one particular SfSB and perform operations on it. They should call the same instance of the SfSB all time during session. They can't receive it as parameter. They should lookup it or get injected. But lookup always bring proxy to new instance. How can I get the same instance??? (Like EJB2 find() but without all ejb2 junk). I thought about static singleton, but this guy will work to entire JVM not only serve for session. I need it per session. Is it possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957971#3957971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957971 From do-not-reply at jboss.com Fri Jul 14 02:22:23 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 02:22:23 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with ClassNotFoundException while trying to add Message-ID: <28904994.1152858143792.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I put into the JBOSS_HOME/server/default/lib 2 jars mail.jar and activation.jar, but I still get this error Placing the mail.jar in the server/default/lib should have worked. Can you run this command and post the output: jar -tf mail.jar This will display the contents of the mail.jar. Just wanted to make sure that this jar file has no problems. I tried out that sample code you had posted(with a few minor changes) and it worked fine, both in jboss and as a standalone program. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957972#3957972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957972 From do-not-reply at jboss.com Fri Jul 14 02:23:47 2006 From: do-not-reply at jboss.com (kazam) Date: Fri, 14 Jul 2006 02:23:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Using JBPM_IDENTITY Component with custom datasource or sche Message-ID: <23167806.1152858227528.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I want to use the jbpm identity component model to point to my applications datasource. I am newbie to hibernate so I am not exactly sure if I am doing it correctly. I have a user and a role table and have created a group and memberships table in my schema. I have taken out the identity components mappings from hibernate.cfg.xml and created another hibernate configuration file and placed in those mappings there, with connection properties for my database. However, I am having trouble connecting to two oracle schema's at the same time, one for JBPM and the other for my application with JBPM_ID tables. Any ideas or directions are much appreciated. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957973#3957973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957973 From do-not-reply at jboss.com Fri Jul 14 02:32:51 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Fri, 14 Jul 2006 02:32:51 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <7265516.1152858771529.JavaMail.jboss@colo-br-02.atl.jboss.com> I got it to work yesterday, and will provide an example in the codebase probably based on the booking store demo. The simplest way is to put facelets and ajax4jsf libraries into server/default/deploy/jbossweb-xxx/jsf-libs (Of course remove them from your war file) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957974#3957974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957974 From do-not-reply at jboss.com Fri Jul 14 02:40:48 2006 From: do-not-reply at jboss.com (free1000) Date: Fri, 14 Jul 2006 02:40:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Interportlet Communication (Again) Message-ID: <33135763.1152859248770.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Also - I downloaded the HelloPortletIPC example, but I want to stick with JSR168 compliance. I think thats where the problem lies as IPC is outside the scope of JSR168... this reference might be of interest, though I havent studied it enough to decide if its more practical than using the JBoss features, then rewiring at a later date if an app moves to another portal platform. I think its interesting that the writer suggests at the end that future standards are more likely to be like the extensions offered by portal vendors (including JBoss) than her own more JSR168 agnostic approach. http://www.doc.ic.ac.uk/~mo197/portlets/thesis/ipc.php View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957975#3957975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957975 From do-not-reply at jboss.com Fri Jul 14 02:47:00 2006 From: do-not-reply at jboss.com (free1000) Date: Fri, 14 Jul 2006 02:47:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.0.4-CR1 W2k CMS start problem Message-ID: <21150104.1152859620791.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Ray, I'll give it a whirl, meanwhile that bundled version is useful to meet my needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957976#3957976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957976 From do-not-reply at jboss.com Fri Jul 14 02:48:17 2006 From: do-not-reply at jboss.com (abl) Date: Fri, 14 Jul 2006 02:48:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: using a set-method on an entity bean when in the web lay Message-ID: <31768519.1152859697018.JavaMail.jboss@colo-br-02.atl.jboss.com> no, it should not. use em.merge() to save changes of a detached entity back to db. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957977#3957977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957977 From do-not-reply at jboss.com Fri Jul 14 02:52:01 2006 From: do-not-reply at jboss.com (Agustinbelmonte) Date: Fri, 14 Jul 2006 02:52:01 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - jBoss machine requeriments Message-ID: <16705031.1152859921613.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi. I?d like to install jBoss on a machine for testing for next future migrating from BEA weblogic. I need the system requeriments for requesting a machine to do it. Please help me my email for answers is memoloamimismo at gmail.com . Lot of thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957978#3957978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957978 From do-not-reply at jboss.com Fri Jul 14 02:53:40 2006 From: do-not-reply at jboss.com (Agustinbelmonte) Date: Fri, 14 Jul 2006 02:53:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jBoss machine requeriments Message-ID: <23730710.1152860020381.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi. I?d like to install jBoss on a machine for testing for next future migrating from BEA weblogic. I need the system requeriments for requesting a machine to do it. Please help me my email for answers is memoloamimismo at gmail.com . Lot of thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957979#3957979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957979 From do-not-reply at jboss.com Fri Jul 14 02:55:09 2006 From: do-not-reply at jboss.com (henryc) Date: Fri, 14 Jul 2006 02:55:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Running JBoss as a windows service Message-ID: <19141307.1152860109686.JavaMail.jboss@colo-br-02.atl.jboss.com> I solved my problem by removing the quotes from the parameter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957980#3957980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957980 From do-not-reply at jboss.com Fri Jul 14 03:04:27 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Fri, 14 Jul 2006 03:04:27 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: jBoss machine requeriments Message-ID: <18514872.1152860667720.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, The System Requirements to run JBoss can be found in the following link. http://jboss.org/index.html?module=bb&op=viewtopic&p=3952626 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957981#3957981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957981 From do-not-reply at jboss.com Fri Jul 14 03:06:40 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 03:06:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Why loading the class in EJB jar rather than the one in Message-ID: <2436949.1152860800250.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : FYI, I can see the package of ClassA (say com.XXX) only appears once in the ucl log. Just to make sure that the packaging of your app.war and mdb.jar is correct, can you run the following commands from the prompt and post the output: jar -tf app.war jar -tf mdb.jar This will display the contents of your archive. Alternately, if your application is not a huge one and if mailing your application is not a issue, you can mail me the same to jai_forums2005 at yahoo.co.in. Let me try it out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957982#3957982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957982 From do-not-reply at jboss.com Fri Jul 14 03:12:28 2006 From: do-not-reply at jboss.com (michalzel) Date: Fri, 14 Jul 2006 03:12:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: exception while processing @Timeout method Message-ID: <8755337.1152861148422.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not sure if I understood you correctly. Does it mean that every time I create timer event in my @Timeout method, and the method fails the transaction is rolled back and so all timer events created in it? BTW I created BEAN managed EJB and it works correctly if I rollback after exception manualy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957983#3957983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957983 From do-not-reply at jboss.com Fri Jul 14 03:14:29 2006 From: do-not-reply at jboss.com (brain101) Date: Fri, 14 Jul 2006 03:14:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - setting portal property Message-ID: <12747143.1152861269884.JavaMail.jboss@colo-br-02.atl.jboss.com> is there a possiblity to set a portal property (e.g. in *portal-object.xml) which can be then read as an attribute by all portlets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957984#3957984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957984 From do-not-reply at jboss.com Fri Jul 14 03:25:05 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Fri, 14 Jul 2006 03:25:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Are transactions used by default or do i HAVE to write trans Message-ID: <16724205.1152861905971.JavaMail.jboss@colo-br-02.atl.jboss.com> >From reading the transaction section of the trailblazer on ejb 3 (http://trailblazer.demo.jboss.com/EJB3Trail/services/transaction/index.html) I get the impression that transactions are always enabled, and that I don't have to write any code or use any transaction annotations at all, and still know that transactions are used. Am I right, or am I wrong? It is the following words that make me assume this (from the trailblazer):anonymous wrote : If a method does not have a transaction annotation, it is assigned the default transaction property REQUIRED by the EJB 3.0 container. But it also says: anonymous wrote : In EJB 3.0, the EntityManager must run in a transactional context to ensure the database integrity. So, does that mean, in my session bean, that I have to obtain the transaction manager from the entity manager and use it to ensure that transactions are used? Like in the following example: @PersistenceContext | private EntityManager em; | ... | EntityTransaction tx = em.getTransaction(); | tx.begin(); | | CD cd = new CD( "The Beatles", "Rubber Soul" ); | cd.addTrack( new Track( 220, "Norwegian Wood" ) ); | cd.addTrack( new Track( 180, "Drive My Car" ) ); | em.persist( cd ); | | cd = new CD( "Deep Purple", "Machine Head" ); | cd.addTrack( new Track( 200, "Smoke On The Water" ) ); | cd.addTrack( new Track( 480, "Lazy" ) ); | em.persist( cd ) ; | | tx.commit(); | em.close(); | Or could I simply remove the 3 lines using tx as well as remove all transation annotations from the entity bean, and still be sure that transactions are used? Another wondering about the code above; if I only created one CD (and not two as above), would it be even relevant to talk about transactions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957985#3957985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957985 From do-not-reply at jboss.com Fri Jul 14 03:26:47 2006 From: do-not-reply at jboss.com (kivanc) Date: Fri, 14 Jul 2006 03:26:47 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - 1000 connections Message-ID: <24010457.1152862007530.JavaMail.jboss@colo-br-02.atl.jboss.com> We do need your help! Was anybody of you able to establish 1000 or more connections on a JBOSS Server? We established 800 connections. However, after a certain period of time a couple of connections were lost. Our configuration: Applications Server Pentium IV, 2.8GHZ, 2,5GB RAM Windows 2003 Server SP1 JBOSS Server Pentium IV, 3,0GHZ, 4,0 GB RAM Windows 2003 x64 Server We are looking forward for your answers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957986#3957986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957986 From do-not-reply at jboss.com Fri Jul 14 03:35:17 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 03:35:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webforms and more info Message-ID: <1601837.1152862517163.JavaMail.jboss@colo-br-02.atl.jboss.com> Mauricio, No worries about your english, I do understand you ;-) "Mauricio" wrote : As you note, we can buy a commercial application I have to point out that I did not talk about commercial applications, only about the web technology of your choice... I think that for your needs JBoss Seam is definitely the way to go. It provides a nice integration with jBPM and it simplifies web development a lot. Look in particular to some of their jBPM integration examples. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957987#3957987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957987 From do-not-reply at jboss.com Fri Jul 14 03:55:04 2006 From: do-not-reply at jboss.com (heinrich) Date: Fri, 14 Jul 2006 03:55:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - JBoss creates wrong SQL query Message-ID: <22214015.1152863704980.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, im running into some trouble using jboss_4.0.4GA. I'm using the EntityManager's method "find" to get an entity filled with data from a prefilled database (Postgres 7.4). The problem is, that the nested associations does not contain the right data that is in database. There is some data, but not the one that should be there. I have the following Entities: The Entity MainDrug contains a Set of AdditionalSubstances. | @javax.persistence.Entity | @javax.persistence.Table(name = "main_drugs", schema="prescription") | public class MainDrug implements Serializable { | | private java.lang.String drugId; | | @javax.persistence.Column(name = "drugid") | public java.lang.String getDrugId() { | return drugId; | } | | /** | */ | public void setDrugId(java.lang.String dugId) { | this.drugId = dugId; | } | | /** Association. */ | private java.util.Set additionalSubstances; | | @javax.persistence.OneToMany(cascade = javax.persistence.CascadeType.ALL, fetch = javax.persistence.FetchType.EAGER) | @javax.persistence.JoinColumn(name = "id") | public java.util.Set getAdditionalSubstances() { | return additionalSubstances; | } | | /** | */ | public void setAdditionalSubstances(java.util.Set additionalSubstances) { | this.additionalSubstances = additionalSubstances; | } | } The Entity AdditionalSubstances is made of a composed PrimaryKey containing an id and two foreign keys. Each AdditionalSubstance has an attached Substance object. | @javax.persistence.Entity | @javax.persistence.Table(name = "additional_substances", schema="prescription") | public class AdditionalSubstance implements Serializable { | | | /** Primary key. */ | private AdditionalSubstancePK primaryKey; | | | public AdditionalSubstance() { | primaryKey = new AdditionalSubstancePK(); | } | | @javax.persistence.EmbeddedId | public AdditionalSubstancePK getPrimaryKey() { | return primaryKey; | } | | /** | */ | public void setPrimaryKey(AdditionalSubstancePK primaryKey) { | this.primaryKey = primaryKey; | } | | | | /** Association. */ | private Substance substance; | | /** | * Get the substance. | * | * @return The substance. | */ | @javax.persistence.ManyToOne(fetch = javax.persistence.FetchType.EAGER) | @javax.persistence.JoinColumn(name = "substances_id", insertable = false, updatable = false) | public Substance getSubstance() { | return substance; | } | | /** | * Set the substance. | * | * @param substance The substance. | */ | public void setSubstance(Substance substance) { | this.substance = substance; | } | | /** | * Primary key class for additional_substances. | * | */ | @javax.persistence.Embeddable | public static class AdditionalSubstancePK implements Serializable { | | /** | * | */ | private static final long serialVersionUID = 1L; | /** PK field. */ | private java.lang.Integer id; | | /** | * Get the id. | * | * @return The id. | */ | | @Id | @GeneratedValue(strategy=GenerationType.IDENTITY) | @Column(name = "id") | public Integer getId() { | return id; | } | | /** | * Set the id. | * | * @param id The id. | */ | public void setId(Integer id) { | this.id = id; | } | | | /** PK field. */ | private java.lang.Integer mainDrugId; | | /** | * Get the mainDrugId. | * | * @return The mainDrugId. | */ | @javax.persistence.Column(name = "main_drugs_id") | public java.lang.Integer getMainDrugId() { | return mainDrugId; | } | | /** | * Set the mainDrugId. | * | * @param mainDrugId The mainDrugId. | */ | public void setMainDrugId(java.lang.Integer maindrugId) { | this.mainDrugId = maindrugId; | } | | /** PK field. */ | private java.lang.Integer substancesId; | | /** | * Get the substancesId. | * | * @return The substancesId. | */ | @javax.persistence.Column(name = "substances_id") | public java.lang.Integer getSubstancesId() { | return substancesId; | } | | /** | * Set the substancesId. | * | * @param substancesId The substancesId. | */ | public void setSubstancesId(java.lang.Integer substancesId) { | this.substancesId = substancesId; | } | } | } And finaly the Substance Entity: | @javax.persistence.Entity | @javax.persistence.Table(name = "substances", schema="prescription") | public class Substance extends GECAMedEntityBean implements Serializable { | | /** | * | */ | private static final long serialVersionUID = 1L; | | private Integer id; | | @Id | @GeneratedValue(strategy=GenerationType.IDENTITY) | @Column(name = "id") | public Integer getId() | { | return this.id; | } | | public void setId (Integer id) | { | this.id = id; | } | | /** Regular field. */ | private java.lang.String name; | | /** | * name of the substance | * | * Get the name. | * | * @return The name. | */ | @javax.persistence.Column(name = "name") | public java.lang.String getName() { | return name; | } | | /** | * Set the name. | * | * @param name The name. | */ | public void setName(java.lang.String name) { | this.name = name; | } | } | The code in the SessionBean looks like this: | MainDrug drug = em.find(MainDrug.class, id); | The MainDrug object is correct. But the nested Substances are not the ones that are linked in the database. They are just some nearly "random" Substances. Always the same for a MainDrug, but not the right one. Is there something wrong in my AdditionalSubstances? I checked every part of the application. The EntityManager gets the correct id to search for. Anyone an idea? Thanks Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957989#3957989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957989 From do-not-reply at jboss.com Fri Jul 14 04:04:07 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Fri, 14 Jul 2006 04:04:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client access to Entity beans Message-ID: <21027558.1152864247818.JavaMail.jboss@colo-br-02.atl.jboss.com> "scott.stark at jboss.org" wrote : There are several examples in the tutorial: | http://docs.jboss.org/ejb3/app-server/tutorial/index.html I'm sorry Scott but would you mind being more specific? I've already read through many of those tutorials but I can't find any in which Client.java connects to an Entity bean. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957991#3957991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957991 From do-not-reply at jboss.com Fri Jul 14 04:09:17 2006 From: do-not-reply at jboss.com (jason_rency) Date: Fri, 14 Jul 2006 04:09:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: call seam session bean from J2SE/J2ME application Message-ID: <7560793.1152864557317.JavaMail.jboss@colo-br-02.atl.jboss.com> that would be enough! what I need is only a simple function. thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957993#3957993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957993 From do-not-reply at jboss.com Fri Jul 14 04:11:02 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 04:11:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM customers Message-ID: <4547364.1152864662730.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately with our most important customers, we have an NDA. However, if you search around, you'll find quite some info. Have a look at this place to start with. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957994#3957994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957994 From do-not-reply at jboss.com Fri Jul 14 04:17:10 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 04:17:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: swimlane mapping to sub-processes (JBPM-572?) Message-ID: <14413653.1152865030293.JavaMail.jboss@colo-br-02.atl.jboss.com> Simon, You are correct that the feature request is exactly what you describe. You can always reference this thread from the issue, or vote for it if you badly need it. In the meantime, you could provide the same behaviour using process variables that get copied into the launched process and are used to do the proper swimlane assignments e.g. while leaving the start state of the subprocess... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957995#3957995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957995 From do-not-reply at jboss.com Fri Jul 14 04:21:18 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 04:21:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <7630396.1152865278535.JavaMail.jboss@colo-br-02.atl.jboss.com> James, Merging 3.2 with a 3.1.1 starter's kit is not so easy if not impossible... The directory structure in the 3.2 branch has completely changed, as did the webapp. We expect a first alpha release of 3.2 end of the month. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957996#3957996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957996 From do-not-reply at jboss.com Fri Jul 14 04:22:29 2006 From: do-not-reply at jboss.com (amit_verma22) Date: Fri, 14 Jul 2006 04:22:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problem with business days for duedate attribute of task Message-ID: <24966856.1152865349061.JavaMail.jboss@colo-br-02.atl.jboss.com> I changed the add method of DayPart class. I changed the way "dayPartEndDate" object was being created as shown below. Date dayPartEndDate = new Date(date.getTime() + duration.milliseconds); has been changed to Date dayPartEndDate = new Date(date.getTime() + millisecondsInThisDayPart); The variable "millisecondsInThisDayPart" represents the duration of dayPart not duration.milliseconds, which represent the entire duration scheduled for the task View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957998#3957998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957998 From do-not-reply at jboss.com Fri Jul 14 04:34:10 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 04:34:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Regarding Identity Management Component Message-ID: <26859559.1152866050705.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm as usual, babelfish messes up: 'healthy farming verstand'. And if you specify 'gezond boerenverstand' it says: 'healthy farmer verse cog' :-) But indeed, it is not based on any standard. It is there for convenience and if you need something else (more or less powerful) you can easily change it... In the future we will align the identity component with the one used in JBoss Portal. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958002#3958002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958002 From do-not-reply at jboss.com Fri Jul 14 04:49:21 2006 From: do-not-reply at jboss.com (atheba) Date: Fri, 14 Jul 2006 04:49:21 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: connect FORM authentication and DatabaseServerLoginModul Message-ID: <8769214.1152866961569.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem.... When I use the DatabaseLogin Module with BASIC authentication it all works fine. But as soon as I switch to FORM authentication I get the 10:38:15,015 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found I have the following method called by FACES to handle the login... public String login(){ boolean loginflag=false; try{ CallbackHandler cbh = new ABILWebCallBackHandler(idNumber, password, randomcheck); LoginContext lc = new LoginContext("ABILWeb", cbh); lc.login(); Subject sub = lc.getSubject(); return "success"; }catch(Exception e){ return "failed"; } } My call back handler populates teh username and password in the callbacks[]... Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958004#3958004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958004 From do-not-reply at jboss.com Fri Jul 14 04:50:54 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 04:50:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues Message-ID: <25285738.1152867054893.JavaMail.jboss@colo-br-02.atl.jboss.com> James, We are always interested in taking back your enhancements if you e.g. worked around this hard coded reference to Hypersonic. Also, if the info is not secret, why not publish the Oracle migration instructions on the jBPM wiki as well? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958005#3958005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958005 From do-not-reply at jboss.com Fri Jul 14 04:52:24 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 04:52:24 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: 1000 connections Message-ID: <1287669.1152867144464.JavaMail.jboss@colo-br-02.atl.jboss.com> I havent tried it myself. anonymous wrote : However, after a certain period of time a couple of connections were lost. Can you explain, what you mean by lost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958007#3958007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958007 From do-not-reply at jboss.com Fri Jul 14 04:53:09 2006 From: do-not-reply at jboss.com (floefliep) Date: Fri, 14 Jul 2006 04:53:09 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache/Hibernate/JBossAS optimistic locking problem Message-ID: <25538006.1152867189515.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for my late reply, been too busy yesterday. anonymous wrote : So I am missing something. You mean to tell me that TreeCache.remove() *fails* if the node does not exist even when you explicitly specify "fail silently"? I needed the "protection check" in OptimisitcTreeCache.remove() because there I cannot explcitly set the fail-silectly mode... Yes, that I is what I mean. Actually, ironically, I didn't pay attention to why you wrote that there, I just read it didn't work well, so I thought you were referring to a known bug and I used the "protected" remove call and it worked. FYI, the stack: System Thread [RMI TCP Connection(9)-192.168.1.72] (Suspended (exception NullPointerException)) OptimisticNodeInterceptor.invoke(MethodCall) line: 68 OptimisticCreateIfNotExistsInterceptor(Interceptor).invoke(MethodCall) line: 68 OptimisticCreateIfNotExistsInterceptor.invoke(MethodCall) line: 69 OptimisticValidatorInterceptor(Interceptor).invoke(MethodCall) line: 68 OptimisticValidatorInterceptor.invoke(MethodCall) line: 75 OptimisticLockingInterceptor(Interceptor).invoke(MethodCall) line: 68 OptimisticLockingInterceptor.invoke(MethodCall) line: 122 TxInterceptor(Interceptor).invoke(MethodCall) line: 68 TxInterceptor.handleNonTxMethod(MethodCall) line: 345 TxInterceptor.invoke(MethodCall) line: 156 CacheMgmtInterceptor(Interceptor).invoke(MethodCall) line: 68 CacheMgmtInterceptor.invoke(MethodCall) line: 183 TreeCache.invokeMethod(MethodCall) line: 5517 TreeCache.remove(Fqn, Object) line: 3741 TreeCache.remove(Fqn, Object, Option) line: 3296 OptimisticTreeCache.writeLoad(Object, Object, Object) line: 77 TransactionalCache.put(Object, Object, long, Object, Comparator, boolean) line: 55 TwoPhaseLoad.initializeEntity(Object, boolean, SessionImplementor, PreLoadEvent, PostLoadEvent) line: 156 CriteriaLoader(Loader).initializeEntitiesAndCollections(List, Object, SessionImplementor, boolean) line: 842 CriteriaLoader(Loader).doQuery(SessionImplementor, QueryParameters, boolean) line: 717 CriteriaLoader(Loader).doQueryAndInitializeNonLazyCollections(SessionImplementor, QueryParameters, boolean) line: 224 CriteriaLoader(Loader).doList(SessionImplementor, QueryParameters) line: 2145 CriteriaLoader(Loader).listUsingQueryCache(SessionImplementor, QueryParameters, Set, Type[]) line: 2061 CriteriaLoader(Loader).list(SessionImplementor, QueryParameters, Set, Type[]) line: 2021 CriteriaLoader.list(SessionImplementor) line: 95 SessionImpl.list(CriteriaImpl) line: 1562 CriteriaImpl.list() line: 283 anonymous wrote : anonymous wrote : Exceptions all over the place Other than whats discussed above? What are they? I was only silently hoping for an exception-free first run with the new OptmisticTreeCache, but then I again got exceptions. Admittedly, it's no big deal, but hence my "oh-no-not-again" feeling and I figured it was time to swap the debugger for a drink ;) Well, you have the exception above, and the CacheException I now get once in a while, as mentioned above. It seems there is a problem with unexpected version increases/checks on the parent nodes, but I still haven't had the time to look into this. I think it must have to do something with the same parent nodes being touched originating from different child accesses; FYI the stack (I replaced package/object names I'm not allowed to disclose): Caused by: org.jboss.cache.CacheException: DataNode [/com/myapp/hibernate] version org.hibernate.cache.OptimisticTreeCache$DataVersionAdapter at 4f5983 [current=16, previous=16, src=SingleTableEntityPersister(com.myapp.hibernate.ObjectB)] is newer than workspace node org.hibernate.cache.OptimisticTreeCache$DataVersionAdapter at 1ad108d [current=1, previous=1, src=SingleTableEntityPersister(com.myapp.hibernate.ObjectA)] at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:127) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:101) at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:66) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:95) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:796) at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1061) ... 73 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958008#3958008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958008 From do-not-reply at jboss.com Fri Jul 14 05:01:57 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 05:01:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Thread Stalling on Scheduled Job Message-ID: <14189511.1152867717991.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : how to find out what's stalling the thread? Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958010#3958010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958010 From do-not-reply at jboss.com Fri Jul 14 05:03:52 2006 From: do-not-reply at jboss.com (petekol) Date: Fri, 14 Jul 2006 05:03:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @DataModel for a component problem Message-ID: <2035455.1152867832790.JavaMail.jboss@colo-br-02.atl.jboss.com> as my first seam sample appl i would like to create a CRUD component with parent/child (or many configurable children) functionality. If i use @DataModel in component the annotated property is not available on the page. I can access methods and other props of the component thought. It does work if i switch to NO compoent model and give bean a name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958011#3958011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958011 From do-not-reply at jboss.com Fri Jul 14 05:08:03 2006 From: do-not-reply at jboss.com (ramazanyich) Date: Fri, 14 Jul 2006 05:08:03 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <14857930.1152868083963.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded latest version from SVN and build it. Based on test case for JSR181EJB I modified my class file. I added annotation on my EJB bean class: @HandlerChain(file = "resource://config/ServerHandlers.xml", name = "SecureHandlerChain") during packaging of my JAR file I add config/ServerHandlers.xml file: | | | | | SecureHandlerChain | | WSSecurityHandlerInbound | org.jboss.ws.wsse.WSSecurityHandlerInbound | | | And now if I try to access it from webservices client without wsse:security I get : This service requires , which is missing. So it is fixed ! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958012#3958012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958012 From do-not-reply at jboss.com Fri Jul 14 05:09:11 2006 From: do-not-reply at jboss.com (hubertg) Date: Fri, 14 Jul 2006 05:09:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: default portal question ? Message-ID: <30312631.1152868151193.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, check out jboss-portal. sar/conf/data/default-object.xml here the default portal is declared: important is the empty and the | | | keep | | default | | | | layout.id | generic | | ... | it did not try by myself, but you could perhaps overwrite the pre-installed "default" portal with you own portal named "default". use overwrite hope, I could help. br, h View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958013#3958013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958013 From do-not-reply at jboss.com Fri Jul 14 05:11:44 2006 From: do-not-reply at jboss.com (hubertg) Date: Fri, 14 Jul 2006 05:11:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection Message-ID: <8864349.1152868304037.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, try to delete the portal's database, then restart jboss. This should reset all settings including the theme. br, h View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958014#3958014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958014 From do-not-reply at jboss.com Fri Jul 14 05:12:55 2006 From: do-not-reply at jboss.com (Terrazero) Date: Fri, 14 Jul 2006 05:12:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot create role and user in 2.4CR2 Message-ID: <30802617.1152868375772.JavaMail.jboss@colo-br-02.atl.jboss.com> I've the same problem, mysql 4 and jbportal 2.4cr2 boundled. Any help, thanks in adv, TZ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958016#3958016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958016 From do-not-reply at jboss.com Fri Jul 14 05:13:50 2006 From: do-not-reply at jboss.com (kivanc) Date: Fri, 14 Jul 2006 05:13:50 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: 1000 connections Message-ID: <23183746.1152868430677.JavaMail.jboss@colo-br-02.atl.jboss.com> After a certain period of time both a couple of applications running on the clients don?t change anymore and the corresponding processes on the application server disappear. The Jboss Server terminates some connections, however, we don?t know why. This problem occurs only when we start a lot of clients. If the number of clients isn?t so high (about 300 clients) we don't have any problem at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958017#3958017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958017 From do-not-reply at jboss.com Fri Jul 14 05:14:48 2006 From: do-not-reply at jboss.com (sacha.labourey@jboss.com) Date: Fri, 14 Jul 2006 05:14:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <5539410.1152868488050.JavaMail.jboss@colo-br-02.atl.jboss.com> where can I find a documentation for JBoss Portal that lists all available portlets, and for each, what they do, what can be configured, etc.? Without this, any attempt to build a simple portal is a hunt for information. Also, the names that appear in the porlet list of the admin view are not really meaningfull. Can we imagine that each portlet also has a real name and a description that we could display (i.e. additional meta-data), at least for OUR portlets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958018#3958018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958018 From do-not-reply at jboss.com Fri Jul 14 05:29:51 2006 From: do-not-reply at jboss.com (oranheim) Date: Fri, 14 Jul 2006 05:29:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Maven2 and Embeddable EJB3 Message-ID: <13434148.1152869391946.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to figure out what it takes to have the Embeddable EJB3 running in Maven2. I use JBoss 4.0.4 and Seam 1.0.1. I have turned to the Seam forum, but as my error seem to be releated to the EJB3 container I turn to the EJB3-user forum instead. You can read more about my issue here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86127 My resource configuration looks like this: | /src/main/resources/META-INF/dvd-ds.xml | /src/main/resources/META-INF/ejb-jar.xml | /src/main/resources/META-INF/persistence.xml | /src/main/resources/components.xml | /src/main/resources/mport.sql | /src/main/resources/seam.properties | | /src/test/resources/jboss-jms-beans.xml | /src/test/resources/seam.properties | /src/test/resources/default.persistence.properties | /src/test/resources/jndi.properties | /src/test/resources/security-beans.xml | /src/test/resources/ejb3-interceptors-aop.xml | /src/test/resources/log4j.xml | /src/test/resources/embedded-jboss-beans.xml | /src/test/resources/login-config.xml | /src/test/resources/testng.xml | Does the above listing look correct? Are my paths right. This error prone simply prohibits me to develop and test EJB3 beans. With Spring everything was so simple, but I want to back-port my whole project using JEE standards instead. Ove View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958019#3958019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958019 From do-not-reply at jboss.com Fri Jul 14 05:53:37 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 14 Jul 2006 05:53:37 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <28644378.1152870817635.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : | This service requires , which is missing | Yes, that happens when the client request isn't signed/encrypted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958022#3958022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958022 From do-not-reply at jboss.com Fri Jul 14 06:09:04 2006 From: do-not-reply at jboss.com (jcoffee) Date: Fri, 14 Jul 2006 06:09:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - No pooling for stateless session beans with JBoss 4.0.4 GA a Message-ID: <2235355.1152871744047.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we have an EJB 2.1 system and try to integrate an EJB 3 business component (EJB 3 SLSB as facade and EJB 3 POJO's for persistence). Eeach method call to the EJB 3 SLSB creates a new bean instance. We have a 'printout' with the object identity in the PostConstruct callback method. We call the method 1000 times and each call creates it's own instance. EJB 2 SLSB are pooled correctly - so only one bean was created for the 1000 calls. The creation/lookup of the EJB 3 SLSB is made by lookup the EJB 2 view of the EJB 3 bean, means: we use a LocalHome interface for EJB 3 too (for compatibility purposes only). Any suggestions? Regards Guido View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958023#3958023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958023 From do-not-reply at jboss.com Fri Jul 14 06:13:48 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 14 Jul 2006 06:13:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: jbossws 1.0.1GA sample not working Message-ID: <18260581.1152872028433.JavaMail.jboss@colo-br-02.atl.jboss.com> The com.ibm.wsdl.xml.WSDLWriterImpl maps Java encodings to xml encodings: | static | { | xmlEncodingMap.put(null, Constants.XML_DECL_DEFAULT); | xmlEncodingMap.put(System.getProperty("file.encoding"), | Constants.XML_DECL_DEFAULT); | xmlEncodingMap.put("UTF8", "UTF-8"); | xmlEncodingMap.put("UTF-16", "UTF-16"); | xmlEncodingMap.put("UnicodeBig", "UTF-16"); | xmlEncodingMap.put("UnicodeLittle", "UTF-16"); | xmlEncodingMap.put("ASCII", "US-ASCII"); | xmlEncodingMap.put("ISO8859_1", "ISO-8859-1"); | xmlEncodingMap.put("ISO8859_2", "ISO-8859-2"); | xmlEncodingMap.put("ISO8859_3", "ISO-8859-3"); | xmlEncodingMap.put("ISO8859_4", "ISO-8859-4"); | xmlEncodingMap.put("ISO8859_5", "ISO-8859-5"); | xmlEncodingMap.put("ISO8859_6", "ISO-8859-6"); | xmlEncodingMap.put("ISO8859_7", "ISO-8859-7"); | xmlEncodingMap.put("ISO8859_8", "ISO-8859-8"); | xmlEncodingMap.put("ISO8859_9", "ISO-8859-9"); | xmlEncodingMap.put("ISO8859_13", "ISO-8859-13"); | xmlEncodingMap.put("ISO8859_15_FDIS", "ISO-8859-15"); | xmlEncodingMap.put("GBK", "GBK"); | xmlEncodingMap.put("Big5", "Big5"); | } | For some reason unknown to me, it maps 'ISO8859_15_FDIS' but not 'ISO8859_15'. So i'd say either you go ahead and fix wsd4l, or you use ISO8859_15_FDIS as your system file encoding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958024#3958024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958024 From do-not-reply at jboss.com Fri Jul 14 06:29:32 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 06:29:32 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to Unsubscribe? - Please!! Message-ID: <4238633.1152872972109.JavaMail.jboss@colo-br-02.atl.jboss.com> Post this at: http://www.jboss.com/index.html?module=bb&op=viewforum&f=216 They will be able to help you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958025#3958025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958025 From do-not-reply at jboss.com Fri Jul 14 06:31:18 2006 From: do-not-reply at jboss.com (AshuDagr8) Date: Fri, 14 Jul 2006 06:31:18 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - classpath..!!! Message-ID: <4470662.1152873078270.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Forum, I am using java reflect API to create a instance of a class Class classDefinition = Class.forName(className); object = classDefinition.newInstance(); my War File structure MyApp.war | |--/WEB-INF/classes/p/sp/ssp/abc.class |--/WEB-INF/classes/p/sp/asp/efg.class i am creating a instance of a class efg in class abc.But during runtime i am promted with the exception "java.lang.ClassNotFoundException" while creating instance. Any Idea what may be wrong? Thanks--- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958026#3958026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958026 From do-not-reply at jboss.com Fri Jul 14 06:36:18 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 06:36:18 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: classpath..!!! Message-ID: <829515.1152873378026.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : i am creating a instance of a class efg in class abc Your code should look like: Class classDefinition = Class.forName("p.sp.ssp.abc"); | object = classDefinition.newInstance(); You will have to specify the entire package name and class name to create the Class. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958027#3958027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958027 From do-not-reply at jboss.com Fri Jul 14 06:37:45 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 06:37:45 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: classpath..!!! Message-ID: <30368870.1152873465790.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, i meant: Class classDefinition = Class.forName("p.sp.asp.efg"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958028#3958028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958028 From do-not-reply at jboss.com Fri Jul 14 06:58:11 2006 From: do-not-reply at jboss.com (mkumaran) Date: Fri, 14 Jul 2006 06:58:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Forum portlet error Message-ID: <4568756.1152874691533.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not able to deploy forums portlet in jboss porta v.2.4.0 CR1. Please provide the steps to make it work View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958032#3958032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958032 From do-not-reply at jboss.com Fri Jul 14 07:04:23 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 07:04:23 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Managed Connection Pools Message-ID: <32694779.1152875063183.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you tried using the max-pool-size setting on your datasource: 5 | 100 By default, i guess the max-pool-size is 20(not sure though) Here you will find the details: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources anonymous wrote : I get a new connection object when I call the init method of each of my servlets (there are about 20), that is the only connection object I use for that servlet (I pass it as a parameter to the various factory classes I use within the servlet to do database access). Is this really required to be done this way. Cant you create a new connection whenever you need it? If you are going by the approach you mention, then the Connection will be held by the servlet during its entire lifetime(i.e. until destroy() is called, where you can call Connection.close()). This would mean that the Connection will *NOT* be released till the servlet is destroyed. Ideally, you can lookup the datasource object in your init() method and maintain that datasource object through out the lifetime of the servlet. Then whenever an connection is required, use this datasource object and create a new connection. Something like: MyServlet.java: init() { | | DataSource ds = null; | String sourceName = ""; | | try | { | ctx = new InitialContext(); | | if(ctx == null ) | throw new NamingException("Error 'Db.getConnection' - No Context"); | | sourceName = this.getDbName(ctx); | | ds = (DataSource)ctx.lookup(sourceName); | } | catch (NamingException e) | { | MtrErr.writeExc(MtrErr.OTHER_SOURCE,this.getClass().toString(),"getConnection",e); | } | catch (Exception e) | { | MtrErr.writeExc(MtrErr.OTHER_SOURCE,this.getClass().toString(),"getConnection",e); | } | | | } | | | doGet() { | Connection conn = null; | try { | conn = this.ds.getConnection(); | //use this connection object | | } finally { | //Dont forget to close the connection | if (conn != null) { | conn.close(); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958034#3958034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958034 From do-not-reply at jboss.com Fri Jul 14 07:18:59 2006 From: do-not-reply at jboss.com (richmitc) Date: Fri, 14 Jul 2006 07:18:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection Message-ID: <30147541.1152875939885.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, thanks! Moving the whole data subdirectory out and restarting worked. Obviously, if I had somethng worth saving, this would not have been the right solution. I might yet need to figure out Hibernate. I'll post a bug report (as soon as I figure out how to do that). Thanks again. Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958037#3958037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958037 From do-not-reply at jboss.com Fri Jul 14 07:38:33 2006 From: do-not-reply at jboss.com (dlipski) Date: Fri, 14 Jul 2006 07:38:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Modeling simple process(tasks) Message-ID: <4396765.1152877113975.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using jBPM for few days, i've read whole documentation and i have problem with modeling very simple process. First short process description: Supplier creates order after that, order can be accepted or rejected by shop employee. But diffrent employees have different permissions: some can only accept ,some reject, others can do both. After accepting process go's to accepted state, after rejecting go's to rejected state. As i understand documentation permissions can be applied only to tasks so i have to create to tasks acceptOrder and rejectOrder and assign them to some task node for ex. orderCreated. This node should have two transitions: goToAccepted and goToRejected. Now it's very easy to get all user tasks (getTaskMgmtSession().findTaskInstances(#userId#)). But there is one problem how i can know witch transistion I should take after completing one of these tasks ? Of course in this simple process i know witch but it must be handcoded outside of workflow (in the client). How to model such cases ? How to link tasks with transistions witch should be taken after completing them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958039#3958039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958039 From do-not-reply at jboss.com Fri Jul 14 07:46:58 2006 From: do-not-reply at jboss.com (unibrew) Date: Fri, 14 Jul 2006 07:46:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Forum portlet error Message-ID: <5726324.1152877618062.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you getting JBPortal and JBForums from Portal's 2.4 cvs branch ? --------------------------- Ryszard Kozmik JBoss Forums Lead JBoss Labs Team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958040#3958040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958040 From do-not-reply at jboss.com Fri Jul 14 07:52:21 2006 From: do-not-reply at jboss.com (hlfsousa) Date: Fri, 14 Jul 2006 07:52:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: CMS NullPointerException due to hibernate.connection.dat Message-ID: <32046923.1152877941656.JavaMail.jboss@colo-br-02.atl.jboss.com> I found out that this is going on because when loading mapping for class CMSEntry all hibernate properties are null. I set them manually (when debugging), but another exception was raised later. Why would things crash for CMSEntry? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958041#3958041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958041 From do-not-reply at jboss.com Fri Jul 14 07:59:08 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 07:59:08 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Look-up ejb class getInterfaces shows my home interface, Message-ID: <6741955.1152878348623.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like the class is being packaged in more than one archive. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions Use the jmx-console method described in the link above, to try and figure out if that's the case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958042#3958042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958042 From do-not-reply at jboss.com Fri Jul 14 08:17:39 2006 From: do-not-reply at jboss.com (taras1984) Date: Fri, 14 Jul 2006 08:17:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - simple question Message-ID: <16764308.1152879459855.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have one simple question. When writing simple HelloWord application with EJB3, the @EJB annotation is used in application client to get reference to bean's interface -probably. My client for this application uses this annotation and it works fine but only when deployed and ran on Sun Server Application not on JBoss. In Jboss I have to use this code: InitialContext ctx = new InitialContext(); soldierRemote soldierOne = (soldierRemote)ctx.lookup("jbossSoldier/soldierBean/remote"); in SunAS "@EJB soldierRemote soldierOne" is fine. My assumption is that my client app. for SSA works because I execute it with appclient ( is this client container? ) and one for JBoss must have the additional code because it is a standalone application. Is that true?? If so: When writing standalone client for SSA, do I need a different code from that for JBoss ? How to execute application client with @EJB annotation for Jboss, how to run its client container ? Thx for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958043#3958043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958043 From do-not-reply at jboss.com Fri Jul 14 08:24:44 2006 From: do-not-reply at jboss.com (barddzen) Date: Fri, 14 Jul 2006 08:24:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <8419793.1152879884559.JavaMail.jboss@colo-br-02.atl.jboss.com> OK... The only thing I can assume from lack of responses is that this is a legit error in JBoss... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958044#3958044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958044 From do-not-reply at jboss.com Fri Jul 14 08:32:09 2006 From: do-not-reply at jboss.com (motorstock) Date: Fri, 14 Jul 2006 08:32:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webforms and more info Message-ID: <31794677.1152880329228.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Koen.... I appreciate your help Regards, Mauricio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958045#3958045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958045 From do-not-reply at jboss.com Fri Jul 14 08:36:00 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 08:36:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <29209026.1152880560625.JavaMail.jboss@colo-br-02.atl.jboss.com> "sacha.labourey at jboss.com" wrote : where can I find a documentation for JBoss Portal that lists all available portlets, and for each, what they do, what can be configured, etc.? We're not in the business of building portlets or promoting them. Whatever is in PortletSwap is whats available. We also leverage partners for our portlets. Admittedly, OOTB, we do not package much. PSWAP, needs to be refactored, as the portlets found there have to be modified to work with 2.4 (descriptors have changed). Maybe one day when I have time, that will actually happen. "sacha.labourey at jboss.com" wrote : | Also, the names that appear in the porlet list of the admin view are not really meaningfull. Can we imagine that each portlet also has a real name and a description that we could display (i.e. additional meta-data), at least for OUR portlets? The AdminUI was added to ease manageability. We understand its lacking in the usability area. Now with a dedicated resource, it should be addressed in the 2.6 release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958047#3958047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958047 From do-not-reply at jboss.com Fri Jul 14 08:37:20 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 08:37:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Blog for JBoss Portal Message-ID: <21174912.1152880640471.JavaMail.jboss@colo-br-02.atl.jboss.com> FYI... The listing of all portlets and "where to click" guide is the User Guide. Not the Quickstat Guide. I am working on the User Guide now, and it should be complete next week. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958048#3958048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958048 From do-not-reply at jboss.com Fri Jul 14 08:43:01 2006 From: do-not-reply at jboss.com (thkarcher) Date: Fri, 14 Jul 2006 08:43:01 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: Target'wstools' does not exist in this project Message-ID: <22149900.1152880981208.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I had the same problem, but ant -f jboss-build.xml wstool (note the missing 's') worked for me. And later on, the URL for accessing the webservice is wrong. It is http://localhost:8080/bankws-ejb/TellerBean?wsdl Regards, Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958050#3958050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958050 From do-not-reply at jboss.com Fri Jul 14 08:52:01 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 08:52:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <3334587.1152881521275.JavaMail.jboss@colo-br-02.atl.jboss.com> For one, your instances.xml is wrong: http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/xmldescriptors.html#d0e2447 Are there any errors on boot? Initial boot? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958051#3958051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958051 From do-not-reply at jboss.com Fri Jul 14 08:55:17 2006 From: do-not-reply at jboss.com (beep_beep) Date: Fri, 14 Jul 2006 08:55:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Saving objects for principal Message-ID: <25797368.1152881717114.JavaMail.jboss@colo-br-02.atl.jboss.com> Very interesting question, can someone help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958053#3958053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958053 From do-not-reply at jboss.com Fri Jul 14 08:58:51 2006 From: do-not-reply at jboss.com (barddzen) Date: Fri, 14 Jul 2006 08:58:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <2513373.1152881931522.JavaMail.jboss@colo-br-02.atl.jboss.com> How is it wrong? Remember, I submitted the first one, then the second on the request to change and both resulted in errors. I followed the directions and don't see the problem you see, could yoube more specific? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958054#3958054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958054 From do-not-reply at jboss.com Fri Jul 14 08:59:04 2006 From: do-not-reply at jboss.com (canders6) Date: Fri, 14 Jul 2006 08:59:04 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss 4.0.3 sp1 - Dropping Servlet Parameters Message-ID: <27166330.1152881944430.JavaMail.jboss@colo-br-02.atl.jboss.com> After doing some additional testing I've narrowed it down to a thread issue. It seems that once the load generates enough concurrent threads to hit the maxthread value the problem begins to appear. By upping the maxthread parameter for the 150 VU test (70 threads) I was able to get the problem to go away. I'm not trying to figure out how large to make the threads to get our 200 (currently testing 125 threads) and 250 VU tests to work. When we were testing this on BEA Weblogic Server 7.0 (SP5), we only needed 40 threads to handle our tests (150VU - 250 VU). I know that not all webservers behave the same, but so far I admit I'm a bit surprised by the amount of difference I'm seeing here with the thread behavior. While upping the thread count seems to "fix" the issue, this still sounds like some sort of defect to me. I would imagine that if all the threads are busy that they should be queing up until available threads become available. Each of our virtual users simulate end user activity and thus all of the users aren't busy all the time. There are definite peaks and valleys to the load. Anyways, as I continue the testing I'll post the results here as I have them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958055#3958055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958055 From do-not-reply at jboss.com Fri Jul 14 08:59:50 2006 From: do-not-reply at jboss.com (CasaDelNorte) Date: Fri, 14 Jul 2006 08:59:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Thread Stalling on Scheduled Job Message-ID: <30475394.1152881990214.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks - I'll give that a try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958056#3958056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958056 From do-not-reply at jboss.com Fri Jul 14 09:00:32 2006 From: do-not-reply at jboss.com (jarocin) Date: Fri, 14 Jul 2006 09:00:32 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Strange behavior of findByPrimaryKey Message-ID: <10328200.1152882032042.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a strange problem with CMP. Everythin is OK for a few hours after jboss restart, but then a method "A_Home.findByPrimaryKey" starts to return wrong objects, but not all are wrong. A_Local contain data from table A(primaryKey) and collection of S table elements. Relation between A and S is 1..n. As I mention above after few hours I get a correct data from table A and a S collection assigned to another primaryKey. Look at those logs: log 1: 670 SMS SLocal:1348 SLocal:1344 SLocal:1343 SLocal:1341 log 2: 669 AC SLocal:1348 SLocal:1344 SLocal:1343 SLocal:1341 first is ID(primaryKey), then name and S collection. As you can see I get the same S elements for two different ID. Does anyone know a solution or have any ideas how to solve this case? I already wrote to JBoss support but not anwser yet. I will pricciate for any answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958057#3958057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958057 From do-not-reply at jboss.com Fri Jul 14 09:02:55 2006 From: do-not-reply at jboss.com (jarocin) Date: Fri, 14 Jul 2006 09:02:55 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - findByPrimaryKey Message-ID: <7149561.1152882175122.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a strange problem with CMP. Everythin is OK for a few hours after jboss restart, but then a method "A_Home.findByPrimaryKey" starts to return wrong objects, but not all are wrong. A_Local contain data from table A(primaryKey) and collection of S table elements. Relation between A and S is 1..n. As I mention above after few hours I get a correct data from table A and a S collection assigned to another primaryKey. Look at those logs: log 1: 670 SMS SLocal:1348 SLocal:1344 SLocal:1343 SLocal:1341 log 2: 669 AC SLocal:1348 SLocal:1344 SLocal:1343 SLocal:1341 first is ID(primaryKey), then name and S collection. As you can see I get the same S elements for two different ID. Does anyone know a solution or have any ideas how to solve this case? I already wrote to JBoss support but not anwser yet. I will pricciate for any answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958058#3958058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958058 From do-not-reply at jboss.com Fri Jul 14 09:05:43 2006 From: do-not-reply at jboss.com (Hoagiex) Date: Fri, 14 Jul 2006 09:05:43 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate Inheritence: Reverse design concept problem. Message-ID: <6116980.1152882343176.JavaMail.jboss@colo-br-02.atl.jboss.com> I am currently using a class called Resource as a base class for all my object data that I want to have access definitions on in the form of ACLs. My problem is that my application consists of several modules, each with it's own set of subclasses to the resource class. My problem is that hibernate uses inverse inheritence logic when it comes to defining the table mappings, namely that the superclass is 'aware' of it's subclasses (defined in the xml file). Is it possible to define serveral seperate subclasses in different .jar files and map them as subclasses to the Resource class, with their own .xml persistence mappings, in a manner that when the entire .ear is deployed, the database is still a single 'whole'? In other words, is it possible to let the mappings be done by child classes rather then the superclass? ps. I want to map the superclass aswell, since it's ID reference is required to map the ACLs to. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958061#3958061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958061 From do-not-reply at jboss.com Fri Jul 14 09:15:16 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 09:15:16 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Failing to boot JBoss Message-ID: <17112142.1152882916888.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like jboss was not installed properly. The class that is missing (i.e. ServerImpl) should present in the C:\Program Files\JBoss\jboss-4.0.4.GA\lib\jboss-system.jar file. Doing a proper reinstall of jboss should solve this issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958062#3958062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958062 From do-not-reply at jboss.com Fri Jul 14 09:20:11 2006 From: do-not-reply at jboss.com (gus888) Date: Fri, 14 Jul 2006 09:20:11 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <22569659.1152883211386.JavaMail.jboss@colo-br-02.atl.jboss.com> That is great! Thank you so much, Thomas. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958063#3958063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958063 From do-not-reply at jboss.com Fri Jul 14 09:22:09 2006 From: do-not-reply at jboss.com (jayankandathil) Date: Fri, 14 Jul 2006 09:22:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 3.2.5 fails startup with -Xmx1536m Message-ID: <13908062.1152883329599.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks very much, Peter. - Jayan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958064#3958064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958064 From do-not-reply at jboss.com Fri Jul 14 09:24:51 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 09:24:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <18671921.1152883491509.JavaMail.jboss@colo-br-02.atl.jboss.com> Wrap your instance descriptor with | | Hi, i have a fresh install of JBoss AS and portal. When i try to log in thru portal using login portlet, i get the following error. Any idea why it could be happening? Please help! 09:25:00,691 ERROR [STDERR] javax.transaction.xa.XAException 09:25:00,691 ERROR [STDERR] at org.apache.jackrabbit.core.XASessionImpl.end( XASessionImpl.java:209) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.JCRCMS.execute( JCRCMS.java:477) 09:25:00,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native Method) 09:25:00,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(U nknown Source) 09:25:00,691 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(Unknown Source) 09:25:00,691 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Sourc e) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher. invoke(ReflectedDispatcher.java:155) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc ation.java:94) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor. invoke(AbstractInterceptor.java:133) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI nterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo ke(AbstractMBeanInvoker.java:264) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB eanServerImpl.java:659) 09:25:00,691 ERROR [STDERR] at org.jboss.mx.util.JMXInvocationHandler.invoke (JMXInvocationHandler.java:287) 09:25:00,691 ERROR [STDERR] at $Proxy137.execute(Unknown Source) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.core.cms.command.StreamConte ntCommand.execute(StreamContentCommand.java:92) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.core.command.ControllerComma nd.dispatch(ControllerCommand.java:78) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:140) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Even tBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,691 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Poli cyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:183) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Port alNodeInterceptor.invoke(PortalNodeInterceptor.java:61) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Navi gationInterceptor.invoke(NavigationInterceptor.java:58) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invoke(Invocation.java:175) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.CommandContext. execute(CommandContext.java:107) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.ExecutionContex t.execute(ExecutionContext.java:93) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.command.ExecutionContex t.execute(ExecutionContext.java:77) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.CoreController.handle(C oreController.java:190) 09:25:00,706 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native Method) 09:25:00,706 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(U nknown Source) 09:25:00,706 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(Unknown Source) 09:25:00,706 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Sourc e) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher. invoke(ReflectedDispatcher.java:155) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc ation.java:94) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor. invoke(AbstractInterceptor.java:133) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI nterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo ke(AbstractMBeanInvoker.java:264) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB eanServerImpl.java:659) 09:25:00,706 ERROR [STDERR] at org.jboss.mx.util.JMXInvocationHandler.invoke (JMXInvocationHandler.java:287) 09:25:00,706 ERROR [STDERR] at $Proxy135.handle(Unknown Source) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInvocation.disp atch(ServerInvocation.java:76) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:140) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.server.SubjectA ssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.server.PolicyAs sociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.aspects.server.Conten tTypeInterceptor.invoke(ContentTypeInterceptor.java:68) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.server.LocaleIn terceptor.invoke(LocaleInterceptor.java:69) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.server.UserInte rceptor.invoke(UserInterceptor.java:184) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.aspects.server.Sessio nInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.core.aspects.server.Transact ionInterceptor.invoke(TransactionInterceptor.java:75) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invoke(Invocation.java:175) 09:25:00,706 ERROR [STDERR] at org.jboss.portal.server.servlet.PortalServlet .doGet(PortalServlet.java:221) 09:25:00,706 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:697) 09:25:00,706 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:810) 09:25:00,722 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.internalDoFilter(ApplicationFilterChain.java:252) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.doFilter(ApplicationFilterChain.java:173) 09:25:00,738 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte r.doFilter(ReplyHeaderFilter.java:96) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.internalDoFilter(ApplicationFilterChain.java:202) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.doFilter(ApplicationFilterChain.java:173) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve .invoke(StandardWrapperValve.java:213) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve .invoke(StandardContextValve.java:178) 09:25:00,738 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia tionValve.invoke(SecurityAssociationValve.java:175) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.authenticator.Authenticat orBase.invoke(AuthenticatorBase.java:432) 09:25:00,738 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv e.invoke(JaccContextValve.java:74) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in voke(StandardHostValve.java:126) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i nvoke(ErrorReportValve.java:105) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve. invoke(StandardEngineValve.java:107) 09:25:00,738 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s ervice(CoyoteAdapter.java:148) 09:25:00,738 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc ess(Http11Processor.java:869) 09:25:00,738 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 09:25:00,738 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr ocessSocket(PoolTcpEndpoint.java:527) 09:25:00,738 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT hread.run(MasterSlaveWorkerThread.java:112) 09:25:00,738 ERROR [STDERR] at java.lang.Thread.run(Unknown Source) 09:25:00,738 ERROR [STDERR] javax.transaction.xa.XAException 09:25:00,738 ERROR [STDERR] at org.apache.jackrabbit.core.XASessionImpl.roll back(XASessionImpl.java:239) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.cms.impl.jcr.JCRCMS.execute( JCRCMS.java:498) 09:25:00,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native Method) 09:25:00,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(U nknown Source) 09:25:00,738 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(Unknown Source) 09:25:00,738 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Sourc e) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher. invoke(ReflectedDispatcher.java:155) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc ation.java:94) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor. invoke(AbstractInterceptor.java:133) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI nterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo ke(AbstractMBeanInvoker.java:264) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB eanServerImpl.java:659) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.util.JMXInvocationHandler.invoke (JMXInvocationHandler.java:287) 09:25:00,738 ERROR [STDERR] at $Proxy137.execute(Unknown Source) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.cms.command.StreamConte ntCommand.execute(StreamContentCommand.java:92) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.ControllerComma nd.dispatch(ControllerCommand.java:78) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:140) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Even tBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Poli cyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:183) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Port alNodeInterceptor.invoke(PortalNodeInterceptor.java:61) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.aspects.controller.Navi gationInterceptor.invoke(NavigationInterceptor.java:58) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.CommandIntercep tor.invoke(CommandInterceptor.java:38) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invoke(Invocation.java:175) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.CommandContext. execute(CommandContext.java:107) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.ExecutionContex t.execute(ExecutionContext.java:93) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.command.ExecutionContex t.execute(ExecutionContext.java:77) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.CoreController.handle(C oreController.java:190) 09:25:00,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native Method) 09:25:00,738 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(U nknown Source) 09:25:00,738 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(Unknown Source) 09:25:00,738 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Sourc e) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher. invoke(ReflectedDispatcher.java:155) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invoc ation.java:94) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor. invoke(AbstractInterceptor.java:133) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationI nterceptor.invoke(ModelMBeanOperationInterceptor.java:142) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocat ion.java:88) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invo ke(AbstractMBeanInvoker.java:264) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MB eanServerImpl.java:659) 09:25:00,738 ERROR [STDERR] at org.jboss.mx.util.JMXInvocationHandler.invoke (JMXInvocationHandler.java:287) 09:25:00,738 ERROR [STDERR] at $Proxy135.handle(Unknown Source) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.ServerInvocation.disp atch(ServerInvocation.java:76) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:140) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.core.aspects.server.SubjectA ssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,738 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.core.aspects.server.PolicyAs sociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.aspects.server.Conten tTypeInterceptor.invoke(ContentTypeInterceptor.java:68) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.core.aspects.server.LocaleIn terceptor.invoke(LocaleInterceptor.java:69) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.core.aspects.server.UserInte rceptor.invoke(UserInterceptor.java:184) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.aspects.server.Sessio nInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.core.aspects.server.Transact ionInterceptor.invoke(TransactionInterceptor.java:75) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.ServerInterceptor.inv oke(ServerInterceptor.java:38) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invokeNext(Invocation.java:130) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.invocation.Invocation .invoke(Invocation.java:175) 09:25:00,753 ERROR [STDERR] at org.jboss.portal.server.servlet.PortalServlet .doGet(PortalServlet.java:221) 09:25:00,753 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:697) 09:25:00,753 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe rvlet.java:810) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.internalDoFilter(ApplicationFilterChain.java:252) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.doFilter(ApplicationFilterChain.java:173) 09:25:00,753 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte r.doFilter(ReplyHeaderFilter.java:96) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.internalDoFilter(ApplicationFilterChain.java:202) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha in.doFilter(ApplicationFilterChain.java:173) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve .invoke(StandardWrapperValve.java:213) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve .invoke(StandardContextValve.java:178) 09:25:00,753 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia tionValve.invoke(SecurityAssociationValve.java:175) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.authenticator.Authenticat orBase.invoke(AuthenticatorBase.java:432) 09:25:00,753 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv e.invoke(JaccContextValve.java:74) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in voke(StandardHostValve.java:126) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i nvoke(ErrorReportValve.java:105) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve. invoke(StandardEngineValve.java:107) 09:25:00,753 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s ervice(CoyoteAdapter.java:148) 09:25:00,753 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc ess(Http11Processor.java:869) 09:25:00,753 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 09:25:00,753 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr ocessSocket(PoolTcpEndpoint.java:527) 09:25:00,753 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT hread.run(MasterSlaveWorkerThread.java:112) 09:25:00,753 ERROR [STDERR] at java.lang.Thread.run(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958068#3958068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958068 From do-not-reply at jboss.com Fri Jul 14 09:39:44 2006 From: do-not-reply at jboss.com (jnorris10) Date: Fri, 14 Jul 2006 09:39:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <17662366.1152884384248.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, I am using CMT (container managed transactions) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958069#3958069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958069 From do-not-reply at jboss.com Fri Jul 14 09:41:03 2006 From: do-not-reply at jboss.com (gus888) Date: Fri, 14 Jul 2006 09:41:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: For help on myfaces/tiles + fileUpload Message-ID: <10004441.1152884463280.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, It seems that I didn't install the JBoss4.0.4.GA correctly. I always got the exception of no class found on org/apache/commons/fileupload/disk/DiskFileItem. In addition, when I used conversation bean to submit a form, it didn't work. However, when I changed the conversation bean to session bean, it worked. I think that I probably selected "all" on the JBoss4.0.4.GA installation(I forgot), and did not select EJB3. I will try to reinstall it again. Thank you for time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958070#3958070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958070 From do-not-reply at jboss.com Fri Jul 14 09:47:26 2006 From: do-not-reply at jboss.com (cool_bhanu) Date: Fri, 14 Jul 2006 09:47:26 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Help regarding Role based authorisation Message-ID: <11238440.1152884846231.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I wanted to proceed with Role based authorisation with jsp and servlets in Jboss could anybody tell me how to proceed with this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958072#3958072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958072 From do-not-reply at jboss.com Fri Jul 14 09:49:19 2006 From: do-not-reply at jboss.com (cool_bhanu) Date: Fri, 14 Jul 2006 09:49:19 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Regarding Role based authorisation Message-ID: <18028662.1152884959770.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I wanted to proceed with Role based authorisation with jsp and servlets in Jboss could anybody tell me how to proceed with this. Thanks Bhanu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958074#3958074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958074 From do-not-reply at jboss.com Fri Jul 14 09:51:41 2006 From: do-not-reply at jboss.com (jatsrt) Date: Fri, 14 Jul 2006 09:51:41 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Setup for single box cluster on 2 Alpha Message-ID: <11043770.1152885101036.JavaMail.jboss@colo-br-02.atl.jboss.com> I threw this together quickly and I will put this into the issues also , but why would this not work public boolean isLocalHost(String hostAddress) { | try { | Enumeration interfaces = NetworkInterface | .getNetworkInterfaces(); | | while (interfaces.hasMoreElements()) { | NetworkInterface inter = interfaces.nextElement(); | Enumeration addresses = inter.getInetAddresses(); | | while (addresses.hasMoreElements()) { | InetAddress address = addresses.nextElement(); | if (StringUtils.equals(hostAddress, address | .getHostAddress())) { | return true; | } | } | } | } catch (Exception e) { | e.printStackTrace(); | } | | return false; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958075#3958075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958075 From do-not-reply at jboss.com Fri Jul 14 09:58:35 2006 From: do-not-reply at jboss.com (asbager) Date: Fri, 14 Jul 2006 09:58:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - From JIRA Issue to Patch on Production System Message-ID: <17733755.1152885515970.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, this may be a simple question, but I wonder how patches are supposed to be supplied to a JBoss AS in a production environment. Looking at several JIRA issues (Status: closed; Resolution:Done), I didn't find any patches to unzip/unjar to a JBoss installation directory or things like that. Rather, the sources that have been changed for resolving the issue, are given. But how is one supposed to deploy these changes? The possiblities I see so far, are: 1) Getting the JBoss source once, merging the sources of JIRA issues when needed and then building the server again. But then one would have to make changes to config files in the source distribution either. So this is not a very convenient way to apply patches in production systems. 2) So, the other way to do it could be using the --patchdir=dir option of the run.sh-Script for running JBoss. As far as I see, one or more separate classloaders are instantiated for loading sources in the patchdir directory. And I assume that loading system classes of the JBoss AS (i.e. classes in package org.jboss...) is first delegated to the classloaders of the patchdir. Thus, the equivalent (buggy) class, that has been installed before, does not get loaded any more but the class in the patchdir does. Is that right??? So, if this is right, can I simply put a Java source file (.java) of a JIRA issue to the patchdir and JBoss compiles it on the fly or do I have to compile the file, put in a jar file and then put the jar file to the patchdir? This all seems a little complicated to me (there might be administrators who have to patch systems and even don't know the Java language), so maybe I have overlooked something really basic??? Kind regards Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958078#3958078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958078 From do-not-reply at jboss.com Fri Jul 14 09:59:53 2006 From: do-not-reply at jboss.com (jack0501) Date: Fri, 14 Jul 2006 09:59:53 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - the warning after configuring the jms to the same database u Message-ID: <5751741.1152885593322.JavaMail.jboss@colo-br-02.atl.jboss.com> I have done some changes on the hsqldb-jdbc2-service.xml and hsqldb-jdbc-state-service.xml under server/all/deploy-hasingletion/jms folder to make JMS point to the same oracle database on all node in cluster environment. But when I start jboss 4.0, jboss show a warn on the console mode. Does someone have some idea how to resolve this warning, how to close the result set in configuration? Thanks. Jack The warning is in the following: 2006-07-13 14:40:48,853 WARN [org.jboss.resource.adapter.jdbc.WrappedConnection] Closing a result set you left open! Please close it yourself. java.lang.Throwable: STACKTRACE at org.jboss.resource.adapter.jdbc.WrappedStatement.registerResultSet(WrappedStatement.java:572) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:212) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:384) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1499) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at org.jboss.system.ServiceController.start(ServiceController.java:446) at org.jboss.system.ServiceController.start(ServiceController.java:446) at org.jboss.system.ServiceController.start(ServiceController.java:446) at org.jboss.system.ServiceController.start(ServiceController.java:446) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy35.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:185) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) at org.jboss.Main.boot(Main.java:187) at org.jboss.Main$1.run(Main.java:438) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958079#3958079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958079 From do-not-reply at jboss.com Fri Jul 14 10:01:27 2006 From: do-not-reply at jboss.com (yantriki) Date: Fri, 14 Jul 2006 10:01:27 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: JBoss Mbean Dependencies - How to start scheduler servic Message-ID: <8448740.1152885687877.JavaMail.jboss@colo-br-02.atl.jboss.com> add a depends clause to your jboss-service.xml file: | | true | com.acme.HelloWorld | NOW | 5000 | -1 | EAR file name* | | | * check jmx-console for the name of the ear, or if you want your schedular to depend explicitly on a Session Bean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958081#3958081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958081 From do-not-reply at jboss.com Fri Jul 14 10:01:58 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Fri, 14 Jul 2006 10:01:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Regarding Identity Management Component Message-ID: <26144833.1152885718161.JavaMail.jboss@colo-br-02.atl.jboss.com> Because jBPM works right in the app, why have a separate authentication/authorization mechanism from the server? I assume the reason the big vendors often have a separate identity component is becuase their implementations are often separate from the application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958082#3958082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958082 From do-not-reply at jboss.com Fri Jul 14 10:04:51 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Fri, 14 Jul 2006 10:04:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Help regarding Role based authorisation Message-ID: <19977036.1152885892014.JavaMail.jboss@colo-br-02.atl.jboss.com> cool_bhanu, I would start by reading the security chapter in jboss server guide available at http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958083#3958083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958083 From do-not-reply at jboss.com Fri Jul 14 10:10:39 2006 From: do-not-reply at jboss.com (dhergert) Date: Fri, 14 Jul 2006 10:10:39 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: What is the latest on a Tomcat 6 alpha? Message-ID: <22087033.1152886239032.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there any update on this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958085#3958085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958085 From do-not-reply at jboss.com Fri Jul 14 10:13:11 2006 From: do-not-reply at jboss.com (dhergert) Date: Fri, 14 Jul 2006 10:13:11 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Restarting Tomcat Message-ID: <16485338.1152886391820.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone been able to answer this question? We've had occassional issues where http request threads would hang. It'd be nice to stop and start Tomcat without having to restart everything else. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958086#3958086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958086 From do-not-reply at jboss.com Fri Jul 14 10:14:24 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Fri, 14 Jul 2006 10:14:24 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Setup for single box cluster on 2 Alpha Message-ID: <30545347.1152886464788.JavaMail.jboss@colo-br-02.atl.jboss.com> jatsrt: Does the code you provided work properly to solve your issue? If yes then I hope the issue gets resolved on eclipse's end. Either way, thanks for submitting that and hopefully your issue is resolved by 2.0final View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958087#3958087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958087 From do-not-reply at jboss.com Fri Jul 14 10:16:31 2006 From: do-not-reply at jboss.com (jiehuan_li) Date: Fri, 14 Jul 2006 10:16:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <14529048.1152886591418.JavaMail.jboss@colo-br-02.atl.jboss.com> Any help would be appreciated. I really need to get this to work. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958088#3958088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958088 From do-not-reply at jboss.com Fri Jul 14 10:25:11 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Fri, 14 Jul 2006 10:25:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <23318541.1152887111303.JavaMail.jboss@colo-br-02.atl.jboss.com> we could possible put this in, but it would not be portable behavior. The spec doesn't require rollback of entity state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958089#3958089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958089 From do-not-reply at jboss.com Fri Jul 14 10:25:41 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Fri, 14 Jul 2006 10:25:41 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: simple question Message-ID: <26858219.1152887141664.JavaMail.jboss@colo-br-02.atl.jboss.com> we don't have EE5 support for app clients yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958090#3958090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958090 From do-not-reply at jboss.com Fri Jul 14 10:26:54 2006 From: do-not-reply at jboss.com (creative77) Date: Fri, 14 Jul 2006 10:26:54 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Hibernate Config. Message-ID: <1086846.1152887214623.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created a new data source *.ds.xml for my application. I have deployed the *.ds.xml and it looks like it deployed correctly and has a JNDI entry. However, when I try and build a session I get a exception "Not binding factory to JNDI no JNDI configured". I force the datasource name in the configuration, and also see the JNDI entry on the console. Does anyone know what I am missing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958091#3958091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958091 From do-not-reply at jboss.com Fri Jul 14 10:31:04 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Fri, 14 Jul 2006 10:31:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: No pooling for stateless session beans with JBoss 4.0.4 Message-ID: <8178528.1152887464661.JavaMail.jboss@colo-br-02.atl.jboss.com> are you sure your PostConstruct method is implemented correctly? EJB3 uses a ThreadLocal pool by default. Maybe a different thread is created per invocation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958092#3958092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958092 From do-not-reply at jboss.com Fri Jul 14 10:39:48 2006 From: do-not-reply at jboss.com (blipsman) Date: Fri, 14 Jul 2006 10:39:48 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with ClassNotFoundException while trying to add Message-ID: <17977271.1152887988455.JavaMail.jboss@colo-br-02.atl.jboss.com> hey jaikiran this is what I get after running jar command for mail.jar | | C:\dev_inst\jboss-4.0.4.GA\server\ejb3\lib>jar -tf mail.jar | META-INF/MANIFEST.MF | META-INF/SUN_MICR.SF | META-INF/SUN_MICR.RSA | META-INF/ | META-INF/javamail.default.providers | META-INF/javamail.default.address.map | META-INF/javamail.charset.map | META-INF/mailcap | javax/ | javax/mail/ | javax/mail/SecuritySupport12.class | javax/mail/SecuritySupport12$1.class | javax/mail/SecuritySupport12$2.class | javax/mail/SecuritySupport12$3.class | javax/mail/SecuritySupport12$4.class | javax/mail/SecuritySupport12$5.class | javax/mail/Address.class | javax/mail/AuthenticationFailedException.class | javax/mail/Authenticator.class | javax/mail/BodyPart.class | javax/mail/FetchProfile.class | javax/mail/FetchProfile$Item.class | javax/mail/Flags.class | javax/mail/Flags$Flag.class | javax/mail/Folder.class | javax/mail/Folder$1.class | javax/mail/FolderClosedException.class | javax/mail/FolderNotFoundException.class | javax/mail/UIDFolder.class | javax/mail/UIDFolder$FetchProfileItem.class | javax/mail/Header.class | javax/mail/IllegalWriteException.class | javax/mail/Message.class | javax/mail/Message$RecipientType.class | javax/mail/MessageAware.class | javax/mail/MessageContext.class | javax/mail/MessagingException.class | javax/mail/MethodNotSupportedException.class | javax/mail/NoSuchProviderException.class | javax/mail/Multipart.class | javax/mail/MultipartDataSource.class | javax/mail/Part.class | javax/mail/PasswordAuthentication.class | javax/mail/ReadOnlyFolderException.class | javax/mail/SendFailedException.class | javax/mail/SecuritySupport.class | javax/mail/Service.class | javax/mail/Service$1.class | javax/mail/Session.class | javax/mail/Session$1.class | javax/mail/Session$2.class | javax/mail/StreamLoader.class | javax/mail/Store.class | javax/mail/StoreClosedException.class | javax/mail/Transport.class | javax/mail/URLName.class | javax/mail/Provider.class | javax/mail/Provider$Type.class | javax/mail/EventQueue.class | javax/mail/EventQueue$QueueElement.class | javax/mail/event/ | javax/mail/event/ConnectionAdapter.class | javax/mail/event/ConnectionEvent.class | javax/mail/event/ConnectionListener.class | javax/mail/event/FolderAdapter.class | javax/mail/event/FolderEvent.class | javax/mail/event/FolderListener.class | javax/mail/event/MailEvent.class | javax/mail/event/MessageChangedEvent.class | javax/mail/event/MessageChangedListener.class | javax/mail/event/MessageCountAdapter.class | javax/mail/event/MessageCountEvent.class | javax/mail/event/MessageCountListener.class | javax/mail/event/StoreEvent.class | javax/mail/event/StoreListener.class | javax/mail/event/TransportAdapter.class | javax/mail/event/TransportEvent.class | javax/mail/event/TransportListener.class | javax/mail/search/ | javax/mail/search/AddressTerm.class | javax/mail/search/AddressStringTerm.class | javax/mail/search/AndTerm.class | javax/mail/search/BodyTerm.class | javax/mail/search/ComparisonTerm.class | javax/mail/search/DateTerm.class | javax/mail/search/FlagTerm.class | javax/mail/search/FromTerm.class | javax/mail/search/FromStringTerm.class | javax/mail/search/HeaderTerm.class | javax/mail/search/IntegerComparisonTerm.class | javax/mail/search/MessageIDTerm.class | javax/mail/search/MessageNumberTerm.class | javax/mail/search/NotTerm.class | javax/mail/search/OrTerm.class | javax/mail/search/RecipientTerm.class | javax/mail/search/RecipientStringTerm.class | javax/mail/search/SearchException.class | javax/mail/search/SentDateTerm.class | javax/mail/search/ReceivedDateTerm.class | javax/mail/search/SizeTerm.class | javax/mail/search/StringTerm.class | javax/mail/search/SubjectTerm.class | javax/mail/search/SearchTerm.class | javax/mail/internet/ | javax/mail/internet/InternetAddress.class | anonymous wrote : javax/mail/internet/AddressException.class | javax/mail/internet/HeaderTokenizer.class | javax/mail/internet/HeaderTokenizer$Token.class | javax/mail/internet/ParseException.class | javax/mail/internet/MimeUtility.class | javax/mail/internet/MimeUtility$1$NullInputStream.class | javax/mail/internet/AsciiOutputStream.class | javax/mail/internet/ContentType.class | javax/mail/internet/ParameterList.class | javax/mail/internet/ContentDisposition.class | javax/mail/internet/InternetHeaders.class | javax/mail/internet/hdr.class | javax/mail/internet/matchEnum.class | javax/mail/internet/MailDateFormat.class | javax/mail/internet/MailDateParser.class | javax/mail/internet/MimeBodyPart.class | javax/mail/internet/MimeMessage.class | javax/mail/internet/MimeMessage$RecipientType.class | javax/mail/internet/MimeMultipart.class | javax/mail/internet/MimePart.class | javax/mail/internet/MimePartDataSource.class | javax/mail/internet/NewsAddress.class | javax/mail/internet/SharedInputStream.class | javax/mail/internet/UniqueValue.class | javax/mail/MessageRemovedException.class | com/sun/mail/util/ | com/sun/mail/util/LineInputStream.class | com/sun/mail/util/BASE64DecoderStream.class | com/sun/mail/util/QPDecoderStream.class | com/sun/mail/util/UUDecoderStream.class | com/sun/mail/util/BASE64EncoderStream.class | com/sun/mail/util/QPEncoderStream.class | com/sun/mail/util/UUEncoderStream.class | com/sun/mail/util/BEncoderStream.class | com/sun/mail/util/QEncoderStream.class | com/sun/mail/util/ASCIIUtility.class | com/sun/mail/util/QDecoderStream.class | com/sun/mail/util/LineOutputStream.class | com/sun/mail/util/SharedByteArrayInputStream.class | com/sun/mail/util/CRLFOutputStream.class | com/sun/mail/util/SharedFileInputStream.class | com/sun/mail/util/SocketFetcher.class | com/sun/mail/util/TraceInputStream.class | com/sun/mail/util/TraceOutputStream.class | com/sun/mail/smtp/ | com/sun/mail/smtp/DigestMD5.class | com/sun/mail/smtp/SMTPMessage.class | com/sun/mail/smtp/SMTPOutputStream.class | com/sun/mail/smtp/SMTPTransport.class | com/sun/mail/iap/ | com/sun/mail/iap/Argument.class | com/sun/mail/iap/Atom.class | com/sun/mail/iap/AString.class | com/sun/mail/iap/BadCommandException.class | com/sun/mail/iap/ByteArray.class | com/sun/mail/iap/CommandFailedException.class | com/sun/mail/iap/ConnectionException.class | com/sun/mail/iap/Literal.class | com/sun/mail/iap/LiteralException.class | com/sun/mail/iap/ParsingException.class | com/sun/mail/iap/Protocol.class | com/sun/mail/iap/ProtocolException.class | com/sun/mail/iap/Response.class | com/sun/mail/iap/ResponseHandler.class | com/sun/mail/iap/ResponseInputStream.class | com/sun/mail/imap/ | com/sun/mail/imap/ACL.class | com/sun/mail/imap/DefaultFolder.class | com/sun/mail/imap/DefaultFolder$1.class | com/sun/mail/imap/DefaultFolder$2.class | com/sun/mail/imap/IMAPBodyPart.class | com/sun/mail/imap/IMAPFolder.class | com/sun/mail/imap/IMAPFolder$FetchProfileItem.class | com/sun/mail/imap/IMAPFolder$1.class | com/sun/mail/imap/IMAPFolder$2.class | com/sun/mail/imap/IMAPFolder$3.class | com/sun/mail/imap/IMAPFolder$4.class | com/sun/mail/imap/IMAPFolder$5.class | com/sun/mail/imap/IMAPFolder$6.class | com/sun/mail/imap/IMAPFolder$7.class | com/sun/mail/imap/IMAPFolder$8.class | com/sun/mail/imap/IMAPFolder$9.class | com/sun/mail/imap/IMAPStore.class | com/sun/mail/imap/IMAPFolder$10.class | com/sun/mail/imap/IMAPFolder$11.class | com/sun/mail/imap/IMAPFolder$12.class | com/sun/mail/imap/IMAPFolder$13.class | com/sun/mail/imap/IMAPFolder$14.class | com/sun/mail/imap/IMAPFolder$15.class | com/sun/mail/imap/IMAPFolder$16.class | com/sun/mail/imap/IMAPFolder$17.class | com/sun/mail/imap/IMAPFolder$ProtocolCommand.class | com/sun/mail/imap/MessageLiteral.class | com/sun/mail/imap/LengthCounter.class | com/sun/mail/imap/IMAPInputStream.class | com/sun/mail/imap/IMAPMessage.class | com/sun/mail/imap/IMAPMessage$1$FetchProfileCondition.class | com/sun/mail/imap/IMAPMultipartDataSource.class | com/sun/mail/imap/IMAPNestedMessage.class | com/sun/mail/imap/IMAPStore$ConnectionPool.class | com/sun/mail/imap/protocol/ | com/sun/mail/imap/protocol/BASE64MailboxDecoder.class | com/sun/mail/imap/protocol/BASE64MailboxEncoder.class | com/sun/mail/imap/protocol/BODY.class | com/sun/mail/imap/protocol/BODYSTRUCTURE.class | com/sun/mail/imap/protocol/ENVELOPE.class | com/sun/mail/imap/protocol/IMAPAddress.class | com/sun/mail/imap/protocol/FetchResponse.class | com/sun/mail/imap/protocol/FLAGS.class | com/sun/mail/imap/protocol/IMAPProtocol.class | com/sun/mail/imap/protocol/IMAPResponse.class | com/sun/mail/imap/protocol/INTERNALDATE.class | com/sun/mail/imap/protocol/Item.class | com/sun/mail/imap/protocol/ListInfo.class | com/sun/mail/imap/protocol/MailboxInfo.class | com/sun/mail/imap/protocol/MessageSet.class | com/sun/mail/imap/protocol/Namespaces.class | com/sun/mail/imap/protocol/Namespaces$Namespace.class | com/sun/mail/imap/protocol/UID.class | com/sun/mail/imap/protocol/RFC822DATA.class | com/sun/mail/imap/protocol/RFC822SIZE.class | com/sun/mail/imap/protocol/SearchSequence.class | com/sun/mail/imap/protocol/Status.class | com/sun/mail/imap/Quota.class | com/sun/mail/imap/Quota$Resource.class | com/sun/mail/imap/Rights.class | com/sun/mail/imap/Rights$Right.class | com/sun/mail/imap/Utility.class | com/sun/mail/imap/Utility$Condition.class | com/sun/mail/pop3/DefaultFolder.class | com/sun/mail/pop3/POP3Folder.class | com/sun/mail/pop3/POP3Message.class | com/sun/mail/pop3/POP3Store.class | com/sun/mail/pop3/Response.class | com/sun/mail/pop3/Status.class | com/sun/mail/pop3/Protocol.class | com/sun/mail/pop3/SharedByteArrayOutputStream.class | com/sun/mail/handlers/ | com/sun/mail/handlers/text_html.class | com/sun/mail/handlers/text_plain.class | com/sun/mail/handlers/text_xml.class | com/sun/mail/handlers/image_gif.class | com/sun/mail/handlers/image_jpeg.class | com/sun/mail/handlers/multipart_mixed.class | com/sun/mail/handlers/message_rfc822.class | | I see the AddressException class does exist in the mail.jar and this really makes me confused. I am almost ready to give up. Outside of JBOSS I have no problems to run this code, but inside jboss I keep getting the same error. Cheers and thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958095#3958095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958095 From do-not-reply at jboss.com Fri Jul 14 10:41:17 2006 From: do-not-reply at jboss.com (jnorris10) Date: Fri, 14 Jul 2006 10:41:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <7471446.1152888077227.JavaMail.jboss@colo-br-02.atl.jboss.com> "bill.burke at jboss.com" wrote : we could possible put this in, but it would not be portable behavior. The spec doesn't require rollback of entity state. OK, thanks for the response. I was mistaken and thought this was required by the spec. In your book, EJB 3.0 5th edition (which is awesome btw!), on the last paragraph page 370, it says this: "As a transaction monitor, an EJB3 server watches each method call in the transaction. If any of the updates fail, all the updates to the EJBs and entities will be reversed or rolled back." ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958096#3958096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958096 From do-not-reply at jboss.com Fri Jul 14 10:47:19 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 14 Jul 2006 10:47:19 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot create role and user in 2.4CR2 Message-ID: <18084930.1152888439144.JavaMail.jboss@colo-br-02.atl.jboss.com> New users can be created from the home page of the portal. When you are logged out, in the User Portlet, click the "create one" link. The portal is set up so that users can create their own logins (rather than an administrator pre-configuring user ids). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958097#3958097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958097 From do-not-reply at jboss.com Fri Jul 14 10:48:37 2006 From: do-not-reply at jboss.com (jiehuan_li) Date: Fri, 14 Jul 2006 10:48:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Not being able to resume a process instance after server res Message-ID: <13960295.1152888517775.JavaMail.jboss@colo-br-02.atl.jboss.com> I have two invokes with a receive in between, and they are all correlated. When my testing client calls 'connect' and then 'connect2' in turn with the same correlation id, everything works fine, however if I restart the jboss server between calling 'connect' and 'connect2', 'connect2' would fail. As everything is persisted in bpel, I should expect 'connect2' to succeed, shouldn't I? Below is my bpel definition: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And I am running jbpm-bpel-1.1-beta1 on JBoss 404 GA patch 1(installer with ejb3 path because I need annotations) using the default hypersonic datasources. Please help, we wouldn't be able to go production without this working. Thanks! Jiehuan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958098#3958098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958098 From do-not-reply at jboss.com Fri Jul 14 10:51:10 2006 From: do-not-reply at jboss.com (jcoffee) Date: Fri, 14 Jul 2006 10:51:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: No pooling for stateless session beans with JBoss 4.0.4 Message-ID: <10078520.1152888670842.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Bill, thanks for your quick answer. I checked your remark by printing out the Thread.id in the PostConstruct callback method. It's always the same Thread for all 1000 method calls. Regards Guido View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958100#3958100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958100 From do-not-reply at jboss.com Fri Jul 14 10:53:16 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Fri, 14 Jul 2006 10:53:16 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - how substitute sendRedirect? Message-ID: <274593.1152888796070.JavaMail.jboss@colo-br-02.atl.jboss.com> I've a portal and i want to navigate from one page to another. Is there any way to redirect from one page of the portal to another, instead of using sendRedirect? Tnaks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958101#3958101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958101 From do-not-reply at jboss.com Fri Jul 14 10:59:35 2006 From: do-not-reply at jboss.com (gcoleman) Date: Fri, 14 Jul 2006 10:59:35 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: stateless session bean is caching data ??? Message-ID: <19091580.1152889175561.JavaMail.jboss@colo-br-02.atl.jboss.com> This is expected behaviour. SLSB aren't stateless in the sense that a new one is created with every call (the application server will be doing pooling etc). They are stateless in the sense that they are not tied to a particular client like Stateful Session EJBs are. A good explanation can be found here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958102#3958102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958102 From do-not-reply at jboss.com Fri Jul 14 11:03:09 2006 From: do-not-reply at jboss.com (CasaDelNorte) Date: Fri, 14 Jul 2006 11:03:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Thread Stalling on Scheduled Job Message-ID: <14429494.1152889389647.JavaMail.jboss@colo-br-02.atl.jboss.com> We found the problem. Our database (SQL Server) is a little flaky and likes to not answer from time to time. Just doesn't scale well. And by default, JTDS doesn't set a query timeout. We've added: ;loginTimeout=20 to the JTDS URL, to make sure the connection pool has a chance at refreshing iteself, and added: private static final int SQL_QUERY_TIMEOUT = 2; // by query | ... | callableStatement.setQueryTimeout(SQL_QUERY_TIMEOUT); to all of our DAOs for scheduled jobs. I made these changes last night, and as expected the jobs threw several query timeout exceptions, and the jobs restarted on the next scheduled interval. So - hopefully - this is the entire issue we're experiencing. We'll be able to confirm after a couple of days in production. Thanks! Larry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958103#3958103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958103 From do-not-reply at jboss.com Fri Jul 14 11:04:11 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 11:04:11 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with ClassNotFoundException while trying to add Message-ID: <17940383.1152889451211.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : C:\dev_inst\jboss-4.0.4.GA\server\ejb3\lib Have you created your own directory(server) under the %JBOSS_HOME%/server directory? Because, looking at the above directory hiearchy, it looks like that you have placed the mail.jar under %JBOSS_HOME%/server/ejb3/lib directory. If that's the case, how are you starting Jboss? Is it just : C:\dev_inst\jboss-4.0.4.GA> run or is it: C:\dev_inst\jboss-4.0.4.GA>run ejb3 If you have created a separate server then you should use the second command, mentioned above, to start JBoss. Or else if you are using the first command then you will have to place mail.jar in: C:\dev_inst\jboss-4.0.4.GA\server\default\lib directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958104#3958104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958104 From do-not-reply at jboss.com Fri Jul 14 11:05:47 2006 From: do-not-reply at jboss.com (yantriki) Date: Fri, 14 Jul 2006 11:05:47 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: How to make my service wait for port 1099 to come up? Message-ID: <21603254.1152889547592.JavaMail.jboss@colo-br-02.atl.jboss.com> ignore... the depends was in th wrong place. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958106#3958106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958106 From do-not-reply at jboss.com Fri Jul 14 11:08:24 2006 From: do-not-reply at jboss.com (leulberg) Date: Fri, 14 Jul 2006 11:08:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - mapping problems between ntext, jtds and ejb3 Message-ID: <13161635.1152889704600.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallo, I have some tables in an SQL Server DB with ntext fields. I access the db with the jtds 1.2 with the useLOBs=false option. This leads to a mapping of ntext fields to string. Using EJB2 it works fine. But now I want to use ejb3 and don't know how to define the mapping annotations. I tried: | @Column(name="message", columnDefinition="NTEXT NULL") | public void setMessage(String s){ | this.message = s; | } | public String getMessage(){ | return this.message; | } | But this doesn't work. Hibernate wants to access a varchar(255) field. Is anyone out their who knows how to setup? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958107#3958107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958107 From do-not-reply at jboss.com Fri Jul 14 11:12:46 2006 From: do-not-reply at jboss.com (KChvilyov) Date: Fri, 14 Jul 2006 11:12:46 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <6901276.1152889966063.JavaMail.jboss@colo-br-02.atl.jboss.com> "ben.wang at jboss.com" wrote : 1. Is it reproducible? | 2. I have noticed that there is concurrent worker in the stack trace. Are you updating the POJO concurrently? What is the update pattern? POJO is supposed to have long lifetime under PojoCache. 1. Yes, but we can reproduce it in our project only. 2. What you mean "updating the POJO concurrently"? If you mean second server - no we have not another cache server. But we can use common resources from different threads. We have get libraries from URL http://jaist.dl.sourceforge.net/sourceforge/jboss/jboss-cache-dist-1.4.0.GA.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958108#3958108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958108 From do-not-reply at jboss.com Fri Jul 14 11:17:21 2006 From: do-not-reply at jboss.com (NeoArcane2004) Date: Fri, 14 Jul 2006 11:17:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - CR1 News Portlet - Local Preferences not working for me? Message-ID: <29062821.1152890241338.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a need to do the same thing the news portlet is supposed to do.. use multiple copies, each with different preferences. I noticed that on 2.4 CR1 the news portlet is showing the Jboss news (default) on both instances - the local prefs (pointing to yahoo) doesn't seem to be working Have I failed to configure something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958109#3958109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958109 From do-not-reply at jboss.com Fri Jul 14 11:21:43 2006 From: do-not-reply at jboss.com (sxj) Date: Fri, 14 Jul 2006 11:21:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Adding a listner as a new service Message-ID: <2006011.1152890503335.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to implement a listener listening to the JMS queue and deploy this as a jboss service which should continuously start listening once the server is started. I have been able to start the service but when i try to receive message i get error. I am using QueueConnectionFactory and related objects to get to the queue. This code works fine as console application but not from service. Is there any other way I can read the messages? Please help. Thanks a lot, S View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958111#3958111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958111 From do-not-reply at jboss.com Fri Jul 14 11:22:36 2006 From: do-not-reply at jboss.com (jatsrt) Date: Fri, 14 Jul 2006 11:22:36 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Setup for single box cluster on 2 Alpha Message-ID: <25789008.1152890556995.JavaMail.jboss@colo-br-02.atl.jboss.com> Yep this returns all the ip addresses I have, also IPV6 addresses, the only problem is it would need to be extended to add support for non-numerical strings like "localhost" and "my.computer.com" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958112#3958112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958112 From do-not-reply at jboss.com Fri Jul 14 11:28:20 2006 From: do-not-reply at jboss.com (MainLineDude) Date: Fri, 14 Jul 2006 11:28:20 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Look-up ejb class getInterfaces shows my home interface, Message-ID: <22244026.1152890900926.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, that helped me resolve the issue (I believe). It turns out that with NetBeans you have to be careful not to deploy the indiviual projects that make up an enterprise application. You must only deploy the entire app. Otherwise you end up with multiple copies of the beans. The jmx-console method described in the page you mentioned showed me that I had three instances of the bean, one from the web module war, one from the EJB module jar, and one from the enterprise application ear. So I went to the deploy directory and deleted the war and jar, leaving only the ear file. After that, the bean I added later works now. For some reason, I can't get the original bean to work, but that I can resolve later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958114#3958114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958114 From do-not-reply at jboss.com Fri Jul 14 11:31:47 2006 From: do-not-reply at jboss.com (bdaw) Date: Fri, 14 Jul 2006 11:31:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: how substitute sendRedirect? Message-ID: <30049970.1152891107426.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at NavigationPortlet. As this isn't covered by spec anyway you need to extend JBossPortlet instead of GenericPortlet and use JBossRenderResponse.createRenderURL(PortalNode node) But to get proper PortalNode you need to obtain PortalObjectContainer service and navigate thru PortalObject hierarchy.... All code you need is in NavigationPortlet class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958115#3958115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958115 From do-not-reply at jboss.com Fri Jul 14 11:35:10 2006 From: do-not-reply at jboss.com (tsar_bomba) Date: Fri, 14 Jul 2006 11:35:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - @OneToOne, no primary keys... Message-ID: <20755179.1152891310224.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm simply trying to join two entities together w/ a @OneToOne but I'm not using primary keys on either side of the relationship. Here are my (shortened) entities: | @Entity | @Table(name="call_req") | public class Incident implements Serializable | { | @Column(name="status", insertable=false, updatable=false) | private String status; | | @OneToOne(fetch=FetchType.LAZY) | @JoinColumn(name="status", referencedColumnName="code") | private IncidentStatus incidentStatus; | } | | @Entity | @Table(name="cr_stat") | public class IncidentStatus implements Serializable | { | @Column(name="code", nullable=false, insertable=false, updatable=false) | private String code; | | @OneToOne | private Incident incident; | } | Here's the EJBQL and the query that was generated: | Hibernate: | /* select | i | from | Incident i | inner join | fetch i.incidentStatus ist */ select | top 50 incident0_.id as id927_0_, | incidentst1_.id as id928_1_, | incident0_.persid as persid927_0_, | incident0_.ref_num as ref3_927_0_, | incident0_.summary as summary927_0_, | incident0_.description as descript5_927_0_, | incident0_.status as status927_0_, | incident0_.active_flag as active7_927_0_, | incident0_.open_date as open8_927_0_, | incident0_.time_spent_sum as time9_927_0_, | incident0_.last_mod_dt as last10_927_0_, | incident0_.close_date as close11_927_0_, | incident0_.resolve_date as resolve12_927_0_, | incident0_.rootcause as rootcause927_0_, | incident0_.log_agent as log14_927_0_, | incident0_.assignee as assignee927_0_, | incident0_.group_id as group16_927_0_, | incident0_.customer as customer927_0_, | incident0_.charge_back_id as charge18_927_0_, | incident0_.affected_rc as affected19_927_0_, | incident0_.support_lev as support20_927_0_, | incident0_.category as category927_0_, | incident0_.solution as solution927_0_, | incident0_.impact as impact927_0_, | incident0_.priority as priority927_0_, | incident0_.urgency as urgency927_0_, | incident0_.severity as severity927_0_, | incident0_.extern_ref as extern27_927_0_, | incident0_.last_act_id as last28_927_0_, | incident0_.cr_tticket as cr29_927_0_, | incident0_.parent as parent927_0_, | incident0_.template_name as template31_927_0_, | incident0_.sla_violation as sla32_927_0_, | incident0_.predicted_sla_viol as predicted33_927_0_, | incident0_.created_via as created34_927_0_, | incident0_.call_back_date as call35_927_0_, | incident0_.call_back_flag as call36_927_0_, | incident0_.event_token as event37_927_0_, | incident0_.type as type927_0_, | incident0_.change as change927_0_, | incident0_.problem as problem927_0_, | incident0_.incident_priority as incident41_927_0_, | incidentst1_.persid as persid928_1_, | incidentst1_.del as del928_1_, | incidentst1_.sym as sym928_1_, | incidentst1_.last_mod_dt as last5_928_1_, | incidentst1_.description as descript6_928_1_, | incidentst1_.code as code928_1_, | incidentst1_.active as active928_1_, | incidentst1_.hold as hold928_1_, | incidentst1_.resolved as resolved928_1_, | incidentst1_.cr_flag as cr11_928_1_, | incidentst1_.in_flag as in12_928_1_, | incidentst1_.pr_flag as pr13_928_1_, | incidentst1_.incident_id as incident14_928_1_ | from | call_req incident0_ | inner join | cr_stat incidentst1_ | on incident0_.status=incidentst1_.code | ...it's so *close* - if it wasn't creating that 'incident_id' field out of thin-air (which doesn't actually exist in the table) it would be perfect. Otherwise, the join is perfect - exactly what I needed. Of course the exception I get is: anonymous wrote : | javax.ejb.EJBException | | ............. | | Caused by: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not execute query | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:56) | | ............. | | 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) | | ............. | | Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'incident_id'. | at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source) | .............. | I need Incident.status = IncidentStatus.code I'm getting very close but I can't seem to get the right relationship. How can I simply join two entities, one-to-one, where I'm not using the primary keys in either of the two tables as part of the relationship? Thanks very much in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958116#3958116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958116 From do-not-reply at jboss.com Fri Jul 14 11:35:34 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 14 Jul 2006 11:35:34 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Credential caching question Message-ID: <26726744.1152891334310.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys, I'm have a problem that I'm unable to solve regarding credentials caching. I have an ldap user that can authenticate with ldap but is not authorized to use the application. I want to let the user know that they have authenticated but failed authorization and to trying logging in with another username and password that has authorization. The problem is that the credentials are cached and I cannot get JBoss to serve the login page again. I'm using form based authentication with the j_security_check action combined with the LdapLoginModule for jboss. Here's what my security-service.xml looks like. | | | org.jboss.security.plugins.JaasSecurityManager | anonymous | | 0 | | 0 | | >From my perspective JBoss behaves the same regardless of what I set these values too. Basically, I want to force authentication everytime a certain url is accessed. I don't care if the user has already logged in or not. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958117#3958117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958117 From do-not-reply at jboss.com Fri Jul 14 11:37:56 2006 From: do-not-reply at jboss.com (tfulton) Date: Fri, 14 Jul 2006 11:37:56 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: stateless session bean is caching data ??? Message-ID: <14047391.1152891476112.JavaMail.jboss@colo-br-02.atl.jboss.com> That exlains things then. Thought I was going crazy. Thanks!! Todd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958118#3958118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958118 From do-not-reply at jboss.com Fri Jul 14 11:40:09 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Fri, 14 Jul 2006 11:40:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <5951310.1152891609301.JavaMail.jboss@colo-br-02.atl.jboss.com> maybe we could help if you give us a version of portal and App Server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958119#3958119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958119 From do-not-reply at jboss.com Fri Jul 14 11:41:26 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 11:41:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Adding a listner as a new service Message-ID: <30073931.1152891686422.JavaMail.jboss@colo-br-02.atl.jboss.com> Why dont you use Message Driven Beans? Here's a sample MDB on JBoss: http://wiki.jboss.org/wiki/Wiki.jsp?page=SampleMDB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958120#3958120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958120 From do-not-reply at jboss.com Fri Jul 14 11:48:06 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 14 Jul 2006 11:48:06 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Credential caching question Message-ID: <7535432.1152892086817.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I want to let the user know that they have authenticated but failed authorization and to trying logging in with another username and password that has authorization On detecting a authorization failure, why dont you invalidate the session, so that user credentials are discarded: http://java.sun.com/j2ee/sdk_1.2.1/techdocs/api/javax/servlet/http/HttpSession.html#invalidate() However, i am not sure whether this is the right approach to follow. There might even be better approaches. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958122#3958122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958122 From do-not-reply at jboss.com Fri Jul 14 11:51:07 2006 From: do-not-reply at jboss.com (npennell) Date: Fri, 14 Jul 2006 11:51:07 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE 2.0.0.Alpha - unable to deploy files Message-ID: <31937944.1152892267942.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, In the previous version I could deploy any file to my JBoss server deploy directory. This was useful to deploy configuration files (*-service.xml, *-ds.xml) or files that I had written a deployer for. I now get a "No launchable artifact could be found in the selection" message when I try to deploy anything but an *.ear file Will the ability to deploy any file I want be included in future milestones of the new IDE? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958123#3958123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958123 From do-not-reply at jboss.com Fri Jul 14 11:52:56 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 11:52:56 -0400 (EDT) Subject: [jboss-user] [Remoting] - binding multicast detector Message-ID: <30282918.1152892376704.JavaMail.jboss@colo-br-02.atl.jboss.com> This is probably a silly question but I can't explain this. I register and start a multicast detector - both its Address and DefaultIP are set to 127.0.0.1 (I also used 192.168.0.5 which is another of my IPs with same results) and I used port 16162. But when I look at netstat, it says its bound to "0.0.0.0": anonymous wrote : UDP 0.0.0.0:16162 *:* I would think it should tell me that its bound to 127.0.0.1:16162 no? I can confirm detector.getAddress() returns what I expect - 127.0.0.1 (I even made sure getDefaultIP is the same just to make sure). Anyone know why the multicast detector is showing up as binding to 0.0.0.0 and not the one I configured the detector for? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958124#3958124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958124 From do-not-reply at jboss.com Fri Jul 14 11:53:17 2006 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Fri, 14 Jul 2006 11:53:17 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using JGuard to secure the portal Message-ID: <10967953.1152892397594.JavaMail.jboss@colo-br-02.atl.jboss.com> Ask in the portal forums. Looks like a mismatch in hibernate/cglib/objectweb codebase. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958125#3958125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958125 From do-not-reply at jboss.com Fri Jul 14 11:54:30 2006 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Fri, 14 Jul 2006 11:54:30 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: pages with different security domains in one portal Message-ID: <14294599.1152892470542.JavaMail.jboss@colo-br-02.atl.jboss.com> Ideally, it makes sense to authenticate against the whole portal but define authorization at individual pages/components in a page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958126#3958126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958126 From do-not-reply at jboss.com Fri Jul 14 11:56:42 2006 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Fri, 14 Jul 2006 11:56:42 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Restricting Users Login From IP Adresses Message-ID: <2690409.1152892602337.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you looked at Tomcat standard valves that can restrict based on ip address or host name? Why recreate a login module for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958127#3958127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958127 From do-not-reply at jboss.com Fri Jul 14 11:58:53 2006 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Fri, 14 Jul 2006 11:58:53 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: JAAS / JBoss 3.2.5 / JBoss 3.2.8 Message-ID: <24449841.1152892733862.JavaMail.jboss@colo-br-02.atl.jboss.com> Enable trace level logging and see what may be the cause. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958129#3958129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958129 From do-not-reply at jboss.com Fri Jul 14 11:59:04 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 14 Jul 2006 11:59:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Accessing methods inside the view Message-ID: <16179070.1152892744752.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a question regarding the access of methods. Say I have an Address that has many fields which can change over time, so I would like to display the entire address via the toString() field that the Bean provides me with. Is there a way to access a specific method e.g. #{backingBean.toString} <- this should not work, since there is not getToString or setToString available, and as far as I understand from the JSF / EJB Specs, this would be neccessary - so is there some sort of interceptor for this available? I think this might come in handy very often in cases where a collection of strings of a Bean need to be displayed... Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958130#3958130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958130 From do-not-reply at jboss.com Fri Jul 14 12:01:38 2006 From: do-not-reply at jboss.com (genman) Date: Fri, 14 Jul 2006 12:01:38 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <1799558.1152892898165.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry to confuse you, it says the number of entries in the file were opened. I can assure you that none of those were loaded into memory before your first TreeCache.get(). I don't think it will "preload" the data unless you tell it to. I wonder if there's a option to do it in the current release? My suggestion for improving application performance would be to use the Async cache configuration. It will give you much better performance when doing multiple "put" commands. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958131#3958131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958131 From do-not-reply at jboss.com Fri Jul 14 12:04:38 2006 From: do-not-reply at jboss.com (fawce) Date: Fri, 14 Jul 2006 12:04:38 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - CsIL/JBossMQ Design Challenge Message-ID: <9102592.1152893078505.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Tamale Software is sponsoring a design challenge for a piece of the CsIL project (the MessageConsumer class). The hope is to generate some additional interest in the CsIL library. If nothing else, you might enjoy thinking about the semantic difficulties in mapping c# to java. You can read about the challenge on the Tamale Blog. Thanks, fawce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958132#3958132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958132 From do-not-reply at jboss.com Fri Jul 14 12:05:20 2006 From: do-not-reply at jboss.com (abdielj) Date: Fri, 14 Jul 2006 12:05:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JBPM_PROCESSDEFINITION table not found Message-ID: <17066545.1152893121005.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, has anybody seen this error before ?. I created the JBPMConfiguration object from a xml string (Copy and paste from User guide's Chapter 3 Database example). Then i try to create a process instance and i get the error below. It seems like if the persistence service was not available but i initializate exactly as the example. | 09:56:05,220 [main] ERROR JDBCExceptionReporter : Table not found in statement [select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc] | org.hibernate.exception.SQLGrammarException: could not execute query | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:65) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.loader.Loader.doList(Loader.java:2153) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) | at org.hibernate.loader.Loader.list(Loader.java:2024) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:369) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:300) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:146) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1093) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:745) | at org.jbpm.db.GraphSession.findLatestProcessDefinition(GraphSession.java:138) | at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:266) | at solicitudes.SolicitudPrestamo.createInstance(SolicitudPrestamo.java:30) | at solicitudes.Tester.main(Tester.java:13) | Caused by: java.sql.SQLException: Table not found in statement [select top ? processdef0_.ID_ as ID1_4_, processdef0_.NAME_ as NAME2_4_, processdef0_.VERSION_ as VERSION3_4_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN4_4_, processdef0_.STARTSTATE_ as STARTSTATE5_4_ from JBPM_PROCESSDEFINITION processdef0_ where processdef0_.NAME_=? order by processdef0_.VERSION_ desc] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source) | at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:442) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:368) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561) | at org.hibernate.loader.Loader.doQuery(Loader.java:661) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.doList(Loader.java:2150) | ... 12 more | 0 | Creation of JbpmConfiguration Object | public static JbpmConfiguration getConfiguration() | { | | JbpmConfiguration jbpmConfiguration = null; | | // An example configuration file such as this can be found in | // 'src/config.files'. Typically the configuration information is in the | // resource file 'jbpm.cfg.xml', but here we pass in the configuration | // information as an XML string. | | // First we create a JbpmConfiguration statically. One JbpmConfiguration | // can be used for all threads in the system, that is why we can safely | // make it static. | | jbpmConfiguration = JbpmConfiguration.parseXmlString( | "" + | | // A jbpm-context mechanism separates the jbpm core | // engine from the services that jbpm uses from | // the environment. | | " " + | " " + | " " + | | // Also all the resource files that are used by jbpm are | // referenced from the jbpm.cfg.xml | | " " + | " " + | " " + | " " + | " " + | " " + | " " + | ""); | | return jbpmConfiguration; | } | Instantiation of process | public void createInstance() throws Exception | { | | //JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | JbpmConfiguration jbpmConfiguration = JBPMHelper.getConfiguration(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try | { | ProcessInstance processInstance = jbpmContext.newProcessInstance("SolicitudPrestamo"); | if (processInstance.getProcessDefinition().getTaskMgmtDefinition().getStartTask() == null) | { | processInstance.signal(); | } | else | { | TaskInstance startTask = | processInstance.getTaskMgmtInstance().createStartTaskInstance(); | jbpmContext.save(startTask); | } | } | finally | { | jbpmContext.close(); | } | } | Thanks in advance for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958133#3958133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958133 From do-not-reply at jboss.com Fri Jul 14 12:09:54 2006 From: do-not-reply at jboss.com (genman) Date: Fri, 14 Jul 2006 12:09:54 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <11637198.1152893394340.JavaMail.jboss@colo-br-02.atl.jboss.com> In terms of design, it's a good idea to make each tree node represent a relational database row (fixed in size), rather than store the contents of an entire database table. For example, if you were storing customers, each customer should have its own node. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958135#3958135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958135 From do-not-reply at jboss.com Fri Jul 14 12:10:04 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 12:10:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing methods inside the view Message-ID: <31639531.1152893404920.JavaMail.jboss@colo-br-02.atl.jboss.com> No, this is EL-level stuff, defined by the JSTL spec. Method binding expressions and value binding expressions are very different things. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958137#3958137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958137 From do-not-reply at jboss.com Fri Jul 14 12:12:29 2006 From: do-not-reply at jboss.com (bkaremba) Date: Fri, 14 Jul 2006 12:12:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Custom fork - jbpm 3 Message-ID: <9330686.1152893549383.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you manage to get any answers for this? Regards Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958139#3958139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958139 From do-not-reply at jboss.com Fri Jul 14 12:13:03 2006 From: do-not-reply at jboss.com (kslm23) Date: Fri, 14 Jul 2006 12:13:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <30941300.1152893583678.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running JBoss 4.0.4 and i tried portal 2.4 version SP2 and RC1. Somehow i can login as admin when i run RC1 (though i get some other error messages when i start jboss which i attribute to the fact that it is not a stable version yet) but not with SP2. The XAException is not showing up anymore but i get this when i try to log in: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. -------------------------------------------------------------------------------- Please try the following: If you typed the page address in the Address bar, make sure that it is spelled correctly. Open the localhost:8080 home page, and then look for links to the information you want. Click the Back button to try another link. Click Search to look for information on the Internet. HTTP 400 - Bad Request Internet Explorer ------------------------------------------------------------ I think that XAException was showing up for some other reason. When i try to login now, no exceptions are thrown but i see the page above in the IE. I tried downloading bundled portal with AS, version SP2 but getting exactly the same problem. Please let me know if i can provide any more info. Could you please let me know what version of portal is consistent with current web installer of JBoss? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958140#3958140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958140 From do-not-reply at jboss.com Fri Jul 14 12:13:31 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 12:13:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Possible to write a rollback SeamTest? Message-ID: <751509.1152893611244.JavaMail.jboss@colo-br-02.atl.jboss.com> Of course. Any runtime exceptions not annotated as an @ApplicationException is defined as a "system exception" by the EJB spec and rolls back the transaction when it propagates out of the bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958141#3958141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958141 From do-not-reply at jboss.com Fri Jul 14 12:15:05 2006 From: do-not-reply at jboss.com (chris.laprun@jboss.com) Date: Fri, 14 Jul 2006 12:15:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection Message-ID: <27052655.1152893705176.JavaMail.jboss@colo-br-02.atl.jboss.com> I am unable to replicate the issue in CR2. Can you please try and see if it makes a difference? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958142#3958142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958142 From do-not-reply at jboss.com Fri Jul 14 12:17:21 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 12:17:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <32073761.1152893841202.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Ah cool, I missed that. Will check it out. Not sure how it works to do POSTs with XML in them to a JSF app, but that's probably just my inner newbie talking... doesn't seem like it should be a problem. This is the thing that I have spent the most time thinking through. The biggest problem with building RESTful webservices is parsing incoming XML, and I think that calls for a whole new API for XML parsing. Though I note that Flikr just seems to use plain old request parameters in its API, no XML.... anonymous wrote : That seems like a feature, not a bug :-) If you don't care about big chunks of the lifecycle, stub it right out! Wellyes, it is automatically stubbed out by JSF (non-faces request). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958143#3958143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958143 From do-not-reply at jboss.com Fri Jul 14 12:18:49 2006 From: do-not-reply at jboss.com (abl) Date: Fri, 14 Jul 2006 12:18:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Deployment error mapping a parent/child related entity Message-ID: <17373397.1152893929919.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a self-referencing entity hierarchy like that: @Entity | @Inheritance(strategy=InheritanceType.JOINED) | public abstract class HrcEntity extends ComplexEntity | { | private List children; | private T parent; | | @OneToMany(mappedBy="parent", cascade=CascadeType.REMOVE) | public List getChildren() | { | return children; | } | | @ManyToOne(fetch=FetchType.LAZY) | public T getParent() | { | return parent; | } | | } | | @Entity | @Inheritance(strategy=InheritanceType.JOINED) | public class Node extends HrcEntity | { | ... | } so I can do for example: List children = node.getChildren(); but deploying these entities I get the error: "java.lang.IllegalStateException: Property parent has an unbound type and no explicit target entity." from my point of view this should work - there is is a table HrcEntity in db and hibernate simply has to map the column "parent" to the same table. btw. - if I make HrcEntity non-generic it works, but I get very ugly code with lot of casts and "instanceof" any comments? thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958144#3958144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958144 From do-not-reply at jboss.com Fri Jul 14 12:19:54 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 12:19:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to redirect to the start page in a conversation when Message-ID: <6482626.1152893994702.JavaMail.jboss@colo-br-02.atl.jboss.com> The ifNotBegunOutcome needs to trigger a navigation rule in your faces-config.xml, of course! Its not going to trigger a transition in the pageflow, since there is no pageflow, since you just restarted the server! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958146#3958146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958146 From do-not-reply at jboss.com Fri Jul 14 12:22:19 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 12:22:19 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <11965751.1152894139295.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : The simplest way is to put facelets and ajax4jsf libraries into server/default/deploy/jbossweb-xxx/jsf-libs | (Of course remove them from your war file) Unfortunately this approach is not good enough for the Seam examples packaging. All dependencies must go into the EAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958147#3958147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958147 From do-not-reply at jboss.com Fri Jul 14 12:24:27 2006 From: do-not-reply at jboss.com (hosierdm) Date: Fri, 14 Jul 2006 12:24:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <5773031.1152894267590.JavaMail.jboss@colo-br-02.atl.jboss.com> This may sound like a stupid question, but did you actually create the database? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958148#3958148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958148 From do-not-reply at jboss.com Fri Jul 14 12:25:05 2006 From: do-not-reply at jboss.com (nabeelhamad) Date: Fri, 14 Jul 2006 12:25:05 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - messages getting cached and not getting distributed among re Message-ID: <19726653.1152894305360.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are using JBoss 3.2.1 version. We have three nodes (say node1, node2 and node3) and on each node we have 2 MDBs listening to a queue on a single node (say node1). We have limited the MDBs to 2 each to achieve load balancing. The idea was that when there are more than 2 messages coming at the same time, they be processed on different nodes. The problem we are facing is that when we place 8 messages at the same time, the first 2 gets picked up by the MDBs on a particular node (say node2 - this changes every time we restart the servers) and starts processing immediately. The next four gets cached, and the next two goes to another node (say node1) and gets processed over there. The four that gets cached gets processed only on node2 and not on any other node. We would require your help to understand this behaviour of messages getting cached and to fix this issue so that the messages are processed first come first basis. Now what is happening is, whenever the number of messages are lesser than or equal to six they always get processed on the same node, two at a time and doesn't get distributed among the nodes. Thanks in advance. regards, nabeel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958149#3958149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958149 From do-not-reply at jboss.com Fri Jul 14 12:26:25 2006 From: do-not-reply at jboss.com (kslm23) Date: Fri, 14 Jul 2006 12:26:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <2894176.1152894385896.JavaMail.jboss@colo-br-02.atl.jboss.com> I am sorry, i meant to say i was using 2.2.1-SP2 and 2.4 CR1. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958152#3958152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958152 From do-not-reply at jboss.com Fri Jul 14 12:26:55 2006 From: do-not-reply at jboss.com (taiji3) Date: Fri, 14 Jul 2006 12:26:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Interportlet Communication (Again) Message-ID: <23728045.1152894415173.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you, free1000, for that link. I found the information I needed on that page. My portlets were coded properly, but apparently JBoss caches portlet render fragments so I had to add 0 to my portlet.xml. Now it works perfectly. On to the next project! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958153#3958153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958153 From do-not-reply at jboss.com Fri Jul 14 12:27:21 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Fri, 14 Jul 2006 12:27:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <25245676.1152894441981.JavaMail.jboss@colo-br-02.atl.jboss.com> There is no Porta 2.4 SP2 (yet), I think you are referring to CR2 which was released yesterday. I was unable to reproduce your error under either 2.4 CR1 or 2.4 CR2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958155#3958155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958155 From do-not-reply at jboss.com Fri Jul 14 12:43:52 2006 From: do-not-reply at jboss.com (abdielj) Date: Fri, 14 Jul 2006 12:43:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <9280069.1152895432841.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes. And I checked the Database Manager and the table has data, including the the record for the process that i want to instatiate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958156#3958156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958156 From do-not-reply at jboss.com Fri Jul 14 12:46:00 2006 From: do-not-reply at jboss.com (asarubbi) Date: Fri, 14 Jul 2006 12:46:00 -0400 (EDT) Subject: [jboss-user] [JBossWS] - wstools is working properly? Message-ID: <1318644.1152895560473.JavaMail.jboss@colo-br-02.atl.jboss.com> running wstools generates invalid datatypes when an array was specified in WSDL /* | * JBossWS WS-Tools Generated Source | * | * Generation Date: Fri Jul 14 12:29:50 ADT 2006 | * This generated source code represents a derivative work of the | * input to | * the generator that produced it. Consult the input for the copyright and | * terms of use that apply to this source code. | */ | | package gov.py.set.services.rucas; | | | public class ClientSystem | { | | protected java.lang.Integer id; | | protected java.lang.String name; | | protected [Ljava.lang.Byte; password; | should be protected java.lang.Byte[] password; in some classes, first letter of the method name is not mantained when using an uppercase identifier: /* | * JBossWS WS-Tools Generated Source | * | * Generation Date: Fri Jul 14 12:29:50 ADT 2006 | * | * This generated source code represents a derivative work of the input to | * the generator that produced it. Consult the input for the copyright and | * terms of use that apply to this source code. | */ | package gov.py.set.services.rucas; | public interface SessionManagement extends java.rmi.Remote | { | | public gov.py.set.services.rucas.RUCASConnectResponse rUCASConnect(gov.py.set.services.rucas.AppInfo appInfo,gov.py.set.services.rucas.LoginMethod loginMethod,gov.py.set.services.rucas.CryptMethod cryptMethod) throws java.rmi.RemoteException; and finally, jaxrpc-mapping.xml: | rUCASConnect | RUCASConnect | all errors are fixable but after every regeneration, needs plumbing... don't know if previous messages posted this or resolution status... (newbie in jboss web services) thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958158#3958158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958158 From do-not-reply at jboss.com Fri Jul 14 12:48:54 2006 From: do-not-reply at jboss.com (sxj) Date: Fri, 14 Jul 2006 12:48:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Adding a listner as a new service Message-ID: <5185187.1152895734175.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. I'll try this but I am not sure if i can run that as a service within JBoss. I have implemented MBean to be running as service but the JMS listener code gives an exception. What method shud be used to connect to the queue. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958160#3958160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958160 From do-not-reply at jboss.com Fri Jul 14 13:01:13 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 14 Jul 2006 13:01:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing methods inside the view Message-ID: <9155833.1152896473770.JavaMail.jboss@colo-br-02.atl.jboss.com> THanks Gavin, but does that mean that it is possible? I cannot find anything on how this would be possible... maybe you have a link or something... thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958163#3958163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958163 From titanyen2000 at yahoo.com Fri Jul 14 13:20:55 2006 From: titanyen2000 at yahoo.com (Zakai Kinan) Date: Fri, 14 Jul 2006 10:20:55 -0700 (PDT) Subject: [jboss-user] Book recommendation! Message-ID: <20060714172055.99055.qmail@web32612.mail.mud.yahoo.com> Can someone recommend a good Jboss book for a beginner? TIA, ZK __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From do-not-reply at jboss.com Fri Jul 14 13:26:56 2006 From: do-not-reply at jboss.com (Basel) Date: Fri, 14 Jul 2006 13:26:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - create method not found + @Factory Message-ID: <1453664.1152898016019.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am trying to cerate a new entry, entity bean, using three pages with the help of jBPM similar to the example illustrated in jbossworld-seam-lab.zip file. These three pages are going to be used in a RESTful application that follows the blog example. So, I have a data entry page called newentry.jsf, similar to the bolg example, that has a reference to a variable created with the help of the @Factory annotation. In that page the variable is referenced just like any bean: | | The method that creates the variable is in a stateful session bean, to take advantage of jBPM pageflow: | @Stateful | @Name("postAction") | public class PostAction implements PostActionInterface{ | | @In(create=true) | private Category category; | | //@In(create=false, value="newEntry") | @In(create=false) | private Entry entry; | | @Factory("newEntry") | public void createNewEntry(){ | entry = new Entry(category); | } | | @Logger | private Log log; | | //@Begin(pageflow="new-entry", join=true) | @Begin(pageflow="new-entry") | public void startPost(){ | log.info("Starting to create a new post"); | } | | @Remove @Destroy | public void destroy(){} | } | As you might have noticed, there is a page event in pages.xml that is supposed to call startPost() method in order to start a new conversation: | | Unfortunately, when I try to access the newentry.jsf page I get the following stacktrace: | SEVERE: Error Rendering View[/newentry.xhtml] | java.lang.IllegalArgumentException: create method not found | at org.jboss.seam.Component.callComponentMethod(Component.java:1342) | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1293) | at org.jboss.seam.Component.getInstance(Component.java:1260) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:71) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135) | at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:58) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getValue(AstValue.java:106) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at javax.faces.component.UIOutput.getValue(UIOutput.java:176) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:282) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:208) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:847) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:827) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:552) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NoSuchMethodException: $Proxy275.createNewEntry() | at java.lang.Class.getMethod(Class.java:1581) | at org.jboss.seam.Component.callComponentMethod(Component.java:1331) | ... 52 more | 19:54:41,948 INFO [SeamExceptionFilter] killing transaction | I forgot to mention that the entity bean entry is only annotated with @Entity. What did I do worng? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958166#3958166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958166 From do-not-reply at jboss.com Fri Jul 14 13:27:57 2006 From: do-not-reply at jboss.com (msolnit) Date: Fri, 14 Jul 2006 13:27:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Trouble with LinkageError Message-ID: <25448383.1152898077376.JavaMail.jboss@colo-br-02.atl.jboss.com> I must admit, I've read a lot of the documentation (including the three class loader articles on the wiki), and some other forum posts, and I still don't get it. The goal is the following: 1) Use our own copy of any utility JAR's we choose to deploy (STaX, for example, or Apache Axis). 2) Use the JBoss copy of any utility JAR's that we don't deploy (Xerces, for example). 3) Have both a "production" and a "development" version of our product running in the same JBoss instance. We deploy our app as an EAR file containing utility JAR's and a single WAR. To make everything work correctly, I've added the following jboss-app.xml file: | | | www.foo.com:loader=foo-demo.ear | | java2ParentDelegation=true | | | | The development version and the production version have different JMX names for the loaders. With this configuration, everthing was working fine, until I tried to use an Apache Axis client for a web service. All of a sudden, we are getting "java.lang.LinkageError: loader constraints violated when linking javax/xml/soap/MimeHeaders class" whenever we try to use this client. The weird things: 1) Whichever version of the app is accessed first will work. So for example, if I hit production first then production works and dev fails, vice versa. 2) The JMX console shows that javax.xml.soap.MimeHeaders is being loaded into a single UCL for each hierarchical loader, which is what we want, right? I would appreciate any help. Sincerely, Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958167#3958167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958167 From do-not-reply at jboss.com Fri Jul 14 13:41:48 2006 From: do-not-reply at jboss.com (tsar_bomba) Date: Fri, 14 Jul 2006 13:41:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @OneToOne, no primary keys... Message-ID: <16383675.1152898908035.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an update on this issue, hopefully someone can fill me in. I've been testing Hibernate as the persistence engine in Glassfish and once I switched to Toplink in Glassfish, this issue went away. See this thread: http://forums.java.net/jive/thread.jspa?messageID=132930𠝂 I've been using Hibernate 3.2.0.cr2 (and related annotations, entitymanager libs) but I noticed cr3 is out - does this fix this issue? I use both JBoss and Glassfish and would like to use Hibernate as the persistence engine in any and all cases as I use a lot of Hibernate outside of the container as well - I would like to continue to do so! Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958168#3958168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958168 From do-not-reply at jboss.com Fri Jul 14 13:50:02 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 13:50:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <29496242.1152899402577.JavaMail.jboss@colo-br-02.atl.jboss.com> In BPEL 1.1, the fault variable is not local to the fault handler; it references a variable in the enclosing scope. That is why you don't see a faultMessageType attribute there. If you want a document to be parsed under 2.0 rules, change the namespace of your BPEL elements from http://schemas.xmlsoap.org/ws/2003/03/business-process/ to http://schemas.xmlsoap.org/ws/2004/03/business-process/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958169#3958169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958169 From do-not-reply at jboss.com Fri Jul 14 13:55:09 2006 From: do-not-reply at jboss.com (lazybeans) Date: Fri, 14 Jul 2006 13:55:09 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - unusual clustering error causing jboss apps to freeze. Message-ID: <8980384.1152899709240.JavaMail.jboss@colo-br-02.atl.jboss.com> I have two jboss 4.0.4CR1 w/ejb3 servers clustered with session failover. They were running great for about 1 month. Then all of a sudden out of nowhere I get this clustering warning message on both machines and both of them freeze all of sudden. I had to kill both app servers and restart as a consequence. Below is a sample of the messages from one of the machines, the other machine exhibits similar messages (twiddle and toodle are the two names of the machines). 2006-07-13 21:04:29,799 ERROR [org.jgroups.protocols.pbcast.GMS] [twiddle:36484] received view <= current view; discarding it (current vid: [twiddle:36484|6], new vid: [twiddle:36484|6]) 2006-07-13 21:04:38,502 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:38,503 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:38,503 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:55,795 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:55,795 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:55,796 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:04:55,796 WARN [org.jgroups.protocols.pbcast.NAKACK] [twiddle:36488 (additional data: 19 bytes)] discarded message from non-member toodle:34338 (additional data: 19 bytes) 2006-07-13 21:05:06,509 WARN [org.jgroups.protocols.FD] I was suspected, but will not remove myself from membership (waiting for EXIT message) 2006-07-13 21:05:06,509 WARN [org.jgroups.protocols.pbcast.CoordGmsImpl] merge responses from subgroup coordinators <= 1 ([sender=twiddle:36488 (additional data: 19 bytes), view=[twiddle:36488 (additional data: 19 bytes)|4] [twiddle:36488 (additional data: 19 bytes)], digest=[twiddle:36488 (additional data: 19 bytes): [0 : 31]]). Cancelling merge 2006-07-13 21:05:06,520 WARN [org.jgroups.protocols.pbcast.GMS] checkSelfInclusion() failed, twiddle:36484 is not a member of view [toodle:34335|7] [toodle:34335]; discarding view 2006-07-13 21:05:06,520 WARN [org.jgroups.protocols.pbcast.GMS] I (twiddle:36484) am being shunned, will leave and rejoin group (prev_members are [twiddle:36484 toodle:34313 toodle:34327 toodle:34335 ]) 2006-07-13 21:05:15,218 WARN [org.jgroups.protocols.pbcast.CoordGmsImpl] I am the coord and I'm being am suspected -- will probably leave shortly 2006-07-13 21:05:29,274 WARN [org.jgroups.protocols.FD] I was suspected, but will not remove myself from membership (waiting for EXIT message) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958172#3958172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958172 From do-not-reply at jboss.com Fri Jul 14 14:01:32 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 14 Jul 2006 14:01:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Regarding Identity Management Component Message-ID: <19747256.1152900092110.JavaMail.jboss@colo-br-02.atl.jboss.com> The reason is that jBPM is also able to run outside of an app server, e.g. in Tomcat or in a rich client application. But to do interesting things wrt task management and task assignment, you need an identity component. So we provided a default system that is *very* easily changeable by any system provided by some 'big vendor' :-)) The only thing you have to do to implement this is provide your own implementation of a configurable assignment handler. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958173#3958173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958173 From do-not-reply at jboss.com Fri Jul 14 14:03:10 2006 From: do-not-reply at jboss.com (bruce_zhang) Date: Fri, 14 Jul 2006 14:03:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <28315160.1152900190311.JavaMail.jboss@colo-br-02.atl.jboss.com> You are right! After I changed the data structure stored in the cache as you suggested, it gained great performance improve in read/write and can fully meet my current requirement. Looks like how to store date is also a key when using TreeCache. Thank you so much for all the help! You guys are doing amazing jobs ! -Bruce View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958174#3958174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958174 From do-not-reply at jboss.com Fri Jul 14 14:16:50 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 14:16:50 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <27786138.1152901010820.JavaMail.jboss@colo-br-02.atl.jboss.com> I am little confused as to exactly which variables are getting set here. The Address and DefaultIP should be multicast IPs (224.x.x.x). Would actually expect an exception to be thrown if are set to 127.0.0.1 (e.g. java.net.SocketException: Not a multicast address). You can set the BindAddress to 127.0.0.1, but this is just basically to indicate which network interface to use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958175#3958175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958175 From do-not-reply at jboss.com Fri Jul 14 14:25:53 2006 From: do-not-reply at jboss.com (crosenbury) Date: Fri, 14 Jul 2006 14:25:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Message Driven with other JMS Provider Message-ID: <6990457.1152901553284.JavaMail.jboss@colo-br-02.atl.jboss.com> In Jboss 4.0.1, we used: | | ActionPlansMonitorBean | evg.epam.actionplans.monitorcall | | | sonic-message-driven-bean | | | | in the jboss.xml file to describe that we wanted our message driven bean to listen on the sonic bus rather than the standard JBoss JMS bus. Is there a way to provide this invoker proxy information to an MDB using annotations, or do I still need this xml in the new model? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958176#3958176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958176 From do-not-reply at jboss.com Fri Jul 14 14:26:08 2006 From: do-not-reply at jboss.com (max522over) Date: Fri, 14 Jul 2006 14:26:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <29278058.1152901568938.JavaMail.jboss@colo-br-02.atl.jboss.com> If you want info about myfaces try: http://wiki.apache.org/myfaces/FrontPage or http://myfaces.apache.org/ if you want information about JSF you can go: http://www.jcp.org/en/jsr/detail?id=127 or http://java.sun.com/javaee/javaserverfaces/ But as far as Seam's JSF tags. I think Seam was designed to work with JSF and therefore all the JSF tag libraries that are compliant with spec should work with Seam. I could be wrong but that is the way I understand it. Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958177#3958177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958177 From do-not-reply at jboss.com Fri Jul 14 14:27:15 2006 From: do-not-reply at jboss.com (GabrielBianco) Date: Fri, 14 Jul 2006 14:27:15 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - 'no-select-before-insert' Message-ID: <8849351.1152901635507.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure if I should post this here or under "Installation, Configuration & Deployment" but it's related to CMP, so... We found out that CMP instance creation is causing a pretty big perfomance loss... The cause is described in the wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=CMPInstanceCreation We tried 'no-select-before-insert' and it worked exactly as wiki entry says it would, with only one detail: First, DuplicateKeyExceptions no longe occur. Instead we get CreateExceptions. That easy to deal with. But, before we can catch the CreateException, JBoss outputs the original exception (the one it got from the DB driver). Only after that it throws us a CreateException explaining that it was probably caused by a primary key violation... We don't want this output at all, as it gives us a huge and hard to read stdout.log... The undesired output is something like this: anonymous wrote : | 14:25:58,875 ERROR [EjbName] Failed to create instance. | java.sql.SQLException: [DBHOSTNAME]Violation of PRIMARY KEY constraint 'PK__TableName__2136E270'. Cannot insert duplicate key in object 'TableName'. | at com.inet.tds.e.a(Unknown Source) | ... | large stack trace | ... | Is it possible to configure JBoss so it won't show certain exceptions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958178#3958178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958178 From do-not-reply at jboss.com Fri Jul 14 14:28:22 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 14:28:22 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <12653604.1152901702299.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I misspoke. I was thinking one thing and said another. I meant to say both Address and DefaultIP are set the same (224.16.16.16). The BIND address is the thing I set to 127.0.0.1 (I also tried 192.168.0.5). | Multicast Detector address: /224.16.16.16 | Multicast Detector port: 16162 | Multicast Detector bind address: /192.168.0.5 | Multicast Detector default IP: 224.16.16.16 | Multicast Detector default time delay: 5000 | Multicast Detector heartbeat time delay: 1000 | With this setup, "netstat" is showing the bind address to be 0.0.0.0 - below are some snippets of my netstat output - you can see 16162 has a local address of 0.0.0.0: | C:\Documents and Settings\mazz>netstat -a -n -p U | | Active Connections | | Proto Local Address Foreign Address | UDP 0.0.0.0:445 *:* | ... UDP 0.0.0.0:16162 *:*... | UDP 0.0.0.0:54925 *:* | ... | UDP 127.0.0.1:123 *:* | UDP 127.0.0.1:1096 *:* | ... | UDP 192.168.0.3:123 *:* | UDP 192.168.0.3:137 *:* | UDP 192.168.0.3:138 *:* | UDP 192.168.0.3:1900 *:* | UDP 192.168.0.5:123 *:* | UDP 192.168.0.5:137 *:* | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958179#3958179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958179 From do-not-reply at jboss.com Fri Jul 14 14:35:26 2006 From: do-not-reply at jboss.com (richmitc) Date: Fri, 14 Jul 2006 14:35:26 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection Message-ID: <28571275.1152902126829.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I received the same error in CR2. This is under Fedora Core 5 using Firefox. Here is what I did: 1. Rebooted my system. 2. Cleared out my /usr/local/jboss directory. 3. Followed this procedure to install a clean CR2 http://enlitants.com/blog/2006/07/13/jboss-portal-24-install-on-fedora-core-5/ 4. Surfed to the portal. 5. Logged in as admin. 6. Expanded root in the management console. Selected default. Selected Themes. Selected "no selection". Clicked update. I get this error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:306) org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.NullPointerException org.jboss.portal.core.command.MarkupCommand.getTheme(MarkupCommand.java:358) org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:300) org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91) I only included the top part of the chain but can include it all if needed. I get this error now no matter what I do. Rich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958180#3958180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958180 From do-not-reply at jboss.com Fri Jul 14 14:38:36 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 14:38:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <31832724.1152902316492.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : But as far as Seam's JSF tags. I think Seam was designed to work with JSF and therefore all the JSF tag libraries that are compliant with spec should work with Seam. I could be wrong but that is the way I understand it. Correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958181#3958181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958181 From do-not-reply at jboss.com Fri Jul 14 14:39:45 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 14:39:45 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <17387313.1152902385803.JavaMail.jboss@colo-br-02.atl.jboss.com> Short answer is I don't know why is showing 0.0.0.0. I tried it on my machine and get: java.exe:5456 UDP GINGER:16162 *:* You on windows or linux (my test was on windows)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958182#3958182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958182 From do-not-reply at jboss.com Fri Jul 14 14:48:00 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 14:48:00 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <6060492.1152902880163.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm on windows... show the numeric IP: netstat -n -a (note the -n) and see what you get. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958184#3958184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958184 From do-not-reply at jboss.com Fri Jul 14 14:50:03 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 14:50:03 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <21569220.1152903003211.JavaMail.jboss@colo-br-02.atl.jboss.com> Mine "looks" OK if I don't ask to see the actual IP: UDP mazzlap:16162 But if I ask to see the actual IP, I see the 0.0.0.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958185#3958185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958185 From do-not-reply at jboss.com Fri Jul 14 14:52:07 2006 From: do-not-reply at jboss.com (wmprice) Date: Fri, 14 Jul 2006 14:52:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider Message-ID: <33368625.1152903128015.JavaMail.jboss@colo-br-02.atl.jboss.com> The thing to do would be to use Sonic's JMS/JCA adapter for this. This would allow you to integrate Sonic with JBoss without having to worry about extended configurations in your XML file. With EJB3, it's simply a matter of annotating the MDB appropriately to point to the appropriate RAR file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958186#3958186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958186 From do-not-reply at jboss.com Fri Jul 14 14:52:33 2006 From: do-not-reply at jboss.com (augustinm) Date: Fri, 14 Jul 2006 14:52:33 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - How to find the current thread in Jboss Message-ID: <16289199.1152903153198.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am running Jboss 3.0.8 application server. It occupies around 200MB. Once in a while, it shoots to 1GB and runs out of memory. I want to find out the current thread that is running to be able to debug this issue. Any help is really appreciated. Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958187#3958187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958187 From do-not-reply at jboss.com Fri Jul 14 15:10:43 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 15:10:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Progress Message-ID: <24002610.1152904243417.JavaMail.jboss@colo-br-02.atl.jboss.com> I've updated the docs to cover all the new stuff in Seam 1.1. This includes stuff like: * * themes * @Redirect / @HttpError * major improvements to components.xml * @Begin(flushMode=MANUAL) * deprecation of @Conversational(ifNotBeginOutcome) in favor of no-conversation-view-id For the next week or so I'll be working on our JSF/Ajax story and, when I've got something good enough there, I'll release 1.1.CR1. It would be nice if people who have a spare minute could test out current CVS to see whats broken... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958189#3958189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958189 From do-not-reply at jboss.com Fri Jul 14 15:12:54 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 15:12:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <10587728.1152904374910.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't see any code with a @Create annotation. Seam would not throw that exception unless it appears somewhere. I think you are looking in the wrong place for the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958190#3958190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958190 From do-not-reply at jboss.com Fri Jul 14 15:14:42 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 14 Jul 2006 15:14:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <27477269.1152904482894.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, woops! Actually it is a misleading exception message. I'll fix that. I think the problem is that your @Factory method is not declared on the local interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958191#3958191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958191 From do-not-reply at jboss.com Fri Jul 14 15:15:48 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 15:15:48 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <14412772.1152904548957.JavaMail.jboss@colo-br-02.atl.jboss.com> Mine showing the 0.0.0.0 as well with -n. The bind address set it used to set the MulticastSocket's interface (http://java.sun.com/j2se/1.4.2/docs/api/java/net/MulticastSocket.html#setInterface(java.net.InetAddress)). No idea why netstat showing 0.0.0.0 other than being part of the jdk implementation for previous method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958192#3958192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958192 From do-not-reply at jboss.com Fri Jul 14 15:23:12 2006 From: do-not-reply at jboss.com (leulberg) Date: Fri, 14 Jul 2006 15:23:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: mapping problems between ntext, jtds and ejb3 Message-ID: <13169985.1152904992094.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried useLOB=true in jtds and annotation like this | /** | * TextArea message | */ | @Lob @Basic | @Column(name="message", columnDefinition="NTEXT NULL") | public void setMessage(String s){ | this.message = s; | } | public String getMessage(){ | return this.message; | } | But no better result. In addition the stack trace: | org.hibernate.HibernateException: Wrong column type: message, expected: varchar(255) | at org.hibernate.mapping.Table.validateColumns(Table.java:251) | at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1002) | at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:116) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:314) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:627) | : | : | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958193#3958193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958193 From do-not-reply at jboss.com Fri Jul 14 15:23:55 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 15:23:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <32717847.1152905035562.JavaMail.jboss@colo-br-02.atl.jboss.com> Given the construct you quote, I assume you are using BPEL 1.1. The corresponding behavior should be: from-spec extracts the literal value (1) as a text info item to-spec replaces the content of the element info item that represents the message part with the extracted value The value of part int_2 should be: 1 Is this different from the behavior you are seeing? If so, what specific issues are you facing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958194#3958194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958194 From do-not-reply at jboss.com Fri Jul 14 15:29:41 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 15:29:41 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <752948.1152905381378.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmm... I read the Javadocs and I still get confused - Interface vs. NetworkInterface, blah blah. I'll keep an eye on this for any potential problems - it just doesn't seem right that netstat is showing that I'm bound to 0.0.0.0 (which I assume means all of them). I guess no one else has ran into problems with this, so I'll take that as a good sign. Soldiering on... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958195#3958195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958195 From do-not-reply at jboss.com Fri Jul 14 15:37:03 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 14 Jul 2006 15:37:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Instantiate on demand Message-ID: <27422037.1152905823222.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a small question regarding the instantiation of entites inside other entites. Lets say the following: class Info { private PhoneNumber phone; private Email mail; } now when I am in the view and want to use the info.phone.description I would have had to write "private PhoneNumber phone = new PhoneNumber" instead, however I only want to do this if the customer decides to really enter one, otherwise there are lots of blanks in the DB... if I do as I want, I get a "not-null property references a null or transient value property"-Exception... Do you have any clues on how to solve this problem? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958196#3958196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958196 From do-not-reply at jboss.com Fri Jul 14 15:41:09 2006 From: do-not-reply at jboss.com (barddzen) Date: Fri, 14 Jul 2006 15:41:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <32830886.1152906069607.JavaMail.jboss@colo-br-02.atl.jboss.com> Still no go. I changed the instance file as follows: | | | | | | SFRequestsInstance | SFRequests | | | | | and got this exception | 15:38:25,750 ERROR [PortletAppDeployment] Error when creating instances | org.jboss.portal.common.util.NoSuchElementException: Missing child instance of e | lement deployment | at org.jboss.portal.common.util.XML.getUniqueChild(XML.java:325) | at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.buildInst | ances(PortletAppDeployment.java:266) | at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(Por | tletAppDeployment.java:80) | at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$Deploym | entContext.start(PortalDeploymentInfo.java:211) | at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerD | eployer.java:242) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(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 $Proxy114.deploy(Unknown Source) | at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(Server | Deployer.java:296) | 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 $Proxy87.deploy(Unknown Source) | at org.jboss.portal.server.deployment.WebAppAdapter.deploy(WebAppAdapter | .java:54) | at org.jboss.portal.server.deployment.WebAppIntercepter.handleNotificati | on(WebAppIntercepter.java:145) | 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.notification.NotificationListenerProxy.invoke(Notificati | onListenerProxy.java:153) | at $Proxy115.handleNotification(Unknown Source) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat | ion(JBossNotificationBroadcasterSupport.java:127) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio | n(JBossNotificationBroadcasterSupport.java:108) | at org.jboss.deployment.SubDeployerSupport.emitNotification(SubDeployerS | upport.java:340) | at org.jboss.deployment.SubDeployerSupport.start(SubDeployerSupport.java | :308) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:48 | 2) | 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.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto | rServiceMBeanSupport.java:238) | at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java: | 117) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. | start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce | ptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy92.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor88.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.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$ScannerThread. | loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | run(AbstractDeploymentScanner.java:225) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958197#3958197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958197 From do-not-reply at jboss.com Fri Jul 14 15:42:51 2006 From: do-not-reply at jboss.com (tanked) Date: Fri, 14 Jul 2006 15:42:51 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - JNDI between 2 JBoss instances Message-ID: <21896857.1152906171465.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created 2 jboss instances, one running just JMS and the other... everything else. What I need to be able to do is create a publisher in the other JBoss instance. Currently I have a naming service in each instance, is there any way to just configure the naming service on one, and all clients use that naming service? I am using 4.0.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958198#3958198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958198 From do-not-reply at jboss.com Fri Jul 14 15:51:42 2006 From: do-not-reply at jboss.com (chusband) Date: Fri, 14 Jul 2006 15:51:42 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Lob is not being lazily loaded Message-ID: <32845152.1152906702874.JavaMail.jboss@colo-br-02.atl.jboss.com> I apologize if this is not the correct forum... I have a byte[] in an entity that I am annotating with lob and fetch=lazy. Yet when I retrieve it though a session bean, it is fully loaded. I heard that "lazy" is only a hint. It is important that I only lazily load this. Is there a more correct way to do this? In Entity: | private byte[] data; | | @Lob | @Basic(fetch=FetchType.Lazy) | public byte[] getData() { | return data; | } | ... | Things I've tried: I tried using a secondarytable annotation, but the field was still eagerly loaded. I tried creating a data table and a OneToOne relationship, but when I set this relationship to be lazily loaded, jassist returns an error. I got it to work with a OneToMany relationship, but that "bugs" me since it is really a one-to-one relationship. Thanks for the help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958199#3958199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958199 From do-not-reply at jboss.com Fri Jul 14 15:53:32 2006 From: do-not-reply at jboss.com (kazam) Date: Fri, 14 Jul 2006 15:53:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Regarding Identity Management Component Message-ID: <17406890.1152906812523.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks all. I am now trying to use jbpm identity component model to point to my applications datasource, as I already have information for users and roles in the application and wish to extend the model by including groups and memberships. I am newbie to hibernate so I am not exactly sure if I am doing it correctly. I have a user and a role table and have created a group and memberships table in my schema. I have taken out the identity components mappings from hibernate.cfg.xml and created another hibernate configuration file and placed in those mappings there, with connection properties for my application database. However, I am having trouble connecting to two oracle schema's at the same time, one for JBPM and the other for my application with JBPM_ID component tables. Any ideas or directions are much appreciated. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958200#3958200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958200 From do-not-reply at jboss.com Fri Jul 14 15:54:36 2006 From: do-not-reply at jboss.com (chusband) Date: Fri, 14 Jul 2006 15:54:36 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Lob is not being lazily loaded Message-ID: <27277281.1152906876101.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to mention I am using jboss-4.0.4.GA with a postgres DB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958201#3958201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958201 From do-not-reply at jboss.com Fri Jul 14 16:05:00 2006 From: do-not-reply at jboss.com (phlogistic) Date: Fri, 14 Jul 2006 16:05:00 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: webservice runs on JBoss 4.0.3, throws exception on JBos Message-ID: <29472994.1152907500096.JavaMail.jboss@colo-br-02.atl.jboss.com> Found out the answer - JBoss 4.0.4 / JBossWS 1.0.1 is NOT COMPLIANT, and DOES NOT SUPPORT the WS standard of 'nodatabinding'!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958203#3958203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958203 From do-not-reply at jboss.com Fri Jul 14 16:05:30 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 16:05:30 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <11387039.1152907530341.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried with setting the NetworkInterface and am seeing the same thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958204#3958204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958204 From do-not-reply at jboss.com Fri Jul 14 16:21:54 2006 From: do-not-reply at jboss.com (wpfeiffe) Date: Fri, 14 Jul 2006 16:21:54 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Where is download jbossws-1.0.1.GA.zip? Message-ID: <17803048.1152908514612.JavaMail.jboss@colo-br-02.atl.jboss.com> Trying to download this zip file and can't seem to find it. Most links on JBoss site point to the download page. The download link for JBossWS just points back to this same page without going to a download area. Maybe someone could post a link directly to the zip file. I'm really looking for some JSR109 samples so if anyone has pointers to good samples/tutorials I'd appreciate it. Thanks, Bill Pfeiffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958205#3958205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958205 From do-not-reply at jboss.com Fri Jul 14 16:27:47 2006 From: do-not-reply at jboss.com (wpfeiffe) Date: Fri, 14 Jul 2006 16:27:47 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Where is download jbossws-1.0.1.GA.zip? Message-ID: <21351584.1152908867741.JavaMail.jboss@colo-br-02.atl.jboss.com> Found the file. Just to spare someone else from having to navigate the cyclical link nonsense on this site: http://labs.jboss.com/portal/jbossws/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958206#3958206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958206 From do-not-reply at jboss.com Fri Jul 14 16:30:27 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 16:30:27 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <26492676.1152909027701.JavaMail.jboss@colo-br-02.atl.jboss.com> No. Look at the doc: | | | | | NewsPortletInstance2 | NewsPortlet | | | | I'm assuming you're using 2.4? If not, let me know. Also, can you please try with CR1 or CR2 of 2.4 and not the Beta? Please do a clean install, or use the bundle with hypersonic, to isolate any other problems that may be occurring. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958207#3958207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958207 From do-not-reply at jboss.com Fri Jul 14 16:36:11 2006 From: do-not-reply at jboss.com (ncapito) Date: Fri, 14 Jul 2006 16:36:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <8983325.1152909371268.JavaMail.jboss@colo-br-02.atl.jboss.com> I get an error if i try the 1 example. It says... 2006-07-14 16:24:08,711 ERROR org.jbpm.bpel.xml.ProblemHandler] MyWorkFlow.bpel(285) cvc-complex-type.2.3: Element 'from' cannot have character [children], because the type's content type is element-only. FYI bpel block: | | 1 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958208#3958208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958208 From do-not-reply at jboss.com Fri Jul 14 16:47:39 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 16:47:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <26994460.1152910059943.JavaMail.jboss@colo-br-02.atl.jboss.com> I just added a test for this case: AssignExeTest. That test uses BPEL 2 syntax. I forgot that, in BPEL 1.1, only elements are allowed in the literal variant of . If you prefer working in this version, use the expression variant: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958209#3958209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958209 From do-not-reply at jboss.com Fri Jul 14 16:51:14 2006 From: do-not-reply at jboss.com (chris.laprun@jboss.com) Date: Fri, 14 Jul 2006 16:51:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot create role and user in 2.4CR2 Message-ID: <801757.1152910274066.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem with role creation should now be fixed in CVS. Thanks for the report. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958210#3958210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958210 From do-not-reply at jboss.com Fri Jul 14 16:52:08 2006 From: do-not-reply at jboss.com (kraptor) Date: Fri, 14 Jul 2006 16:52:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Porting JBP 2.4.0 CR1 to Red Hat box Message-ID: <10080322.1152910328042.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I created my portal on Windows XP and ran JBP CR1 using JBoss AS 4.0.4 GA. I had it working perfectly and I decided to host it on a red hat box hoping for better performance and faster load up times. I copied the entire jboss-portal-2.4.0-CR1 folder to USB and put it on a local directory on the machine and ran it. When I tried to go to http://localhost:8080 it gave me a popup message saying "Connection was refused while trying to connect to localhost:8080". In the system log (pasted below) there were the messages saying that some of the war files were waiting to be deployed, but it never happened and a lot of them failed. If anybody knows an alternative way to transferring the web portal to a linux machine, please let me know. Also, can the portal be deployed by dragging the portal-server.war file onto a running JBoss AS? I got a failed deploy message when I tried this. Any help at all would be highly appreciated... Thanks! | ========================================================================= | | JBoss Bootstrap Environment | | JBOSS_HOME: /home/swuser/shiv/jboss-portal-2.4.0-CR1 | | JAVA: /usr/java/jdk1.5.0_07/bin/java | | JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dprogram.name=run.sh | | CLASSPATH: /home/swuser/shiv/jboss-portal-2.4.0-CR1/bin/run.jar:/usr/java/jdk1.5.0_07/lib/tools.jar | | ========================================================================= | | 16:29:37,148 INFO [Server] Starting JBoss (MX MicroKernel)... | 16:29:37,150 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) | 16:29:37,154 INFO [Server] Home Dir: /home/swuser/shiv/jboss-portal-2.4.0-CR1 | 16:29:37,176 INFO [Server] Home URL: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/ | 16:29:37,179 INFO [Server] Patch URL: null | 16:29:37,180 INFO [Server] Server Name: default | 16:29:37,180 INFO [Server] Server Home Dir: /home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default | 16:29:37,180 INFO [Server] Server Home URL: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/ | 16:29:37,180 INFO [Server] Server Log Dir: /home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/log | 16:29:37,181 INFO [Server] Server Temp Dir: /home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/tmp | 16:29:37,186 INFO [Server] Root Deployment Filename: jboss-service.xml | 16:29:37,627 INFO [ServerInfo] Java version: 1.5.0_07,Sun Microsystems Inc. | 16:29:37,627 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_07-b03,Sun Microsystems Inc. | 16:29:37,628 INFO [ServerInfo] OS-System: Linux 2.6.9-5.EL,i386 | 16:29:38,847 INFO [Server] Core system initialized | 16:29:43,240 INFO [WebService] Using RMI server codebase: http://radserver.mot.net:8083/ | 16:29:43,274 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 16:29:43,622 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory | 16:29:45,062 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-aop.deployer/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-aop.deployer | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:45,288 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-bean.deployer/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-bean.deployer | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,065 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/http-invoker.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive http-invoker.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,123 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-portal.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-portal.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,160 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossweb-tomcat55.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jbossweb-tomcat55.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,206 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossws14.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jbossws14.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,243 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jms/jbossmq-httpil.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jbossmq-httpil.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:46,281 ERROR [MainDeployer] Could not initialise deployment: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/management/console-mgr.sar/ | org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive console-mgr.sar | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 16:29:50,944 INFO [MailService] Mail Service bound to java:/Mail | 16:29:51,503 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar | 16:29:51,565 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar | 16:29:51,621 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar | 16:29:51,707 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar | 16:29:51,856 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar | 16:29:51,907 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar | 16:29:53,595 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 16:29:54,019 INFO [A] Bound to JNDI name: queue/A | 16:29:54,041 INFO [B] Bound to JNDI name: queue/B | 16:29:54,062 INFO [C] Bound to JNDI name: queue/C | 16:29:54,084 INFO [D] Bound to JNDI name: queue/D | 16:29:54,105 INFO [ex] Bound to JNDI name: queue/ex | 16:29:54,800 INFO [testTopic] Bound to JNDI name: topic/testTopic | 16:29:54,822 INFO [securedTopic] Bound to JNDI name: topic/securedTopic | 16:29:54,845 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic | 16:29:54,868 INFO [testQueue] Bound to JNDI name: queue/testQueue | 16:29:54,934 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093 | 16:29:55,562 INFO [DLQ] Bound to JNDI name: queue/DLQ | 16:29:55,816 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 16:29:55,939 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PortalDS' to JNDI name 'java:PortalDS' | 16:29:55,974 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- Packages waiting for a deployer --- | org.jboss.deployment.DeploymentInfo at 1b57d272 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/helloworldjspportlet.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/helloworldjspportlet.war/ | altDD: null | lastDeployed: 1152908995970 | lastModified: 1152801160000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 3282161c { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1152908995972 | lastModified: 1152801153000 | mbeans: | | org.jboss.deployment.DeploymentInfo at ca32bf1d { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/vncjspportlet.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/vncjspportlet.war/ | altDD: null | lastDeployed: 1152908995973 | lastModified: 1152801152000 | mbeans: | | --- Incompletely deployed packages --- | org.jboss.deployment.DeploymentInfo at 38dd0229 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-aop.deployer/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-aop.deployer/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908985061 | lastModified: 1152801159000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 6f2f34b9 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-bean.deployer/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-bean.deployer/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908985288 | lastModified: 1152801159000 | mbeans: | | org.jboss.deployment.DeploymentInfo at bea40e54 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/http-invoker.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986065 | lastModified: 1152801159000 | mbeans: | | org.jboss.deployment.DeploymentInfo at d3e0ad07 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-portal.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986123 | lastModified: 1152801159000 | mbeans: | | org.jboss.deployment.DeploymentInfo at adff9b0b { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossweb-tomcat55.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986159 | lastModified: 1152821735000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 5ccbcb89 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossws14.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jbossws14.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986206 | lastModified: 1152801153000 | mbeans: | | org.jboss.deployment.DeploymentInfo at bafff24d { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jms/jbossmq-httpil.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jms/jbossmq-httpil.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986243 | lastModified: 1152801153000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 732a9693 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/management/console-mgr.sar/ } | deployer: org.jboss.deployment.SARDeployer at 9980d5 | status: null | state: FAILED | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/management/console-mgr.sar/META-INF/jboss-service.xml | altDD: null | lastDeployed: 1152908986281 | lastModified: 1152801153000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 1b57d272 { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/helloworldjspportlet.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/helloworldjspportlet.war/ | altDD: null | lastDeployed: 1152908995970 | lastModified: 1152801160000 | mbeans: | | org.jboss.deployment.DeploymentInfo at 3282161c { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jmx-console.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/jmx-console.war/ | altDD: null | lastDeployed: 1152908995972 | lastModified: 1152801153000 | mbeans: | | org.jboss.deployment.DeploymentInfo at ca32bf1d { url=file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/vncjspportlet.war/ } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/home/swuser/shiv/jboss-portal-2.4.0-CR1/server/default/deploy/vncjspportlet.war/ | altDD: null | lastDeployed: 1152908995973 | lastModified: 1152801152000 | mbeans: | | | 16:29:56,102 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 18s:911ms | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958211#3958211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958211 From do-not-reply at jboss.com Fri Jul 14 16:54:08 2006 From: do-not-reply at jboss.com (creative77) Date: Fri, 14 Jul 2006 16:54:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Hibernate Config. Message-ID: <22922543.1152910448874.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958212#3958212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958212 From do-not-reply at jboss.com Fri Jul 14 16:57:55 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Fri, 14 Jul 2006 16:57:55 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <31013757.1152910675524.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe Bela or someone on his team can shed some light on this - why its happening and the meaning of those API methods (Interface vs. NetworkInterface). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958214#3958214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958214 From do-not-reply at jboss.com Fri Jul 14 16:59:55 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 16:59:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: bpel-174, resume process execution after system restart Message-ID: <27285690.1152910795341.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi L., Yes, it will be available in CVS. Please watch the issue to receive a notification when it is resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958215#3958215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958215 From do-not-reply at jboss.com Fri Jul 14 17:08:19 2006 From: do-not-reply at jboss.com (gus888) Date: Fri, 14 Jul 2006 17:08:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <27286269.1152911299227.JavaMail.jboss@colo-br-02.atl.jboss.com> Congratulations! Thank you so much and have a great weekend! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958216#3958216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958216 From do-not-reply at jboss.com Fri Jul 14 17:11:05 2006 From: do-not-reply at jboss.com (giants_fan) Date: Fri, 14 Jul 2006 17:11:05 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - event lisenters in HAR file? Message-ID: <31589858.1152911465527.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to create a custom Hibernate event listener via the HAR file mechanism? I know I can do an interceptor (via the "SessionFactoryInterceptor" attribute in the hiberate-service.xml file) but I want to write some code to fire *after* the save. I know you can do it outside of Jboss, in Hibernate, in the hibernate.cfg.xml file natively, but if you use a HAR file, you don't need/use that config, right? I've been searching and searching but haven't found anything so far, hence this post. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958217#3958217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958217 From do-not-reply at jboss.com Fri Jul 14 17:13:38 2006 From: do-not-reply at jboss.com (barddzen) Date: Fri, 14 Jul 2006 17:13:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found Message-ID: <20215195.1152911618740.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, that got it deployed! What's really, really wierd is the portal/portlet appears to be working fine, but it's throwing a butt-load of exceptions in the JBoss window. I can post some if you want for reference... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958219#3958219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958219 From do-not-reply at jboss.com Fri Jul 14 17:14:48 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Fri, 14 Jul 2006 17:14:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss Portal 2.4.0 CR2 clustered released Message-ID: <14453618.1152911688916.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Portal 2.4.0 CR2 clustered has been released today and is available from Sourceforge at http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509&release_id=415694. This clustered configuration offers: ? Portal Session Replication and Portlet Session Replication ? Clustered Single Sign On ? Clustered CMS More information on how to set up your Portal Clusters can be found in the documentation. Thanks, Rali Genova JBoss QA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958220#3958220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958220 From do-not-reply at jboss.com Fri Jul 14 17:16:00 2006 From: do-not-reply at jboss.com (newbie007) Date: Fri, 14 Jul 2006 17:16:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <16179691.1152911760683.JavaMail.jboss@colo-br-02.atl.jboss.com> Check your hibernate config file. May be you are pointing to a different schema or may be the table you created in your schema might have a typo in the name (just a thought). Did you manually created the schema or used hbm2ddl tool (hibernate tool for generating schema from mapping) ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958222#3958222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958222 From do-not-reply at jboss.com Fri Jul 14 17:30:50 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 17:30:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Not being able to resume a process instance after server Message-ID: <31703934.1152912650990.JavaMail.jboss@colo-br-02.atl.jboss.com> Jiehuan, Please refer to the related topic, bpel -174, resume process execution after system restart for details on this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958223#3958223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958223 From do-not-reply at jboss.com Fri Jul 14 17:31:49 2006 From: do-not-reply at jboss.com (kazam) Date: Fri, 14 Jul 2006 17:31:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Remove or Delete User - Group from Identity store Message-ID: <13047954.1152912709169.JavaMail.jboss@colo-br-02.atl.jboss.com> The identity session has ways of saving and updating users and groups to the datastore but how can I remove a user or a group. In the membership.hbm.xml I can see the cascade options but, where in the Identity API are the removal calls. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958224#3958224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958224 From do-not-reply at jboss.com Fri Jul 14 17:42:02 2006 From: do-not-reply at jboss.com (j1a2o) Date: Fri, 14 Jul 2006 17:42:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Multiple tasks, multiple users transition Message-ID: <1731226.1152913322143.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a task node with 2 tasks assigned to 2 users. This node has 2 transitions: a "Yes" transition which moves onto the next task node and a "No" transition which goes to a previous node and back to the current node. My problem is that when User 1 says No for his task action, and User 2 says Yes for his task action, the task will move on instead of going to the previous node. The last user to enter a task action determines the transition. Is there a way to make it so that tasks will only continue when all users say "Yes"? Alternate solutions would be appreciated as well. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958225#3958225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958225 From do-not-reply at jboss.com Fri Jul 14 17:44:31 2006 From: do-not-reply at jboss.com (jiwils) Date: Fri, 14 Jul 2006 17:44:31 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Use XMBean Persistence & Complex Attributes? Message-ID: <12235665.1152913471024.JavaMail.jboss@colo-br-02.atl.jboss.com> Using the example persistence XMBean provided with JBoss 4.0.4 (persistence-service.sar), I have set the attribute SomeNullObject to a custom Serializable class (that happens to be a JavaBean). Serialization/persistence works when I set this method via a remote JMX client. However, when I restart JBoss, it complains that this class can not be found (but this class is in the SAR and it found it when it serialized just fine). A couple of other notes: * If we use the typical types of String, etc (apparently anything in the JDK), this problem does not happen. * If we place our class in the lib directory instead of the SAR, we have the same problem. Has anyone tried this, or does anyone have any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958226#3958226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958226 From do-not-reply at jboss.com Fri Jul 14 17:47:00 2006 From: do-not-reply at jboss.com (newbie007) Date: Fri, 14 Jul 2006 17:47:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Multiple tasks, multiple users transition Message-ID: <31399265.1152913620895.JavaMail.jboss@colo-br-02.atl.jboss.com> Use fork and join. The system will move on from join only if all the children of fork completed successfully. The join will make sure that it received all the child tokens. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958227#3958227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958227 From do-not-reply at jboss.com Fri Jul 14 17:52:07 2006 From: do-not-reply at jboss.com (perwik) Date: Fri, 14 Jul 2006 17:52:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Limitations of action oriented framework (pages) Message-ID: <29394723.1152913927788.JavaMail.jboss@colo-br-02.atl.jboss.com> How about using http://www.tuckey.org/urlrewrite/ for things like these? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958229#3958229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958229 From do-not-reply at jboss.com Fri Jul 14 18:03:22 2006 From: do-not-reply at jboss.com (hosierdm) Date: Fri, 14 Jul 2006 18:03:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <28002908.1152914602129.JavaMail.jboss@colo-br-02.atl.jboss.com> There are none. And be careful with the cascades, they are screwed up. If you were to implement the removeUser(), it will cause all groups the user belongs to to be deleted, along with all users that are in those groups. I've implemented the removeUser() myself, and I fixed the cascade settings in my own server, but I don't really have time right now to post that stuff here. Let me know if you're interested, and I can try to do it this weekend. Sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958231#3958231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958231 From do-not-reply at jboss.com Fri Jul 14 18:08:25 2006 From: do-not-reply at jboss.com (d-rock) Date: Fri, 14 Jul 2006 18:08:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Class name case incorrect in generated client artifacts Message-ID: <11845470.1152914905395.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using the wstools.sh from JBoss 4.0.4 GA to generate some client artifacts for a web service I wrote and I found that in the generated PortType.java file that the return and parameter types (I'm using document style) have a lowercase first letter instead of uppercase. Because of this the generated files won't compile unless I tweak it. This happens whether I use the implicit package or supply my own package-namespace element. For example | public interface HelloWorld_PortType extends java.rmi.Remote | { | | public test.helloWorldResponse sayHello(test.helloWorld helloWorld) throws java.rmi.RemoteException; | } | Note the "helloWorldResponse" and "helloWorld" should have a capital H in hello. Derek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958232#3958232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958232 From do-not-reply at jboss.com Fri Jul 14 18:16:07 2006 From: do-not-reply at jboss.com (sansari13) Date: Fri, 14 Jul 2006 18:16:07 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Any known issue with being behind an HTTP proxy? Message-ID: <14014999.1152915367309.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss should be configured for HTTP proxy server, that you will be using to access dtd/schema, etc behind the firewall. Open run.sh and add the following lines before the java run command. rem Setup JBoss HTTP proxy server configuration set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost= -Dhttp.proxyPort= -DproxySet=true -saM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958233#3958233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958233 From do-not-reply at jboss.com Fri Jul 14 18:41:57 2006 From: do-not-reply at jboss.com (agun) Date: Fri, 14 Jul 2006 18:41:57 -0400 (EDT) Subject: [jboss-user] [JBossWS] - passing the burden of specifying namespace->pkg mapping to t Message-ID: <7247156.1152916917847.JavaMail.jboss@colo-br-02.atl.jboss.com> I have not got any answer to this question so I'll try it agin. With JBoss 4.0.4, the JBoss developers have passes on the responsibility of specifying the package to namespace mapping of java-wsdl to the user. As a result, people who are writing tools that takes in user-defined interfaces and use wstools to generate the wsdl need to figure out and supply the package name to namespace mapping in the java-wsdl config. This works fine as long as the SEI and its associated classes that it references are in the same package, but in an enterprise setup, this is a rarity - the SEI uses classes from various other packages. At the moment, JBoss expects that all pkg->namespace need to be supplied, which puts a heavy burden on the tool-writer in this case. Is this a first shot approach and the goal is to generate a default mapping if the user does not supply them (like what is done by all other vendors). Or is this a permanent design? I wonder why I get no responses on this? A simple 'Yes this is the design and you will have to follow this if you want to use Jboss' will do!! :) If this is indeed a 'permanent' design, then I have to look elsewhere - axis at this time is far better IMO. Any answer will suffice, but going by the record in this group, I kinda doubt I'll get one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958234#3958234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958234 From do-not-reply at jboss.com Fri Jul 14 18:57:43 2006 From: do-not-reply at jboss.com (jnorris10) Date: Fri, 14 Jul 2006 18:57:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <14186150.1152917863392.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a real pain to workaround since if a transaction is rolled back because of a database deadlock, entities with @GeneratedValue @Ids end up with bogus @Ids since the generated database values have been rolled back in the database, but not in the entities. Therefore, an automatic retry of the transaction will not work because the entities are now technically "detached" entities and em.persist() will fail. Even if full blown entity property rollback isn't implemented, it seems that at the very least @GeneratedValue @Id should be. Here is a possible workaround I can try: 1) Mark the entities in the entity graph which do not have @GeneratedValue @Id values set using a @PrePersist entity callback/listener. 2) Add an EJB3 Interceptor that wraps the CMT demarcation point. This could catch EJB3TransactionRolledbackException, traverse the entity graph in the EntityManager and unset the @Ids of the marked entities, then rethrow the EJB3TransactionRolledbackException. Does anyone have any better ideas? This solution seems rather dirty. Also, it may not even be possible to get a list of the currently managed entities from the EntityManager (I don't see any interface in EntityManager or org.hibernate.Session). Of course, it sure would be nice to have real entity bean property rollback semantics... ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958236#3958236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958236 From do-not-reply at jboss.com Fri Jul 14 19:57:35 2006 From: do-not-reply at jboss.com (genman) Date: Fri, 14 Jul 2006 19:57:35 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: messages getting cached and not getting distributed amon Message-ID: <22110591.1152921455843.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a load balancing configuration for a queue, check the wiki. It's probably only JBoss 3.2.x , where x > 1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958237#3958237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958237 From do-not-reply at jboss.com Fri Jul 14 20:00:08 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Fri, 14 Jul 2006 20:00:08 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <3269069.1152921608147.JavaMail.jboss@colo-br-02.atl.jboss.com> Ramil, Thanks for sharing the solution. I tried what you suggested and got "Cannot process handler chain". Here is the jar file structure: myWebService.jar ----class files ----config/ServerHandlers.xml ----META-INF --------jboss-wsse-server.xml --------wsse.keystore --------wsse.truststroe I used the exact same ServerHanlers.xml as you. Am I missing something? Thanks, Yi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958238#3958238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958238 From do-not-reply at jboss.com Fri Jul 14 20:08:36 2006 From: do-not-reply at jboss.com (ncapito) Date: Fri, 14 Jul 2006 20:08:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <4483755.1152922116208.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Thats what i originally used. THe problem that i was having was i was trying to use an int. So when i did the expression it crashed because of a number format exception. I guess i will just use two strings, and do some conversions do get the strings to what i want. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958239#3958239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958239 From do-not-reply at jboss.com Fri Jul 14 21:07:48 2006 From: do-not-reply at jboss.com (aron-smith) Date: Fri, 14 Jul 2006 21:07:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - startup error PSQLException: ERROR: syntax error at or near Message-ID: <28751308.1152925668181.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am stuck on this issue - my hsqldb-jdbc2-service.xml is below. Unmodified from distributed with 4.0.4 org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag e recovery may not be accurate; - nested throwable: (org.postgresql.util.PSQLExc eption: ERROR: syntax error at or near "TXID") at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers istenceManager.java:442) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceMana ger.java:1571) 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 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.GeneratedMethodAccessor6.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:302) 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 $Proxy25.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor14.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.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.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.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.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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "TX ID" at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx ecutorImpl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor Impl.java:1309) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja va:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract Jdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc 2Statement.java:258) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery (WrappedPreparedStatement.java:236) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers istenceManager.java:403) ... 113 more 19:45:50,796 INFO [Ejb3Deployment] EJB3 deployment time took: 515 19:45:50,843 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=patie ntis.ejb3,name=PatientBean,service=EJB3 with dependencies: 19:45:51,046 INFO [EJBContainer] STARTED EJB: com.patientis.ejb.patient.Patient Bean ejbName: PatientBean 19:45:51,125 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss_4_0_4/s erver/default/deploy/patientis.ejb3 19:45:51,218 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep loy/jmx-console.war/ 19:45:51,375 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- 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.postgresql.ut il.PSQLException: ERROR: syntax error at or near "TXID") I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- 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.postgresql.ut il.PSQLException: ERROR: syntax error at or near "TXID") I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager jboss.jca:service=DataSourceBinding,name=DefaultDS BLOB_TYPE=OBJECT_BLOB INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS SELECT_MAX_TX = SELECT MAX(TXID) TXID FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES) DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T' DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID) CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION) CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) CREATE_TABLES_ON_STARTUP = TRUE 0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958240#3958240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958240 From do-not-reply at jboss.com Fri Jul 14 21:14:05 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Fri, 14 Jul 2006 21:14:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injection/loading not working on Seam CRUD app? Message-ID: <3064141.1152926045842.JavaMail.jboss@colo-br-02.atl.jboss.com> Just happened to me too. Thanks captain ;-) But I couldn't find the creation of the resourceBundle anywhere else in the CRUD app, only in the Selector class. I think this could be a bug in the CRUD generator, since this is generated: | ... | private transient ResourceBundle resourceBundle; | | @In(create = true) | private transient OrdersEditor ordersEditor; | | @In(create = true) | private transient OrdersFinder ordersFinder; | ... | and probably it should be like this: | ... | @In(create = true)private transient ResourceBundle resourceBundle; | | @In(create = true) | private transient OrdersEditor ordersEditor; | | @In(create = true) | private transient OrdersFinder ordersFinder; | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958241#3958241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958241 From do-not-reply at jboss.com Fri Jul 14 21:44:41 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 14 Jul 2006 21:44:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <22606222.1152927881769.JavaMail.jboss@colo-br-02.atl.jboss.com> The number format exception is actually a bug. Check out BPEL-197. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958242#3958242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958242 From do-not-reply at jboss.com Fri Jul 14 21:49:10 2006 From: do-not-reply at jboss.com (gcowsar) Date: Fri, 14 Jul 2006 21:49:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <721999.1152928150952.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm still at it. I'm still stuck. I don't want to be a pain in the butt, but... This is one of those situations where I'm learning several things at once and I appreciate that fact. It means I'm too ignorant (not informed/knowledgable) yet to even be able to ask the right questions. I've learned a lot... I've learned that: - this is cool stuff and I know its early in development so I'm not expecting too much - there are several different versions of Eclipse, JBoss, Seam, Hibernate, JFC and that's a complex matrix if this stuff is version sensitive - there are differences between the Seam samples and the code generated by the SeamReverseEng tool and I have not sorted that out completely - I have a natural (and very strong) tendency to not want to go backwards, since I'd like to start contributing to these projects - a lot about how JBoss and Seam are put together in the process, still have a long way to go here, but it is very interesting - Eclipse and ant are not well integrated -- this is frustrating Also, various others have had most of the same problems that I have and I've tried to gather that all up and apply it (but it is scattered all over the place) -- so far I'm still failing. It sure would be nice if somebody had a perscription for getting this to work with the (more or less) latest versions of everything -- even bleeding edge is OK. I did go build 4.0.5CR1 of JBoss so just tell me which versions of the other stuff I should get/build and I'll go for it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958243#3958243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958243 From do-not-reply at jboss.com Fri Jul 14 23:01:48 2006 From: do-not-reply at jboss.com (kslm23) Date: Fri, 14 Jul 2006 23:01:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <5176480.1152932508270.JavaMail.jboss@colo-br-02.atl.jboss.com> I just tried installing JBoss Portal + JBoss AS 2.2.1-SP2 Production 57.8 MB 2006-06-24 on my home computer and got exactly the same problem as before - Internet Explorer throwing HTTP 400 error. Here are the steps i went thru: downloaded a bundle. Unzipped it. Renamed the folder to "jboss-4.0.4", then went to bin directory and ran "run.bat". Then went to http://localhost:8080/portal, clicked standard login and then put "admin/admin" No errors trying to start jboss or after i clicked "login". This is the URL i am seeing after i click "login" http://localhost:8080/portal/auth/j_security_check%> and HTTP 400 error. This is the URL i get on Mozillla. http://localhost:8080/portal/auth/j_security_check%%3E and no error displayed on the page, just blank page. I think there must be something to it since i didn't set up anything special, just downloaded and ran. Please let me know if you have any suggestions. Thank you![/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958244#3958244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958244 From do-not-reply at jboss.com Fri Jul 14 23:37:07 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Fri, 14 Jul 2006 23:37:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <32829536.1152934627850.JavaMail.jboss@colo-br-02.atl.jboss.com> "gcowsar" wrote : Maybe I missed the solution, but I saw where other people are having a similar problem and I didn't see the solution: | | | 17:44:58,661 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Cannot get value for expression '#{rolleruserSelector.pageTitle}' | | | It Builds, it deploys, but doesn't run. "gcowsar" wrote : | OK I got the latest (I built jboss-4.0.5.CR1 from CVS) and used the libraries from there. Got the search page showing up now. | | But, it fails when I hit the Find button with: | | javax.faces.FacesException: Error calling action method of component with id _id2:_id18 | org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | javax.faces.component.UICommand.broadcast(UICommand.java:106) | javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | These exceptions are usually not the cause of the problem itself. Try looking at the JBoss/Tomcat console window. At the end of the stack you will find the exception that caused everything. Post'em here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958245#3958245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958245 From do-not-reply at jboss.com Fri Jul 14 23:53:57 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 23:53:57 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: who creates servlet server invoker? Message-ID: <8710404.1152935637860.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBREM-542 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958246#3958246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958246 From do-not-reply at jboss.com Fri Jul 14 23:56:26 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 14 Jul 2006 23:56:26 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Servlet and HTTP invoket does't throw remote method Exce Message-ID: <27975623.1152935786538.JavaMail.jboss@colo-br-02.atl.jboss.com> The latest change for this is http://jira.jboss.com/jira/browse/JBREM-543. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958247#3958247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958247 From do-not-reply at jboss.com Fri Jul 14 23:57:19 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 14 Jul 2006 23:57:19 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <23041303.1152935839206.JavaMail.jboss@colo-br-02.atl.jboss.com> Get the 2.2.1SP3 bundle. http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509&release_id=386247 There is an extra %> in the login page form action, which causes the error youre seeing in SP2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958248#3958248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958248 From do-not-reply at jboss.com Fri Jul 14 23:59:27 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Fri, 14 Jul 2006 23:59:27 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <32552099.1152935967222.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, so this is concurrent update from the same cache instance (but multi-threaded). If you can boil it down to a simple junit test case, that would be the best case. If not, please email me the detailed error log again to ben dot wang at jboss dot com. thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958249#3958249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958249 From do-not-reply at jboss.com Sat Jul 15 00:02:43 2006 From: do-not-reply at jboss.com (Basel) Date: Sat, 15 Jul 2006 00:02:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <29306410.1152936163923.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : | I think the problem is that your @Factory method is not declared on the local interface. Yeah that is right, I forgot to add the createNewEntry method to the local interface. Thank you Gavin ^_^ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958250#3958250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958250 From do-not-reply at jboss.com Sat Jul 15 00:06:01 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Sat, 15 Jul 2006 00:06:01 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Isolation level in detail Message-ID: <12798394.1152936361500.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I am not aware of any current caching solution that has extra information. Basically, I implemented it as a DB semantics copied from the SQL-92 spec. Idea is to provide users a high-level logical view of the locking instead of managing fine-grained node-level one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958251#3958251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958251 From do-not-reply at jboss.com Sat Jul 15 00:22:05 2006 From: do-not-reply at jboss.com (ezraepstein) Date: Sat, 15 Jul 2006 00:22:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - PageContainer in 2.2 source tree but not found in 2.2.1-SP2 Message-ID: <22798813.1152937325838.JavaMail.jboss@colo-br-02.atl.jboss.com> The subject says it all. I'm looking for the newer code that shows up not only in the 2.4 branch of the portal code base but was also added to the 2.2 branch. I can find the code in CVS but not .class files in the .jars in the binary download. Anyone else exp. this? We're trying to code against the newer APIs (notably PageContainer et. al.) Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958252#3958252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958252 From do-not-reply at jboss.com Sat Jul 15 01:09:53 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Sat, 15 Jul 2006 01:09:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Old method signature being called. Why? Message-ID: <22108982.1152940193275.JavaMail.jboss@colo-br-02.atl.jboss.com> I generated a CRUD app using the latest generator (Hibernate Tools 3.2.0 beta 6). Then I had to change some types in the Entity. eg: I changed my "orderDate" field from Serializable to java.util.Date, since Oracle holds SYSDATE for that column. (I also changed a BigDecimal field to Double which led me to the very same problem posted here) private Date orderDate; Then of course I changed the getter and setter, and everything related, such as f:convertDateTime tag for the field inside the jsp. All fine. Then I build and deploy the app. I check the deployed file just to make sure it is the one ;-) Before starting JBoss, I remove the tmp and work dirs, just to make sure ;-) Then I start JBoss and here we go. I access my search page, click on the Find button, and then I get a status 500 page with a Servlet Exception. Following the stack, I find the cause: java.lang.NoSuchMethodError: com.example.order.Orders.getOrderDate()Ljava/io/Serializable; | at com.example.order.OrdersFinderBean.executeQuery(OrdersFinderBean.java:73) | at com.example.order.OrdersFinderBean.findFirstPage(OrdersFinderBean.java:125) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | ... 113 more Of course it will never find this method, because I changed the return type. It is looking for the old method signature, and I can't find out why. I have all the stuff up to date: Eclipse 3.2 JBoss 4.0.4GA with EJB3 profile (JEMS installer) Seam 1.0.1GA and the examples work just fine, like seam-booking. Does anyone had this problem before? This is giving me headaches ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958253#3958253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958253 From do-not-reply at jboss.com Sat Jul 15 01:58:13 2006 From: do-not-reply at jboss.com (fguerzoni) Date: Sat, 15 Jul 2006 01:58:13 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client access to Entity beans Message-ID: <4229582.1152943093164.JavaMail.jboss@colo-br-02.atl.jboss.com> >From Entity Bean tutorial: Entity Beans have been given a complete overhaul in EJB 3.0. Entity beans are plain Java objects that can be allocated with new and attached/detached/reattached to persistence storage. Entity beans are not remotable and must be access through the new javax.persistence.EntityManager service. JBoss's EJB 3.0 implementation is built on top of Hibernate. So with ejb3, the facade pattern, is not an option anymore. bye F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958254#3958254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958254 From do-not-reply at jboss.com Sat Jul 15 01:58:42 2006 From: do-not-reply at jboss.com (khsiow) Date: Sat, 15 Jul 2006 01:58:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Backbutton Example Message-ID: <196953.1152943122395.JavaMail.jboss@colo-br-02.atl.jboss.com> Anyone has an example to share on how to get the prevent backbutton? So far, all the examples allowed the backbutton operation and it was messing up conversation. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958255#3958255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958255 From do-not-reply at jboss.com Sat Jul 15 03:21:55 2006 From: do-not-reply at jboss.com (ihunter) Date: Sat, 15 Jul 2006 03:21:55 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Urgent help please! Message-ID: <26816120.1152948115201.JavaMail.jboss@colo-br-02.atl.jboss.com> [Using JBoss 4.0.3, EJB2, MySQL] Hi Folks, I have an EJB 2.0 app. and I need to effect the following (psudo) query for an entity... SELECT obj FROM Obj WHERE (obj.x IN {0}) LIMIT {1} Using dynamicQL does it, but the LIMIT doesn't go into the actual SQL for MySQL and blows the transaction timeout. OK, so I use declared-sql, but I NEED to parameterise the IN list from the application - how can do I do this? Anybody got any ideas, or alternative approaches. Many many thanks for any help [Hope this is clear enough] Ian Hunter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958256#3958256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958256 From do-not-reply at jboss.com Sat Jul 15 04:18:05 2006 From: do-not-reply at jboss.com (lafr) Date: Sat, 15 Jul 2006 04:18:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deploying with JBoss rules Message-ID: <29260499.1152951485326.JavaMail.jboss@colo-br-02.atl.jboss.com> The class org.eclipse.jdt.internal.compiler.CompilationResult is not part of any lib of jbossrules. The class is needed, when an error occured in your rules. I added org.eclipse.jdt.core_3.2.0.v_671.jar from eclipse 3.2.0 to the libs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958257#3958257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958257 From do-not-reply at jboss.com Sat Jul 15 04:36:22 2006 From: do-not-reply at jboss.com (lafr) Date: Sat, 15 Jul 2006 04:36:22 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HILO, oracle9i Message-ID: <8350307.1152952582108.JavaMail.jboss@colo-br-02.atl.jboss.com> ORA 942: "table does not exist". So you'll have to create the table or allow jboss to do it on startup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958258#3958258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958258 From do-not-reply at jboss.com Sat Jul 15 04:52:36 2006 From: do-not-reply at jboss.com (elkner) Date: Sat, 15 Jul 2006 04:52:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Deployment error mapping a parent/child related entity Message-ID: <7432416.1152953556635.JavaMail.jboss@colo-br-02.atl.jboss.com> = unbound type ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958259#3958259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958259 From do-not-reply at jboss.com Sat Jul 15 04:57:48 2006 From: do-not-reply at jboss.com (bela@jboss.com) Date: Sat, 15 Jul 2006 04:57:48 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <3424215.1152953868147.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you use MulticastSocket.setNetworkInterface()/setInterface() ? Can you post some *short* sample code ? Note I'm not subscribed to this forum, so you need to send me the code directly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958260#3958260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958260 From do-not-reply at jboss.com Sat Jul 15 05:53:10 2006 From: do-not-reply at jboss.com (stephan.opitz) Date: Sat, 15 Jul 2006 05:53:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB 30 - SOME KIND OF LEFT JOIN HELP Message-ID: <16399861.1152957190611.JavaMail.jboss@colo-br-02.atl.jboss.com> i have two tables CREATE TABLE categories ( categories_id BIGINT(20) NOT NULL, image VARCHAR(45) NOT NULL, parent_categories_id BIGINT(20) NOT NULL, sort_order INTEGER(3) NOT NULL, last_modified DATETIME NOT NULL, timestamp DATETIME NOT NULL, PRIMARY KEY(categories_id) ); CREATE TABLE categories_lang ( categories_id BIGINT(20) NOT NULL, languages_id BIGINT(20) NOT NULL, name VARCHAR(45) NOT NULL, description TEXT NOT NULL, PRIMARY KEY(categories_id, languages_id) ); i created the ejb 3.0 -> all fine but i don't know how i make i set or sth like this to get an specific categorieslang set when i ask for a special categorie? what i have to add to categories ejb? the categories lang should depend on the categories_id and the language id, which i have before ask for categories. actual i make another query to get the categories lang, but i want only one query where i get a categorie with a specific lang :-/ a have no solution found yet, because it is not an classic one...., connection... thx stephan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958261#3958261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958261 From do-not-reply at jboss.com Sat Jul 15 07:33:35 2006 From: do-not-reply at jboss.com (owatta) Date: Sat, 15 Jul 2006 07:33:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How can I do the emoticons in the Forum portlet? Message-ID: <26229966.1152963215100.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running jboss-portal-2.2.1-SP1 src jboss-forums-2.2.1-SP1 src which I built and deployed on jboss-portal-2.2.1-SP1-bundled It all works terrifically but now my users are asking "How do I use emoticons in the Forums"? I see reference to emoticons/smiles in the code and this forum @ www.jboss.com says "Smilies are ON" but how do I turn them on in my site? Thanks, Julian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958262#3958262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958262 From do-not-reply at jboss.com Sat Jul 15 07:49:53 2006 From: do-not-reply at jboss.com (abdielj) Date: Sat, 15 Jul 2006 07:49:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <13178810.1152964193763.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, First of all thanks for your help. The schema was automatically created. I used the JBPM Starter's Kit. I checked the DB Administrator and there are no typos in the table name. I'm also using the Eclipse JBPM IDE Bundle which has a plug-in that automatically creates a JBPM Project, but i noticed that the generated folder with the needed dependencies is missing the hibernate3.jar so I added manually to the project in another folder. I don't know if that may be the problem. Another thing is that the problem is with all accesses to the database, because i tried to obtain the list of tasks for a user with | List taskList = jbpmContext.getTaskList("ernie"); | and got the same error for the JBPM_TASKINSTANCE table. Also when I try to run the project I get the following warning | WARN EhCacheProvider : Could not find configuration | Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958263#3958263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958263 From do-not-reply at jboss.com Sat Jul 15 09:08:23 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Sat, 15 Jul 2006 09:08:23 -0400 (EDT) Subject: [jboss-user] [The Lizzard's corner] - Hibernate Forum - Register not working Message-ID: <31850074.1152968903178.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I know this is the JBoss forum...but figured there must be a few people on here using the Hibernate forum as well. Just tried to register on the Hibernate forum but got a message saying the e-mailer failed. It seems my account was created but is inactive, and the system can't send the activation e-mail. I'd be grateful if someone could post this on the Hibernate forum, as I can't find any way to contact the administrator. Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958264#3958264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958264 From do-not-reply at jboss.com Sat Jul 15 09:58:41 2006 From: do-not-reply at jboss.com (vashistvishal) Date: Sat, 15 Jul 2006 09:58:41 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <30834368.1152971921366.JavaMail.jboss@colo-br-02.atl.jboss.com> Okiee, I encountered this beast today as i was trying to get some hand on SEAM after i heard lots of good reviews. As mentioned in one of the posts here I 're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer menu, previously i opted for option 'ALL'. And when i deployed example of 'booking' from SEAM it deployed sucessfully. Prior to this i had the above mentioned errors and i tried changing ejb-jar file as suggested above, but all those things didn't work. So if you reinstall JBoss using ejb3 option than it will be fine, it is also metoined on JBoss app server download page specifically. http://labs.jboss.com/portal/jbossas/download I hope this helps, sometimes trying to become smart can bite you badly, as i encountered :) Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958265#3958265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958265 From do-not-reply at jboss.com Sat Jul 15 10:01:20 2006 From: do-not-reply at jboss.com (vashistvishal) Date: Sat, 15 Jul 2006 10:01:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ejb-jar.xml for bookings example: hosed? Message-ID: <3814828.1152972080489.JavaMail.jboss@colo-br-02.atl.jboss.com> Okiee, I encountered this beast today as i was trying to get some hand on SEAM after i heard lots of good reviews. As mentioned in one of the posts here I 're-installed JBoss', using JEMS installer, using ption 'ejb3' on installer menu, previously i opted for option 'ALL'. And when i deployed example of 'booking' from SEAM it deployed sucessfully. Prior to this i had the above mentioned errors and i tried changing ejb-jar file as suggested above, but all those things didn't work. So if you reinstall JBoss using ejb3 option than it will be fine, it is also metoined on JBoss app server download page specifically. http://labs.jboss.com/portal/jbossas/download I hope this helps, sometimes trying to become smart can bite you badly, as i encountered :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958266#3958266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958266 From do-not-reply at jboss.com Sat Jul 15 10:17:24 2006 From: do-not-reply at jboss.com (nabieh) Date: Sat, 15 Jul 2006 10:17:24 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JBoss goes down! Message-ID: <28203067.1152973044848.JavaMail.jboss@colo-br-02.atl.jboss.com> Dears, We have an application that been used by a 600 users via netowrk connections over the country, at a time, not less than 150 users are online using the application, the main goal of the application is to be an interface for a huge database and oter network components, we are facing a strange behavior of the application server - JBoss, from time to time, it goes down and became unaccessible, and it seems that the application is not able to run any more. I monitored the logs and found lot of exceptions regarding JDBC result sets exceptions says: java.sql.SQLException: Exhausted Resultset, I am sure we are closing every single connection/statement/result set we used! Can any one advice me on this field? We are using DAOs for DB conections, we use JNDI for retrieving datasourses, we cach those common used info into memory, we are using HP servers which considered to be v. good machines. Any comment will be highly appreciated, thanks in advance. Note: We have lot of those requests that waits for responses for a period of time, and lot of those requests beeing executed at a time all the day. Those requests goes to queues and wait for the reply as XML from other queues, we are using IBM MQ services. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958267#3958267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958267 From do-not-reply at jboss.com Sat Jul 15 11:37:30 2006 From: do-not-reply at jboss.com (taras1984) Date: Sat, 15 Jul 2006 11:37:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: simple question Message-ID: <9604759.1152977850055.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your answer beacuse I've got confused by this case. BTW: when you suppose to release the suport for app clients? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958268#3958268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958268 From do-not-reply at jboss.com Sat Jul 15 11:40:30 2006 From: do-not-reply at jboss.com (WGPuckett) Date: Sat, 15 Jul 2006 11:40:30 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using LIMIT in EJBQL Message-ID: <13313923.1152978030968.JavaMail.jboss@colo-br-02.atl.jboss.com> I have JBoss v4.0.3SP1 installed along with MySQL v5.0.22. I am using Eclipse 3.1.2 with MyEclipse 4.1.1 for my development. I am using XDoclet to generate the code for the EJBs. In my application I have my CMP EJBs configured for v2.X. In one of my EJBs I have the following finder: | * @ejb.finder | * query="SELECT OBJECT(t) FROM TaxMaster t WHERE t.taxNbr >= ?1 ORDER BY t.taxNbr" | * signature="java.util.Collection findListByTaxNbr(java.lang.String partialKey)" | * description="find the list of entries that start with a specific character string" | When I run this the DAOImp module fails with | javax.servlet.ServletException: Unexpected Error | java.lang.OutOfMemoryError: Java heap space | ; CausedByException is: | Unexpected Error | java.lang.OutOfMemoryError: Java heap space | | Obviously JBoss is trying to read every entry in the table that satisfies the query and load it into memory. This won't work at all. According to the JBoss documentation I can include a LIMIT parm on the QL call. So I changed the QL to: | * @ejb.finder | * query="SELECT OBJECT(t) FROM TaxMaster t WHERE t.taxNbr >= ?1 ORDER BY t.taxNbr ASC LIMIT ?2" | * signature="java.util.Collection findListByTaxNbr(java.lang.String partialKey, int tLimit)" | * description="find the list of entries that start with a specific character string" | Now when I attempt to deploy the application I get the following failure: | 10:56:42,111 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TaxMaster' to jndi 'TaxMasterLocal' | 10:56:43,736 INFO [STDOUT] org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "LIMIT" at line 1, column 79. | Was expecting one of: | | "," ... | So, how do I implement the LIMIT option? I don't mind to upgrade to a more current version if that will fix the problem. But I'd rather not go to that touble just yet if it won't help. I have researched this somewhat and can't find anything in the forums that indicate that JBoss has a problem with LIMIT. So I am hoping I am just doing something wrong. Thanks for your interest and feedback. Glenn Puckett MetaMAP, Inc Lexington, KY View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958269#3958269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958269 From do-not-reply at jboss.com Sat Jul 15 12:00:16 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Sat, 15 Jul 2006 12:00:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Backbutton Example Message-ID: <6847312.1152979217008.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you try the booking example? It seems to handle the back button very well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958270#3958270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958270 From do-not-reply at jboss.com Sat Jul 15 12:07:01 2006 From: do-not-reply at jboss.com (c.vidal) Date: Sat, 15 Jul 2006 12:07:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Custom fork - jbpm 3 Message-ID: <7448693.1152979621724.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm also interested by the answer to this :) I'm trying to achieve the exact same purpose. Tchao View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958271#3958271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958271 From do-not-reply at jboss.com Sat Jul 15 12:18:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sat, 15 Jul 2006 12:18:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Ajax4JSF experiences Message-ID: <7409801.1152980320185.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, so I spent some time playing with JSF yesterday afternoon. Overall I'm pretty happy with the APIs but.... So, what I've noticed so far is: (0) is required in MyFaces, as per Ajax4JSF docs (ugly!) (1) breaks with Seam, probably some problem to do with phase listeners/filters (2) is totally broken, at least in JSP/MyFaces. Might be OK in facelets and/or the RI (3) The echo example works with a as the component to be re-rendered, but not with a Does anyone know how to solve any of these problems? Ajax4JSF is implemented as a servlet filter instead of as a custom UIViewRoot (which is the route that Jacob/Ed/Adam have been going down). The Ajax4JSf docs hint that the difference b/w the UIViewRoot implementations in MyFaces and the RI is what causes problems in MyFaces, which leads me to wonder if they really should be replacing the viewroot. Furthermore, it seems to be their hacked lifecycle that causes probelm (1) on Seam. However, it might be that Ajax4JSF is doing extra stuff compared to what is in facelets CVS (Ajax4JSF seems to do partial restores as well as partial renders). Anyway, my conclusion is that this stuff needs some serious work to be usable... I will contact the Exadel guys next week probably. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958272#3958272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958272 From do-not-reply at jboss.com Sat Jul 15 12:19:25 2006 From: do-not-reply at jboss.com (pelo67000) Date: Sat, 15 Jul 2006 12:19:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Using JGuard to secure the portal Message-ID: <17365317.1152980365841.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I would like to use jguard with pentaho (which is deployed on JBoss 4.03) to secure the portal. After downloading the jguard zip and install it, i was able to launch start-pentaho.bat but i had the following errors : anonymous wrote : | 2006-07-07 10:55:29,984 WARN [org.jboss.system.ServiceController] Problem starting service portal:service=CMS | java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/ lang/String;)V | at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77) | at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173) | at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) | at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215) | at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) | at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:362) | ............ | anonymous wrote : | [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: portal:service=CMS | State: FAILED | Reason: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/ lang/String;)V | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | portal:service=JAASLoginModule | Depends On Me: | portal:mapper=CMSObject | | ObjectName: portal:service=TreeCache,type=persistent | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:service=TreeCacheProvider,type=persistent | | ObjectName: portal:service=Hibernate | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:service=Module,type=User | portal:service=Module,type=Role | | ObjectName: portal:service=Hibernate,type=globalinstance | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:container=Instance,type=global | | ObjectName: portal:service=Hibernate,type=globalportal | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:container=PortalObject,type=global | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: portal:service=Hibernate,type=globalportal | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:container=PortalObject,type=global | | ObjectName: portal:service=CMS | State: FAILED | Reason: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/ lang/String;)V | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | portal:service=JAASLoginModule | Depends On Me: | portal:mapper=CMSObject | | ObjectName: portal:service=Hibernate,type=globalinstance | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:container=Instance,type=global | | ObjectName: portal:service=Hibernate | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:service=Module,type=User | portal:service=Module,type=Role | | ObjectName: portal:service=TreeCache,type=persistent | State: FAILED | Reason: java.lang.NoClassDefFoundError | I Depend On: | jboss.jca:name=PortalDS,service=DataSourceBinding | Depends On Me: | portal:service=TreeCacheProvider,type=persistent | However, my jguard example worked... (pentaho didn't work at this time) I have resolved this problem, Jguard needs asm-2.0 when jboss uses asm 1.5.03, i have also change the cglib from /jboss/server/default/lib/ with the latest cglib-nodep version... I don't have errors anymore but my jguard example don't really work because i have only access to the login,logon and access denied pages which is according to the jguard forum the basic accessible pages... However, if i comment this part of the /jboss/server/default/deploy/jboss-portal.sar/META-INF/jboss-service.xml anonymous wrote : | | portal:deploymentFactory=Object | portal:deploymentFactory=PortletApp | portal:deploymentFactory=Layout | portal:deploymentFactory=LayoutFeatures | portal:deploymentFactory=Theme | portal:service=Module,type=User | portal:service=Module,type=Role | portal:service=Module,type=Mail | portal:deployer=PortalWebApp | jboss.web:service=WebServer | I obtain approximatively the same errors that the second quoted errors and my jguard example work again.... So i deduce that my problem comes from the portal configuration but i don't know where or what search.... Can you please help me ? Thanks for your response ! J?r?my (French student) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958273#3958273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958273 From do-not-reply at jboss.com Sat Jul 15 12:27:40 2006 From: do-not-reply at jboss.com (jnorris10) Date: Sat, 15 Jul 2006 12:27:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity bean state not rolled back on TX rollback: Message-ID: <14438732.1152980860271.JavaMail.jboss@colo-br-02.atl.jboss.com> Just for any that are interested in this thread, here is what the spec says about this: anonymous wrote : | EJB3 Persistence Specification, page 54 | | 3.3.2 Transaction Rollback | | For both transaction-scoped and extended persistence contexts, transaction rollback causes all pre-existing managed instances and removed instances [15] to become detached. The instances? state will be the state of the instances at the point at which the transaction was rolledback. Transaction rollback typically causes the persistence context to be in an inconsistent state at the point of rollback. Inparticular, the state of version attributes and generated state (e.g., generated primary keys) may be inconsistent. | Instances that were formerly managed by the persistence context (including new instances that were made persistent in that transaction) may therefore not be reusable in the same manner as other detached | objects?for example, they may fail when passed to the merge operation.[16] | | ... | | [16] It is unspecified as to whether instances that were not persistent in the database behave as new instances or detached instances after rollback. This may be implementation-dependent. | I personally am curious why full blown @Entity property rollback isn't in the spec. Perhaps in the big picture it's not as useful as I think it is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958274#3958274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958274 From do-not-reply at jboss.com Sat Jul 15 12:32:25 2006 From: do-not-reply at jboss.com (lcoetzee) Date: Sat, 15 Jul 2006 12:32:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - nested datatables with s:link Message-ID: <23448729.1152981145230.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want to nest datatable, with the inside loop containing a s:link with an action. Something like: | |
  • #{currentSection.sectionLabel} | |
  • #{currentQuestion.questionLabel}
  • |
    | | | | | Each section has several questions associated with it (section is annotated with a @DataModel). It displays nicely, but as yet I have no clue how to get hold of the selected "currentQuestion" in my SFSB method (questionSelectionBean.selectQuestion). Any ideas ? Thanks Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958276#3958276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958276 From do-not-reply at jboss.com Sat Jul 15 12:33:39 2006 From: do-not-reply at jboss.com (huangqingqing) Date: Sat, 15 Jul 2006 12:33:39 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - can't auto connect Message-ID: <1781007.1152981219813.JavaMail.jboss@colo-br-02.atl.jboss.com> In jboss4.03 ; I config the datasource with msql-ds.xml ;but if the mssql server disconnect ; jboss can't auto connect the mssql server I must start up the jboss server again . why and how can i do ? thank:) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958277#3958277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958277 From do-not-reply at jboss.com Sat Jul 15 12:35:38 2006 From: do-not-reply at jboss.com (huangqingqing) Date: Sat, 15 Jul 2006 12:35:38 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: can't auto connect Message-ID: <17974784.1152981338400.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry , I use the jboss4.02 not jboss4.03 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958278#3958278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958278 From do-not-reply at jboss.com Sat Jul 15 13:02:05 2006 From: do-not-reply at jboss.com (treespace) Date: Sat, 15 Jul 2006 13:02:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - TimerService Injection Failure Message-ID: <22954959.1152982925409.JavaMail.jboss@colo-br-02.atl.jboss.com> Added a timer service to an Entity bean but when calling rotate() I get a null pointer exception. The container failed to inject a TimerService for me. | @Entity public class Planet implements Serializable | { | @Resource TimerService timerService; | | public rotate() | { | timerService.createTimer(60000, "minute timer"); // NFG: timerService not initialized | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958279#3958279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958279 From do-not-reply at jboss.com Sat Jul 15 13:02:32 2006 From: do-not-reply at jboss.com (dayal_78) Date: Sat, 15 Jul 2006 13:02:32 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss Portal 2.2.1 SP3 - Changing properties of a portal ins Message-ID: <16246122.1152982952862.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, How can I change the properties of a portal instance? When I log on to the portal as an admin, go to the 'management' page and click on 'default' portal instance in the tree and view the properties, it seems that the properties are not editable! I want to change the default object name for the 'default' portal instance so that I can display my custom page as the default page when someone accesses my portal. Thanks Dayal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958280#3958280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958280 From do-not-reply at jboss.com Sat Jul 15 13:04:28 2006 From: do-not-reply at jboss.com (treespace) Date: Sat, 15 Jul 2006 13:04:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: TimerService Injection Failure Message-ID: <20286866.1152983068311.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot "void" on rotate() when typing in the example but the actual problem is a null timerService variable, as stated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958281#3958281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958281 From do-not-reply at jboss.com Sat Jul 15 14:12:25 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Sat, 15 Jul 2006 14:12:25 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <5238835.1152987145186.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is a small test class showing the behavior. | public class MulticastSocketTest | { | public static void main(String[] args) | { | try | { | int port = Integer.parseInt(args[0]); | InetAddress interfaceAddress = InetAddress.getByName(args[1]); | NetworkInterface networkInterface = NetworkInterface.getByInetAddress(interfaceAddress); | InetAddress multicastAddress = InetAddress.getByName(args[2]); | System.out.println("port = " + port + "\ninterface address = " + interfaceAddress + | "\nnetwork interface = " + networkInterface + "\nmulticast address = " + multicastAddress); | MulticastSocket socket = new MulticastSocket(port); | socket.setInterface(interfaceAddress); | socket.setNetworkInterface(networkInterface); | socket.joinGroup(multicastAddress); | | Thread.currentThread().sleep(60000); | } | catch (Exception e) | { | e.printStackTrace(); | } | } | } | When I run this and pass the following arguments: 4900 192.168.1.100 224.1.9.1 I see the following doing 'netstat -n -a': UDP 0.0.0.0:4900 *:* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958284#3958284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958284 From do-not-reply at jboss.com Sat Jul 15 14:44:44 2006 From: do-not-reply at jboss.com (Basel) Date: Sat, 15 Jul 2006 14:44:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <11957160.1152989084042.JavaMail.jboss@colo-br-02.atl.jboss.com> Could someone please help me with getting a component initialized properly? I have read so many posts and tried many solutions with no avail. Few things that I have leaned from the posts: 1. @Begin does not start a new conversation. It only promotes a short-running conversation to a long-running mode. 2. @Factory get called whenever your JSF EL code is trying to access a context variable that is null. 3. The variable that that gets initialized by the @Factory method might need to be annotated using @Out(scope=CONVERSATION) Let me rephrase what I am currently doing. There three pages: 1. An input page called newentry.jsf that has a button which directs the user to confirmentry.jsf 2. A confirmation page called confimentry.jsf that show the date from newentry.jsf and ask the user to confirm or edit. 3. View result page called saveentry.jsf that tells the user whether the record was saved or not. These three pages depend on a component called newEntry which happens to be an entity bean, Entry.java. This component gets created inside a stateful session bean, PostAction.java, with the help of the @Factory annotation. The session bean persists the entity bean once the user clicks the save button on the confirmentry.jsf page. Since jBPM is used to manage the page flow I had to add a method that triggers the beginning of the conversation and the name of the pageflow definition. When I try to access newentry.jsf I get the first six lines below. Once I input some data and hit process I get two line from postAction in addition to the stacktrace: | 21:00:47,163 INFO [PostAction] Creating a new empty entry | 21:00:47,163 INFO [PostAction] Created a new empty entry | 21:00:47,168 INFO [PostAction] Creating a new empty entry | 21:00:47,169 INFO [PostAction] Created a new empty entry | 21:00:47,173 INFO [PostAction] Creating a new empty entry | 21:00:47,174 INFO [PostAction] Created a new empty entry | 21:00:54,474 INFO [PostAction] Creating a new empty entry | 21:00:54,474 INFO [PostAction] Created a new empty entry | 21:00:54,475 ERROR [STDERR] Jul 16, 2006 9:00:54 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute | WARNING: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | javax.el.PropertyNotFoundException: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:129) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:943) | at javax.faces.component.UIInput.validate(UIInput.java:868) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1078) | at javax.faces.component.UIInput.processValidators(UIInput.java:670) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIForm.processValidators(UIForm.java:229) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:672) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 21:00:54,477 ERROR [STDERR] Jul 16, 2006 9:00:54 PM com.sun.faces.lifecycle.LifecycleImpl phase | WARNING: executePhase(PROCESS_VALIDATIONS 3,com.sun.faces.context.FacesContextImpl at 1a2dbfc1) threw exception | javax.faces.FacesException: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:108) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.el.PropertyNotFoundException: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:129) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:943) | at javax.faces.component.UIInput.validate(UIInput.java:868) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1078) | at javax.faces.component.UIInput.processValidators(UIInput.java:670) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIForm.processValidators(UIForm.java:229) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:672) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | ... 28 more | 21:00:54,481 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 21:00:54,494 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.el.PropertyNotFoundException: /newentry.xhtml @18,48 value="#{newEntry.title}": Target Unreachable, identifier 'newEntry' resolved to null | at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:129) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:943) | at javax.faces.component.UIInput.validate(UIInput.java:868) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1078) | at javax.faces.component.UIInput.processValidators(UIInput.java:670) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIForm.processValidators(UIForm.java:229) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1039) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:672) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:132) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Excerpts of the source code and configuration files follows: newentry.jsf | |
    | | |
    | Title: |
    |
    | | |
    |
    | | Excerpt (optional): | |
    |
    | | |
    |
    | Body text: |
    |
    | | |
    |
    | |
    |
    |
    |
    |
    | Entry.java and PostAction.java | @Entity(name="gs_entry") | public class Entry { | | @Id | @GeneratedValue(strategy=AUTO) | @Column(name="entry_id") | private int id; | | @NotNull | @Length(max=70) | private String title; | | @Length(max=200) | private String excerpt; | | @NotNull | @Length(max=1400) | private String body; | | @NotNull | @Column(name="post_date") | private Date postDate = new Date(); | | // @Length(max = 50) | // @JoinColumn(name="category_name", referencedColumnName="name") | @NotNull | @ManyToOne | @JoinColumn(name="categoryid", referencedColumnName="category_id") | private Category mycategory; | | public Entry(){} | public Entry(Category category){ | this.mycategory = category; | } | } | | @Stateful | @Name("postAction") | public class PostAction implements PostActionInterface{ | | @In(create=true) | private Category category; | | @In(create=true, value="entityManager") | private EntityManager em; | | //@In(required=false) | //@Out(value="newEntry") | //@Out(value="newEntry", scope=ScopeType.CONVERSATION) | private Entry entry; | | @Factory("newEntry") | //@Begin(pageflow="new-entry", join=true) | public void createNewEntry(){ | log.info("Creating a new empty entry"); | entry = new Entry(category); | if(entry == null){ | log.info("The entry IS NULL"); | } | log.info("Created a new empty entry"); | } | | @Logger | private Log log; | | @Begin(pageflow="new-entry", join=true) | public void startPost(){ | log.info("Starting to create a new post"); | } | | @End | public String post(){ | log.info("Saving entry #{newEntry}"); | entry.setPostDate(new Date()); | category.getEntries().add(entry); | em.persist(entry); | return "/saveentry.xhtml"; | } | | /* | * Stateful seam components should have a destroy method to link | * the stateful bean lifecycle to the Seam component lifecycle. | */ | @Remove @Destroy | public void destroy(){} | } | pages.xml | | | | | I am so sorry if this was discussed in the past but I am desperate at the moment after spending two full days without being able to find a solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958285#3958285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958285 From do-not-reply at jboss.com Sat Jul 15 14:50:56 2006 From: do-not-reply at jboss.com (kazam) Date: Sat, 15 Jul 2006 14:50:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <2863576.1152989456306.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks very much David, If you could put up the removeUser and cascade issues you resolved, that would be great. Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958286#3958286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958286 From do-not-reply at jboss.com Sat Jul 15 14:52:46 2006 From: do-not-reply at jboss.com (Basel) Date: Sat, 15 Jul 2006 14:52:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Backbutton Example Message-ID: <20738914.1152989566234.JavaMail.jboss@colo-br-02.atl.jboss.com> jBPM pageflow solves the problem of backbutton. Take a look at Chapter 4 of the documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958287#3958287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958287 From do-not-reply at jboss.com Sat Jul 15 15:12:20 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sat, 15 Jul 2006 15:12:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <10348123.1152990740558.JavaMail.jboss@colo-br-02.atl.jboss.com> As far as I can see, a value for newEntry is never outjected. You'll need to enable one of those commented out outjections. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958288#3958288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958288 From do-not-reply at jboss.com Sat Jul 15 15:19:42 2006 From: do-not-reply at jboss.com (knaveofhearts) Date: Sat, 15 Jul 2006 15:19:42 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with containment interacting with inheritance? Message-ID: <3432263.1152991182279.JavaMail.jboss@colo-br-02.atl.jboss.com> I have worked on simplifying my problem, resulting in the following question--could someone please tell me how to, or have a code example of the annotations to configure combining inheritance with a one-to-many relationship among entities (i.e., A is the superclass of B. B contains a Collection of C objects) or for that matter a one-to-one (B contains an C) or many-to-many relationship? At this point, I am not picky about whether the relationship is uni- or bidirectional or about the inheritance strategy. As an trial, I first converted exercise 7.1 from the workbook in the Burke & Monson-Haefel book, so that the entities run in a container. Client1 exercises a one-to-one unidirectional relationship between Customer and Address; Client2, a one-to-many unidirectional relationship between Customer and Phone. The Admin stateless session EJB includes createCustomer(), findCustomer(), and updateCustomer() methods implemented in the obvious way. In either case, a detached instance of the Customer class is created, a field (address or list of phone numbers) is added to it while detached, and then admin.update() called to do a merge. The new Client1 and Client2 produce the correct results after the conversion. Then I created a "Base" entity and made Customer extend Base using the JOINED strategy. Base contains an id field, with a getId() method annotated with "Id" and also setId(). I eliminated the id field from the Customer class. This breaks both Client1 and Client2 in the sense that the Address and the Collection member variables in the Customer object remain null after the merge performed by updateCustomer() in Admin. This is true even within the updateCustomer method/transaction itself, so it does not help to set the fetch type to EAGER or to traverse the fields within the transaction explicitly. I have so far been unable to find a working example of this common pattern, which is key to what I need to do. Suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958289#3958289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958289 From do-not-reply at jboss.com Sat Jul 15 16:11:38 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Sat, 15 Jul 2006 16:11:38 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Servlet and HTTP invoket does't throw remote method Exce Message-ID: <12961219.1152994298468.JavaMail.jboss@colo-br-02.atl.jboss.com> I like the idea of having it configurable - let the web services team configure theirs so it returns the exception, let me configure it so it will throw the exception :-) I just learned that a recent change now means invoke doesn't return an exception object, instead it returns a String (correct Tom?). I don't like this. You have no notion that this is really an error. At the very least, if I can't get the exception thrown, I would prefer the object returned by invoke to be an Exception - its getMessage() can return that String that is returned now. Wrapping in an Exception means at least my caller to invoke will know that a true exception occurred. The stuff I'm working on, I want to use remoting's great feature of just being able to switch transports (in the invoker locator) and have a completely different transport mechanism used. My code never really knows what transport is being used - the customer just configures the locator URL in a config file to what they want to and *poof* they get what they want. If you force me to look at the HTTP return code, that requires my code to assume I am using a servlet or http transport. But that isn't always true. Looking at the return value of invoke() and seeing if it is instanceof Exception is acceptable in my usecase (of course, having an exception getting thrown would be ideal). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958290#3958290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958290 From do-not-reply at jboss.com Sat Jul 15 16:56:25 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sat, 15 Jul 2006 16:56:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injection/loading not working on Seam CRUD app? Message-ID: <14076356.1152996985638.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, it should be that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958291#3958291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958291 From do-not-reply at jboss.com Sat Jul 15 17:34:02 2006 From: do-not-reply at jboss.com (ncapito) Date: Sat, 15 Jul 2006 17:34:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <28540324.1152999242173.JavaMail.jboss@colo-br-02.atl.jboss.com> The work around for the bug worked.... To all who are interested here was how i assigned an int constant Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958292#3958292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958292 From do-not-reply at jboss.com Sat Jul 15 17:35:04 2006 From: do-not-reply at jboss.com (ncapito) Date: Sat, 15 Jul 2006 17:35:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Simple Problem Literal Problem Message-ID: <8096182.1152999304722.JavaMail.jboss@colo-br-02.atl.jboss.com> Code didn't make it: | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958293#3958293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958293 From do-not-reply at jboss.com Sat Jul 15 17:45:51 2006 From: do-not-reply at jboss.com (bluetrade) Date: Sat, 15 Jul 2006 17:45:51 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Ignoring empty contained entities Message-ID: <5150584.1152999951915.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a question regarding the possibility to ignore entities dynamically, based on whether or not they contain data. Let me explain: class Person implements Serializable { private Information info = new Information(); private String name; ... } now I don't want to save the information in case it remains empty, but at the same time I want to make use of the cascading functionality, but at times, Persons don't have information the information object would be empty. I cannot just leave it out, since I work with Seam and info.description for example might be injected, but if that field for example is null, I would like to ignore the info object so that I don't have any null-containing rows in the database. Also the not-null annotation does not help me... Any ideas? Thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958294#3958294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958294 From do-not-reply at jboss.com Sat Jul 15 17:46:51 2006 From: do-not-reply at jboss.com (bluetrade) Date: Sat, 15 Jul 2006 17:46:51 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Ignoring empty but not-null cascaded entities... Message-ID: <23539483.1153000011970.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a question regarding the possibility to ignore entities dynamically, based on whether or not they contain data. Let me explain: class Person implements Serializable { private Information info = new Information(); private String name; ... } now I don't want to save the information in case it remains empty, but at the same time I want to make use of the cascading functionality, but at times, Persons don't have information the information object would be empty. I cannot just leave it out, since I work with Seam and info.description for example might be injected, but if that field for example is null, I would like to ignore the info object so that I don't have any null-containing rows in the database. Also the not-null annotation does not help me... Any ideas? Thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958295#3958295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958295 From do-not-reply at jboss.com Sat Jul 15 17:51:31 2006 From: do-not-reply at jboss.com (muellx) Date: Sat, 15 Jul 2006 17:51:31 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: examples: bank Message-ID: <18257783.1153000291069.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having exact same problem! Have you come across a solution for that? Can anyone help? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958296#3958296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958296 From do-not-reply at jboss.com Sat Jul 15 18:04:35 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Sat, 15 Jul 2006 18:04:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client access to Entity beans Message-ID: <9468805.1153001075952.JavaMail.jboss@colo-br-02.atl.jboss.com> "fguerzoni" wrote : From Entity Bean tutorial: | | Entity Beans have been given a complete overhaul in EJB 3.0. Entity beans are plain Java objects that can be allocated with new and attached/detached/reattached to persistence storage. Entity beans are not remotable and must be access through the new javax.persistence.EntityManager service. JBoss's EJB 3.0 implementation is built on top of Hibernate. | | So with ejb3, the facade pattern, is not an option anymore. | | bye | F Ok, I've put a session bean in front of my entities now, following the MVC pattern. I guess my initial question should have read: How can I instantiate an Entity Manager on a stand alone client? I had already figured out that the client couldn't connect directly to an entity bean. However, all of my attempts to instantiate an entity manager on a client failed. Is there a mechanism for starting an entity manager in the client which persists data to a remote Jboss server? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958297#3958297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958297 From do-not-reply at jboss.com Sat Jul 15 18:52:33 2006 From: do-not-reply at jboss.com (javidjamae) Date: Sat, 15 Jul 2006 18:52:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: registration-sample ear does not work when renamed Message-ID: <5478598.1153003953903.JavaMail.jboss@colo-br-02.atl.jboss.com> The incorrect components.xml documentation is here: http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#d0e554 This should probably be updated to have the correct jndiPattern. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958298#3958298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958298 From do-not-reply at jboss.com Sat Jul 15 20:18:06 2006 From: do-not-reply at jboss.com (gcowsar) Date: Sat, 15 Jul 2006 20:18:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <810587.1153009086601.JavaMail.jboss@colo-br-02.atl.jboss.com> "markfoerstein" wrote : | These exceptions are usually not the cause of the problem itself. Try looking at the JBoss/Tomcat console window. At the end of the stack you will find the exception that caused everything. | Post'em here. Thanks Mark I'll do that. First I'm going to do a clean restart and see what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958299#3958299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958299 From do-not-reply at jboss.com Sat Jul 15 20:39:52 2006 From: do-not-reply at jboss.com (aron-smith) Date: Sat, 15 Jul 2006 20:39:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - startup error PSQLException Message-ID: <4267387.1153010392785.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am stuck on this issue - my hsqldb-jdbc2-service.xml is below. Unmodified from distributed with 4.0.4 org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag e recovery may not be accurate; - nested throwable: (org.postgresql.util.PSQLExc eption: ERROR: syntax error at or near "TXID") at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers istenceManager.java:442) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceMana ger.java:1571) 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 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.GeneratedMethodAccessor6.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:302) 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 $Proxy25.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor14.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.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.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.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.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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "TX ID" at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx ecutorImpl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor Impl.java:1309) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja va:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat ement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract Jdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc 2Statement.java:258) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery (WrappedPreparedStatement.java:236) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Pers istenceManager.java:403) ... 113 more 19:45:50,796 INFO [Ejb3Deployment] EJB3 deployment time took: 515 19:45:50,843 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=patie ntis.ejb3,name=PatientBean,service=EJB3 with dependencies: 19:45:51,046 INFO [EJBContainer] STARTED EJB: com.patientis.ejb.patient.Patient Bean ejbName: PatientBean 19:45:51,125 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss_4_0_4/s erver/default/deploy/patientis.ejb3 19:45:51,218 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep loy/jmx-console.war/ 19:45:51,375 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- 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.postgresql.ut il.PSQLException: ERROR: syntax error at or near "TXID") I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- 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.postgresql.ut il.PSQLException: ERROR: syntax error at or near "TXID") I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager jboss.jca:service=DataSourceBinding,name=DefaultDS BLOB_TYPE=OBJECT_BLOB INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS SELECT_MAX_TX = SELECT MAX(TXID) TXID FROM (SELECT MAX(TXID) AS TXID FROM JMS_TRANSACTIONS UNION SELECT MAX(TXID) AS TXID FROM JMS_MESSAGES) DELETE_ALL_TX = DELETE FROM JMS_TRANSACTIONS SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE_KEYS_IN_DEST = SELECT MESSAGEID FROM JMS_MESSAGES WHERE DESTINATION=? SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXOP=? AND JMS_MESSAGES.TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T' DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? CREATE_MESSAGE_TABLE = CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) CREATE_IDX_MESSAGE_TXOP_TXID = CREATE INDEX JMS_MESSAGES_TXOP_TXID ON JMS_MESSAGES (TXOP, TXID) CREATE_IDX_MESSAGE_DESTINATION = CREATE INDEX JMS_MESSAGES_DESTINATION ON JMS_MESSAGES (DESTINATION) CREATE_TX_TABLE = CREATE CACHED TABLE JMS_TRANSACTIONS ( TXID INTEGER, PRIMARY KEY (TXID) ) CREATE_TABLES_ON_STARTUP = TRUE 0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958300#3958300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958300 From do-not-reply at jboss.com Sat Jul 15 21:16:44 2006 From: do-not-reply at jboss.com (bluetrade) Date: Sat, 15 Jul 2006 21:16:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Accessing static finals Message-ID: <5301891.1153012604818.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want to evaluate an EL against some static final from an entity which I tried to outject and (@Out (value="final1")) however it is ignored. Can I not outject from entities? How is it usually solved if one would like access a public static final w/o having to implement getters for them? Thanks, Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958301#3958301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958301 From do-not-reply at jboss.com Sat Jul 15 22:06:22 2006 From: do-not-reply at jboss.com (khsiow) Date: Sat, 15 Jul 2006 22:06:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Backbutton Example Message-ID: <4036104.1153015582875.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the pointers. I just tried the booking example. When I used the backbutton and later clicked on a action button, it displayed no conversation message. I was expecting the system would redisplay the current page immediately as soon as I hit the backbutton. I guess I've to debug my current test program. It didn't display the currently active state page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958302#3958302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958302 From do-not-reply at jboss.com Sat Jul 15 22:35:49 2006 From: do-not-reply at jboss.com (kslm23) Date: Sat, 15 Jul 2006 22:35:49 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Getting XAException while logging in to portal as admin Message-ID: <23725090.1153017349578.JavaMail.jboss@colo-br-02.atl.jboss.com> I see, now it makes sense :-) Thanks a lot for your help!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958303#3958303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958303 From do-not-reply at jboss.com Sat Jul 15 22:44:02 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sat, 15 Jul 2006 22:44:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing static finals Message-ID: <6684051.1153017842783.JavaMail.jboss@colo-br-02.atl.jboss.com> You can't outject from entities and by default the EL requires getters/setters. I was thinking that a custom JSF VariableResolver might help, but it seems that it only resolves the top-level object (ie, the entity), not the actual returned variable. I think you're SOL here, unless the JSF EL in 1.2 has changed to support this (or supports new extension points that I'm unaware of). If you really, really can't just add getter/setters to your entity, then you can use cglib or some other class manipulation library to generate those getters/setters for you. I experimented with this in the past and it worked, but is probably overkill for your needs. Now just because Entities don't outject doesn't mean you couldn't have a Seam component lookup and outject that static variable (and then inject and set the variable). Although this brings us, why not just have getter/setters? If you really wanted to you may also be able to abuse a custom DataBinder into doing what you want as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958304#3958304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958304 From do-not-reply at jboss.com Sat Jul 15 23:01:47 2006 From: do-not-reply at jboss.com (khsiow) Date: Sat, 15 Jul 2006 23:01:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Backbutton Example Message-ID: <16152923.1153018908009.JavaMail.jboss@colo-br-02.atl.jboss.com> I reprogrammed my test example and now I got an example. There must be something I didn't get it right to have Seam to redisplay the current page. 21:23:34,937 ERROR [PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase java.lang.IllegalStateException: No active conversation context at org.jboss.seam.core.Process.instance(Process.java:32) at org.jboss.seam.core.TaskInstance.instance(TaskInstance.java:51) at org.jboss.seam.contexts.BusinessProcessContext.getTaskInstance(BusinessProcessContext.java:213) at org.jboss.seam.contexts.BusinessProcessContext.get(BusinessProcessContext.java:51) at org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:155) at org.jboss.seam.Component.getInstance(Component.java:1245) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958305#3958305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958305 From do-not-reply at jboss.com Sat Jul 15 23:02:14 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sat, 15 Jul 2006 23:02:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing static finals Message-ID: <31546723.1153018934576.JavaMail.jboss@colo-br-02.atl.jboss.com> A less crazy solution might be to simply access your entity via a session/conversation scoped Seam component wrapper/decorator. Still could be more trouble than it's worth. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958306#3958306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958306 From do-not-reply at jboss.com Sat Jul 15 23:38:55 2006 From: do-not-reply at jboss.com (metabyte) Date: Sat, 15 Jul 2006 23:38:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM Message-ID: <609337.1153021135700.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Koen, Thanks for the reply. Is there an equivalent to Intalio Data Mapper in iBPM ? Intalio Data Mapper is a graphical tool inside Intalio|BPMS Designer (Eclipse based) that provides the ability to apply transformation to process variables in order to create messages, new variables, conditions, etc. I found this extremely practical for integration with zero-coding. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958307#3958307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958307 From do-not-reply at jboss.com Sun Jul 16 00:03:00 2006 From: do-not-reply at jboss.com (Basel) Date: Sun, 16 Jul 2006 00:03:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <4980513.1153022580047.JavaMail.jboss@colo-br-02.atl.jboss.com> Isn't that being taken care of by the @Factory("newEntry") annotation? Neither the jbossworld-seam-lab example nor Gavin's http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72267 thread used an @Out annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958308#3958308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958308 From do-not-reply at jboss.com Sun Jul 16 00:47:20 2006 From: do-not-reply at jboss.com (acxjbertr) Date: Sun, 16 Jul 2006 00:47:20 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Class name case incorrect in generated client artifacts Message-ID: <873769.1153025240364.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://jira.jboss.com/jira/browse/JBWS-998. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958309#3958309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958309 From do-not-reply at jboss.com Sun Jul 16 00:58:41 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sun, 16 Jul 2006 00:58:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <4489472.1153025921330.JavaMail.jboss@colo-br-02.atl.jboss.com> No it isn't. @Factory("name") on a void method tells Seam to call this method when "name" needs to be created. This method typically sets an instance variable that is labeled for outjection like in Gavin's example. What is different in Gavin's example is that @DataModel implicitly outjects. All databinders implicitly outject. There is a new feature in CVS that allows you to specify a return value for @Factory methods. If specified this value will be outjected. This actually causes problems for older apps (like mine) who depended on this not happening. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958310#3958310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958310 From do-not-reply at jboss.com Sun Jul 16 01:28:14 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sun, 16 Jul 2006 01:28:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <21004941.1153027694055.JavaMail.jboss@colo-br-02.atl.jboss.com> The support for @Factory methods that return values causes problems for me and my DataBinders. I have the following: | @SelectItems | private List items; | | @Factory("items") | public List getItems() | { | ... static lookup code | } | Prior to the enhancement this was great. When my EJB clients were accessing the bean they could get the items via the getItems method. When JSF needed the items, Seam resolved the variable, called the factory method that set the instance variable and sent everything through my DataBinder. With the latest CVS it seems the DataBinder is called but the List that's eventually exposed to JSF is the one from the @Factory method, which JSF can't process. I guess I'd either ask that Seam check for and apply data binders for things created via a @Factory return. Or supply some way to disable the new @Factory logic. Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958311#3958311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958311 From do-not-reply at jboss.com Sun Jul 16 02:40:52 2006 From: do-not-reply at jboss.com (james.williams@jboss.com) Date: Sun, 16 Jul 2006 02:40:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam Code Generation Command Line Interface Available (seam- Message-ID: <1088441.1153032052451.JavaMail.jboss@colo-br-02.atl.jboss.com> I've created a set of Seam code generation commands that allow a developer to get up and running with Seam quickly. At some point, the seam-gen commands will be extended into IDE plugins but they are very useful today. This command line interface is for developers that want productive tooling for Seam today. With seam-gen, you don't have to: Copy/paste your way into a working Seam project Figure out the proper location/syntax for application configuration files Write your own build script (seam-gen creates a pretty straightforward one for you) Hand write or copy/paste stub SFSBs, SLSBs, Entity Beans, Facelets, BPM Actions, TestNG testcases or MDBs. seam-gen will stub out these components for you Configure embedded-ejb for server-less testing Here's where you can get the seam-gen scripts: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958312#3958312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958312 From do-not-reply at jboss.com Sun Jul 16 04:01:19 2006 From: do-not-reply at jboss.com (dovecote) Date: Sun, 16 Jul 2006 04:01:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM customers Message-ID: <29971326.1153036879748.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, Oleg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958313#3958313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958313 From do-not-reply at jboss.com Sun Jul 16 04:23:59 2006 From: do-not-reply at jboss.com (bela@jboss.com) Date: Sun, 16 Jul 2006 04:23:59 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <30811880.1153038239898.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, the following code below works: package org.jgroups.tests; import java.net.*; /** * @author Bela Ban * @version $Id$ */ public class bla { public static void main(String[] args) { try { int port = Integer.parseInt(args[0]); InetAddress interfaceAddress = InetAddress.getByName(args[1]); NetworkInterface networkInterface = NetworkInterface.getByInetAddress(interfaceAddress); InetAddress multicastAddress = InetAddress.getByName(args[2]); System.out.println("port = " + port + "\ninterface address = " + interfaceAddress + "\nnetwork interface = " + networkInterface + "\nmulticast address = " + multicastAddress); SocketAddress saddr; saddr=new InetSocketAddress(interfaceAddress, port); MulticastSocket socket = new MulticastSocket(saddr); socket.setInterface(interfaceAddress); socket.setNetworkInterface(networkInterface); socket.joinGroup(multicastAddress); Thread.sleep(600000); } catch (Exception e) { e.printStackTrace(); } } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958314#3958314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958314 From do-not-reply at jboss.com Sun Jul 16 04:41:53 2006 From: do-not-reply at jboss.com (roman.kitko) Date: Sun, 16 Jul 2006 04:41:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Adaption to JEE classes packaging Message-ID: <5113163.1153039313399.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to hear any plannnig info about when JBOSS will adapt to JEE classes packaging. In AppServer some classes (like @EJB) are in wrong package, in JBOSS Embeded at least @EJB anatation field businessInterface should be named beanInterface. I am able to handle JNDI naming differences transprently , but for this 'mispackaging' I always have to switch classPath when trying application on JBOSS and Glassfish. Thanks for your replay. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958315#3958315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958315 From do-not-reply at jboss.com Sun Jul 16 05:30:47 2006 From: do-not-reply at jboss.com (jerics99) Date: Sun, 16 Jul 2006 05:30:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portal helping us manage user access to business data Message-ID: <506326.1153042247270.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, excuse me for being a newbie when it comes to JBOSS Portal. My question is Could JBOSS Portal be an alternative for our Business Intelligence Solution built on Open Source systems Mondrain OLAP and Eclipse BIRT Reporting? The problem we have is related to rights to view data in reports. Both Mondrian and BIRT need to have the user (or user group is OK as well) passed with the URL sent to the server when clicking a link on the web page. The information identifying the user will then be used for the reports to filter the data to only show the data for the specific user. The users are selecting reports form a web page where each link links to a report. Now, I can not have a links for specific users, the links are shared for different users. This means that the user id have to be added to the link dynamically. Is this something that JBOSS Portal can do for us!! /E View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958316#3958316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958316 From do-not-reply at jboss.com Sun Jul 16 06:07:05 2006 From: do-not-reply at jboss.com (igor_varga@hotmail.com) Date: Sun, 16 Jul 2006 06:07:05 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS-Security: a standalone client ? Message-ID: <32529640.1153044425783.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Did you have any progress on that question? In the guide there is statement that "We did not specify a key store or trust store, because client apps instead use the wsse System properties instead". Do you(anyone) know how to set up mentioned "wsse System" properties and where to find the documentation for that? Can I use the code from the "SimpleEncryptTestCase.java" to create ws-security standalone client? It is working as standalone client without encryption though ;) Thanks, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958317#3958317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958317 From do-not-reply at jboss.com Sun Jul 16 08:07:55 2006 From: do-not-reply at jboss.com (adik) Date: Sun, 16 Jul 2006 08:07:55 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <534103.1153051675095.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried both suggestions, and unfortuanly stillhave the problem I change to "true" the UDP loopback option on cluster-service.xml and on deploy\tc5-cluster.sar\META-INF\jboss-service.xml I also tried the second advice and in the jgroup drow test I open two drawing instances and they are able see each other. will happy to here more suggestions Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958318#3958318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958318 From do-not-reply at jboss.com Sun Jul 16 08:58:01 2006 From: do-not-reply at jboss.com (bkaremba) Date: Sun, 16 Jul 2006 08:58:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Custom fork - jbpm 3 Message-ID: <1242589.1153054681841.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you manage to get any answers for this? Regards Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958319#3958319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958319 From do-not-reply at jboss.com Sun Jul 16 09:26:53 2006 From: do-not-reply at jboss.com (wussykye) Date: Sun, 16 Jul 2006 09:26:53 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using JCE crypto in EJBs Message-ID: <1655625.1153056413718.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the suggestions. In order to fix the problem, I uninstalled all copies of the Java (I had several) and reinstalled the JVM and the security files from sun. Thanks, Colin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958320#3958320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958320 From do-not-reply at jboss.com Sun Jul 16 09:49:43 2006 From: do-not-reply at jboss.com (fguerzoni) Date: Sun, 16 Jul 2006 09:49:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client access to Entity beans Message-ID: <5056611.1153057783970.JavaMail.jboss@colo-br-02.atl.jboss.com> It's not MVC pattern, but FACADE pattern. You don't need an EM on client, because EM can't do anything for you on client for client-server applications. EM performs transactionally CRUD operations on server. You have two options: 1) passing detached object to client, let client work on them, and eventually reattach them to EM on server -> less code 2) converting entities (model) to dto object and viceversa -> more flexibility At the moment I've chosed the second option because I can't download to client all the Hibernate classes required to manage detached entity. In the second case try out Dozer, it's a mapping library that does all the bidirectional mapping between model and dto quite automagically. If your application is a standalone application, without server connection, so you have the database directly on client, you must bootstrap an embedded container and follow the general ejb3 tutorial. There's a lot of sample that explain how to do that. ciao F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958321#3958321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958321 From do-not-reply at jboss.com Sun Jul 16 09:54:10 2006 From: do-not-reply at jboss.com (knaveofhearts) Date: Sun, 16 Jul 2006 09:54:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with containment interacting with inheritance? Message-ID: <32501104.1153058050396.JavaMail.jboss@colo-br-02.atl.jboss.com> I have gotten the original concept (i.e., Planet is a Geopolitical Unit, Country is a Geopolitical Unit, Planet contains collection of Countries) to work. Two things that caused me problems in coming up with a solution empirically: - Having a subclass entity that is serializable of a base entity class that is not. Entities supposedly don't have to be serializable (Burke et al., Enterprise Java Beans 3.0, p. 52), but I have not tried going back and tried making them all non-serializable; - Not having an empty constructor at each level; I do not remember reading that this as a requirement of entity POJOs in Burke et al., but it is certainly not in the index!!! The code I wound up with does not look especially like my original posting, since I proceeded by getting one small piece working right, and then building on it incrementally, rather than trying to figure out what was wrong with what I had done originally. K/H View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958323#3958323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958323 From do-not-reply at jboss.com Sun Jul 16 10:12:31 2006 From: do-not-reply at jboss.com (free1000) Date: Sun, 16 Jul 2006 10:12:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Installing EJB3 on portal bundle Message-ID: <17277032.1153059151965.JavaMail.jboss@colo-br-02.atl.jboss.com> I wonder if there is any documentation to assist installing EJB3 on the bundled versions? I tried downloading the CR8 version of EJB3 but the instructions did not match the directory structure of the 2.0.4-CR2 bundle and I wasnt sure about compatibility. It would be excellent if there was a configuration option with this because I'm finding it a bit time consuming and error prone to keep upgrading my 4.0.4-GA install (with EJB3 configuration) with the various portal CR's. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958324#3958324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958324 From do-not-reply at jboss.com Sun Jul 16 10:14:17 2006 From: do-not-reply at jboss.com (mrwhite) Date: Sun, 16 Jul 2006 10:14:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Eclipse - Dynamic Web Project Message-ID: <29931066.1153059257456.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello everybody, i really would like to start playing with seam, but the whole configuration stuff is very frustrating. is there a complete HOWTO for setting up a dynamic webproject with seam support? i saw the flash tutorial, but i need a simple standalone dynamic web project without ant skripts. I added JBoss AS to my servers, so i dont need an ant script for server deployment. I mean there is a nice support in the webtoolsproject why dont just use it? thanks for any links or suggestions. PS: the myeclipse team has nice support for other frameworks where you just have to "add {framework_name} support" and you have a clean new dynamic web project. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958325#3958325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958325 From do-not-reply at jboss.com Sun Jul 16 10:38:58 2006 From: do-not-reply at jboss.com (Basel) Date: Sun, 16 Jul 2006 10:38:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: create method not found + @Factory Message-ID: <17507666.1153060738476.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you so much guys. It finally worked ^_^ Here is what I did: 1. Add @Out(value="newEntry", scope=ScopeType.CONVERSATION) annotation to the instance variable Entry. It won't work if you do not specify a scope. 2. Remove the @Factory("newEntry") annotation from createNewEntry method. 3. Move the code that creates the entry to the startPost method which is called by a page event. Here is the code: | @Out(value="newEntry", scope=ScopeType.CONVERSATION) | private Entry entry; | | @Begin(pageflow="new-entry", join=true) | public void startPost(){ | log.info("Starting to create a new post"); | if( entry == null) | entry = new Entry(category); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958326#3958326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958326 From do-not-reply at jboss.com Sun Jul 16 10:51:07 2006 From: do-not-reply at jboss.com (leulberg) Date: Sun, 16 Jul 2006 10:51:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: mapping problems between ntext, jtds and ejb3 Message-ID: <15531862.1153061467171.JavaMail.jboss@colo-br-02.atl.jboss.com> I solved my problem. I annotated the setter and not the getter. Is it neccessary to annotate the getter because of any spec? Which one? My code looks like below, now. | /** | * TextArea message | */ | @Lob @Column(columnDefinition="NTEXT NULL") | public String getMessage(){ | return this.message; | } | | public void setMessage(String s){ | this.message = s; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958327#3958327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958327 From do-not-reply at jboss.com Sun Jul 16 11:16:02 2006 From: do-not-reply at jboss.com (abl) Date: Sun, 16 Jul 2006 11:16:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Deployment error mapping a parent/child related entity Message-ID: <5358399.1153062962130.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a similar construct in another part of the system: @Entity | public class BasketItem | { | private T object; | | @ManyToOne(fetch=FetchType.LAZY, optional=false) | public T getObject() | { | return object; | } | public void setObject(T object) | { | this.object = object; | } | ... | } | | @Entity | public class AssetBasketItem extends BasketItem | { | ... | } this is getting deployed and works. what is the difference? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958328#3958328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958328 From do-not-reply at jboss.com Sun Jul 16 11:22:52 2006 From: do-not-reply at jboss.com (mdaguete) Date: Sun, 16 Jul 2006 11:22:52 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - OutOfMemoryError: unable to create new native thread Message-ID: <12971052.1153063372933.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'm usign jboss 4.0.3 in debian stable with linux kernel 2.6.8-2-686-smp in a 2x Xeon CPU with Hyperthreading, Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode) and 4GB RAM, af ter a few days my application throws a "OutOfMemoryError: unable to create new native thread" memory exception. I'm usign default jvm settings. ulimit -u says "unlimited". kernel ma x threads = 65535. JVM uses abot 1,5GB of system memory. What jvm parameters you recommend to avoid this ugly error? thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958329#3958329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958329 From do-not-reply at jboss.com Sun Jul 16 11:45:18 2006 From: do-not-reply at jboss.com (pinchyTheLobster) Date: Sun, 16 Jul 2006 11:45:18 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - libs within EAR are not recognized Message-ID: <23180886.1153064718441.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an EAR in my JBOSS_HOME/server/default/deploy/ directory. In the root directory of this EAR there are 2 files located within /lib. When I attempt to deploy my EAR the following is shown in the log. org.jboss.deployment.DeploymentException: url file:/C:/jboss/server/default/deploy/lib/.jar could not be opened, does it exist? at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:187) The jar's get extracted into the tmp directory but for some reason the server expects them to be placed in the deploy directory under a lib folder? Does anyone know how I can make the Application Server point to the internal libs? I know that the Manifest.MF's Classpath for these files is relative: Class-Path: lib/.jar lib/.jar I have tried to deploy this EAR with both 4.0.2 and 3.2.8. There must be some config setting that I'm missing. Any help will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958330#3958330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958330 From do-not-reply at jboss.com Sun Jul 16 11:57:09 2006 From: do-not-reply at jboss.com (knaveofhearts) Date: Sun, 16 Jul 2006 11:57:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with containment interacting with inheritance? Message-ID: <3924044.1153065429616.JavaMail.jboss@colo-br-02.atl.jboss.com> The requirement of a constructor with no arguments is mentioned in the text (p. 137). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958331#3958331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958331 From do-not-reply at jboss.com Sun Jul 16 12:15:55 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Sun, 16 Jul 2006 12:15:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <15371688.1153066555609.JavaMail.jboss@colo-br-02.atl.jboss.com> "I mean there is a nice support in the webtoolsproject why dont just use it?" Was this a question for us or just a statement of the obvious ? :) We want to extend on top of WTP, but currently our biggest issue have been to "bend"/use WTP in an efficient way (e.g. exploded deployment etc) - if anyone has good/concrete experience with thys then please speak up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958333#3958333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958333 From do-not-reply at jboss.com Sun Jul 16 12:16:45 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Sun, 16 Jul 2006 12:16:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <27954538.1153066605599.JavaMail.jboss@colo-br-02.atl.jboss.com> ...oh and the most annoying thing; WTP has this hard requirement that each j2ee artifact has to be in different non-nested projects .....annoying. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958334#3958334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958334 From do-not-reply at jboss.com Sun Jul 16 12:28:32 2006 From: do-not-reply at jboss.com (yelkoury) Date: Sun, 16 Jul 2006 12:28:32 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - How Can I make decision on my buseness process Message-ID: <21974671.1153067313005.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi; Please how can i configure the node "decision" ??? ======== | Decision | KO | |------ ======== | |OK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958335#3958335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958335 From do-not-reply at jboss.com Sun Jul 16 12:58:50 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Sun, 16 Jul 2006 12:58:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <7013722.1153069130737.JavaMail.jboss@colo-br-02.atl.jboss.com> Seam and jBPM are truly innovative products and I want them to gain in popularity so that I can use them on future products. Therefore I think it's important for people with more experience to be understanding of early adopters and help them or at least not say things that may offend them. my 2 cents View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958337#3958337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958337 From do-not-reply at jboss.com Sun Jul 16 12:59:49 2006 From: do-not-reply at jboss.com (mrwhite) Date: Sun, 16 Jul 2006 12:59:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <18154269.1153069189682.JavaMail.jboss@colo-br-02.atl.jboss.com> forget the statement, i know that you are working on this. i am just a little bit frustrated about the complicated deployment for a simple webapplication. i am not a "certified java ee deployer" ;-) I just thought there are any links or articles that cover this topic to get things done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958338#3958338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958338 From do-not-reply at jboss.com Sun Jul 16 13:50:08 2006 From: do-not-reply at jboss.com (tushardesai22) Date: Sun, 16 Jul 2006 13:50:08 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss ide seam skeleton app error Message-ID: <19976587.1153072208523.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using Eclipse-SDK-3.1.2-win32 + BossIDE-200607141757-nightly-ALL Can any one help me out with this error: Exception while generating code: Reason: org.hibernate.tool.hbm2x.ExporterException: Error while processing template seam/find.jsp.ftl freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl. freemarker.core.InvalidReferenceException: Expression field.value.typeName is undefined on line 45, column 6 in seam/find.jsp.ftl. I am just trying to configure and deploy the tables from MySQL as shown in CRUD demo by I keep getting the above error. Below are the two tables: mysql> create table City (ID integer(3), Name varchar(25), Zipcode integer(5), Country varchar(25)); mysql> create table Event(ID integer(3), Name varchar(60)); Please advice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958339#3958339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958339 From do-not-reply at jboss.com Sun Jul 16 14:11:22 2006 From: do-not-reply at jboss.com (james.williams@jboss.com) Date: Sun, 16 Jul 2006 14:11:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <2004463.1153073482867.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe this wiki will help you out. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen The quick start part is a little scant on details, but I do think you'll find the code-gen CLI useful until decent IDE plugins arrive. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958340#3958340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958340 From do-not-reply at jboss.com Sun Jul 16 15:09:13 2006 From: do-not-reply at jboss.com (bentins) Date: Sun, 16 Jul 2006 15:09:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - invoking code from an ear file Message-ID: <22786533.1153076953084.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to integrate JBpm into an existing j2ee application running on Jboss in it's own ear. I'm using Jbpm as a service. I need to write actions that do things directly in the application like invoking some processes, beans and such. The problem is that Jbpm.sar does not see my ear file in it's class path, and thus I get the class not found exceptions. I've read the stuff about classloading in jboss, however I couldn't find how its done in practice, adding the ear file into Jbpm service classpath. thnx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958341#3958341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958341 From do-not-reply at jboss.com Sun Jul 16 15:41:34 2006 From: do-not-reply at jboss.com (mrwhite) Date: Sun, 16 Jul 2006 15:41:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <28117647.1153078894388.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried it and it works really well. It should be added to the "Getting started" Page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958342#3958342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958342 From do-not-reply at jboss.com Sun Jul 16 16:10:45 2006 From: do-not-reply at jboss.com (rdewell) Date: Sun, 16 Jul 2006 16:10:45 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Lazy / dynamic POJO properties supported in cache? Message-ID: <11970174.1153080645053.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a scenario where we have a [conceptually] infinitely large "tree" of object associations. This tree of object associations is dynamically instantiated on request of each node. What I'm ultimately trying to figure out is if JBoss Cache can help out here. While these nodes will have SOME fields, the larger structure of them will need to be lazily / dynamically accessed through the getter methods. Ideally I was hoping to get JBoss Cache in the middle of this so that I would have support for transparent LRU algorithms on branches, etc, on calls to these getters. So: | public class SomeNode{ | private String someProperty; // I'm cached. | | public String getSomeProperty(){ return someProperty; } | | // Can I be a cached? | public List getDynamicNodes(){ | // retrieve and return other nodes. | // do not store them in a private field. | // handed over to jboss cache? | // *** jboss cache only actually RE-executes this getter | /// when it no longer has it available in the cache??? | } | } | Is this possible? I can use JDK 1.5 / etc, whatever is needed. Thanks, Ryan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958343#3958343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958343 From do-not-reply at jboss.com Sun Jul 16 16:42:01 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Sun, 16 Jul 2006 16:42:01 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss ide seam skeleton app error Message-ID: <16813081.1153082521030.JavaMail.jboss@colo-br-02.atl.jboss.com> they have no primary key, hence reveng creates a composite key of all columns, but the seam templates does not support composite key and thus it fails. solution: define the primary keys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958344#3958344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958344 From do-not-reply at jboss.com Sun Jul 16 16:45:40 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Sun, 16 Jul 2006 16:45:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <13970199.1153082740824.JavaMail.jboss@colo-br-02.atl.jboss.com> eh sorry - i don't get how my question were offensive ? I were really just trying to understand if you were asking why we did not do it or you were stating that it would be the obvious choice. Regarding jbosseamgen that is something we want to continue extend on; but I hope to find a way so the generated projects can work together with WTP - that was why I were asking if someone wanted to speak up and talk about their experiences. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958345#3958345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958345 From do-not-reply at jboss.com Sun Jul 16 17:02:44 2006 From: do-not-reply at jboss.com (javidjamae) Date: Sun, 16 Jul 2006 17:02:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Relilability of the context cache Message-ID: <18568893.1153083764942.JavaMail.jboss@colo-br-02.atl.jboss.com> I've been reading through the SEAM documentation to try and gain a better understanding of what level of reliability SEAM provides. What I've gathered is that SEAM doesn't provide any reliability features itself, but rather depends on the container to provide replication of the different components. (This may be an incorrect statement, but I haven't found anything in the documentation that states otherwise). So my question is: yes, it is important to have replication of components for reliability, but what about replication of the context cache? SEAM keeps a cache of all the different users' contexts. If a JBoss instance goes down, do all of those user contexts that were in memory on that instance get lost? Do all of my users have to login, create new shopping carts, start new business process flows, etc.? Maybe I'm missing something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958346#3958346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958346 From do-not-reply at jboss.com Sun Jul 16 17:13:52 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Sun, 16 Jul 2006 17:13:52 -0400 (EDT) Subject: [jboss-user] [J2EE Design Patterns] - Reuse of j2ee modules in applications Message-ID: <32668536.1153084432265.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have a problem understanding how (assembled and tested) ejb-archives containing MDBs can be deployed in multiple applications without avoiding resource conflicts. To my knowledge, queues are bound (either by xml or annotations) when assembling the module (EJB) and not when assembling the application (EAR)...? Servlet context can be bound on application level, global JNDI names for SLSBs can be generated on application level (referencing them with ENC). persitence.xml file can be application-defined which isolate datasources from eachother and overcome conflicts for reused entity beans. But, for MDBs i have not found any similar way of lately bind a MDB to application-defined queues? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958347#3958347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958347 From do-not-reply at jboss.com Sun Jul 16 17:18:44 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Sun, 16 Jul 2006 17:18:44 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Application-defined resources for MDBs? Message-ID: <29847694.1153084724642.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have a problem understanding how (assembled and tested) ejb-archives containing MDBs can be deployed in multiple applications without avoiding resource conflicts. To my knowledge, queues are bound (either by xml or annotations) when assembling the module (EJB) and not when assembling the application (EAR)...? Servlet context can be bound on application level, global JNDI names for SLSBs can be generated on application level (referencing them with ENC). persitence.xml file can be application-defined which isolate datasources from eachother and overcome conflicts for reused entity beans. But, for MDBs i have not found any similar way of lately bind a MDB to application-defined queues? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958348#3958348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958348 From do-not-reply at jboss.com Sun Jul 16 17:37:51 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sun, 16 Jul 2006 17:37:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1 SP3 - Changing properties of a portal Message-ID: <3566736.1153085871750.JavaMail.jboss@colo-br-02.atl.jboss.com> the JSF management appr does not have this functionnality yet, probably not a big deal to add. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958349#3958349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958349 From do-not-reply at jboss.com Sun Jul 16 17:38:40 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sun, 16 Jul 2006 17:38:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Using JGuard to secure the portal Message-ID: <1750010.1153085920515.JavaMail.jboss@colo-br-02.atl.jboss.com> what is jguard ? does it do bytecode manipulation ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958350#3958350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958350 From do-not-reply at jboss.com Sun Jul 16 17:42:20 2006 From: do-not-reply at jboss.com (unibrew) Date: Sun, 16 Jul 2006 17:42:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How can I do the emoticons in the Forum portlet? Message-ID: <26330321.1153086140057.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Julian There is no support of emoticons in JBoss Forums. I have created Feature request jira task for this functionality http://jira.jboss.com/jira/browse/JBFORUMS-101. btw jboss.com forums are not deployed on JBoss Forums, this will happen soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958351#3958351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958351 From do-not-reply at jboss.com Sun Jul 16 18:50:10 2006 From: do-not-reply at jboss.com (pelo67000) Date: Sun, 16 Jul 2006 18:50:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Using JGuard to secure the portal Message-ID: <27610702.1153090210160.JavaMail.jboss@colo-br-02.atl.jboss.com> jGuard is a library that provides security (authentication and authorization) for Java web applications. It is built over the JAAS framework and as i said in the previous post it uses the asm-2.0 library... Apparently this version of asm isn't compatible with the cglib version of jboss... However, i tried to use the latest cglib version available (nodeps - version) and had the asm-2.0 library... By doing this i don"t have errors anymore but jguard don't work... Moreover, I had post first in the security & jaas forum and this is the response to my topic : anonymous wrote : | Ask in the portal forums. | | Looks like a mismatch in hibernate/cglib/objectweb codebase. | I have try to use only on jboss 4.03/4.04 (without jboss-portal) and it works but when i add the jboss-portal (or use the bundled version) jguard don't work anymore... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958353#3958353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958353 From do-not-reply at jboss.com Sun Jul 16 19:28:00 2006 From: do-not-reply at jboss.com (andrew.rw.robinson) Date: Sun, 16 Jul 2006 19:28:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Works on one computer - not another Message-ID: <30208140.1153092480708.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, I am stumped for the moment. I have two slackware boxes, one mine for development, and another that is my deployment server. I have hg/mercurial installed and am using it to sync my source. I have deployed my code on both computers, and it only works on one. On my development computer, the application starts in about ~30-60 seconds on tomcat. On the deployment server, it starts in over 90 seconds, which is odd because it is a faster computer. It is much slower during the EJB deployment stage (using the embedded EJB3 container in tomcat). When I try to execute I get an exception. Another peculiarity is that all this worked fine on the deployment server under an old Seam version, but not under 1.0.1 which I am running at the moment. The database setup is nearly identical (but the dev server has postgres 8.1.2 and the server has postgres 8.1.4, but it doesn't seem like that is the issue to me). The tomcat setup is the same (I rsync'd tomcat over actually). I have rebuilt the code (clean) and have deleted the folder in the tomcat webapps directory as well as deleting the Catalina folder in the work directory. Here is the exception I get on the deployment computer: javax.faces.el.EvaluationException: /templates/conference.xhtml @34,49 rendered="#{empty userBean.currentUser}": Exception getting value of property currentUser of base of type : $Proxy69 | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076) | at org.apache.myfaces.component.html.ext.HtmlCommandLink.isRendered(HtmlCommandLink.java:155) | at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlCommandNavigationItem.isRendered(HtmlCommandNavigationItem.java:97) | at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRendererUtils.renderChildrenListLayout(HtmlNavigationMenuRendererUtils.java:59) | at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.renderListLayout(HtmlNavigationMenuRenderer.java:217) | at org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer.encodeEnd(HtmlNavigationMenuRenderer.java:139) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:565) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Bean: $Proxy69, property: currentUser | at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:442) | at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:82) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141) | at com.sun.el.parser.AstValue.getValue(AstValue.java:96) | at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:28) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | ... 38 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:585) | at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:438) | ... 45 more | Caused by: java.lang.NullPointerException | at org.bethanyefree.beans.UserBeanAction.getCurrentUser(UserBeanAction.java:56) | 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.invokeNext(MethodInvocation.java:109) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy69.getCurrentUser(Unknown Source) | ... 50 more | java.lang.NullPointerException | at org.bethanyefree.beans.conference.ConferenceRegistrationAction.loadConferences(ConferenceRegistrationAction.java:170) | at org.bethanyefree.beans.conference.ConferenceRegistrationAction.load(ConferenceRegistrationAction.java:156) | 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.invokeNext(MethodInvocation.java:109) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy80.load(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) | at com.sun.el.parser.AstValue.getValue(AstValue.java:85) | at com.sun.el.parser.AstEmpty.getValue(AstEmpty.java:28) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:1076) | at org.apache.myfaces.component.html.ext.HtmlOutputText.isRendered(HtmlOutputText.java:85) | at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240) | at com.sun.facelets.util.DevTools.writeStart(DevTools.java:277) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107) | at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:529) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:501) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | 17:18:54,634 DEBUG [DebugPhaseListener] The phase RENDER_RESPONSE(6) has completed. | FacesContext.responseComplete(): true | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o2s1-7m2zbs-epq1468l-1-epq15yzl-3 | at org.jboss.ejb3.cache.NoPassivationCache.get(NoPassivationCache.java:120) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy80.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:310) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:233) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:95) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:55) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | 17:18:54,643 WARN [Contexts] Could not destroy component: confRegister | javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: 5c4o2s1-7m2zbs-epq1468l-1-epq15yzl-3 | at org.jboss.ejb3.cache.NoPassivationCache.get(NoPassivationCache.java:120) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:59) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy80.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:310) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:233) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:95) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:55) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) Anyone one possibly know why? By the way, this is happening on almost all Entity beans that I can tell, not just the one from the above exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958354#3958354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958354 From do-not-reply at jboss.com Sun Jul 16 21:04:36 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Sun, 16 Jul 2006 21:04:36 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <17599053.1153098276372.JavaMail.jboss@colo-br-02.atl.jboss.com> That's weird.. so you have to pass the interface address (InetSocketAddress object) to the constructor for it to work, even though you call the setter (setInterface) with the same address? Sounds like a JDK bug to me :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958355#3958355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958355 From do-not-reply at jboss.com Sun Jul 16 21:18:32 2006 From: do-not-reply at jboss.com (andrew.rw.robinson) Date: Sun, 16 Jul 2006 21:18:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Works on one computer - not another Message-ID: <18297060.1153099112898.JavaMail.jboss@colo-br-02.atl.jboss.com> Nevermind found the problem with a dependency imported from my ant build.xml file that wasn't updated on the server. Sorry for the hassle View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958356#3958356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958356 From do-not-reply at jboss.com Sun Jul 16 22:15:21 2006 From: do-not-reply at jboss.com (eborisow) Date: Sun, 16 Jul 2006 22:15:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Error when installing jBPM on Eclipse 3.2 Message-ID: <23187989.1153102521855.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I didn't check to see if 3.2 was supported yet for 3.1.1, but I figured I would try it anyway. Well, I tried the Local Site installation and unfortunately, it didn't work for me. Here is the error I received. Unable to complete action for feature "org.jbpm.feature" due to errors. Unable to create file "null". [C:\programs\sourceforge\jbpm-starters-kit-3.1.1\jbpm-designer\jbpm-gpd-feature\eclipse\plugins\org.apache.xerces_2.7.0.v200602052214 (Access is denied)] Unable to create file "null". [C:\programs\sourceforge\jbpm-starters-kit-3.1.1\jbpm-designer\jbpm-gpd-feature\eclipse\plugins\org.apache.xerces_2.7.0.v200602052214 (Access is denied)] I'm sorry, I don't know what other log files are useful to post, but if there is one that you need, please let me know. Thanks, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958357#3958357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958357 From do-not-reply at jboss.com Sun Jul 16 23:08:31 2006 From: do-not-reply at jboss.com (kgrjb) Date: Sun, 16 Jul 2006 23:08:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - @EJB injection gives null Message-ID: <16250583.1153105711665.JavaMail.jboss@colo-br-02.atl.jboss.com> im using jboss 4.0.4.GA i got null on @EJB injection. i have 2 simple stateless beans. @Stateless @Local({LocalIntf1.class}) @Remote({RemoteIntf1.class}) public class Bean1 implements RemoteIntf1, LocalIntf1 { ... ... } the other bean uses the @EJB tag to reference Bean1. @Stateless @Local({LocalIntf2.class}) @Remote({RemoteIntf2.class}) public class Bean2 implements RemoteIntf2, LocalIntf2 { @EJB LocalIntf1 field; ... ... } field is always null. the injection doesnot work. i tried attributes of @EJB tag but none works. - name - beanName - beanInterface (not in jboss?) - businessInterface (jboss specific?) - mappedName(jboss specific?) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958358#3958358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958358 From do-not-reply at jboss.com Sun Jul 16 23:18:35 2006 From: do-not-reply at jboss.com (kgrjb) Date: Sun, 16 Jul 2006 23:18:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB injection gives null Message-ID: <12027019.1153106315381.JavaMail.jboss@colo-br-02.atl.jboss.com> i forgot to say it was working fine in jboss-4.0.3SP1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958360#3958360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958360 From afalius2 at yahoo.com Sun Jul 16 23:22:45 2006 From: afalius2 at yahoo.com (afaal anif) Date: Sun, 16 Jul 2006 20:22:45 -0700 (PDT) Subject: [jboss-user] Please unsubscribe me Message-ID: <20060717032245.34436.qmail@web32111.mail.mud.yahoo.com> Please unsubscribe me --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060716/a06b3fb7/attachment.html From do-not-reply at jboss.com Sun Jul 16 23:31:01 2006 From: do-not-reply at jboss.com (AshuDagr8) Date: Sun, 16 Jul 2006 23:31:01 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: classpath..!!! Message-ID: <16597103.1153107061271.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks..!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958361#3958361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958361 From do-not-reply at jboss.com Mon Jul 17 00:23:09 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 00:23:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Backbutton Example Message-ID: <15743561.1153110189195.JavaMail.jboss@colo-br-02.atl.jboss.com> "khsiow" wrote : I was expecting the system would redisplay the current page immediately as soon as I hit the backbutton. | That is definitely not the expectation, and would not be desirable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958362#3958362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958362 From do-not-reply at jboss.com Mon Jul 17 01:01:32 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 01:01:32 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Servlet and HTTP invoket does't throw remote method Exce Message-ID: <1616845.1153112492641.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBREM-544 So now http(s) and servlet(sslservlet) will now throw exception by default, just like other transports. Can be configured to not throw exception (like was in past) as well. Still need web services team to confirm changes are alright with them (since they requested the initial no throw). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958365#3958365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958365 From do-not-reply at jboss.com Mon Jul 17 01:04:33 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Mon, 17 Jul 2006 01:04:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Self-referencing foreign keys Message-ID: <32780208.1153112673710.JavaMail.jboss@colo-br-02.atl.jboss.com> I used the CRUD generator to create an app based on the Employees table provided by Oracle. After a few adjustments, I got it working pretty nice. This table has a foreign key (manager_id) that references the primary key of the same table (employee_id). That is, an employee can manage many employees (one-to-many) and this very same employee can be managed by another employee (many-to-one). In the application, I can successfully: - Search for existing employees. - Create/Update/Delete employees. - Select a manager for an existing employee or when creating a new employee. The problem I will describe could be easily solved by getting rid of the "View Manager", "View Employee" and "Create Employee" buttons shown in the figure. But I would like to know if there is a possible solution. http://images.tigratuning.com.br/misc/seamapp.jpg When I click one of these buttons, essentially what happens on all of them is that I need to get a new editor for a employee different than the one I'm currently editing. I can't use the same employeeEditor, because I will certainly get a concurrent call exception. There's no way to create editors for the manager or managed employee, since, well, you can imagine where this would take us... an endless mess. Is there a way out of this? Any possible solution? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958366#3958366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958366 From do-not-reply at jboss.com Mon Jul 17 01:15:09 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 01:15:09 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: binding multicast detector Message-ID: <11799443.1153113309034.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBREM-545 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958368#3958368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958368 From do-not-reply at jboss.com Mon Jul 17 01:16:37 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Mon, 17 Jul 2006 01:16:37 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Servlet and HTTP invoket does't throw remote method Exce Message-ID: <6836322.1153113397360.JavaMail.jboss@colo-br-02.atl.jboss.com> This sounds like a perfect solution for everyone. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958369#3958369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958369 From do-not-reply at jboss.com Mon Jul 17 01:24:35 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 01:24:35 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Client connections. Message-ID: <17081728.1153113875497.JavaMail.jboss@colo-br-02.atl.jboss.com> Think there are only two ways to do this. First is to create an interceptor on client and server side that embeds client id in the Invocation object. The second would be to modify org.jboss.aspects.remoting.AOPRemotingInvocationHandler. It's invoke() method receives a org.jboss.remoting.InvocationRequest as it's parameter. The InvocationRequest already contains the remoting client id, which can get by calling getSessionId() on it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958370#3958370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958370 From do-not-reply at jboss.com Mon Jul 17 01:39:06 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 01:39:06 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: JNDI between 2 JBoss instances Message-ID: <21094567.1153114746352.JavaMail.jboss@colo-br-02.atl.jboss.com> Similar question was asked here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86296 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958371#3958371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958371 From do-not-reply at jboss.com Mon Jul 17 01:50:07 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 01:50:07 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss goes down! Message-ID: <21934173.1153115407396.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : exceptions says: java.sql.SQLException: Exhausted Resultset This has mainly got to do with how you are using the ResultSet. It might be a case that you are invoking the next() method on the ResultSet in a wrong way. Post the code where you are dealing with the ResultSet. anonymous wrote : we are facing a strange behavior of the application server - JBoss, from time to time, it goes down and became unaccessible, and it seems that the application is not able to run any more What exactly is happening? Is the JBoss server getting shutdown? Or is it that there is no response from the server? Also, which version of JBoss are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958372#3958372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958372 From do-not-reply at jboss.com Mon Jul 17 01:50:38 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 01:50:38 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: hosting hmailserver on jboss Message-ID: <33373839.1153115438819.JavaMail.jboss@colo-br-02.atl.jboss.com> If business logic implemented as ejbs, can access via JRMP/IIOP invoker or via web services. This will be your best bet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958373#3958373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958373 From do-not-reply at jboss.com Mon Jul 17 01:52:16 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 01:52:16 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: OutOfMemoryError: unable to create new native thread Message-ID: <16264414.1153115536607.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958374#3958374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958374 From do-not-reply at jboss.com Mon Jul 17 01:58:26 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 01:58:26 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: using one port for multiple TransporterServer and Connec Message-ID: <29323894.1153115906029.JavaMail.jboss@colo-br-02.atl.jboss.com> In the 2.0 release, will be able to re-use the same transporter and add multiple target pojo's, which will have them using the same port (as will be using the same Connector underneath). However, if try to create two transporter servers with the same locator url, will get an exception because the second will try to create a new Connector with the same locator url (i.e. port). If you have a use case to be able to do this (where transporter server is smart enough to find and re-use existing Connector of another transporter server), pleaes open a feature request in jira and put in use case. Also, put in what expected behavior should be when try adding the same pojo target twice (once for each transporter server instance). Also, won't be able to do any of this in 1.4.4. It is just a minor patch release to the 1.4 branch. No new development is being done on that branch (but 2.0 should be release within a few weeks... God willing ;) ). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958375#3958375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958375 From do-not-reply at jboss.com Mon Jul 17 02:00:52 2006 From: do-not-reply at jboss.com (roberto) Date: Mon, 17 Jul 2006 02:00:52 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <27974487.1153116052509.JavaMail.jboss@colo-br-02.atl.jboss.com> I try to change FORM authentication to BASIC in web xml, and now it works. But i need to use FORM authentication. What this means? i need to do additional operation in my code or there is a bug or is not supported.... ? Best Regards, Roberto View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958376#3958376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958376 From do-not-reply at jboss.com Mon Jul 17 02:12:30 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 17 Jul 2006 02:12:30 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: jboss-jmx-remoting in JBoss 4.0.4.GA Message-ID: <32109434.1153116750514.JavaMail.jboss@colo-br-02.atl.jboss.com> The jmx remoting component within JBoss 3.2.5 was a proprietary predecessor to the JMX Remoting spec (JSR-160). Since the spec came out, the effort for jmx remoting implementation (targeted for JBoss 5.0 as you mentioned) has been based on this spec. The MBeanTracker (and most of the other classes in the older releases) are no longer being developed or supported. However, for the moment, the code for this still exists within the 4.0 branch. It is not part of the default build or distribution though. It might be possible to get what you need from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958377#3958377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958377 From do-not-reply at jboss.com Mon Jul 17 02:24:23 2006 From: do-not-reply at jboss.com (Leonardpaul) Date: Mon, 17 Jul 2006 02:24:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - I am getting "Object not found erroe" Message-ID: <21796525.1153117463938.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am getting an error 11:35:28,943 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 11:35:29,068 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 11:35:29,599 INFO [JkMain] Jk running ID=0 time=0/562 config=null 11:35:29,615 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 36s:839ms 11:35:40,265 ERROR [CoreController] Object not found org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault page does not exist at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) let me know why it happen. thanks Regards A.Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958378#3958378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958378 From do-not-reply at jboss.com Mon Jul 17 02:31:16 2006 From: do-not-reply at jboss.com (hubertg) Date: Mon, 17 Jul 2006 02:31:16 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: download non-html file from portlet Message-ID: <2371266.1153117876419.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I will try that! Thanks for the quick answer! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958379#3958379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958379 From do-not-reply at jboss.com Mon Jul 17 02:43:01 2006 From: do-not-reply at jboss.com (vishal_salian) Date: Mon, 17 Jul 2006 02:43:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Alternate UI for designing workflow in jBPM? Message-ID: <21979964.1153118581317.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, Is there an UI other than the eclipse plugin available to design workflows using jBPM? Basically we want our customers to create workflows without using eclipse plugins. Appreciate your help for my query above. Thanks, Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958380#3958380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958380 From do-not-reply at jboss.com Mon Jul 17 02:55:58 2006 From: do-not-reply at jboss.com (manishpaliwal007) Date: Mon, 17 Jul 2006 02:55:58 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Some Queries Message-ID: <7397428.1153119358415.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am manish from delhi. I am new for JBoss. I want to know some queries about JBoss which are given below :- 1. Can i use JSF in JBOSS? 2. Is JBOSS suitable for an Enterprise Applicaion. I mean to say that if i build an Online Business Managment Applicaion using Servlet/JSP/JSF/EJB and more J2EE tools. Then is can be run easliy on this Application Server? 3. What are the drawback of JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958381#3958381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958381 From do-not-reply at jboss.com Mon Jul 17 03:02:26 2006 From: do-not-reply at jboss.com (emailmsgbox) Date: Mon, 17 Jul 2006 03:02:26 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using j_security_check with a custom Principal , a custo Message-ID: <20317483.1153119746763.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes it did, thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958382#3958382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958382 From do-not-reply at jboss.com Mon Jul 17 03:04:28 2006 From: do-not-reply at jboss.com (ramazanyich) Date: Mon, 17 Jul 2006 03:04:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <15874070.1153119868447.JavaMail.jboss@colo-br-02.atl.jboss.com> did you do all steps ? did you get latest version from SVN, build it and deployed it to your JBOSS instance? Did you add @HandlerChain annotation to your class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958383#3958383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958383 From do-not-reply at jboss.com Mon Jul 17 03:06:16 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Mon, 17 Jul 2006 03:06:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <23320676.1153119976100.JavaMail.jboss@colo-br-02.atl.jboss.com> hello, If I understand well you want to create a task for few poeple who have some different roles. In order to do this you can use in your process model the "swimlane" which permit you to define a specific role to a task and put some poeple who can execute this task. I'm putting the link in order to see you what is it specialy. http://docs.jboss.com/jbpm/v3/userguide/taskmanagement.html#swimlanes I hope I help you antitrust1982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958384#3958384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958384 From do-not-reply at jboss.com Mon Jul 17 03:50:53 2006 From: do-not-reply at jboss.com (jcoffee) Date: Mon, 17 Jul 2006 03:50:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: No pooling for stateless session beans with JBoss 4.0.4 Message-ID: <25225824.1153122653319.JavaMail.jboss@colo-br-02.atl.jboss.com> ...no solution or other suggestions? So, I have to add this as a bug in JIRA. Best regards Guido View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958386#3958386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958386 From do-not-reply at jboss.com Mon Jul 17 03:51:41 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 03:51:41 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Some Queries Message-ID: <5622103.1153122701995.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : 1. Can i use JSF in JBOSS? See if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces anonymous wrote : Is JBOSS suitable for an Enterprise Applicaion. I mean to say that if i build an Online Business Managment Applicaion using Servlet/JSP/JSF/EJB and more J2EE tools. Then is can be run easliy on this Application Server? JBoss is a J2EE compliant app server and can be used for Enterprise Applications. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958387#3958387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958387 From do-not-reply at jboss.com Mon Jul 17 04:06:14 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Mon, 17 Jul 2006 04:06:14 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Seam=5D_-_Re=3A_Ajax=C2=A4JSF_wi?= =?utf-8?q?th_Seam?= Message-ID: <4812101.1153123574543.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, i proposed this as the simplest workaround. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958388#3958388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958388 From do-not-reply at jboss.com Mon Jul 17 04:07:15 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Mon, 17 Jul 2006 04:07:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: automatic generation of form Message-ID: <22848643.1153123635367.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have seen that the webapp is in JSF and permit to print on the screen the form from to the controller of the process task model. But I have use JSP and a webwork model in order to create my first portlet which use JBPM. can I create a automatique generation of form from the process task model with this technology? Or do I have to use a facelet in order to do this. Thank you for you help antitrust1982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958389#3958389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958389 From do-not-reply at jboss.com Mon Jul 17 04:08:06 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 04:08:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Adding a listner as a new service Message-ID: <23043741.1153123686715.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : but I am not sure if i can run that as a service within JBoss Is there any specific reason, you want to run it as a service? anonymous wrote : I have implemented MBean to be running as service but the JMS listener code gives an exception. What is the exception? Post the exception stacktrace. Also, post the relevant code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958390#3958390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958390 From do-not-reply at jboss.com Mon Jul 17 04:11:46 2006 From: do-not-reply at jboss.com (jc7442) Date: Mon, 17 Jul 2006 04:11:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Maven2 and Embeddable EJB3 Message-ID: <26066166.1153123906970.JavaMail.jboss@colo-br-02.atl.jboss.com> I had some problems with tests (junit) and embeddable EJB3. It was a problem due to the deployer. It seems that some resources are searched in jar files (not in directory). http://www.jboss.com/index.html?module=bb&op=viewforum&f=221&topicDays=0&start=240 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958391#3958391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958391 From do-not-reply at jboss.com Mon Jul 17 04:14:05 2006 From: do-not-reply at jboss.com (jc7442) Date: Mon, 17 Jul 2006 04:14:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Maven2 and Embeddable EJB3 Message-ID: <13208192.1153124045072.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry correct url is http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84338 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958392#3958392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958392 From do-not-reply at jboss.com Mon Jul 17 04:21:33 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 04:21:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Transactions fail due to confiuration of Persistence Message-ID: <1203310.1153124493382.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I have recently shifted my JBPM database to oracle 10g successfully but now persistence of processes is not working. I believe the reason is the following, I have configured an jbpm-ds.xml file in the deploy directory but below HiLo points to DefaultDS where there is no such source. I have tried to locate the configuration file making this pointer but to no avail. | --- MBeans waiting for other MBeans --- | ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo | State: CONFIGURED | I Depend On: | jboss:service=TransactionManager | jboss.jca:name=DefaultDS,service=DataSourceBinding | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.jca:name=DefaultDS,service=DataSourceBinding | State: NOTYETINSTALLED | Depends On Me: | jboss:service=KeyGeneratorFactory,type=HiLo | Please, provide some help. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958393#3958393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958393 From do-not-reply at jboss.com Mon Jul 17 04:29:50 2006 From: do-not-reply at jboss.com (clodeindustrie) Date: Mon, 17 Jul 2006 04:29:50 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: PB with wrapping my oracledatasource Message-ID: <21462497.1153124990972.JavaMail.jboss@colo-br-02.atl.jboss.com> problem resolved ! The wrappeddatasource returned by the ctx.lookup was not an Oracledatasource at least it couldn't be cast as. But the Connection has a method that make possible it to be cast as oracleconnection in order to use XML functions of oraclesomething objects. use ds.getunderlyingconnection(). that all View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958395#3958395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958395 From do-not-reply at jboss.com Mon Jul 17 04:30:18 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Mon, 17 Jul 2006 04:30:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Accessing methods inside the view Message-ID: <1979762.1153125018705.JavaMail.jboss@colo-br-02.atl.jboss.com> Just make getter: getAsString(); and use it #{backingBean.asString} View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958396#3958396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958396 From do-not-reply at jboss.com Mon Jul 17 04:30:41 2006 From: do-not-reply at jboss.com (olgage) Date: Mon, 17 Jul 2006 04:30:41 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Silent installation of JBoss - default disk is NOT C:/ Message-ID: <6516261.1153125041038.JavaMail.jboss@colo-br-02.atl.jboss.com> I run the silent installation of JBoss. If there is only one hard disk on the computer (C:/) the installation puts JBoss in C:\jboss-3.2.7 - that's good. BUT when I add an additional hard disk to the same machine (not logical partition, but the real one) called D:/ or E:/ -then JBoss installs itself on D: (or E:/). But I want JBoss installation on C:\jboss-3.2.7 constantly. What should I do ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958397#3958397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958397 From do-not-reply at jboss.com Mon Jul 17 04:38:56 2006 From: do-not-reply at jboss.com (s_telios) Date: Mon, 17 Jul 2006 04:38:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Custom fork - jbpm 3 Message-ID: <15026078.1153125536951.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes I managed to do it. My understanding is that while you are at the fork the child-tokens are not 'commited' to the database yet and that is the reason of the exceptions. What I did is that: One the next task I defined to use a custom assigment: After the Jboss server startup i am getting this error ERROR [LocaleUtils] Locale name null or empty, ignoring follow by i am getting this error while i typed http://localhost:8080/portal 13:29:36,438 ERROR [CoreController] Object not found org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourceDefault page does not exist at org.jboss.portal.core.model.portal.DefaultPortalCommandMapper.doMapping(DefaultPortalCommandMapper.java:99) Kindly help me Thanks A.Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958401#3958401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958401 From do-not-reply at jboss.com Mon Jul 17 04:45:23 2006 From: do-not-reply at jboss.com (clodeindustrie) Date: Mon, 17 Jul 2006 04:45:23 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Classloading PB with librairies in my servlet Message-ID: <8114171.1153125923037.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, I have a problem, let me explain what it's about. I have a servlet that use an oracle DataSource with the driver ojdbc14.jar till that point it's ok, I can use it fine. My problem appears when I want to use XML functions of oracle, to that I need a jar library xdb.jar, but it and the ojdbc14.jar can't deal with each other. I don't very know what's the problem because on a stand alone application the code work, and I tried a lot of configurations in vain. So I think it's a classloader issue but What can i do ? If you know anything about that please help me :) thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958402#3958402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958402 From do-not-reply at jboss.com Mon Jul 17 04:51:23 2006 From: do-not-reply at jboss.com (dlipski) Date: Mon, 17 Jul 2006 04:51:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <24479728.1153126283098.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your help, but swomlines aren't solution to my problem. I have problem with assigning transition to task. For example, I have task node with 2 tasks t1 i t2 and have two transitions from this node: tt1 and tt2. Now, when user u1 performs t1 i want to move token through tt1 and when user performs task t2 I want to take tt2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958403#3958403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958403 From do-not-reply at jboss.com Mon Jul 17 04:54:14 2006 From: do-not-reply at jboss.com (simona.pricope) Date: Mon, 17 Jul 2006 04:54:14 -0400 (EDT) Subject: [jboss-user] [JBossWS] - call WebService jndi Message-ID: <30320380.1153126454991.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I need help with calling a web service. I have a staeless bean: MyWebService and his JNDI_NAME is "ejb/myproject_MyWebServiceLocal" I want to call this web service and I use: call.setTargetEndpointAddress(paramSoapUrl), where paramSoapUrl = "https://localhost:443/axis/services/MyWebService" I get an exception: javax.naming.NameNotFoundException: MyWebServiceLocal not bound at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260) In Browser there is no problem, I can call it using the url: https://localhost:443/axis/services/MyWebService Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958404#3958404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958404 From do-not-reply at jboss.com Mon Jul 17 04:55:23 2006 From: do-not-reply at jboss.com (krupinskir) Date: Mon, 17 Jul 2006 04:55:23 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: pages with different security domains in one portal Message-ID: <10581136.1153126523028.JavaMail.jboss@colo-br-02.atl.jboss.com> actually I need some part of my portal to be accessible with user login and blank password. Solution doesn't need to be secure. I can make my own user session scheme, but i'm trying to use jboss mechanisms and keep 'security' away from business logic and presentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958405#3958405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958405 From do-not-reply at jboss.com Mon Jul 17 04:59:56 2006 From: do-not-reply at jboss.com (DeadPoet) Date: Mon, 17 Jul 2006 04:59:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Code Generation Command Line Interface Available (s Message-ID: <22350862.1153126796069.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanx a lot! You really saved my weekend ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958406#3958406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958406 From do-not-reply at jboss.com Mon Jul 17 05:02:18 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 05:02:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <27370293.1153126938122.JavaMail.jboss@colo-br-02.atl.jboss.com> I couldn't find the file configuring HiLo so, I changed all references to jbpmDS to DefaultDS. Now, however, I am getting the error of missing table HILOSEQUENCES | Problem starting service jboss:service=KeyGeneratorFactory, type=HiLo | java.sql.SQLException : ORA-00942:table or view does not exist | Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958407#3958407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958407 From do-not-reply at jboss.com Mon Jul 17 05:11:37 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 05:11:37 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Classloading PB with librairies in my servlet Message-ID: <21265165.1153127497988.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not sure what the exact problem is, but if you feel that its related to classloading, then have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958408#3958408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958408 From do-not-reply at jboss.com Mon Jul 17 05:12:46 2006 From: do-not-reply at jboss.com (pilhuhn) Date: Mon, 17 Jul 2006 05:12:46 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Is snmp v3 supported ? Message-ID: <14375850.1153127566944.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually this depends on the underlying JoeSNMP-library, which is as far as I know SnmpV1 and V2 only. What features from SNMP V3 are you missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958409#3958409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958409 From do-not-reply at jboss.com Mon Jul 17 05:18:15 2006 From: do-not-reply at jboss.com (adik) Date: Mon, 17 Jul 2006 05:18:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - View the file itself Message-ID: <19240682.1153127895307.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know if there is such an option maybe you can tell me.. I want to upload file and to see it in the portal - not just details about the file, the file itself, I was looking and it seems it's not part of the portal I will be happy to here that I wrong.. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958410#3958410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958410 From do-not-reply at jboss.com Mon Jul 17 05:27:40 2006 From: do-not-reply at jboss.com (nabieh) Date: Mon, 17 Jul 2006 05:27:40 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss goes down! Message-ID: <28499765.1153128460282.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear Jaikiran, Your reply is very appreciated, here you are the answers of your questions: anonymous wrote : exceptions says: java.sql.SQLException: Exhausted Resultset I have more than 12 exceptions in my DAOs, the whole DAO's works in the same behavior as shown in the following pseudocode: | PreparedStatement ps = null; | ResultSet rs = null; | try { | con = db.getConnection(); | String sql = "SELECT ....where id = ?"; | ps = con.prepareStatement(sql); | ps.setInt(1, id); | rs = ps.executeQuery(); | while (rs.next()) { | // Get integers, chars, strings, ..... | } | } catch (SQLException ex) { | log.error("Exception ...", e); | throw new DAOException("DAO Exception : ", e); | } | | finally { | try { | if (rsGet != null) | rsGet.close(); | } catch (SQLException e) { | log.error("Error : ", e); | } | if (stmtGet != null) db.close(ps); /* db is a Serializable class where I close my connections and statements and it works very fine */ | db.closeConnection(con); | } | I suggested to increase the Oracle cursers, does that make scense? anonymous wrote : we are facing a strange behavior of the application server - JBoss, from time to time, it goes down and became unaccessible, and it seems that the application is not able to run any more Dear, I have contacted my operation team and ask them about that, they told me that the JBoss is kept running but with no response at all, if you try to enter a web application it gives you the common 'Page not found' html page. I asked them also about the memory, the server has 2 GBs of memory, half of them assigned to the deployed application by setting that condition in the batch file for the java command within JBoss environemt. anonymous wrote : Also, which version of JBoss are you using? I contacted the operations, the JBoss version is 'JBoss 4.0.1SP1' Your feedback will be very kind of you Jaikiran. Please feel free to ask any question you would like to. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958411#3958411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958411 From do-not-reply at jboss.com Mon Jul 17 05:33:48 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Mon, 17 Jul 2006 05:33:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences Message-ID: <14904988.1153128828675.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried as well and got mixed experience. I was able to do some stuff but not everything i wanted... For instance i wanted to update the search result as i typed the searchString in the booking example. It broke on s:link, if i removed them from the ajax region, then i have another problem: i have concurrent calls on the searchString of the Stateful Bean. By marking it stateless then i have the list correctly updated. So yes there are several issues... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958412#3958412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958412 From do-not-reply at jboss.com Mon Jul 17 05:37:29 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 05:37:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <3482977.1153129049233.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to create the table directly into the schema, but the reply is still table or view doesn't exist. I think the entry for hilo configuration is not pointing to correct schema. If someone knows how to configure hiLo please, respond. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958413#3958413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958413 From do-not-reply at jboss.com Mon Jul 17 05:40:29 2006 From: do-not-reply at jboss.com (clodeindustrie) Date: Mon, 17 Jul 2006 05:40:29 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Classloading PB with librairies in my servlet Message-ID: <23593579.1153129229185.JavaMail.jboss@colo-br-02.atl.jboss.com> Indeed the problem is not clear to understand :) I already seen theses pages, but i'll keep trying differents configurations. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958414#3958414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958414 From do-not-reply at jboss.com Mon Jul 17 05:40:56 2006 From: do-not-reply at jboss.com (kdeboer) Date: Mon, 17 Jul 2006 05:40:56 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - How to define a Distibuted Channel Message-ID: <10642129.1153129256208.JavaMail.jboss@colo-br-02.atl.jboss.com> In the discussion on the Messaging Core the concept of a distributed channel is discussed. However i cannot find any examples in the documentation how to set this up. So my question is: Is this features upported in the current JBoss Messaging release (101RC3) or is this completely transparant? Karl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958415#3958415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958415 From do-not-reply at jboss.com Mon Jul 17 05:44:40 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 05:44:40 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss goes down! Message-ID: <22992556.1153129481008.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : while (rs.next()) { | // Get integers, chars, strings, ..... | } Are you sure that you are not invoking the rs.next() method again *inside* the while loop (Just to make sure that we are not missing anything). Usually the reason for the Exhausted resultset exception is that the user is trying to retrieve the contents of the resultset when it is empty. It would be great, if you could post the exception stacktrace so that we could get more hints about the exception. anonymous wrote : they told me that the JBoss is kept running but with no response at all This means that the server is running but not responding. Usually in situations like these, it is very helpful to obtain the thread dump to see what exactly is going on the server in the background. The proceedure to obtain the thread dump is explained here: http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace Obtain the thread dump when the server becomes unresponsive. The thread dump will show you what operations are being carried out by each and every thread in JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958416#3958416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958416 From do-not-reply at jboss.com Mon Jul 17 06:01:21 2006 From: do-not-reply at jboss.com (ve_rao) Date: Mon, 17 Jul 2006 06:01:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @DataModelSelection behavior : bug or feature ? Message-ID: <13886933.1153130481520.JavaMail.jboss@colo-br-02.atl.jboss.com> When does a variable annotated as @DataModelSelection get injected? Is it only when a row in the is selected? Or does it get initialized whenever there is a postback, even from a control outside the ? I am observing that in addition to the first case above, the second is also true. Even when an action listener is invoked in response to a link outside the element, the @DataModelSelection variable is getting initialized to the first element of the @DataModel. Is my observation correct? Is that the expected behavior? That is causing unexpected behavior in my code. I am attaching my sources below to better illustrate. Thanks, -- venkat | | | | | | | | | | In the listing above, "folderList" is a @DataModel, declared and used in the folderNavigator stateful session bean, which is given below: @Stateful | @Scope(SESSION) | @Name("folderNavigator") | public class FolderNavigatorAction implements FolderNavigator, Serializable | { | @DataModel | private List folderList; | | @DataModelSelection | private Folder curFolder; | | @Factory("folderList") | public void retrieveFolderList() { | | if (curFolder == null) { | folderList = rootFolderList; // Initialized in constructor | } | else { | folderList = curFolder.getChildFolders(); | } | } | | public void selectFolder() { | retrieveFolderList(); | } | | public void upOneLevel() { | curFolder = curFolder.getParent(); | retrieveFolderList(); | } | } When the upOneLevel() method is called, curFolder is automatically injected with the first element of folderList, even though it was not invoked in response to a data model selection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958418#3958418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958418 From do-not-reply at jboss.com Mon Jul 17 06:06:39 2006 From: do-not-reply at jboss.com (sailu) Date: Mon, 17 Jul 2006 06:06:39 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Receive object in jboss Message-ID: <874380.1153130799256.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we are creating Receiver object like this QueueReceiver qReceiver = qSesTemp.createReceiver(qTemp, selectorTag); it is creating object like this in Jboss org.jboss.resource.adapter.jms.JmsQueueReceiver at 1247c45 But in case of weblogic the object is weblogic.jms.client.JMSConsumer at 1c65037 My problem is receiver is not able to receive any message in jboss. the same code is working in weblogic but in case of jboss it is not able to receive the message. My receive method is qConTemp.start(); if(timeOutInSeconds == 0) timeOutInSeconds = 60; Message message = qReceiver.receive(timeOutInSeconds * 1000); it is waiting up to given time and simply throwing exception and the message is comming null but in weblogic it is working can any one help me . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958419#3958419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958419 From do-not-reply at jboss.com Mon Jul 17 06:08:28 2006 From: do-not-reply at jboss.com (fruti) Date: Mon, 17 Jul 2006 06:08:28 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - can't deploy the demos Message-ID: <28619245.1153130908169.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I followed the receipt for deploying Seam 1.0.1 with JBoss 4.0.4.GA-Patch exactly according to "Getting Started" and it doesn't work unfortunately. Please what am I missing, can't get through like this..THANKS VERY MUCH regards fruti message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Exception while invoking expression #{blog.hitCount.hit} javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit} org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165) org.jboss.seam.core.Pages.callAction(Pages.java:161) org.jboss.seam.core.Pages.callAction(Pages.java:139) org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) from the LOG FILE: 2006-07-17 11:55:43,437 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring 2006-07-17 11:55:56,234 ERROR [STDERR] java.lang.reflect.InvocationTargetException 2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2006-07-17 11:55:56,234 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.unwrap(Component.java:1350) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1276) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:161) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:139) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) 2006-07-17 11:55:56,234 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 2006-07-17 11:55:56,234 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 2006-07-17 11:55:56,234 ERROR [STDERR] Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) 2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) 2006-07-17 11:55:56,234 ERROR [STDERR] at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog() 2006-07-17 11:55:56,234 ERROR [STDERR] ... 43 more 2006-07-17 11:55:56,234 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-blog].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165) at org.jboss.seam.core.Pages.callAction(Pages.java:161) at org.jboss.seam.core.Pages.callAction(Pages.java:139) at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: exception invoking: getBlog at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:43) at org.jboss.seam.Component.callComponentMethod(Component.java:1334) at org.jboss.seam.Component.unwrap(Component.java:1350) at org.jboss.seam.Component.getInstance(Component.java:1276) at org.jboss.seam.Component.getInstance(Component.java:1246) at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450) at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114) ... 27 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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) ... 37 more Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog() ... 43 more 2006-07-17 11:56:39,187 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelector 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] committing transaction after phase: RESTORE_VIEW(1) 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.core.Manager] No stored conversation 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2) 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6) 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: blog 2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: blog 2006-07-17 11:56:39,203 ERROR [STDERR] java.lang.reflect.InvocationTargetException 2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2006-07-17 11:56:39,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.unwrap(Component.java:1350) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1276) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:161) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:139) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) 2006-07-17 11:56:39,203 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 2006-07-17 11:56:39,203 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 2006-07-17 11:56:39,218 ERROR [STDERR] Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; 2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) 2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) 2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) 2006-07-17 11:56:39,218 ERROR [STDERR] at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog() 2006-07-17 11:56:39,218 ERROR [STDERR] ... 43 more 2006-07-17 11:56:39,218 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-blog].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165) at org.jboss.seam.core.Pages.callAction(Pages.java:161) at org.jboss.seam.core.Pages.callAction(Pages.java:139) at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.IllegalArgumentException: exception invoking: getBlog at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:43) at org.jboss.seam.Component.callComponentMethod(Component.java:1334) at org.jboss.seam.Component.unwrap(Component.java:1350) at org.jboss.seam.Component.getInstance(Component.java:1276) at org.jboss.seam.Component.getInstance(Component.java:1246) at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450) at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114) ... 27 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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) ... 37 more Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog() ... 43 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958420#3958420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958420 From do-not-reply at jboss.com Mon Jul 17 06:19:08 2006 From: do-not-reply at jboss.com (wmprice) Date: Mon, 17 Jul 2006 06:19:08 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Receive object in jboss Message-ID: <8045208.1153131548656.JavaMail.jboss@colo-br-02.atl.jboss.com> This is the wrong forum for this post. This should be posted to JBossMessaging. I am moving this post there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958421#3958421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958421 From do-not-reply at jboss.com Mon Jul 17 06:20:40 2006 From: do-not-reply at jboss.com (cdanielw) Date: Mon, 17 Jul 2006 06:20:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - General conversation question Message-ID: <10848594.1153131640428.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a question on a, at least for me, very common use-case. First a disclaimer: I haven?t got my hands dirty with Seam yet. I?m more in the process of figuring out whether it fits my needs ? I?ve only read the documentation, browsed through the forums, blog posts etc. However, what I?ve seen so far looks very, very interesting. The idea of using stateful components really looks like it could help me overcome the biggest gripes I have with JSF (and other web-frameworks as well, for that matter). In order to keep things a bit less abstract, let?s take an application for managing persons and organizations as an example. The ?person? side of the application has the following functionality: ? Find a person ? Show overview of a selected person ? Edit general details of the person ? Manage the email addresses of the person ? Select which organizations the person works for The ?organization? side functionality: ? Find an organization ? Show overview of a selected organization ? Edit general details of the organization ? Manage a list of countries the organization where the organization operates So, the idea is that first an object is selected from a search result list (person or organization in this case), an overview of the object is displayed with functionality for manipulating the object (editing the name of the person, adding an email address to the person), in a non-wizard manner. Usually, the overview pages take the object identifier from the request parameter as this allows the overview pages to be bookmarked (e.g. /viewPerson.jsf?personId=42). So far so good ? now the problem is to propagate the selected person/organization through the manipulation actions. Here there are a number of options: ? Keep including the object identifier among the request parameters. This used to be my default way of handling this when using action based frameworks. However, JSF isn?t making this approach easy. ? Put the object itself in the session ? problems with LazyInitializationException ;-) ? Put the object identifier in the session. When using JSF, I usually end up with the last solution. So, after all this blabbering, my question is this: Can the conversational scope of Seam be of help in situations like this? The problem, as I see it, is that there is no natural end of the conversation. Maybe it makes sense to start the conversation when showing the person/organization overview. However, a user might select a person, add an email address and then jump straight to organization interface. Any ideas, suggestions or clarifications would be greatly appreciated :-) Cheers, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958422#3958422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958422 From do-not-reply at jboss.com Mon Jul 17 06:21:33 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 17 Jul 2006 06:21:33 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: can't auto connect Message-ID: <22302960.1153131693254.JavaMail.jboss@colo-br-02.atl.jboss.com> You will want to take a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatHappensToJBossIfIRestartTheDatabase Of course, you will want to configure the ValidConnectionChecker (or new-sql or valid-connection sql) appropriately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958423#3958423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958423 From do-not-reply at jboss.com Mon Jul 17 06:22:55 2006 From: do-not-reply at jboss.com (hoeft) Date: Mon, 17 Jul 2006 06:22:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - MDB deployment problem Message-ID: <11135863.1153131775475.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I'm getting an error message if I deploy my MDB. I'm have got an error since I declared some activation properties in a deployment descriptor. The MDB-Code: | @MessageDriven(activationConfig = | { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"), | @ActivationConfigProperty(propertyName="destination", propertyValue="topic/myTopic") | }) | public class MyMDB implements MessageListener | { | public void onMessage(javax.jms.Message message) { | //do something | } | } | | My deployment descriptor: | | | | MyMDB | myPackage.MyMDB | | | | user | | | my_user | | | | | password | | | my_passwort | | | | | | | If I deploy this, I'm getting the following error Message: anonymous wrote : | 12:08:13,436 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MyEar.ear,jar=MyJar.jar,name=MyMDB,service=EJB3 | org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={password=ActivationConfig | Property(password=my_password), user=ActivationConfigProperty(user=my_user), destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - nested throwable: (javax.manageme | nt.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195) | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | 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.GeneratedMethodAccessor6.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 $Proxy50.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) | at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | 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.GeneratedMethodAccessor6.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 $Proxy34.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305) | ... 100 more | I'm using JBOSS 4.0.4.GA Any suggestions? Meinert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958424#3958424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958424 From do-not-reply at jboss.com Mon Jul 17 06:23:41 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Mon, 17 Jul 2006 06:23:41 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: can't deploy the demos Message-ID: <6109993.1153131821206.JavaMail.jboss@colo-br-02.atl.jboss.com> Please read again the getting started http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html, it does say to use the JEMS installer and the link to jems-installer-1.2.0.BETA.jar is provided. If you read different instructions somewhere else, please let me know so i can fix this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958425#3958425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958425 From do-not-reply at jboss.com Mon Jul 17 06:24:39 2006 From: do-not-reply at jboss.com (Olivier_Debels) Date: Mon, 17 Jul 2006 06:24:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0 Message-ID: <21770472.1153131879627.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I also stumbled on this problem and did find it interesting enough to share. It seems to be correlated with the use of commons-fileupload jar. The starters kit is using commons-fileupload-1.0 jar. When trying to use commons-fileupload-1.1.1 jar you will get the exception "the request was rejected because no multipart boundary was found". The reason here is that at deployment (using the gpd designer tool) the content type is filled in as 'multipart/form-data, boundary=AaB03x'. This will be correctly parsed by the 1.0 jar but not by the 1.1.1 jar. You need to convert it to 'multipart/form-data; boundary=AaB03x' in order to make it work with the 1.1.1 stuff (or stick with the 1.0 jar if you choose to do so...). As for as I can see according to RFC1341 the 1.1.1 version of the jar is doing the right thing, so this is actually a bug in the designer when calling the upload servlet. Olivier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958426#3958426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958426 From do-not-reply at jboss.com Mon Jul 17 06:37:03 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 17 Jul 2006 06:37:03 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Receive object in jboss Message-ID: <10203002.1153132623231.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : it is waiting up to given time and simply throwing exception What is the exception that you are seeing? Post the stacktrace. anonymous wrote : message is comming null The message will be null if after waiting for 'n' milli seconds, the message is not received. anonymous wrote : Message message = qReceiver.receive(veryHighValue); or anonymous wrote : Message message = qReceiver.receive(); and see if the message is received. This will help in understanding whether the receieve itself is not working or the timeout value is low View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958428#3958428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958428 From do-not-reply at jboss.com Mon Jul 17 06:42:00 2006 From: do-not-reply at jboss.com (beugeair) Date: Mon, 17 Jul 2006 06:42:00 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <26469553.1153132920657.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I try to enable the jar index capabilites in order to give to Jboss the INDEX.LIST inside every generated bundle to : - accelerate the class loading ... - and upgrade the accuracy of JBoss class loader ... But it doesn't work anymore Still investigating ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958430#3958430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958430 From do-not-reply at jboss.com Mon Jul 17 06:56:47 2006 From: do-not-reply at jboss.com (sailu) Date: Mon, 17 Jul 2006 06:56:47 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Receive object in jboss Message-ID: <8771785.1153133807295.JavaMail.jboss@colo-br-02.atl.jboss.com> The same code is working in weblogic in case of jboss it is not working I have given the time also u can see the code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958431#3958431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958431 From do-not-reply at jboss.com Mon Jul 17 07:21:01 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 17 Jul 2006 07:21:01 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: MDB deployment problem Message-ID: <23783659.1153135261873.JavaMail.jboss@colo-br-02.atl.jboss.com> You will want to specfify the JCA/JMS RAR that allows for inflow based messaging in JBoss. Easiest way to do this is by using the ResourceAdapter annotation @ResourceAdapter("jms-ra.rar") This can be placed after your @MessageDriven annotation. It is a class level annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958433#3958433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958433 From do-not-reply at jboss.com Mon Jul 17 07:21:46 2006 From: do-not-reply at jboss.com (kerninon) Date: Mon, 17 Jul 2006 07:21:46 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem with the JBoss IDE Tutorial Message-ID: <10893222.1153135306095.JavaMail.jboss@colo-br-02.atl.jboss.com> i changed ImageJ (that contains tools.jar) instead of jre1.5.0_04 and i still have " xdoclet-build.xml:33: Unexpected error " View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958434#3958434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958434 From do-not-reply at jboss.com Mon Jul 17 07:29:52 2006 From: do-not-reply at jboss.com (huangqingqing) Date: Mon, 17 Jul 2006 07:29:52 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: can't auto connect Message-ID: <23389710.1153135792313.JavaMail.jboss@colo-br-02.atl.jboss.com> ok,thank :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958435#3958435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958435 From do-not-reply at jboss.com Mon Jul 17 07:33:35 2006 From: do-not-reply at jboss.com (legolas) Date: Mon, 17 Jul 2006 07:33:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <4785145.1153136015386.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, How can I circumvent this problem when using the PojoCache? I am running into a similar problem, as mentioned earlier, when setting a field of a class added to the cache. I am using JBossCache 1.4.0.GA. Regards, Marcel Dullaart View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958436#3958436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958436 From do-not-reply at jboss.com Mon Jul 17 07:37:31 2006 From: do-not-reply at jboss.com (susanin) Date: Mon, 17 Jul 2006 07:37:31 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Mixins, introducing new superclasses and class loading time Message-ID: <2352644.1153136251535.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Sorry for a bit longish message. I have several questions: 1. I have a class that implements certain methods. | @NiceAnnotation | public class A { | public void methodN(); | } | I also have an interface which defines among others the same method: | public interface NiceInterface { | public void methodL(); | public void methodN(); | public void methodM(); | } | | public interface NiceImpl { | public NiceImpl(Object obj){} | public NiceImpl() {} | public void methodL() {} | public void methodN() {} | public void methodM() {} | } | | Now I want to define a mixin by means of AOP so that class A implements the NiceInterface and NiceImpl is the default implementation of it. More over, I wich that methods of NiceInterface implemented by A (i.e. methodN) take precedence before NiceImpl. NiceImpl should be called only when A does not implement a corresponding method. My idea was to use: | | | NiceInterface | NiceImpl | new NiceImpl(this) | | | But when I do it, I always become an exception: Mixin NiceImpl ... is trying to apply an already existing methodN for class A How can I solve this with JBoss AOP? 2. Is it somehow possible to introduce a new superclass (and I mean really superclass and not an interface) by means of AOP? For example, I'd like to say that class A should become inherited from NiceImpl. The resulting weaved class will look like: | public class A extends NiceImpl { | public void methodN(); | } | This would achieve my goal in the previous question. If you ask why one would like to do it, I can give you an example. There are some JSRs that dictate for some user-defined objects to extend some standard classes provided by this JSR. Now, they plan to simplify the process and use some annotations (see @NiceAnnotation above). Such an annotation means that class A should be actually extend a class NiceImpl, stndardized by the JSR. It can be argued that such requirements for extending classes and not using interfaces is a sign of a bad design. I'd even agree with that. But these JSRs are there and there is already a lot of legacy code, etc. So, you cannot easily change the JSR specification. I haven't found any such possibility of adding a new superclass in any of the AOP tools. But I've seem that it is possible with Javassist libray by means of CtClass.setSuperclass. Why is it not allowed when using AOP? 3. Let's concentrate a bit more on the @NiceAnotation in the declaration of A. I'd like to take some actions when a class with such an annotated class is loaded. Imagine that it happens inside a container. I'd like to use AOP pointcut language to catch such annotated classes (because it is very easy and declarative and is already possible with existing pointcut syntax) and to be able to associate an action that should be taken when such a class is being loaded. The action would consist of analysis of the annotated class and its parameters and would eventually instrument it (e.g. eventually add new methods or selectively define before/after/around advices for existing ones and, which is also very important, add inform the container about information contained in the annotation (e.g. name, port, namepsace), so that container can correctly "register" such a newly deplotyed component). I mean something like this: | | | | At the moment I do not see a way to intercept class loading in a way described above by means of Jboss AOP. There is no way to say: "if a class/method (annotated) like this is detected, do a given action". And I mean do it when it is detected, not when it is called, which is a usual semantics of interceptors. Are there any good reasons why this is impossible? Of course, one can implement the described behavior by writing a special class loader that would look for the required classes/methods and do some associated actoins. But this requires a lot of tedious coding, not very declarative and essentially just re-implements what AOP weaver usually does, in particular the pointcut matching parts. I think such a possibility by means of AOP would be very useful for processing some elements (e.g. classes, methods, annotations) only once as they are loaded. AOP tools already provide a declarative and very expressive pointcut language that easily catches any required elements. The only thing required is to introduce a special kind of interceptors that are applied only at the class loading time in the sene described above. This would eliminate a lot of cases where custom class-loaders are used at the moment. I'd really like to get your opinion about some of these questions and ideas. Best Regards, Ivan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958437#3958437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958437 From do-not-reply at jboss.com Mon Jul 17 08:10:27 2006 From: do-not-reply at jboss.com (dkrizic) Date: Mon, 17 Jul 2006 08:10:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Where is SystemPropertiesService in JBoss 4.0.4 (EJB 3.0)? Message-ID: <4834714.1153138227336.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I have a JBoss 4.0.4 GA in the "ejb3" configuration and I try to deploy a sar file containing this: | | | | | | a=1 | b=2 | | | | | When I deploy this, I get this error: | 12:06:23,882 ERROR [MainDeployer] Could not create deployment: file:/D:/Programme/jboss-4.0.4.GA/ser | ver/default/deploy/eff-ds-dkrizic.sar | org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.varia.property.System | PropertiesService; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: | org.jboss.varia.property.SystemPropertiesService) | Has this service been removed? Is it on purpose? Is there an alternative service? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958438#3958438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958438 From do-not-reply at jboss.com Mon Jul 17 08:14:43 2006 From: do-not-reply at jboss.com (ShanR) Date: Mon, 17 Jul 2006 08:14:43 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss-4.0.4-GA and Hibernate-3.1.3 Message-ID: <12139043.1153138483641.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using Jboss-404-GA appliocation server and hibernate-3.1.3 for my appliction. When closing the resultset getting the following exception [12:34:55] - java.sql.SQLException: Already closed [12:34:55] - at org.jboss.resource.adapter.jdbc.WrappedResultSet.close(Wrappe dResultSet.java:178) The code snipet: The line, where getting exception is marked in Red public static void relaseDBResources(Statement stmt, ResultSet rs) { try { if (stmt != null) { stmt.close(); } if (rs != null) { rs.close(); } } catch (SQLException sqle) { sqle.printStackTrace(); } } The same code woking perfectly with Jboss-402. Can anyone help me in this regard. ? Thanks in advance!!. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958439#3958439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958439 From do-not-reply at jboss.com Mon Jul 17 08:17:17 2006 From: do-not-reply at jboss.com (pilhuhn) Date: Mon, 17 Jul 2006 08:17:17 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: jboss snmp monitoring with mrtg Message-ID: <1371731.1153138637579.JavaMail.jboss@colo-br-02.atl.jboss.com> As indicated on the page you cite, the get support is only in 4.0.4GA and later. You can probably just grab the respective jars from 404 and use them in 326. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958440#3958440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958440 From do-not-reply at jboss.com Mon Jul 17 08:25:24 2006 From: do-not-reply at jboss.com (bdepaz) Date: Mon, 17 Jul 2006 08:25:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Error when installing jBPM on Eclipse 3.2 Message-ID: <32440814.1153139124117.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Eric, The GPD plugin included with 3.1.1 (which is gpd 3.0.9.2) doesn't seem to work with Eclipse 3.2. I've tried the 3.0.10, which seems to be working just fine. You can find that http://sourceforge.net/project/showfiles.php?group_id=70542&package_id=116692&release_id=430212. The error that you show seems to be some kind of security problem on those directories. Are you sure the user you're running eclipse on has at least "read" access? grtz, Bert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958441#3958441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958441 From do-not-reply at jboss.com Mon Jul 17 08:30:52 2006 From: do-not-reply at jboss.com (crosenbury) Date: Mon, 17 Jul 2006 08:30:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider Message-ID: <22678281.1153139452807.JavaMail.jboss@colo-br-02.atl.jboss.com> Any chance you would know where there is documentation that describes how to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958442#3958442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958442 From do-not-reply at jboss.com Mon Jul 17 08:34:16 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Mon, 17 Jul 2006 08:34:16 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: View the file itself Message-ID: <32104991.1153139656097.JavaMail.jboss@colo-br-02.atl.jboss.com> non-html files, such as txt, pdf are viewed outside the portal, so you need to specify the relative path with /content (if your file is under the default portal, try localhost:8080/portal/content/pathtofile) The file itself is stored in your CMS folder, which is in JBOSS_HOME/default\data\portal\cms. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958443#3958443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958443 From do-not-reply at jboss.com Mon Jul 17 08:38:29 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 17 Jul 2006 08:38:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider Message-ID: <1318040.1153139909911.JavaMail.jboss@colo-br-02.atl.jboss.com> Sonic's documentation set, along with the adapter should be available on the Sonic site. At present, we do not provide documentation for this as of yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958444#3958444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958444 From do-not-reply at jboss.com Mon Jul 17 08:38:48 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Mon, 17 Jul 2006 08:38:48 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Classloading PB with librairies in my servlet Message-ID: <25249792.1153139928905.JavaMail.jboss@colo-br-02.atl.jboss.com> clodeindustrie, I suspect ojdv14.jar and xdb.jar can work together, but that the problem is with xdb.jar and JNDI. Did you follow instructions at oracle's site about how to used JNDI to access XML DB Resource? They describe how to specify a JNDI provider to use. If you do not do this, then JBoss' JNDI service is used. This may cause a conflict. The following is link to one version of the API (not sure which version you are using) http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96620/xdb21rja.htm#1656 let us know..., cgriffith[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958445#3958445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958445 From do-not-reply at jboss.com Mon Jul 17 08:40:11 2006 From: do-not-reply at jboss.com (bdepaz) Date: Mon, 17 Jul 2006 08:40:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - NullpointerException at ProcessInstance.signal() Message-ID: <31710957.1153140011348.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having a problem trying to signal a process for further execution. I'm running jBPM in a J2EE environment (on an OC4J for that matter). I'm having a MessageDrivenBean triggering a ProcessInstance for further execution, however it seems like the Token is not having a ProcessInstance. How is that possible? I've implemented as described in the userguide: | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | ProcessInstance pi = graphSession.loadProcessInstance(processId); | process.signal(); | Output for that code is: | java.lang.NullPointerException | at org.jbpm.graph.exe.Token.startCompositeLog(Token.java:306) | at org.jbpm.graph.exe.Token.signal(Token.java:167) | at org.jbpm.graph.exe.Token.signal(Token.java:123) | at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke() | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161) | at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$7e7b07a8.signal() | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) | at org.jbpm.graph.exe.ProcessInstance$$FastClassByCGLIB$$5167cc59.invoke() | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161) | at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$fb69fd53.signal() | at be.cm.health.tpb.process.MetroplanInvoiceWorkflow.unlockMetroplanInstance(MetroplanInvoiceWorkflow.java:105) | at be.cm.health.tpb.integrators.MetroplanListener.onMessage(MetroplanListener.java:58) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35) | at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69) | at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52) | at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69) | at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34) | at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69) | at com.evermind.server.ejb.MessageDrivenConsumer.onMessage(MessageDrivenConsumer.java:344) | at com.evermind.server.ejb.MessageDrivenConsumer.processMessages(MessageDrivenConsumer.java:230) | at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:168) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814) | at java.lang.Thread.run(Thread.java:595) | Now I've been debugging on that. The ProcessInstance is actually being returned, however, the ProcessInstance.token.processinstance is empty which is throwing the nullpointer here. (it needs it to get the LogginInstance). Am I doing something wrong here? I've been trying to get the token in other ways, but so far that wasn't very successfull :-S. my jbpm config: | | | | | | | | | | | | | | | | | | Sincerely appreciate all the help... kind regards, Bert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958446#3958446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958446 From do-not-reply at jboss.com Mon Jul 17 08:42:51 2006 From: do-not-reply at jboss.com (hubertg) Date: Mon, 17 Jul 2006 08:42:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - sharing data between render() and processAction() method Message-ID: <32451520.1153140171796.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I need to share data between the render() and the processAction() method. The method of (my) choice (and I think the only? method) is using the PortletSession: render() : | request.getPortletSession("sharedData", value); | processAction(); | Object data = request.getPortletSession("sharedData"); | // do something with data | my question is now: is there anything problematic about sharing data via the PortletSession? I could think of problems because of the fact that the processAction and the render request are seperate http requests. is there the possibilty that a 3rd render request comes between these two? something like that REQUEST 1 portletX.processAction() ---------------------------------------<<<< REQUEST 3 ??? ---------------------------------------<<<< portletX.render(); ---------------------------------------<<<< portletY.render(); ---------------------------------------<<<< portletZ.render(); REQUEST 2 (because of server redirect) portletX.render() portletY.render() portletZ.render() I would be very happy if someone could bring some light into this, although i'm not sure, if I made myself clear ... thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958448#3958448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958448 From do-not-reply at jboss.com Mon Jul 17 08:43:10 2006 From: do-not-reply at jboss.com (andsch) Date: Mon, 17 Jul 2006 08:43:10 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: From JIRA Issue to Patch on Production System Message-ID: <21541702.1153140190988.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, the second approach seems to work when using the --bootdir=dir option of run.sh instead of --patchdir. Here is what I did for testing purposes: 1) Added extra log-Statements to org.jboss.system.server.ServerImpl 2) Compiled that file with the Jar-Files of the jbossInstallDir/lib directory on the classpath 3) Put the compiled ServerImpl.class in a jar-File, say a.jar 4) Run the server with --bootdir=myDir where myDir contained a.jar 5) Received the log statements on the console But I'm not yet sure exactly when to use --bootdir and when to use --patchdir. Can someone please shed some light on this? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958449#3958449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958449 From do-not-reply at jboss.com Mon Jul 17 08:48:35 2006 From: do-not-reply at jboss.com (tanked) Date: Mon, 17 Jul 2006 08:48:35 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: JNDI between 2 JBoss instances Message-ID: <2209632.1153140515798.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks! looks like HA JNDI for me... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958450#3958450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958450 From do-not-reply at jboss.com Mon Jul 17 09:12:14 2006 From: do-not-reply at jboss.com (BOBSINM) Date: Mon, 17 Jul 2006 09:12:14 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Failing to boot JBoss Message-ID: <27443835.1153141934075.JavaMail.jboss@colo-br-02.atl.jboss.com> Thx, jaikiran. I took you're advise and re-installed but this time using the web installer and works fine. Previously I just downloaded and unzipped all of the files...either something went wrong with the download or the zip compressed file was missing a few libraries. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958451#3958451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958451 From do-not-reply at jboss.com Mon Jul 17 09:19:06 2006 From: do-not-reply at jboss.com (hubertg) Date: Mon, 17 Jul 2006 09:19:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <4179315.1153142346359.JavaMail.jboss@colo-br-02.atl.jboss.com> correction: of course i meant request.getPortletSession().setAttribute("sharedData", value); and Object data = request.getPortletSession().getAttribute("sharedData"); an edit function would be great ... :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958452#3958452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958452 From do-not-reply at jboss.com Mon Jul 17 09:19:54 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 09:19:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <32778810.1153142394711.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm, thats what I was afraid of. Do you have some tentative instructions for getting the 3.2 version working then? I ran the build processes per instructions, and everything seems to be compiling fine, but Im not sure how to start the server now or where to access the webapp. Need to get as much as possible going on this this week, to show if the groups are working correctly, and some fo the other features. Thank you for your assistance, James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958453#3958453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958453 From do-not-reply at jboss.com Mon Jul 17 09:21:43 2006 From: do-not-reply at jboss.com (jactor) Date: Mon, 17 Jul 2006 09:21:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <3723376.1153142503621.JavaMail.jboss@colo-br-02.atl.jboss.com> I was running an application on jboss-4.0.3SP1 and there was no errors. I am trying to deploy the same application on jboss 4.0.4, but it wont deploy: | org.jboss.deployment.DeploymentInfo at 86d7eef2 { url=file:/C:/APPS/jboss-4.0.4.GA/server/all/deploy/concept.par } | deployer: null | status: null | state: INIT_WAITING_DEPLOYER | watch: file:/C:/APPS/jboss-4.0.4.GA/server/all/deploy/concept.par | altDD: null | lastDeployed: 1153141390622 | lastModified: 1153141390622 | mbeans: | I downloaded and installed 4.0.4 (all configuration) and am trying to copy a persistent archive to the deploy folder, but it is kept waiting for deployment. What have I missed? Is there any configuration I am not doing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958454#3958454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958454 From do-not-reply at jboss.com Mon Jul 17 09:31:06 2006 From: do-not-reply at jboss.com (renat-zubairov) Date: Mon, 17 Jul 2006 09:31:06 -0400 (EDT) Subject: [jboss-user] [Javassist user questions] - AccessControlException on generated classes due to missing Message-ID: <24521193.1153143066392.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a problem with Tapestry/HiveMind application which uses Javassist for bytecode manipulation. It seems that newly created classes that are loaded by Javassist do not inherit ProtectionDomain from the other classes, this leads to the problem that application server WebSphere can not associate them with any of the JAR files and apply a security policy to them. The problem is visible on the following stack trace, you can see that location of the code that causes security exception is unknown (null). Environment is WebSphere 5 with Secruty ON (Enforce Java2 Security): [7/15/06 15:22:41:049 CEST] 6642251f SecurityManag W SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to Problem Determination Guide for further information. Permission: /opt/WebSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-INF/lib/tapestry-4.1.jar : access denied (java.io.FilePermission /opt/We bSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-INF/lib/tapestry-4.1.jar read) Code: $ApplicationInitializer_10c725a4dba in {null code URL} Stack Trace: java.security.AccessControlException: access denied (java.io.FilePermission /opt/WebSphere/AppServer/installedApps/servernameNetwork/sjrthr.ear/sjrtpg.war/WEB-IN F/lib/tapestry-4.1.jar read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java(Compiled Code)) at java.security.AccessController.checkPermission(AccessController.java(Compiled Code)) at java.lang.SecurityManager.checkPermission(SecurityManager.java(Compiled Code)) at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java(Compiled Code)) at java.lang.SecurityManager.checkRead(SecurityManager.java(Compiled Code)) at java.util.zip.ZipFile.(ZipFile.java(Compiled Code)) at java.util.zip.ZipFile.(ZipFile.java(Inlined Compiled Code)) at com.ibm.ws.classloader.Handler$ClassLoaderURLConnection.getInputStream(Handler.java(Compiled Code)) at java.net.URL.openStream(URL.java(Inlined Compiled Code)) at com.ibm.ws.classloader.SinglePathClassProvider.getResourceAsStream(SinglePathClassProvider.java(Inlined Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.localGetResourceAsStream(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.getResourceAsStream(CompoundClassLoader.java(Compiled Code)) at javassist.LoaderClassPath.openClassfile(LoaderClassPath.java:70) at javassist.ClassPoolTail.openClassfile(ClassPoolTail.java:283) at javassist.ClassPool.openClassfile(ClassPool.java(Inlined Compiled Code)) at javassist.CtClassType.getClassFile2(CtClassType.java(Compiled Code)) at javassist.CtClassType.subtypeOf(CtClassType.java:267) at javassist.compiler.MemberResolver.compareSignature(MemberResolver.java:203) at javassist.compiler.MemberResolver.lookupMethod(MemberResolver.java:97) at javassist.compiler.TypeChecker.atMethodCallCore(TypeChecker.java:637) at javassist.compiler.TypeChecker.atCallExpr(TypeChecker.java:614) at javassist.compiler.JvstTypeChecker.atCallExpr(JvstTypeChecker.java:156) at javassist.compiler.ast.CallExpr.accept(CallExpr.java:45) at javassist.compiler.CodeGen.doTypeCheck(CodeGen.java:235) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:323) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atIfStmnt(CodeGen.java:384) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:348) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atStmnt(CodeGen.java:344) at javassist.compiler.ast.Stmnt.accept(Stmnt.java:49) at javassist.compiler.CodeGen.atMethodBody(CodeGen.java:285) at javassist.compiler.Javac.compileBody(Javac.java:208) at javassist.CtBehavior.setBody(CtBehavior.java:188) at javassist.CtBehavior.setBody(CtBehavior.java:163) at org.apache.hivemind.service.impl.ClassFabImpl.addMethod(ClassFabImpl.java:288) at org.apache.hivemind.service.impl.LoggingInterceptorFactory.addServiceMethodImplementation(LoggingInterceptorFactory.java:120) at org.apache.hivemind.service.impl.LoggingInterceptorFactory.addServiceMethods(LoggingInterceptorFactory.java:159) at org.apache.hivemind.service.impl.LoggingInterceptorFactory.constructInterceptorClass(LoggingInterceptorFactory.java:214) at org.apache.hivemind.service.impl.LoggingInterceptorFactory.createInterceptor(LoggingInterceptorFactory.java:251) at org.apache.hivemind.impl.ServiceInterceptorContributionImpl.createInterceptor(ServiceInterceptorContributionImpl.java:95) at org.apache.hivemind.impl.InterceptorStackImpl.process(InterceptorStackImpl.java:116) at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.addInterceptors(AbstractServiceModelImpl.java:85) at org.apache.hivemind.impl.servicemodel.PooledServiceModel.constructServiceProxy(PooledServiceModel.java:154) at org.apache.hivemind.impl.servicemodel.PooledServiceModel.(PooledServiceModel.java:130) at org.apache.hivemind.impl.servicemodel.PooledServiceModelFactory.createServiceModelForService(PooledServiceModelFactory.java:26) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:208) at org.apache.hivemind.impl.ServicePointImpl.getService(ServicePointImpl.java:223) at org.apache.hivemind.impl.RegistryInfrastructureImpl.getService(RegistryInfrastructureImpl.java:207) at org.apache.hivemind.impl.ModuleImpl.getService(ModuleImpl.java:105) at org.apache.hivemind.schema.rules.ServiceTranslator.translate(ServiceTranslator.java:40) at org.apache.hivemind.service.impl.BuilderPropertyFacet.getFacetValue(BuilderPropertyFacet.java:55) at org.apache.hivemind.service.impl.BuilderFactoryLogic.wireProperty(BuilderFactoryLogic.java:357) at org.apache.hivemind.service.impl.BuilderFactoryLogic.setProperties(BuilderFactoryLogic.java:320) at org.apache.hivemind.service.impl.BuilderFactoryLogic.createService(BuilderFactoryLogic.java:77) at org.apache.hivemind.service.impl.BuilderFactory.createCoreServiceImplementation(BuilderFactory.java:42) at org.apache.hivemind.impl.InvokeFactoryServiceConstructor.constructCoreServiceImplementation(InvokeFactoryServiceConstructor.java:62) at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructCoreServiceImplementation(AbstractServiceModelImpl.java:108) at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:158) at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:140) at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69) at $ApplicationInitializer_10c725a4dba._service($ApplicationInitializer_10c725a4dba.java) at $ApplicationInitializer_10c725a4dba.initialize($ApplicationInitializer_10c725a4dba.java) at $ApplicationInitializer_10c725a4db9.initialize($ApplicationInitializer_10c725a4db9.java) at $ApplicationInitializer_10c725a4dbd.initialize($ApplicationInitializer_10c725a4dbd.java) at $ApplicationInitializer_10c725a4db2.initialize($ApplicationInitializer_10c725a4db2.java) at $ApplicationInitializer_10c725a4db1.initialize($ApplicationInitializer_10c725a4db1.java) at org.apache.tapestry.ApplicationServlet.initializeApplication(ApplicationServlet.java:299) at org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:198) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doInit(StrictServletInstance.java:82) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._init(StrictLifecycleServlet.java:147) at com.ibm.ws.webcontainer.servlet.PreInitializedServletState.init(StrictLifecycleServlet.java:270) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.init(StrictLifecycleServlet.java:113) at com.ibm.ws.webcontainer.servlet.ServletInstance.init(ServletInstance.java:189) at javax.servlet.GenericServlet.init(GenericServlet.java:258) ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958455#3958455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958455 From do-not-reply at jboss.com Mon Jul 17 09:34:00 2006 From: do-not-reply at jboss.com (jliptak) Date: Mon, 17 Jul 2006 09:34:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD Message-ID: <32197393.1153143240641.JavaMail.jboss@colo-br-02.atl.jboss.com> I edited the build.xml file in jpdl/db to add the following: | | This causes the output of the build to be: install: | [echo] classpath = C:\projects\hibernate\jBPM\jbpm.3\jpdl\db\src\main\confi | g;C:\projects\hibernate\jBPM\jbpm.3\jpdl\jar\src\main\config;C:\Documents and Se | ttings\jliptak\jbpm\repository\antlr\2.7.6rc1\lib\antlr-2.7.6rc1.jar;C:\Document | s and Settings\jliptak\jbpm\repository\apache-collections\3.1\lib\commons-collec | tions.jar;C:\Documents and Settings\jliptak\jbpm\repository\apache-fileupload\1. | 0\lib\commons-fileupload.jar;C:\Documents and Settings\jliptak\jbpm\repository\a | pache-log4j\1.2.8\lib\log4j.jar;C:\Documents and Settings\jliptak\jbpm\repositor | y\apache-logging\1.0.4\lib\commons-logging.jar;C:\Documents and Settings\jliptak | \jbpm\repository\apache-myfaces\1.1.1\lib\jstl.jar;C:\Documents and Settings\jli | ptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-api.jar;C:\Documents and S | ettings\jliptak\jbpm\repository\apache-myfaces\1.1.1\lib\myfaces-impl.jar;C:\Doc | uments and Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm-attrs.jar;C:\Docum | ents and Settings\jliptak\jbpm\repository\asm\1.5.3\lib\asm.jar;C:\Documents and | Settings\jliptak\jbpm\repository\beanshell\1.3.0\lib\bsh.jar;C:\Documents and S | ettings\jliptak\jbpm\repository\cglib\2.1.3\lib\cglib.jar;C:\Documents and Setti | ngs\jliptak\jbpm\repository\dom4j\1.6\lib\dom4j.jar;C:\Documents and Settings\jl | iptak\jbpm\repository\dumbster\1.6\lib\dumbster.jar;C:\Documents and Settings\jl | iptak\jbpm\repository\ehcache\1.1\lib\ehcache.jar;C:\Documents and Settings\jlip | tak\jbpm\repository\facelets\1.1.1\lib\jsf-facelets.jar;C:\Documents and Setting | s\jliptak\jbpm\repository\hibernate\3.1\lib\hibernate3.jar;C:\Documents and Sett | ings\jliptak\jbpm\repository\hsqldb\1.8.0.2\lib\hsqldb.jar;C:\Documents and Sett | ings\jliptak\jbpm\repository\jackrabbit\1.0\lib\jackrabbit-core-1.0.jar;C:\Docum | ents and Settings\jliptak\jbpm\repository\jaxen\1.1beta6\lib\jaxen.jar;C:\Docume | nts and Settings\jliptak\jbpm\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-c | ommon.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbossas\core-libs\4. | 0.3.SP1\lib\jboss-j2ee.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbo | ssas\core-libs\4.0.3.SP1\lib\jboss-jmx.jar;C:\Documents and Settings\jliptak\jbp | m\repository\jbossas\core-libs\4.0.3.SP1\lib\jboss-system.jar;C:\Documents and S | ettings\jliptak\jbpm\repository\jcr\1.0\lib\jcr-1.0.jar;C:\Documents and Setting | s\jliptak\jbpm\repository\junit\3.8.1\lib\junit.jar;C:\Documents and Settings\jl | iptak\jbpm\repository\maven2\ant\ant\1.6.5\ant-1.6.5.jar;C:\Documents and Settin | gs\jliptak\jbpm\repository\sun-jaf\1.0.2\lib\activation.jar;C:\Documents and Set | tings\jliptak\jbpm\repository\sun-javamail\1.3.1\lib\mail.jar;C:\Documents and S | ettings\jliptak\jbpm\repository\sun-servlet\2.4\lib\servlet-api.jar;C:\Documents | and Settings\jliptak\jbpm\repository\jbpm\jpdl\3.2.Alpha1-SNAPSHOT\lib\jbpm-jpd | l.jar;C:\Documents and Settings\jliptak\jbpm\repository\jbpm\identity\3.2.Alpha1 | -SNAPSHOT\lib\jbpm-identity.jar | [jbpmschema] using jbpm configuration jbpm/db2.jbpm.cfg.xml | | BUILD FAILED | C:\projects\hibernate\jBPM\jbpm.3\build\build.xml:36: The following error occurr | ed while executing this line: | java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory So the classpath sent into the taskdef is just fine containing everything that is needed. I'm using Apache Ant version 1.6.5 compiled on June 2 2005 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958456#3958456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958456 From do-not-reply at jboss.com Mon Jul 17 09:34:40 2006 From: do-not-reply at jboss.com (lcoetzee) Date: Mon, 17 Jul 2006 09:34:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <6367722.1153143280397.JavaMail.jboss@colo-br-02.atl.jboss.com> I have found a way using MyFaces Tomahawk's updateActionListener. Something like: | | | Unfortunately the solution forces me to use a form/commandLink action. I get the following exception when trying to use the s:link. | ERROR [STDERR] 2006/07/17 03:23:34 com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/secure/questionnaire/sections.xhtml] | java.lang.ClassCastException: org.jboss.seam.ui.HtmlLink | at csir.utils.taghandlers.TomahawkUpdateActionListenerHandler.apply(TomahawkUpdateActionListenerHandler.java:76) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) | at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128) | at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306) | at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279) | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) | 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:143) | 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:510) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I am using a TomahawkUpdateActionListenerHandler as written by Andrew Robinson (http://www.mail-archive.com/users at myfaces.apache.org/msg09735.html) Any ideas ? Ideally I would like to work with s:link and not have the whole form with javascript as generated by the commandLink. Regards Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958457#3958457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958457 From do-not-reply at jboss.com Mon Jul 17 09:36:12 2006 From: do-not-reply at jboss.com (beugeair) Date: Mon, 17 Jul 2006 09:36:12 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: [URGENT] Classloading issue Message-ID: <22360431.1153143372324.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I don't take care about this, but now I think it's important ! The classloader is looking for the class : si3si.metier.quartierforce.client.vo.VoAdrEml and si3si.metier.quartierforce.client.vo.VoAdrEmlBeanInfo which doesn't appears anywhere inside de source code, is one library generating java code at runtime (*BeanInfo.java) ? A begining of explanation : A *BeanInfo class is generated during the busyness execution os when the Vo is given to the WebApp, it want to unserialize a class (Vo*BeanInfo) which isn't in the classpath ... but the question is WHO is doing the code generation ! Still investigating ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958458#3958458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958458 From do-not-reply at jboss.com Mon Jul 17 09:41:02 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 09:41:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Oracle 10G and JBPM 3.1.1 Issues Message-ID: <31017199.1153143662216.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working on some of the stuff now, trying to get everything all cleaned up and usable. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958459#3958459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958459 From do-not-reply at jboss.com Mon Jul 17 09:41:55 2006 From: do-not-reply at jboss.com (Gori) Date: Mon, 17 Jul 2006 09:41:55 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Namespace declaration in every element of web service respon Message-ID: <19386090.1153143715737.JavaMail.jboss@colo-br-02.atl.jboss.com> In the response we recieve from our web service, the declaration of the namespace (xmlns:ns1="http://our.website/services/types") is repeated in every element even though only one declaration would do in the top element (ns1:myMethodResponse). Is there a way we can tell JBoss not to generate a namespace declaration if the parent element already belongs to the same namespace ? We use JBoss 4.0.4.GA Below is the response : 1.0 2006-07-17T13:06:48.867Z CommonBank NL 4.00.00.0033 BE06792503601622 2006-05-05T00:00:00.000Z ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958460#3958460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958460 From do-not-reply at jboss.com Mon Jul 17 09:44:30 2006 From: do-not-reply at jboss.com (nabieh) Date: Mon, 17 Jul 2006 09:44:30 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss goes down! Message-ID: <3382341.1153143870468.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear Jaikiran, Thanks for your being concerned about my issue. I am quite sure that we do not use rs.next unless in reguler if statements and when one record is to be obtained from it: | .... | String sql = "select count(*) as COUNT from table"; | if (rs.next()) { | ..... | int count = rs.get("COUNT"); | } | So, it is okay. And I have been in writing J2EE application about 4 years. It is okay. Since we run JBoss as a service and not a DOS console, I have to review this "SendSignal" to achieve the goal of getting those records, I will update you once get a concern. Will be waiting for the JBoss till it gets into that status and get the logs of the threads. Thanks to you, you gave me a great idea. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958461#3958461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958461 From do-not-reply at jboss.com Mon Jul 17 09:47:58 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 17 Jul 2006 09:47:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD Message-ID: <29583266.1153144078864.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Most of your jar files are coming from folder "C:\Documents and Settings\..." May be because of spacing in the directory structure, it is not able to find the jar file? It may sound stupid but try putting all the jars in the directory without space Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958463#3958463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958463 From do-not-reply at jboss.com Mon Jul 17 09:52:21 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 17 Jul 2006 09:52:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <8371292.1153144341082.JavaMail.jboss@colo-br-02.atl.jboss.com> What about f:param's? | | | | | inject using | @RequestParam private Integer sectionRowIndex; | @RequestParam private Integer questionRowIndex; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958467#3958467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958467 From do-not-reply at jboss.com Mon Jul 17 09:55:07 2006 From: do-not-reply at jboss.com (jliptak) Date: Mon, 17 Jul 2006 09:55:07 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmschema fails to build for CVS HEAD Message-ID: <31977115.1153144507339.JavaMail.jboss@colo-br-02.atl.jboss.com> BTW, ant version 1.6.2 does compile the project, but 1.6.5 does not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958468#3958468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958468 From do-not-reply at jboss.com Mon Jul 17 09:56:27 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 09:56:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Webapp has Incorrect red highlight feature Message-ID: <22193389.1153144587329.JavaMail.jboss@colo-br-02.atl.jboss.com> One problem we noticed was the red bar in teh web app, that is put there by javascript, appersin the wrong position, only half covering the box. Has anyone else seen this problem? http://www.falazar.com/ut/Screenshot.png It appears to be created by the javascript on top of the large png image, but Im not sure exactly why it is getting the wrong size. In the packed starter kit process, it appears correct, but on any others it is wrong. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958469#3958469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958469 From do-not-reply at jboss.com Mon Jul 17 10:00:03 2006 From: do-not-reply at jboss.com (anurudh) Date: Mon, 17 Jul 2006 10:00:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How can i implement themes in my application like in Jboss p Message-ID: <1724678.1153144803803.JavaMail.jboss@colo-br-02.atl.jboss.com> hello, Please tell me, how can i implement themes in my application like in Jboss portal welcome page. I want to create a separate portlet for that in which links are given and on clicking the link themes should get changed. Thanks................!!1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958470#3958470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958470 From do-not-reply at jboss.com Mon Jul 17 10:03:14 2006 From: do-not-reply at jboss.com (lcoetzee) Date: Mon, 17 Jul 2006 10:03:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <9298578.1153144994133.JavaMail.jboss@colo-br-02.atl.jboss.com> Jip, it will work. My one fear of using the RequestParameter stuff is that I need to add a bit more error handling to ensure that somebody isn't messing with the url (e.g sending a bogus row value). Thanks L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958471#3958471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958471 From do-not-reply at jboss.com Mon Jul 17 10:10:17 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 17 Jul 2006 10:10:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature Message-ID: <21095776.1153145417847.JavaMail.jboss@colo-br-02.atl.jboss.com> I've seen this a few times. I think it has something to do with the gpd.xml that the GPD designer itself generates to indicate where the nodes are. Sometimes the boxes are aligned right, sometimes they are off. I think turning the grid on fixes it sometimes (View -> Show Grid) in the GPD, but this is just a guess. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958473#3958473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958473 From do-not-reply at jboss.com Mon Jul 17 10:15:56 2006 From: do-not-reply at jboss.com (jiehuan_li) Date: Mon, 17 Jul 2006 10:15:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <1013221.1153145756125.JavaMail.jboss@colo-br-02.atl.jboss.com> Alex, Thanks for the reply. I tried defining the variable in the enclosing scope and then referencing it in the faultHandler by faultVariable, but I ran into a dilemma. If I try to deploy the definition with the faultVariable specified in the faultHandler, I am getting the following exception: | 10:05:41,967 ERROR [[DeployServlet]] Servlet.service() for servlet DeployServlet threw exception | org.jbpm.jpdl.JpdlException: [[ERROR] jbpmbpel.bpel catch must specify either a faultMessageType or a faultElement [/process/faultHandlers/catch]] | at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84) | at org.jbpm.bpel.web.deploy.DeployServlet.doGet(DeployServlet.java:49) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Then I added 'faultElement' in the 'catch', I am getting the following exception: | 09:28:51,999 ERROR [[DeployServlet]] Servlet.service() for servlet DeployServlet threw exception | org.jbpm.jpdl.JpdlException: [[ERROR] jbpmbpel.bpel(36) cvc-complex-type.3.2.2: Attribute 'faultElement' is not allowed to appear in element 'catch'.] | at org.jbpm.jpdl.par.ProcessArchive.parseProcessDefinition(ProcessArchive.java:84) | at org.jbpm.bpel.web.deploy.DeployServlet.doGet(DeployServlet.java:49) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Below is my code: | | | | | | | | | | | | | | | | | | | | | | I understand that adding 'faultElement' in catch causes problem because bpel 1.1 schema doesn't allow it, but why do I get the first exception when I don't have faultElement or faultMessageType in catch? Jiehuan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958474#3958474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958474 From do-not-reply at jboss.com Mon Jul 17 10:17:31 2006 From: do-not-reply at jboss.com (ericmacau) Date: Mon, 17 Jul 2006 10:17:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Login page cannot render the theme in JBoss Portal 2.4 Message-ID: <29223554.1153145851627.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am not sure if it is my problem or other users also have the same problem. In the login page, it seems cannot render the theme (style sheet). As the result, only a plain login page with left alignment to the screen. I have tried the 2.4 (from alpha to CR2), the results are same. Anyway, the login page is totally differnt from the 2.2. Please check. I also tried to view the page source via the browser, it is completely same as the 2.2, but cann't render the theme. Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958475#3958475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958475 From do-not-reply at jboss.com Mon Jul 17 10:18:50 2006 From: do-not-reply at jboss.com (dlipski) Date: Mon, 17 Jul 2006 10:18:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <9451642.1153145930304.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe some one knows sites where i can found same example processes ? It's hard to imagine that there isn't simple solution for such (in my opinion) common situation. Nevertheless i have second question: How i can get list o tasks for user grouped by task node ? Or better how to get task nodes where user have some tasks to perform, and then get only these tasks. (considering task assignments) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958476#3958476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958476 From do-not-reply at jboss.com Mon Jul 17 10:23:02 2006 From: do-not-reply at jboss.com (jacxia81) Date: Mon, 17 Jul 2006 10:23:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors... Message-ID: <26230682.1153146182755.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually, it's still a problem of jar version between those shipped by Seam and by Jboss. Jboss comes with an old version of LocalManagedConnectionFactory in its jboss-common-jdbc-wrapper.jar (C:\Program Files\jboss-4.0.4.GA\server\default\lib). You can delete it and use instead the jboss-ejb3-all.jar shipped by Seam to resolve the problem. (You can't resolve the problem by simply copying the new jar into the directory since the jboss-common-jdbc-wrapper.jar is before jboss-ejb3-all.jar in the classpath) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958479#3958479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958479 From do-not-reply at jboss.com Mon Jul 17 10:23:52 2006 From: do-not-reply at jboss.com (jactor) Date: Mon, 17 Jul 2006 10:23:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <30062925.1153146232766.JavaMail.jboss@colo-br-02.atl.jboss.com> ... and then if you restart the server your list of undeployed services is huge and seems to be caused by an earlier error when the server is starting up: | 2006-07-17 16:08:46,251 ERROR [org.jboss.deployment.MainDeployer - 961] Could not create deployment: file:/C:/APPS/jboss-4.0.4.GA/server/all/deployJBoss/jbossweb-tomcat55.sar/jboss-service.xml | org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.system:service=ThreadPool | It is hard when one wants to go from one release to another. Please helpt me! I am running JBoss from JBoss Eclipse IDE 1.6. Could this interfere? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958480#3958480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958480 From do-not-reply at jboss.com Mon Jul 17 10:24:30 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 10:24:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature Message-ID: <3211591.1153146270598.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I opened the gpd.xml and took a look at the code there: | | | | | | | | It appears that every node has a -1 height value, which doesnt appear correct. If anyone else knows anything about this problem, it would be great to get a patch in place. Its real bad form to see this when demonstrating the package :{ James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958481#3958481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958481 From do-not-reply at jboss.com Mon Jul 17 10:26:40 2006 From: do-not-reply at jboss.com (beugeair) Date: Mon, 17 Jul 2006 10:26:40 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - [1/2 SOLVED] [URGENT] Classloading issue Message-ID: <16727643.1153146400514.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have found a solution that I can not explain : In the tomcat sar / WEB-INF / jboss-service.xml I put the UseJbossWebLoader on to enable the use of JBoss classloading in place of Tomcat Class loading ... I think. | | true | | If someone can give an logical explaination to this kind of issue, please tell me ! Investigation aborted ! Target aquired ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958483#3958483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958483 From do-not-reply at jboss.com Mon Jul 17 10:31:49 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 17 Jul 2006 10:31:49 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Login page cannot render the theme in JBoss Portal 2.4 Message-ID: <25868669.1153146709473.JavaMail.jboss@colo-br-02.atl.jboss.com> The theme is not able to be rendered there any longer, so I will likely make it a generic login page that looks a bit nicer than what we have now. http://jira.jboss.com/jira/browse/JBPORTAL-961 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958486#3958486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958486 From do-not-reply at jboss.com Mon Jul 17 10:35:58 2006 From: do-not-reply at jboss.com (hosierdm) Date: Mon, 17 Jul 2006 10:35:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: invoking code from an ear file Message-ID: <5452973.1153146958378.JavaMail.jboss@colo-br-02.atl.jboss.com> The only solution I could really come up with was to not use the jbpm.sar and deploy the jbpm libraries directly in my ear. I even put the jbpm.war in my ear as well. I'm not clear on the reason/benefits of having jbpm deployed as a service with the sar file. If you search this forum, there was some discussion on the matter a while back, but I don't know if there was every any kind of "resolution". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958487#3958487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958487 From do-not-reply at jboss.com Mon Jul 17 10:40:40 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 10:40:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <25547240.1153147240280.JavaMail.jboss@colo-br-02.atl.jboss.com> Im not sure about the hilo part, but for oracle, we created and used teh OracleDS instead: Making the JBPM Web Application use our Oracle DataSource The first is ${JBOSS_HOME}/server/jbpm/deploy/jbpm.sar/META-INF/jboss-service.xml, which is used to control what DataSource the JBPM web application uses for its discrete JDBC activity. We want this file to look like this: | | | | java:/jbpm/JbpmConfiguration | jboss.jca:service=DataSourceBinding,name=OracleDS | | | (this is taken from teh Oracle JBMP wiki page I sent you, which has some more instructions as well) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958489#3958489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958489 From do-not-reply at jboss.com Mon Jul 17 10:41:26 2006 From: do-not-reply at jboss.com (kearns) Date: Mon, 17 Jul 2006 10:41:26 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Integration of Custom Client and Server Login Modules Message-ID: <7020186.1153147286596.JavaMail.jboss@colo-br-02.atl.jboss.com> Objective: to authenticate using a custom client login module and pass the subject, containing the credentials customer ID and NHS #, to a custom server login module. This does no authentication but simple maps the customer ID to a role in order to invoke a secured EJB. How: I have listed below 4 different approaches I used. (1) Created the following components: ? Custom client login module (reference article: All that JASS): ConsoleCallbackHandler PassiveCallbackHandler RdbmsCredential RdbmsLoginModule RdbmsPrinciple ? Custom server login module (reference article: Securing EJB Applications with Custom JBoss Login Modules) : CustomServerLoginModule ? used JBoss client login module to bind subject. ? added RDBMS Login Module (custom client login module) to /example domain in login-conf.xml ? added CustomServerModule to security domain (secureBankDomain) for EJB application extract from login-config.xml jdbc:mysql://localhost/jaasdb root steelbus581 com.mysql.jdbc.Driver true true Subsequently realised that the only the username and password handled by the call back is past to the server login module. Therefore this approach would not work. (2) Pass the credential and principle in initial context e.g. Context.SECURITY_PRINCIPAL prior to getting a reference to the remote EJB. HashTable props = new HashTable(); props.put( Context.SECURITY_PRINCIPAL, SecurityAssociation.getPrincipal() ); props.put( Context.SECURITY_CREDENTIALS, SecurityAssociation.getCredential() ); InitialContext initialContext = new InitialContext( props ); On invoking the server login method it fails as no identity, i.e. Principle, can be found (3) Created a PrivilegedAction i.e. CallBankMgrGetCustData that would get the EJB reference and execute the method. This also fails as no identity can be found. (4) Pushed credential and principle onto SecurityAssociation stack. However an error occurred as on the RdbmsPrincipal class could not be found ? no class loader. Then added com.bank.RdbmsCredential and RdbmsPrincipal to server/default/lib as jar. Still the customer server login module fails as no identity, i.e. Principle, can be found. Question: What have I not understood or not configured correctly. Or is what I am trying to do not possible. Any help would be appreciated. References: All That JASS: http://www.javaworld.com/javaworld/jw-09-2002/jw-0913-jaas_p.html Writing Custom JAAS Login Modules. 21 Nov 2003. http://www.timfanelli.com/blog/item/custom_jaas_login_modules.html Securing EJB Applications with Custom JBoss Login Modules. 21 Nov 2003 http://www.timfanelli.com/item/98 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958490#3958490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958490 From do-not-reply at jboss.com Mon Jul 17 10:45:20 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 17 Jul 2006 10:45:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors... Message-ID: <8966281.1153147520210.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, life can be so easy. All occurences of "NoSuchMethodError ... getValidateOnMatch()z" are gone. Thanks a lot for that advice :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958491#3958491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958491 From do-not-reply at jboss.com Mon Jul 17 10:55:43 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Mon, 17 Jul 2006 10:55:43 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Jboss Tree Cache EJB Remote Clients Problems Message-ID: <25207051.1153148143969.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi every one, We have an internal class implementation with in our organization of Jboss Tree Cache. Which wraps around the one from JBoss, this was done as way to avoid the users to cut the direct dependency on JBoss. We want this service to be used by clients from across the network so we put a stateless session bean before that more of a fa?ade, and Tree Cache is will be instantiated using Spring Core. We were of the opinion that through spring we can not only get an instance of the Tree Cache but also we can take care of it being singleton. So our session bean has put and gets methods to put an object, but the interface works fine in one session call, I can put and get the methods. But when I put an object into Tree Cache in one session bean call and later try to retrieve it from another call I get a ?null?. Can any please tell me what is happening here and how we can get a EJB interface to Tree Cache. Thanks in advance. Regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958492#3958492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958492 From do-not-reply at jboss.com Mon Jul 17 10:56:18 2006 From: do-not-reply at jboss.com (jactor) Date: Mon, 17 Jul 2006 10:56:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <29642668.1153148178462.JavaMail.jboss@colo-br-02.atl.jboss.com> The second error is my own wrong doing... I forgot to remove some old configuration from the build script. But the first deployment-waiting is still a mysteri... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958493#3958493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958493 From do-not-reply at jboss.com Mon Jul 17 11:01:56 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 17 Jul 2006 11:01:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors... Message-ID: <7857155.1153148516500.JavaMail.jboss@colo-br-02.atl.jboss.com> LOL :D. There's even more that's better now. I had a simple CRUD prototype for some entities. Creating worked well, but updating and deleting just didn't. The entity to edit had the right Id after showing it on the editor page. But as soon as I trigged a JSF action (save or delete) the Id became null. I don't know why this happened, but whatever... everything works fine now :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958494#3958494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958494 From do-not-reply at jboss.com Mon Jul 17 11:09:24 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Mon, 17 Jul 2006 11:09:24 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Where is SystemPropertiesService in JBoss 4.0.4 (EJB 3.0 Message-ID: <28091309.1153148964527.JavaMail.jboss@colo-br-02.atl.jboss.com> This bug was fixed in the 1.2.0.BETA1 version of the installer. You can get it from http://labs.jboss.com/portal/jemsinstaller/downloads. Also see workaround at http://jira.jboss.com/jira/browse/JBINSTALL-42. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958495#3958495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958495 From do-not-reply at jboss.com Mon Jul 17 11:10:37 2006 From: do-not-reply at jboss.com (ivan.pe) Date: Mon, 17 Jul 2006 11:10:37 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBossCacheService to Tomcat clustering not found Message-ID: <31323096.1153149037250.JavaMail.jboss@colo-br-02.atl.jboss.com> Recently I have upgraded to JBoss 4.0.4GA, by custom installation and after my ear containing web module gets deployed I am getting JBoss cache / clustering exception via bundled Tomcat. I have checked Tomcat config (server.xml) and I can't find any option how to stop this exception from happening. However it has no impact on the deployed application, but the exception bug me a lot! Any suggestions welcome. 15:47:01,441 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2 15:47:01,453 ERROR [JBossCacheService] jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found 15:47:01,453 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found org.jboss.web.tomcat.tc5.session.ClusteringNotSupportedException: jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found at org.jboss.web.tomcat.tc5.session.JBossCacheService.(JBossCacheService.java:127) at org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:144) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.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.GeneratedMethodAccessor6.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 $Proxy39.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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy40.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958496#3958496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958496 From do-not-reply at jboss.com Mon Jul 17 11:11:20 2006 From: do-not-reply at jboss.com (niesar) Date: Mon, 17 Jul 2006 11:11:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Embeddable Objects (EJB3) not working properly Message-ID: <16460273.1153149080923.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys, in a Seam/JSF/Facelets evaluation project I ran into the following problem. Looks like there is a problem if you use embeddable Objects in Entity beans. Consider the following entity bean containing an embedded object: @Entity | @Inheritance(strategy = InheritanceType.SINGLE_TABLE) | @DiscriminatorColumn(name = "TYPE", discriminatorType = DiscriminatorType.STRING) | @Table (name = "CLassAB") | @Name("classA") | public class ClassA | implements java.io.Serializable { | | @Id | @GeneratedValue | @Column (name = "Id") | private int id; | | @Column (name = "Var1", nullable=false, length=3) | @NotNull @Length(min=2, max=3) | private String var1; | | @Embedded // <------- trouble maker | private ClassE classEInst; | | @Basic | private Double latitude; | | @Basic | private Double longitude; | | | | public int getId() { | return id; | } | | protected void setId(int id) { | this.id = id; | } | | | public String getVar1() { | return var1; | } | | public void setVar1(String var1) { | this.var1 = var1; | } | | | public ClassE getClassEInst() | { | return classEInst; | } | | public void setClassEInst(ClassE classEInst) | { | this.classEInst = classEInst; | } | | | public Double getLatitude() { | return latitude; | } | | | public void setLatitude(Double latitude) { | this.latitude = latitude; | } | | public Double getLongitude() { | return longitude; | } | | public void setLongitude(Double longitude) { | this.longitude = longitude; | } | | public GeoPoint getLocation() { | return new GeoPoint(latitude,longitude); | } | | | public String toString() { | return var1; | } | }Please disregard the inheritance. You don't need to bother with it for this issue. ClassE just contains a single integer in this test case at Embeddable | public class ClassE | implements java.io.Serializable { | | private int classEVar; | | | public ClassE() { | } | | | public ClassE(int classEContents) { | this.classEVar = classEContents; | } | | public int getClassEVar() { | return classEVar; | } | | public void setClassEVar(int classEVar) { | this.classEVar = classEVar; | } The problem arises in a JSF page where I want to edit instances of entity bean ClassA (classAEdit.xhtml): | | | | |
    |

    Edit ClassA - Test

    | |
    | // <------------- (1) |
    |
    |
    | | | |
    |
    |
    |
    |
    |
    |
    Take a look at (1). tag classA-input is defined in a facelets tag lib (classA-input.xhtml) | | |
    |
    ID:
    |
    #{classAInst.id}
    |
    |
    |
    Class E Instance (embedded):
    |
    |
    // <------------------ (2) | |
    |
    |
    |
    Latitude:
    |
    |
    | |
    |
    |
    |
    Longitude:
    |
    |
    | |
    |
    |
    | In (1) an input field with contents `{{classASearch.selectedClassAInst} is created. Here is the relevant part of classASearch: @Stateful | @Name("classASearch") | @Scope(ScopeType.SESSION) | public class ClassASearchAction implements ClassASearch | { | @PersistenceContext | private EntityManager em; | | private String searchString; | | @DataModel | private List classAInstList; | @DataModelSelection | @Valid | private ClassA selectedClassAInst; // <-------------------- | [...] | } The interesting part is that everything works fine if the ClassE instance is displayed in (2). However, if you change the contents and want to save, you'll get an error - apparingly from MyFaces: /WEB-INF/facelets/tags/classA-input.xhtml @20,68 value="#{classAInst.classEInst}": Exception setting property classEInst of base with class test.ClassB [hint: classA-input.xhtml @20,68 is (2)] Since the code works fine for Strings or - as you can see above - doubles, but fails with embedded objects, I guess MyFaces is not compatible with @Embedded Objects created by EJB3/Hibernate. However, I don't know where to file the bug. Is MyFaces supposed to deal correctly with an EJB3 embedded obejct? Or is Hibernate/EJB3 implementing the embedded object in a strange way so that MyFaces can't deal correctly with the code? Or are JBoss and MyFaces just not as compatible as they should be? So is this a bug or a feature request? File a bug in the JBoss or in the Apache JIRA??? --- BTW, the problem seems to arise in PropertyResolverImpl.setValue(). In http://myfaces.apache.org/impl/xref/org/apache/myfaces/el/PropertyResolverImpl.html you can see the error is thrown in the catch (RuntimeException e) part in setValue(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958497#3958497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958497 From do-not-reply at jboss.com Mon Jul 17 11:16:48 2006 From: do-not-reply at jboss.com (camunda) Date: Mon, 17 Jul 2006 11:16:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: java-wsdl conversion for Custom Exception Message-ID: <20549472.1153149408323.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi rt_s, have you solved this problem? We are facing the same problem... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958499#3958499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958499 From do-not-reply at jboss.com Mon Jul 17 11:17:34 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 17 Jul 2006 11:17:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Adaption to JEE classes packaging Message-ID: <27935426.1153149454776.JavaMail.jboss@colo-br-02.atl.jboss.com> Download and install EJB3 RC8 from http://labs.jboss.org/portal/jbossejb3. The classes are in the correct packages there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958500#3958500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958500 From do-not-reply at jboss.com Mon Jul 17 11:21:43 2006 From: do-not-reply at jboss.com (andydale) Date: Mon, 17 Jul 2006 11:21:43 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Newbie - Help Needed Message-ID: <14639.1153149703652.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am new to AOP and am currently running into problenm when trying to implement a custom aspect (interceptor) on JBoss 4.0.4GA. I have already managed to write a working Interceptor by actually coding it inside the bean with the @AroundInvoke, but now i want to implement it like demonstrated here http://docs.jboss.org/jbossas/jboss4guide/r3/html/aop.chapt.html with having a .jar (custom Aspect) file, and jboss-aop.xml file in the deploy directoy, and annotation the method in the bean. The problem i am currently having is that it never seems to fire. TestInterrup.java (aspect interace) package com.jboss.aspect; | | import java.lang.annotation.Target; | import java.lang.annotation.ElementType; | | @Target({ElementType.METHOD}) | public @interface TestInterrupt {} TestInterruptAspect.java package com.jboss.aspect; | | //import the relevant aop libs | import org.jboss.aop.joinpoint.Invocation; | | public class TestInterruptAspect { | | public Object testInterrupt(Invocation invocation)throws Throwable{ | | //test print | System.out.println("**** Interrupt fired successfully ****"); | | return invocation.invokeNext(); | } | | } jboss-aop.xml | | | | | | | | Can anyone offer me any advice on how to solve the problem of it not firing on method invocation ? Thanks in advance, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958501#3958501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958501 From do-not-reply at jboss.com Mon Jul 17 11:21:46 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Mon, 17 Jul 2006 11:21:46 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <3597492.1153149706465.JavaMail.jboss@colo-br-02.atl.jboss.com> kearns, There are still a few details I would need to understand your situation. 1.) It was not clear to me what data you need to be passed to your bank.jaas.CustomServerLoginModule. What is acting as the identity pricinpal and what is acting as the authentication data? What else do you need here? 2.) Is your client a standalone application or web-enabled? 3.) If your client is standalone, does it restrict the user from performing certain functions based on identity. For example, if user does not have right to modify another user, then a certain screen is not enabled. 4.) if your client is standalone, is it multithreaded? cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958502#3958502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958502 From do-not-reply at jboss.com Mon Jul 17 11:21:58 2006 From: do-not-reply at jboss.com (dkrizic) Date: Mon, 17 Jul 2006 11:21:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Where is SystemPropertiesService in JBoss 4.0.4 (EJB 3.0 Message-ID: <33356700.1153149718268.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958503#3958503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958503 From do-not-reply at jboss.com Mon Jul 17 11:24:59 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 17 Jul 2006 11:24:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Clean Seam installation - but errors, errors, errors... Message-ID: <5803312.1153149899114.JavaMail.jboss@colo-br-02.atl.jboss.com> Now I tried to run my app WITH jboss-common-jdbc-wrapper.jar and WITHOUT jboss-ejb3-all.jar. This works, too. So it looks like those two just hate each other ;). I had added the jboss-ejb3-all.jar due to an exception (see above) that I had with the CVS version of Seam. But as I switched to "normal" Seam now this exception doesn't emerge anymore, so there seems to be no need for this JAR (in opposition to what Gavin said in the thread I mentioned in my first post). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958504#3958504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958504 From do-not-reply at jboss.com Mon Jul 17 11:25:56 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Mon, 17 Jul 2006 11:25:56 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBossCacheService to Tomcat clustering not found Message-ID: <10474751.1153149956390.JavaMail.jboss@colo-br-02.atl.jboss.com> See tomcat's jboss-service.xml file that configures Tomcat as a JBoss service. $YOUR_SERVER/deploy/jbossweb-tomcatxx.ser/META-INF/jboss-service.xml cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958505#3958505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958505 From do-not-reply at jboss.com Mon Jul 17 11:29:14 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 17 Jul 2006 11:29:14 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: libs within EAR are not recognized Message-ID: <21364869.1153150154333.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't use the Manifest.mf to locate the jars. Instead, I have them listed in the META-INF/application.xml file: | | lib/jar1.jar | | | lib/jar2.jar | | ... | It works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958506#3958506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958506 From do-not-reply at jboss.com Mon Jul 17 11:40:40 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 17 Jul 2006 11:40:40 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <264632.1153150840505.JavaMail.jboss@colo-br-02.atl.jboss.com> There should be no problem with FORM authentication; our unit tests of Clustered SSO use FORM authentication. In your original post there was a piece that didn't come through where you showed what you did to activate ClusteredSingleSignOn. Please repost that bit, and use the [Code] button above the form to surround the XML; that will let the XML come through. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958507#3958507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958507 From do-not-reply at jboss.com Mon Jul 17 11:41:17 2006 From: do-not-reply at jboss.com (krzsam) Date: Mon, 17 Jul 2006 11:41:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal 2.4 on 4.0.4.GA - EJB3 Message-ID: <21689356.1153150877185.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately the same effect is on JBoss Portal 2.2.1-SP2 on 4.0.4.GA Patch1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958508#3958508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958508 From do-not-reply at jboss.com Mon Jul 17 11:44:37 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 11:44:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Graphical designer : red box Message-ID: <31585369.1153151077039.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you find an answer to this? I opened another topic asking a similar question. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958509#3958509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958509 From do-not-reply at jboss.com Mon Jul 17 11:46:46 2006 From: do-not-reply at jboss.com (genman) Date: Mon, 17 Jul 2006 11:46:46 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: OutOfMemoryError: unable to create new native thread Message-ID: <4091583.1153151206213.JavaMail.jboss@colo-br-02.atl.jboss.com> "mdaguete" wrote : Hi all, | I'm usign jboss 4.0.3 in debian stable with linux kernel 2.6.8-2-686-smp in a 2x Xeon CPU with Hyperthreading, Java HotSpot(TM) Server VM (build 1.5.0_05-b05, mixed mode) and 4GB RAM, af ter a few days my application throws a "OutOfMemoryError: unable to create new native thread" | You may want to check if your application is leaking threads. You can actually run out of mappable process memory if you have too many threads, even though you have lots of heap still. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958510#3958510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958510 From do-not-reply at jboss.com Mon Jul 17 11:48:45 2006 From: do-not-reply at jboss.com (adamw) Date: Mon, 17 Jul 2006 11:48:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - An EJB-QL query with sorting on an aggregate function Message-ID: <27079364.1153151325861.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a problem with constructing a query which uses group-by and sorts by an aggregate column. As I use MySQL, I can't just write "ORDER BY min(column)", so I try a different approach, which works in MySQL, but throws an exception when I try to use it in EJB3. My query looks like this: | SELECT name, min(dateCreated) AS mdc FROM TagEntity | GROUP BY name | ORDER BY mdc | Any ideas how can I do it any other (working :) ) way? -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958511#3958511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958511 From do-not-reply at jboss.com Mon Jul 17 11:49:19 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 11:49:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A question about jBPM console Message-ID: <18626776.1153151359998.JavaMail.jboss@colo-br-02.atl.jboss.com> This happens in mine as well, very regularly, every other time I click on home, the bottom section will dissappear, then when I click again, it will reappear. I reproduced this on seperate systems in multiple browsers, to confirm that it is not just a browser snafu. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958513#3958513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958513 From do-not-reply at jboss.com Mon Jul 17 11:50:00 2006 From: do-not-reply at jboss.com (kearns) Date: Mon, 17 Jul 2006 11:50:00 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <5066957.1153151400764.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, In the commit() of the client login module I add to the subject: subject.getPrincipals().addAll(tempPrincipals); subject.getPublicCredentials().addAll(tempCredentials); where tempCredentials contains the property name-value pairs: c.setProperty("nhs number", nhsNum); c.setProperty("customer id", custId); The passive callback handlers PassiveCallbackHandler has constructor that takes a username and password so its handle() method does not have to prompt the user for input. This information is supplied by a JUnit test or by a jsp which gets the information from a HTML form. There is no peripheral security restrictions. It is the custId that needs to be visible to the custom server login module. At this time the application is deployed on my desktop running a default JBoss server. Hope this helps. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958514#3958514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958514 From do-not-reply at jboss.com Mon Jul 17 11:50:40 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 17 Jul 2006 11:50:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Deployment problem Message-ID: <27002760.1153151440238.JavaMail.jboss@colo-br-02.atl.jboss.com> Which line of your code generated the exception? Is this line a typo: em.persist(em); (should read em.persist(tm);) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958515#3958515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958515 From do-not-reply at jboss.com Mon Jul 17 12:02:17 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 17 Jul 2006 12:02:17 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <2627565.1153152137181.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think that the par extension is valid any more for persistence archives. Rename it to concept.jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958516#3958516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958516 From do-not-reply at jboss.com Mon Jul 17 12:04:29 2006 From: do-not-reply at jboss.com (amarsyed) Date: Mon, 17 Jul 2006 12:04:29 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - unable to lookup remote mbean when newly added server is sti Message-ID: <27200660.1153152269203.JavaMail.jboss@colo-br-02.atl.jboss.com> We are facing an issue when trying to remotely connect to an MBeanServer of a node when it is added to a cluster. We try to look up jmx/invoker/RMIAdaptor but get an error stating that "jmx is not bound". We have one Windows machine running three instances of JBoss4.0.4GA.PATCH1. I start one server up, called default, and once it has finished I start the second called Routing. Both servers know of each other as it shows the following message on Routing. ------------------------------------------------------------------------------------------------------------- [DefaultPartition] Number of cluster members: 2 [DefaultPartition] Other members: 1 [DefaultPartition] Fetching state (will wait for 30000 milliseconds): ------------------------------------------------------------------------------------------------------------- On the default server we have an object listening as an implementation of org.jboss.ha.framework.interfaces.HAPartition$HAMembershipListener. As it receives a membershipChanged event we have the following code invoked through a spawned thread. This fails with the exception shown further below. However, once we add a hard coded sleep within this new spawned thread of 2 minutes then it works successfully. It seems as though the remote server, Routing has not finished initialising and registered the RMIAdaptor even though an event has been received at the default server. Can anyone help. static MBeanServer getRemoteMBeanServer(String node) throws JbossNodeManagerException | { | log.debug("->getRemoteMBeanServer( "+node+")"); | | Properties jndiProperties = new Properties(); | jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | jndiProperties.put(Context.PROVIDER_URL, "jnp://" + node); | jndiProperties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | // p.put(Context.PROVIDER_URL, "jnp://" + node); | try{ | InitialContext ctx = new InitialContext(jndiProperties); | log.debug("looking up with initial context:" + ctx); | Object obj = ctx.lookup(DEFAULT_JNDI_NAME); | log.debug("looked up rmi adaptor object: " + obj); | RMIAdaptor rmiAdaptor = (RMIAdaptor) obj; | return new MBeanServerAdaptorDelegate(rmiAdaptor); | }catch(NamingException e){ | throw new JbossNodeManagerException("Unable to lookup remote mbean server for node '"+node+"' using jndi name: " + | DEFAULT_JNDI_NAME,e); | } | } ##############Exception StackTrace########################################################################################################## xMP Engine: 2006-07-17 15:32:21,793 [com.vicorp.xmp.engine.management.nodemanager.jboss.JbossNodeManager$NewNodeHandlerThread] ERROR - Couldn't add new new node com.vicorp.xmp.engine.management.nodemanager.jboss.JbossNodeManagerException: Unable to lookup remote mbean server for node '162.13.51.79:1299' using jndi name: jmx/invoker/RMIAdaptor at com.vicorp.xmp.engine.management.nodemanager.jboss.JbossUtils.getRemoteMBeanServer(JbossUtils.java:110) at com.vicorp.xmp.engine.management.nodemanager.jboss.JbossUtils.getRemoteNodeName(JbossUtils.java:126) at com.vicorp.xmp.engine.management.nodemanager.jboss.JbossNodeManager.serverAdded(JbossNodeManager.java:257) at com.vicorp.xmp.engine.management.nodemanager.jboss.JbossNodeManager$NewNodeHandlerThread.run(JbossNodeManager.java:709) at java.lang.Thread.run(Thread.java:534) Caused by: 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:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) 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:534) 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:133) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.vicorp.xmp.engine.management.nodemanager.jboss.JbossUtils.getRemoteMBeanServer(JbossUtils.java:54) ... 4 more ##############Exception StackTrace########################################################################################################## View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958518#3958518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958518 From do-not-reply at jboss.com Mon Jul 17 12:06:25 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 17 Jul 2006 12:06:25 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBossCacheService to Tomcat clustering not found Message-ID: <27292238.1153152385667.JavaMail.jboss@colo-br-02.atl.jboss.com> Your webapp must be marked as "distributable" in web.xml. With these errors you see, session replication is no longer occuring; Tomcat is falling back to the standard non-replicating session manager. The configuration of the JBoss Cache instance used for session replication changed in 4.0.4; if you have a custom config you may not have the proper config. This is briefly discussed under http://wiki.jboss.org/wiki/Wiki.jsp?page=404UpgradeIssues . Basically, I suggest you take a look at the standard JBoss distribution's all/deploy folder and make sure you have a tc5-cluster.sar in your custom config that matches the one in the standard distro. If you modified your tc5-cluster-service.xml file in the earlier release, edit the tc5-cluster.sar/META-INF/jboss-service.xml file to merge in your edits -- file has basically the same purpose, just in a different location. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958519#3958519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958519 From do-not-reply at jboss.com Mon Jul 17 12:07:09 2006 From: do-not-reply at jboss.com (jeonggoo) Date: Mon, 17 Jul 2006 12:07:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Can't Make a Simple project work on JBoss Portal. Message-ID: <6140871.1153152429811.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I installed the JBoss Portlet Plug-in 1.1.2 on my eclipse 3.1.2. I create a new portlet project with a test page. Without adding anything, I used ant and made a .war file and copied it to server\default\deploy. The name of the project appeared in Page portlet. (nice) However, when I clicked it (after logged in as admin), some error page came out saying ____________________________________________ HTTP Status 401- This request requires HTTP authentication(). _____________________________________________ And I got some error message on the dos prompt winows too like below. I've spent so many hours for this silly problem. I wonder if someone help me with this. Thanks, Jack 10:41:59,508 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect 10:41:59,508 INFO [SchemaExport] Running hbm2ddl schema export 10:41:59,508 INFO [SchemaExport] exporting generated schema to database 10:41:59,518 INFO [NamingHelper] JNDI InitialContext properties:{} 10:41:59,518 INFO [DatasourceConnectionProvider] Using datasource: java:PortalD S 10:41:59,518 INFO [SchemaExport] schema export complete 10:41:59,558 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep loy/jmx-console.war/ 10:41:59,718 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 829662b7 { url=file:/C:/portals/jboss-portal -2.4.0-CR1/server/default/deploy/jboss-portal.sar/portal-wsrp.sar/portal-wsrp.js e } deployer: org.jboss.ws.server.WebServiceDeployerNestedJSE at 30a895 status: Deployment FAILED reason: Could not create deployment: file:/C:/portal s/jboss-portal-2.4.0-CR1/server/default/tmp/deploy/portal-wsrp.war; - nested thr owable: (org.jboss.ws.metadata.wsdl.WSDLException: WSDLException (at /wsdl:defin itions/import/wsdl:definitions/import/wsdl:definitions/wsdl:types/schema/schema) : faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced a t 'http://www.w3.org/2001/xml.xsd', relative to 'file:/C:/portals/jboss-portal-2 .4.0-CR1/server/default/tmp/deploy/portal-wsrp-exp.war/WEB-INF/wsdl/wsrp_v1_type s.xsd'.: Cannot access imported wsdl [http://www.w3.org/2001/xml.xsd], www.w3.or g: java.lang.RuntimeException: Cannot access imported wsdl [http://www.w3.org/20 01/xml.xsd], www.w3.org at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory$WSDLLocatorImpl.get ImportInputSource(WSDLDefinitionsFactory.java:310) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:740) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:830) at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:620) at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:583) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 302) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:450) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 294) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:450) at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java: 294) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2133) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2125) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2150) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2171) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2201) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitio nsFactory.java:144) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaD ata.java:273) at org.jboss.ws.metadata.JSR109ServerMetaDataBuilder.buildMetaData(JSR10 9ServerMetaDataBuilder.java:111) at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(W ebServiceDeployerJSE.java:189) at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java :103) at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJS E.java:66) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce ptor.java:91) 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 $Proxy92.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) 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 $Proxy94.deploy(Unknown Source) at org.jboss.ws.server.WebServiceDeployerNestedJSE.create(WebServiceDepl oyerNestedJSE.java:102) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) 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 $Proxy97.addDeployer(Unknown Source) at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSuppo rt.java:124) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.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 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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) 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 $Proxy8.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.GeneratedMethodAccessor2.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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) ) state: FAILED watch: file:/C:/portals/jboss-portal-2.4.0-CR1/server/default/deploy/jboss-por tal.sar/portal-wsrp.sar/portal-wsrp.jse altDD: null lastDeployed: 1153147301322 lastModified: 1153147292199 mbeans: 10:41:59,809 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 -8080 10:41:59,919 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 10:41:59,969 INFO [JkMain] Jk running ID=0 time=0/70 config=null 10:41:59,969 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos s_4_0_4_GA date=200605151000)] Started in 33s:158ms 10:44:30,035 INFO [TomcatDeployer] deploy, ctxPath=/hithere, warUrl=.../tmp/dep loy/tmp52034hithere-exp.war/ 10:44:30,155 INFO [PortletAppDeployment] These instances have been found in -ob ject.xml, you should put them in the file C:\portals\jboss-portal-2.4.0-CR1\serv er\default\.\tmp\deploy\tmp52034hithere-exp.war\WEB-INF/portlet-instances.xml 10:44:30,155 INFO [PortletAppDeployment] HiThere HiThere 10:53:36,711 ERROR [STDERR] Jul 17, 2006 10:53:36 AM com.sun.facelets.compiler.T agLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/portals/jboss-portal-2.4.0-CR1/server/def ault/tmp/deploy/tmp51949jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 10:53:36,741 ERROR [STDERR] Jul 17, 2006 10:53:36 AM com.sun.facelets.compiler.T agLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/portals/jboss-portal-2.4.0-CR1/server/def ault/tmp/deploy/tmp51949jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 10:53:36,781 ERROR [STDERR] Jul 17, 2006 10:53:36 AM com.sun.facelets.compiler.T agLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/portals/jboss-portal-2.4.0-CR1/server/def ault/tmp/deploy/tmp51949jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 10:53:36,821 ERROR [STDERR] Jul 17, 2006 10:53:36 AM com.sun.facelets.compiler.T agLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/portals/jboss-portal-2.4.0-CR1/server/def ault/tmp/deploy/tmp51949jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 10:53:36,841 ERROR [STDERR] Jul 17, 2006 10:53:36 AM com.sun.facelets.compiler.T agLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/portals/jboss-portal-2.4.0-CR1/server/def ault/tmp/deploy/tmp51949jsf-facelets.jar!/META-INF/jstl-core.taglib.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958520#3958520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958520 From do-not-reply at jboss.com Mon Jul 17 12:14:25 2006 From: do-not-reply at jboss.com (gcowsar) Date: Mon, 17 Jul 2006 12:14:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <23304576.1153152865765.JavaMail.jboss@colo-br-02.atl.jboss.com> I made some progress. After re-installing JBoss using the JEMS installer and Seam using a build from CVS I was able to run the tool and get the find and create pages served up. My table has just 2 cols: +----------+--------------+------+-----+---------+-------+ | | Field | Type | Null | Key | Default | Extra | | +----------+--------------+------+-----+---------+-------+ | | lastname | varchar(50) | NO | PRI | | | | | email | varchar(255) | YES | | NULL | | | +----------+--------------+------+-----+---------+-------+ | When I try to do a find I get no results and JBoss says: 09:02:30,122 INFO [Pages] no pages.xml file found 09:02:30,906 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 09:02:30,906 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 09:02:30,906 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false 09:02:30,907 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false 09:02:30,910 WARN [HtmlLabelRenderer] Unable to find component 'lastname' (calling findComponent on component '_id2:_id9') 09:02:30,914 WARN [HtmlLabelRenderer] Unable to find component 'email' (calling findComponent on component '_id2:_id10') 09:02:30,915 WARN [HtmlLabelRenderer] Unable to find component 'pageSize' (calling findComponent on component '_id2:_id11') No exceptions but no results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958521#3958521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958521 From do-not-reply at jboss.com Mon Jul 17 12:16:28 2006 From: do-not-reply at jboss.com (bkyrlach) Date: Mon, 17 Jul 2006 12:16:28 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - IllegalAccessError on inner classes? Message-ID: <21083079.1153152988868.JavaMail.jboss@colo-br-02.atl.jboss.com> Occasionally when starting JBoss AS I get the following exception... java.lang.IllegalAccessError: tried to access class org.apache.commons.collections.FastHashMap$KeySet from class org.apache.commons.collections.FastHashMap at org.apache.commons.collections.FastHashMap.keySet(Unknown Source) at org.apache.commons.validator.ValidatorResources.processForms(ValidatorResources.java:340) at org.apache.commons.validator.ValidatorResources.process(ValidatorResources.java:327) at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:237) at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:161) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor143.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.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy39.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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy40.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) The very weird thing about this is that it doesn't happen all the time. I can't figure out any reason why it's unable to access the inner class? Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958522#3958522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958522 From do-not-reply at jboss.com Mon Jul 17 12:18:19 2006 From: do-not-reply at jboss.com (abdielj) Date: Mon, 17 Jul 2006 12:18:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <443606.1153153099409.JavaMail.jboss@colo-br-02.atl.jboss.com> I have not fix this problem yet. Can anybody help me ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958523#3958523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958523 From do-not-reply at jboss.com Mon Jul 17 12:21:52 2006 From: do-not-reply at jboss.com (roberto) Date: Mon, 17 Jul 2006 12:21:52 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <25920766.1153153312389.JavaMail.jboss@colo-br-02.atl.jboss.com> This are my configuration steps for both node: Step #1: Download Apache2 Web Server version 2.0.58 and installed as default Step #2: Download mod_jk-apache-2.0.55.so Step #3: Setup Apache Add this line at the very bottom in APACHE_HOME/conf/httpd.conf : | Include conf/mod-jk.conf | create a new mod-jk.conf like this: | # Load mod_jk module | # Specify the filename of the mod_jk lib | LoadModule jk_module modules/mod_jk.so | | # Where to find workers.properties | JkWorkersFile conf/workers.properties | | # Where to put jk logs | JkLogFile logs/mod_jk.log | | # Set the jk log level [debug/error/info] | JkLogLevel info | | # Select the log format | JkLogStampFormat "[%a %b %d %H:%M:%S %Y]" | | # JkOptions indicates to send SSK KEY SIZE | JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories | | # JkRequestLogFormat | JkRequestLogFormat "%w %V %T" | | # Mount your applications. /* means All application | JkMount /* loadbalancer | | # You can use external file for mount points. | # It will be checked for updates each 60 seconds. | # The format of the file is: /url=worker | # /examples/*=loadbalancer | #JkMountFile conf/uriworkermap.properties | | # Add shared memory. | # This directive is present with 1.2.10 and | # later versions of mod_jk, and is needed for | # for load balancing to work properly | JkShmFile logs/jk.shm | | # Add jkstatus for managing runtime data | | JkMount jkstatus | Order deny,allow | Deny from all | Allow from 127.0.0.1 | | Configure workers.properties using Sticky Session (i'm creating a cluster on the same machine) | # Define list of workers that will be used | # for mapping requests | worker.list=loadbalancer,status | # Define Cluster1 | worker.node1.port=8009 | worker.node1.host=127.0.0.1 | worker.node1.type=ajp13 | worker.node1.lbfactor=1 | #worker.node1.local_worker=1 (1) | worker.node1.cachesize=10 | | # Define Cluster2 | worker.node2.port=8309 | worker.node2.host=127.0.0.1 | worker.node2.type=ajp13 | worker.node2.lbfactor=1 | #worker.node2.local_worker=1 (1) | worker.node2.cachesize=10 | | # Load-balancing behaviour | worker.loadbalancer.type=lb | worker.loadbalancer.balanced_workers=node1, node2 | worker.loadbalancer.sticky_session=1 | worker.loadbalancer.local_worker_only=1 | worker.list=loadbalancer | | # Status worker for managing load balancer | worker.status.type=status | Step #4: Setup Tomcato inside JBoss in JBOSS_HOME\server\\deploy\jbossweb-tomcat55.sar\server.xml added jvmRoute to match workers (node1 and node2) | | .... | | and uncomment ClusteredSingleSignOn valve | ... | | | | .... | | Step #5: Setup Tomcato inside JBoss in JBOSS_HOME\server\\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml Finally, I need to tell Tomcat to add the jvmRoute value to its session cookies so that mod_jk can route incoming requests. So I change UseJK from false to true | ... | true | ... | Step #6: Set loopback to true for UDP problem on windows machine Step #7: in my web.xml | ... | | ... | and on my jboss-web.xml | ... | | SET_AND_NON_PRIMITIVE_GET | SESSION | | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958524#3958524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958524 From do-not-reply at jboss.com Mon Jul 17 12:30:30 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 17 Jul 2006 12:30:30 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Search function in Forum and CMS Message-ID: <3230727.1153153830031.JavaMail.jboss@colo-br-02.atl.jboss.com> "danny_hon" wrote : Will JBoss Forum search available in JBP 2.4? Unfortunately no. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958525#3958525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958525 From do-not-reply at jboss.com Mon Jul 17 12:33:07 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 17 Jul 2006 12:33:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can't Make a Simple project work on JBoss Portal. Message-ID: <13641088.1153153987097.JavaMail.jboss@colo-br-02.atl.jboss.com> file:///C:/projects/jboss-portal-2.4-docs/referenceGuide/build/en/html/troubleshooting.html#error1 Look at "When I access a specific portal-instance or page, I keep seeing "401 - not authorized" error in my browser. " View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958526#3958526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958526 From do-not-reply at jboss.com Mon Jul 17 12:45:45 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 17 Jul 2006 12:45:45 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <25691849.1153154745983.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks correct. 1) Do you have cookies enabled, or are you trying to use URL rewriting (which won't work w/ Clustered SSO)? 2) I suspect you get the same "DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is not present" message when using BASIC; it's just that with BASIC the browser presents your credential so the logon happens transparently. Please confirm. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958527#3958527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958527 From do-not-reply at jboss.com Mon Jul 17 12:57:28 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 17 Jul 2006 12:57:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found Message-ID: <30292532.1153155448653.JavaMail.jboss@colo-br-02.atl.jboss.com> Check the console to see if hibernate is pointing to right database or not. Hibernate will display the schema it points to and it will also tell the database version on the console. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958528#3958528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958528 From do-not-reply at jboss.com Mon Jul 17 13:01:02 2006 From: do-not-reply at jboss.com (javierpedrido) Date: Mon, 17 Jul 2006 13:01:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug when transaction rollback ocurrs and caching relatio Message-ID: <13111933.1153155662456.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to contribute a patch for this bug. Could some of the developers tell me where should I start looking for the cause (Hibernate, Hibernate annotations)? Thanks, Javier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958530#3958530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958530 From do-not-reply at jboss.com Mon Jul 17 13:03:41 2006 From: do-not-reply at jboss.com (x-avila) Date: Mon, 17 Jul 2006 13:03:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Persistence Message-ID: <24561861.1153155821845.JavaMail.jboss@colo-br-02.atl.jboss.com> HI: I've configured seam and follw steps for CRUD app. I deployed the app and all seems to be fine, but the app. is not making the persistence well. When I create data, the data is not stored in the DB. Could someone help me? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958532#3958532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958532 From do-not-reply at jboss.com Mon Jul 17 13:08:35 2006 From: do-not-reply at jboss.com (jeonggoo) Date: Mon, 17 Jul 2006 13:08:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can't Make a Simple project work on JBoss Portal. Message-ID: <13175134.1153156115287.JavaMail.jboss@colo-br-02.atl.jboss.com> Wow it works now. Thank you Roy! Jack View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958533#3958533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958533 From do-not-reply at jboss.com Mon Jul 17 13:08:56 2006 From: do-not-reply at jboss.com (KChvilyov) Date: Mon, 17 Jul 2006 13:08:56 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Transactions in JBossCache 1.4CR2 Message-ID: <16606325.1153156136291.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I can't boil it down to a simple junit test case. And I have not more detailed error log... May be later :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958534#3958534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958534 From do-not-reply at jboss.com Mon Jul 17 13:18:09 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Mon, 17 Jul 2006 13:18:09 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <1659651.1153156689159.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Kearns, So you have a web-enabled client. I am still not clear on what is your identifing principal and what is your credential. What does the user enter in the form? My point is to determine how your authentication data can be used as a String/Principal identity and an Object credential. From there, we can talk about how to get this data to your server login module. In the mean time, also check out the server guide chapter 8 at http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958535#3958535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958535 From do-not-reply at jboss.com Mon Jul 17 13:21:13 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:21:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Relilability of the context cache Message-ID: <17473866.1153156873253.JavaMail.jboss@colo-br-02.atl.jboss.com> Seam is built to take advantage of the features of the underlying Java EE implementation. For example, the conversation context data is actually kept in the HttpSession when server-side conversations are used. So no, there should be no loss of data when a server fails ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958537#3958537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958537 From do-not-reply at jboss.com Mon Jul 17 13:23:51 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 17 Jul 2006 13:23:51 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <28251536.1153157032013.JavaMail.jboss@colo-br-02.atl.jboss.com> Clustering is not currently available, but will be out in 1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958538#3958538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958538 From do-not-reply at jboss.com Mon Jul 17 13:26:01 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:26:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: General conversation question Message-ID: <3100542.1153157161530.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, conversation scope can be used like this if you don't need bookmarkability. But note that Seam also makes it easier to work with request parameters in JSF. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958539#3958539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958539 From do-not-reply at jboss.com Mon Jul 17 13:28:42 2006 From: do-not-reply at jboss.com (stephan.opitz) Date: Mon, 17 Jul 2006 13:28:42 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 30 - SOME KIND OF LEFT JOIN HELP Message-ID: <1183950.1153157322023.JavaMail.jboss@colo-br-02.atl.jboss.com> noone who knows how i can add a set of infos from another table the lang (with foreign key like) to the primary ejb categories View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958540#3958540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958540 From do-not-reply at jboss.com Mon Jul 17 13:30:01 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:30:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <19730307.1153157401023.JavaMail.jboss@colo-br-02.atl.jboss.com> Is this yet another case of the Tomahawk stuff just not playing nicely with others? I'm really really getting close to adding a big "don't use tomahawk components because they are too broken" warning in the Seam docs. I'm really waiting for the Trinidad stuff to finally get released.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958541#3958541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958541 From do-not-reply at jboss.com Mon Jul 17 13:32:37 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:32:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <11376108.1153157557868.JavaMail.jboss@colo-br-02.atl.jboss.com> You need a JSF converter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958542#3958542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958542 From do-not-reply at jboss.com Mon Jul 17 13:32:53 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 13:32:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <6068767.1153157573076.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I changed the database for JBPM back to HSSQL but still same issue. I have found that the persistence fails only for IdentitySession. | JbpmContext context = JbpmConfiguratoin.getInstance().createJbpmContext(); | Session session = jbpmContext.getSession(); | IdentitySession idsession = new IdentitySession(session); | idesession.beginTransaction(); | ..... | idsessoin.saveGroup(aGroup); | idsession.commitTransaction(); | idsessoin.close(); | finally | { | jbpmContext.close{} | | } | Error | org.jbpm.persistence.JbpmPersistenceException: coudlnt commit hibernate sessoin. | transaction not successfully started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958543#3958543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958543 From do-not-reply at jboss.com Mon Jul 17 13:33:22 2006 From: do-not-reply at jboss.com (tanked) Date: Mon, 17 Jul 2006 13:33:22 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: JNDI between 2 JBoss instances Message-ID: <3549115.1153157602651.JavaMail.jboss@colo-br-02.atl.jboss.com> ok, I have noticed on one page about clustering, the following statement: "Note You cannot currently use a non-JNP JNDI implementation (i.e. LDAP) for your local JNDI implementation if you want to use HA-JNDI. However, you can use JNDI federation using the ExternalContext MBean to bind non-JBoss JNDI trees into the JBoss JNDI namespace. Furthermore, nothing prevents you though of using one centralized JNDI server for your whole cluster and scrapping HA-JNDI and JNP." The last sentence is interesting... "one cetralized JNDI server"... anyone know how? Tanked..... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958544#3958544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958544 From do-not-reply at jboss.com Mon Jul 17 13:40:18 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 13:40:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <7543427.1153158018452.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry for the delayed response, I have been playing golf in France for 4 days. The advantage is that you can put datepickers, dropdownlists etc in your pages and they work. With 3.1 you can only have 'text inputs' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958545#3958545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958545 From do-not-reply at jboss.com Mon Jul 17 13:42:11 2006 From: do-not-reply at jboss.com (javidjamae) Date: Mon, 17 Jul 2006 13:42:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Relilability of the context cache Message-ID: <16154409.1153158131810.JavaMail.jboss@colo-br-02.atl.jboss.com> Wonderful! I was just putting together a small clustered environment to test this first hand. I think I'll go ahead and prove it to myself anyways. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958546#3958546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958546 From do-not-reply at jboss.com Mon Jul 17 13:46:44 2006 From: do-not-reply at jboss.com (svetzal) Date: Mon, 17 Jul 2006 13:46:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Concurrent access to stateful beans Message-ID: <17154827.1153158404639.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Folks, We're readying a CRM application that uses Seam heavily, and are going through some of our lingering issues, one of which is the current access to stateful beans problem. I've found first mention to it here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70595 It's attached to a rejected JIRA issue here: http://jira.jboss.com/jira/browse/EJBTHREE-313 I tend to agree that Seam is trying to do something here that the EJB3 spec does not allow. It would be most useful for us if Seam could serialize the requests so that they do not hit the same component concurrently when the user gets impatient and clicks links twice, or (painful) double-clicks everything in the UI. Is/has this been addressed? Is there a JIRA issue I missed that covers this? I suppose we could pretty up the exceptions, but I'd really rather have a proper solution. We're currently using Seam 1.0.1.GA and JBoss 4.0.4.GA with EJB3 RC8. Thanks! Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958547#3958547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958547 From do-not-reply at jboss.com Mon Jul 17 13:50:22 2006 From: do-not-reply at jboss.com (roman.kitko) Date: Mon, 17 Jul 2006 13:50:22 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Adaption to JEE classes packaging Message-ID: <24954609.1153158622466.JavaMail.jboss@colo-br-02.atl.jboss.com> I have just tried jboss-EJB-3.0_Embeddable_ALPHA_8-patch2. As I mentioned above, @EJB annotation field businessInterface is still wrongly named. It should be named beanInteface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958549#3958549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958549 From do-not-reply at jboss.com Mon Jul 17 13:58:05 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:58:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Concurrent access to stateful beans Message-ID: <19646312.1153159085936.JavaMail.jboss@colo-br-02.atl.jboss.com> I actually managed to sneak something into the EJB3 spec at the last minute to make it possible to detect a concurrentaccessexception. So the current issue is here: http://jira.jboss.com/jira/browse/JBSEAM-95 I suggest that you simply add your own handling for this exception in a servlet filter or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958550#3958550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958550 From do-not-reply at jboss.com Mon Jul 17 13:59:07 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 13:59:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Relilability of the context cache Message-ID: <30861228.1153159147106.JavaMail.jboss@colo-br-02.atl.jboss.com> Nice, let us know if you have problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958551#3958551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958551 From do-not-reply at jboss.com Mon Jul 17 13:59:42 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 13:59:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: invoking code from an ear file Message-ID: <32972495.1153159182862.JavaMail.jboss@colo-br-02.atl.jboss.com> Some additional info: Other sars/jars/ears/wars should *not* be able to see classes in eachother. So the solution posted by David is, afaik, the only 'solution', or you could deploy some required classes outside of your ear.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958552#3958552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958552 From do-not-reply at jboss.com Mon Jul 17 14:03:31 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Mon, 17 Jul 2006 14:03:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Lookup work, but @EJB annotation don't Message-ID: <15795507.1153159411266.JavaMail.jboss@colo-br-02.atl.jboss.com> I have this in my JSF backing bean: anonymous wrote : private CadastroManagerLocal getCadastroManagerLocal(){ | try { | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.PROVIDER_URL,"jnp://localhost:1099"); | | InitialContext ctx = new InitialContext(p); | Object ref = ctx.lookup("CadastroManagerBean"); | return (CadastroManagerLocal) PortableRemoteObject.narrow(ref, CadastroManagerLocal.class); | } catch (Exception e) { | e.printStackTrace(); | return null; | } | } and work fine, but when a try to inject with @EJB annotation i have nothing... anonymous wrote : @EJB(name="CadastroManagerBean") | private CadastroManagerLocal cadastroManagerLocal; | | or | | @EJB(name="mappedName") | private CadastroManagerLocal cadastroManagerLocal; I see in the documentation that the EJB work only in "java:com/env" ENC and my Bean is in global jndi namespace... This is the problem? how do i change from global to java:comp/env?:?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958553#3958553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958553 From do-not-reply at jboss.com Mon Jul 17 14:03:45 2006 From: do-not-reply at jboss.com (petekol) Date: Mon, 17 Jul 2006 14:03:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @DataModel for a component problem Message-ID: <32512220.1153159425653.JavaMail.jboss@colo-br-02.atl.jboss.com> can anyone can comment on this? i still can not get @DataModel working for a bean defined in components.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958554#3958554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958554 From do-not-reply at jboss.com Mon Jul 17 14:04:03 2006 From: do-not-reply at jboss.com (wolfc) Date: Mon, 17 Jul 2006 14:04:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Adaption to JEE classes packaging Message-ID: <32388121.1153159443927.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/EJBTHREE-620 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958555#3958555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958555 From do-not-reply at jboss.com Mon Jul 17 14:05:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 14:05:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problem with business days for duedate attribute of task Message-ID: <4773318.1153159528261.JavaMail.jboss@colo-br-02.atl.jboss.com> could you file jira issue for this, make a small patch AND adapt the unittest for timers? I'll try to fix it then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958556#3958556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958556 From do-not-reply at jboss.com Mon Jul 17 14:05:59 2006 From: do-not-reply at jboss.com (andsch) Date: Mon, 17 Jul 2006 14:05:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: From JIRA Issue to Patch on Production System Message-ID: <29404101.1153159559140.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, so far as I can see, one has to use bootdir if any class must be patched that is loaded via the ServerLoader according to section 2.2.2.4.3. The Complete Class Loading Model im Adminguide of the JBoss Admin-Guide (concerning JBoss AS 4.0.3SP1). Anything else should be patched via patchdir. The reason not to use bootdir as well is that some required classes might not be available via ServerLoader. All in all, nearly anything can be patched, except: 1) org.jboss.Main / org.jboss.system.server.ServerLoader 2) Application classes (in .ears, .wars, ...) if a loader-repository is configured or some other configuration prevents the respective deployer from using the JBoss-Classloader Is that correct so far? By the way, what about the possibility to provide patches that are loaded by the Classloader of a particular loader-repository (which then would have to be configured)? Deployed applications could then be patched the way the JBoss server itself gets patched. Kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958557#3958557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958557 From do-not-reply at jboss.com Mon Jul 17 14:07:12 2006 From: do-not-reply at jboss.com (brado) Date: Mon, 17 Jul 2006 14:07:12 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <12802947.1153159632918.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, Hey thanks for the tip! That *is* a bonus! Cheers, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958558#3958558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958558 From do-not-reply at jboss.com Mon Jul 17 14:12:31 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 14:12:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <370988.1153159951667.JavaMail.jboss@colo-br-02.atl.jboss.com> I just made a change in CVS. Please try it out and see if that solves your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958559#3958559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958559 From do-not-reply at jboss.com Mon Jul 17 14:16:15 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 14:16:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: cvs details Message-ID: <13384355.1153160175597.JavaMail.jboss@colo-br-02.atl.jboss.com> No, since it is the WRONG cvs (AFAIK) You should use the jboss cvs server. The cvs pages only contains info for the developer cvs, but a anoncvs should be added in the list. If you change cvs.forge.jboss.com:/cvsroot/jbpm into anoncvs.forge.jboss.com:/cvsroot/jbpm it should be ok View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958560#3958560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958560 From do-not-reply at jboss.com Mon Jul 17 14:19:17 2006 From: do-not-reply at jboss.com (bradtwurst) Date: Mon, 17 Jul 2006 14:19:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: NullpointerException at ProcessInstance.signal() Message-ID: <13432899.1153160357644.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also encountering this issue. Is there anything that I can do to help debug this issue. I am encountering the NPE in line 295 (addLog function) of the Token class. The processInstance is not being populated. However, the getProcessInstance does return a non-null value. I create the processInstance in one function and later in the application, I retrieve the token (based upon a passed tokenId) to signal the token. Thanks, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958561#3958561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958561 From do-not-reply at jboss.com Mon Jul 17 14:21:17 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 14:21:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <18474250.1153160477263.JavaMail.jboss@colo-br-02.atl.jboss.com> What I did is just use the 3.0.9.2 gpd in eclipse 3.1.1. I created my own jboss installation with jbpm 3.2 in it. That works for what I want to do. Tell me if you need more things (I did not mis anything) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958562#3958562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958562 From do-not-reply at jboss.com Mon Jul 17 14:21:27 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 14:21:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <15289805.1153160487965.JavaMail.jboss@colo-br-02.atl.jboss.com> Just wanted to add, that I can easily loadGroup() from the database using identitySession and saveGroup() without committing. But as soon as I commit, the persistence service fails. Please help! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958563#3958563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958563 From do-not-reply at jboss.com Mon Jul 17 14:23:48 2006 From: do-not-reply at jboss.com (mwelch16) Date: Mon, 17 Jul 2006 14:23:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Trouble porting an RI implementation into portal Message-ID: <32155948.1153160628428.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using the 2.2.1sp2 bundled version of jboss portal (downloaded). I'm using the built in hibernate virtual database and running JBoss on my PC (Windows XP). I am trying to integrate a JSF RI implementation into the portal. The JSF application currently runs in the 4.0.2 AS version of JBOSS. While integrating I am experiencing what appears to be conflicts between the RI and my faces. I don't know if it's a classpath issue, my war file, or an actual conflict. The portal seems to be trying to cast to a JBossRenderResponse and the RI code is using an HTTPServletResponse. Any advice would be helpful. I was hoping the RI application would work with very little change. Thanks, Mark Here is the Exception: | java.lang.ClassCastException: org.jboss.portlet.JBossRenderResponse | at com.nielsenmedia.datadelivery.console.Authenticator.authenticate(Authenticator.java:11) | at com.nielsenmedia.datadelivery.console.MarketProcessedBean.(MarketProcessedBean.java:43) | at com.nielsenmedia.datadelivery.console.MarketProcessedMorningBean.(MarketProcessedMorningBean.java:7) | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at java.lang.Class.newInstance0(Class.java:350) | at java.lang.Class.newInstance(Class.java:303) | at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:274) | at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:265) | at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:49) | at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:311) | at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) | at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) | at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140) | at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378) | at javax.faces.component.UIOutput.getValue(UIOutput.java:75) | at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) | at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131) | at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) | at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349) | at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253) | Here is the code: | import javax.faces.context.FacesContext; | import javax.servlet.http.HttpServletResponse; | import javax.servlet.http.HttpSession; | | public class Authenticator { | | public static void authenticate() throws Exception { | FacesContext context = FacesContext.getCurrentInstance(); | HttpServletResponse response = (HttpServletResponse) context.getExternalContext().getResponse(); | | LoginBean login = getLoginBean(); | | if (login == null | || login.getUsername() == null | || login.getPassword() == null | || !login.login().equals(LoginBean.SUCCESS)) { | response.sendRedirect("logout.jsp"); | } | } | | public static LoginBean getLoginBean() throws Exception { | FacesContext context = FacesContext.getCurrentInstance(); | HttpSession mySession = (HttpSession) context.getExternalContext().getSession(true); | if (mySession.getAttribute("LoginBean") != null) { | return (LoginBean) mySession.getAttribute("LoginBean"); | } else { | return null; | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958564#3958564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958564 From do-not-reply at jboss.com Mon Jul 17 14:25:18 2006 From: do-not-reply at jboss.com (kazam) Date: Mon, 17 Jul 2006 14:25:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <2608192.1153160718070.JavaMail.jboss@colo-br-02.atl.jboss.com> The persitence mechanism for identitySession is failing for any commit operation. Please look at the following post, http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86898 David, please let me know how you are using identitySession to commit transactions. Thanks, Kazam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958565#3958565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958565 From do-not-reply at jboss.com Mon Jul 17 14:26:21 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 17 Jul 2006 14:26:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <11239709.1153160781903.JavaMail.jboss@colo-br-02.atl.jboss.com> Im not sure really how to "create jboss isntallation" I probably need some more low level help to get started, which files go where and whatnot... I can compile it some with any, but I dont know where the server start codes would be or anything else really. Right now I am also trying to build the GPD to get rid of a problem with the red border there. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958566#3958566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958566 From do-not-reply at jboss.com Mon Jul 17 14:51:04 2006 From: do-not-reply at jboss.com (pelo67000) Date: Mon, 17 Jul 2006 14:51:04 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Using JGuard to secure the portal Message-ID: <13418269.1153162264760.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, there is any response to my problem. Nobody can help me please ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958569#3958569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958569 From do-not-reply at jboss.com Mon Jul 17 15:07:21 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Mon, 17 Jul 2006 15:07:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <16403016.1153163241637.JavaMail.jboss@colo-br-02.atl.jboss.com> Nope. The context object is still the Factory return instead of being the data binder wrapped object. The data binder is still called though. I wonder if there's some sort of outjection race condition or ordering problem. Both the Factory and DataBinder implicitly outject the same component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958572#3958572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958572 From do-not-reply at jboss.com Mon Jul 17 15:08:48 2006 From: do-not-reply at jboss.com (miro1234) Date: Mon, 17 Jul 2006 15:08:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Unable to locate UserTransaction to check status Message-ID: <4682546.1153163328230.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I use org.jboss.hibernate.jmx.Hibernate MBean for my hibernate application with following deploy file: | | jboss.jca:service=RARDeployer | jboss.jca:service=LocalTxCM,name=DerbyDS | | java:/hibernate/SessionFactory | | java:DerbyDS | | org.hibernate.dialect.DerbyDialect | | | org.hibernate.cache.NoCacheProvider | | true | | | I also deploy TransactionManager service via following deploy file: | | | | | | 300 | true | | jboss:service=XidFactory | | | | In applications servlet, I'd like to obtain session and begin transaction on it: | InitialContext ctx=new InitialContext(); | factory=(SessionFactory)ctx.lookup("java:/hibernate/SessionFactory"); | // session = factory.getCurrentSession(); | session=factory.openSession(); | session.getTransaction().begin(); | But when calling factory.openSession(), I get org.hibernate.TransactionException: Unable to locate UserTransaction to check status I also tryed obtaining session by factory.getCurrentSession(), but I got org.hibernate.HibernateException: Unable to locate current JTA transaction When using org.hibernate.jmx.HibernateService MBean instead of org.jboss.hibernate.jmx.Hibernate, previous problems do not appear. But using this approach, I have to map resources manually... Any help is appreciated. Miro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958573#3958573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958573 From do-not-reply at jboss.com Mon Jul 17 15:09:26 2006 From: do-not-reply at jboss.com (luism) Date: Mon, 17 Jul 2006 15:09:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released Message-ID: <25060169.1153163366831.JavaMail.jboss@colo-br-02.atl.jboss.com> I found that there are a couple of files, in addition to those specified by sverker, that should also be copied from EJB 3.0 RC8 - FD zip file, namely: copy both jboss-ejb3x.jar (in the lib/ejb3.deployer dir of the zip), trove.jar (in the lib/jboss-aop-jdk50.deployer dir of the zip) to $JBOSS_HOME/client; copy hibernate3.jar (in the lib dir of the zip) to $JBOSS_HOME/server/{profile}/lib. I believe this time there are no more files to copy! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958574#3958574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958574 From do-not-reply at jboss.com Mon Jul 17 15:09:49 2006 From: do-not-reply at jboss.com (kcopley) Date: Mon, 17 Jul 2006 15:09:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <22576202.1153163389414.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a planned release date for 1.2? Thanks, Kevin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958575#3958575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958575 From do-not-reply at jboss.com Mon Jul 17 15:10:16 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 15:10:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <23907630.1153163416216.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't believe you have the latest changes: private static Object handleFactoryMethodResult(String name, Component component, Object result, ScopeType scope) | { | Object value = Contexts.lookupInStatefulContexts(name); //see if a value was outjected by the factory method | if (value==null) //usually a factory method returning a value | { | if (scope==ScopeType.UNSPECIFIED) | { | if (component==null) | { | throw new IllegalArgumentException("no scope specified for factory method defined in components.xml: " + name); | } | else //an @Factory method defaults to the same scope as the component | { | scope = component.getScope(); | } | } | scope.getContext().set(name, result); | } | else //usually a factory method with a void return type | { | if (scope!=ScopeType.UNSPECIFIED) | { | throw new IllegalArgumentException("factory method with defined scope outjected a value: " + name); | } | } | return result; | } Use your debugger to step through this code if you really have it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958576#3958576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958576 From do-not-reply at jboss.com Mon Jul 17 15:16:29 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Mon, 17 Jul 2006 15:16:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <360385.1153163789566.JavaMail.jboss@colo-br-02.atl.jboss.com> Also Gavin please don't forget the annoying little Log4JLogger issue: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86058 Probably you already fixed it in CVS, but I just got things working with 1.0.1GA, so I'm going to avoid destabilizing my local build with latest CVS for a couple weeks :-) Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958577#3958577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958577 From do-not-reply at jboss.com Mon Jul 17 15:26:27 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 15:26:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM Message-ID: <17333588.1153164387051.JavaMail.jboss@colo-br-02.atl.jboss.com> No there is not. Although the structures we (the company I work for) need in jBPM are fairly limited since we have a dedicated 'file/dossier' system and jBPM just stores references to this dossier or som simple metadata. Some simple xslt or even simpeler xpath statements in te form of | = | works like a charm. Altova has some more complex desing things (which can generate xslt, javacode etc...) if you want to do moer complex things View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958580#3958580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958580 From do-not-reply at jboss.com Mon Jul 17 15:29:42 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 17 Jul 2006 15:29:42 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <521614.1153164582632.JavaMail.jboss@colo-br-02.atl.jboss.com> Nothing official as yet. All I can really say is "sometime this year". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958581#3958581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958581 From do-not-reply at jboss.com Mon Jul 17 15:34:45 2006 From: do-not-reply at jboss.com (pharvener) Date: Mon, 17 Jul 2006 15:34:45 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Jgroups errors using TreeCache Message-ID: <8202250.1153164885120.JavaMail.jboss@colo-br-02.atl.jboss.com> We are we using JBossCache 1.3 to cache distributed state in a clustered WebSphere application. We get the following jgroups execption the entire time the application is up. Any ideas? 14 Jul 2006 16:00:07 ERROR UDP mcast receiver org.jgroups.protocols.UDP - exception in processing incoming packet java.lang.NegativeArraySizeException at org.jgroups.Message.readFrom(Message.java(Compiled Code)) at org.jgroups.protocols.UDP.bufferToMessage(UDP.java(Inlined Compiled Code)) at org.jgroups.protocols.UDP.handleIncomingUdpPacket(UDP.java(Compiled Code)) at org.jgroups.protocols.UDP.run(UDP.java(Compiled Code)) at java.lang.Thread.run(Thread.java:567) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958582#3958582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958582 From do-not-reply at jboss.com Mon Jul 17 15:38:09 2006 From: do-not-reply at jboss.com (lcoetzee) Date: Mon, 17 Jul 2006 15:38:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <5116791.1153165089584.JavaMail.jboss@colo-br-02.atl.jboss.com> Jip. I think in this case it is more a case of getting Tomahawk working with Facelets. The whole thing falls apart in a specific class that was written to allow for the usage in Facelets. I will keep an eye on the Trinidad stuff. With regard to the current solution: I am still searching for good ways to handle the f:param for possible error handling.. with the @RequestParameter it gets converted to an int, but fails if somebody bookmarked and then changed the url (e.g. replacing the int with say a string... resulting in a number conversion exception). Any suggestions ? Regards Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958583#3958583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958583 From do-not-reply at jboss.com Mon Jul 17 15:39:01 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Mon, 17 Jul 2006 15:39:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Alternate UI for designing workflow in jBPM? Message-ID: <20408289.1153165141390.JavaMail.jboss@colo-br-02.atl.jboss.com> No there is nothing else than the Eclipse plugin at the moment. How would you like to create these workflows? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958584#3958584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958584 From do-not-reply at jboss.com Mon Jul 17 15:39:22 2006 From: do-not-reply at jboss.com (wconroy) Date: Mon, 17 Jul 2006 15:39:22 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Quartz Job scheduling Message-ID: <26472412.1153165162456.JavaMail.jboss@colo-br-02.atl.jboss.com> I am upgrading to 4.0.4.GA and I am having trouble with some quartz stuff. On the old version of JBoss, I deployed the quartz mbean (org.quartz.ee.jmx.jboss.QuartzService) myself and had an xml initializer file that I listed my jobs in. When I deploy now on 4.0.4.GA, I dont see my jobs being deployed (probably since the scheduler starts with different properties). How can I configure quartz in 4.0.4.GA so that it will read my initialization file? Also, what jndi name does the quartz service bind to and where is that configured. Maybe I am dense, but I cant seem to find it. Thanks, Bo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958585#3958585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958585 From do-not-reply at jboss.com Mon Jul 17 15:48:32 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 15:48:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning task instances to logical group Message-ID: <23036385.1153165712391.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, jboss installation was probably a to generic comment. You can install the jbpm 3.1.1 starterkit, copy the jbpm dir in the server dir e.g. make it a jbpm3.2 remove the jbpm sar and war files and just copy over the jbpm sar, war etc from your 3.2 build to their respective directories (the dirs where you removed the other files) The scripts for 3.2 will be adapted (I hope) do be able to do a clean local install to a clean jboss as 4.0x server (4.04 I think) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958588#3958588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958588 From do-not-reply at jboss.com Mon Jul 17 15:50:22 2006 From: do-not-reply at jboss.com (svetzal) Date: Mon, 17 Jul 2006 15:50:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Concurrent access to stateful beans Message-ID: <3321534.1153165822539.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, in thinking further on this issue really serializing requests would be evil. What we really want to do is keep the browser from submitting subsequent requests. Sounds like a JSF hack to me right now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958589#3958589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958589 From do-not-reply at jboss.com Mon Jul 17 15:54:07 2006 From: do-not-reply at jboss.com (cayo) Date: Mon, 17 Jul 2006 15:54:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - facesMessages and t:panelNavigation2 Message-ID: <26911342.1153166047145.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, first thanks for the great work on spring, it's a pleasure to work with it. Unfortunately I've had two little problems in the last weeks. The first one concerns the use of facesMessages after the successful injection into a bean. I'm turning the showDetails param to true in my jsf-message component and every time I use the facesMessages.addFromResourceBundle("xyz") the message is shown twice (the summary and the details are exactly the same). Icouldn't get it work to get the message only once. If I put al literal in the message instead of the resourceBundle-key it works fine. My second problem appears while using the t:panelNavigation2 component. It doesn't holds the state after a klick on it. So the activated menuItem doesn't show in fat letters or e.g. the dynamically opened menu is always again closed (as initialized). Is this probably a problem with the states in the phases of a faces request? Sorry for my bad english, I'm looking forward for some help. Thx!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958590#3958590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958590 From do-not-reply at jboss.com Mon Jul 17 15:54:39 2006 From: do-not-reply at jboss.com (AlAtaKe) Date: Mon, 17 Jul 2006 15:54:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ERROR IN org.jboss.portal.core.CoreController Object Nor Message-ID: <11372019.1153166079986.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Roy. Finally i can make the changes. but the portal not work. I change the portal-mysql-ds.xml file and now use portal-sqlserver-ds.xml The SQL Server driver is jtds-1.2 (like a portal-sqlserver-ds.xml sample file) The SQL Server Database is ok, tables, indexes, etc. exist. And my portal not work. the error is an 500 error. HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: No layout found for layout id generic org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:227) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) Can you help me again??? I can't startup my JBOSS Portal with SQL Server and MySQL Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958592#3958592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958592 From do-not-reply at jboss.com Mon Jul 17 15:55:09 2006 From: do-not-reply at jboss.com (cayo) Date: Mon, 17 Jul 2006 15:55:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <33309372.1153166109270.JavaMail.jboss@colo-br-02.atl.jboss.com> "cayo" wrote : Hello, | first thanks for the great work on seam, it's a pleasure to work with it. Unfortunately I've had two little problems in the last weeks. | | The first one concerns the use of facesMessages after the successful injection into a bean. I'm turning the showDetails param to true in my jsf-message component and every time I use the facesMessages.addFromResourceBundle("xyz") the message is shown twice (the summary and the details are exactly the same). Icouldn't get it work to get the message only once. If I put al literal in the message instead of the resourceBundle-key it works fine. | | My second problem appears while using the t:panelNavigation2 component. It doesn't holds the state after a klick on it. So the activated menuItem doesn't show in fat letters or e.g. the dynamically opened menu is always again closed (as initialized). Is this probably a problem with the states in the phases of a faces request? | | Sorry for my bad english, I'm looking forward for some help. Thx!! | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958593#3958593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958593 From do-not-reply at jboss.com Mon Jul 17 15:56:59 2006 From: do-not-reply at jboss.com (cayo) Date: Mon, 17 Jul 2006 15:56:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <25512803.1153166219794.JavaMail.jboss@colo-br-02.atl.jboss.com> bad mistake ... the described errors make me tired! Sorry for that! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958595#3958595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958595 From do-not-reply at jboss.com Mon Jul 17 15:58:31 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Mon, 17 Jul 2006 15:58:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <2653913.1153166311887.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I appear to have the latest. It looks like you return result, no matter what value is. According to the debugger value is the object I'm looking for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958597#3958597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958597 From do-not-reply at jboss.com Mon Jul 17 16:04:53 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 16:04:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <27971372.1153166693056.JavaMail.jboss@colo-br-02.atl.jboss.com> "lcoetzee" wrote : | I am still searching for good ways to handle the f:param for possible error handling.. with the @RequestParameter it gets converted to an int, but fails if somebody bookmarked and then changed the url (e.g. replacing the int with say a string... resulting in a number conversion exception). Any suggestions ? | http://jira.jboss.com/jira/browse/JBSEAM-305 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958598#3958598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958598 From do-not-reply at jboss.com Mon Jul 17 16:09:12 2006 From: do-not-reply at jboss.com (ezraepstein) Date: Mon, 17 Jul 2006 16:09:12 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <69429.1153166952037.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, the obvious turned out to be right: the CVS pull didn't bring down the 2.2 branch... Via FishEye I found the code I wanted to see... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958600#3958600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958600 From do-not-reply at jboss.com Mon Jul 17 16:12:09 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 16:12:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <16205061.1153167129622.JavaMail.jboss@colo-br-02.atl.jboss.com> We can't help you if you don't show code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958601#3958601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958601 From do-not-reply at jboss.com Mon Jul 17 16:15:01 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 16:15:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <9919601.1153167301489.JavaMail.jboss@colo-br-02.atl.jboss.com> Ooops. Yes, I screwed up. Should now be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958602#3958602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958602 From do-not-reply at jboss.com Mon Jul 17 16:18:28 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 17 Jul 2006 16:18:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: can not get user and password from header Message-ID: <30283463.1153167508730.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at the outbound soap request. Isn't username/password submitted as a proprietary jboss header? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958605#3958605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958605 From do-not-reply at jboss.com Mon Jul 17 16:21:03 2006 From: do-not-reply at jboss.com (cayo) Date: Mon, 17 Jul 2006 16:21:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <30951322.1153167663037.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I will post some code tomorrow. Now I'm at home and can't get it. I thought/hopped it cold be a known issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958606#3958606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958606 From do-not-reply at jboss.com Mon Jul 17 16:21:43 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 16:21:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature Message-ID: <24942565.1153167703234.JavaMail.jboss@colo-br-02.atl.jboss.com> If I design in GPD-3.0.9.2 and show it in JBPM 3.1.1 it is wrong, If I show the same processinstance in 3.2 it is aligned right..... don't know where this comes from and it could indeed have something to do with default sizes/resizing/grid or something. Please file a jira issue with the largest amound of info possible (including designer version) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958607#3958607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958607 From do-not-reply at jboss.com Mon Jul 17 16:23:15 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 17 Jul 2006 16:23:15 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: webservice runs on JBoss 4.0.3, throws exception on JBos Message-ID: <10627273.1153167795182.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://labs.jboss.com/portal/jbossws/user-guide/en/html/getting-started.html#message-endpoints. BTW, please don't yell in the forums. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958608#3958608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958608 From do-not-reply at jboss.com Mon Jul 17 16:28:41 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 17 Jul 2006 16:28:41 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: passing the burden of specifying namespace->pkg mapping Message-ID: <9020840.1153168121852.JavaMail.jboss@colo-br-02.atl.jboss.com> If you think this a serious issue, then please post your suggestions to the design forum, create a JIRA for it and go ahead and fix it: - http://www.jboss.org/index.html?module=bb&op=viewforum&f=174 - http://jira.jboss.org/jira/browse/JBWS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958609#3958609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958609 From do-not-reply at jboss.com Mon Jul 17 16:36:41 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 16:36:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <15181755.1153168601153.JavaMail.jboss@colo-br-02.atl.jboss.com> my (until know only personal) intention is to get the variable type in the pd as well and have an automagically generated form (as in 3.1) but WITH the correct input type). At least until the gpd supports some form generation, but still then, the info has to com from somewhere and I'm not keen on having multiple xml files (so we get an xml hell again where seam tries to prevent one) Personally (but that is Tom's choice) I'm not keen on having a forms.xml file with just the task name and a reference to a form in it. | |
    | | | | This will (probably) be augmented with variable names and their types so it will become | | | | | |
    | | |
    | ... | |
    |
    | and afterwards maybe even that the variable is extended with a 'limitation' e.g. a regexp or anything or even dependencies (if var 1 is filled out, var to is required too) but then the requiredness is in the pd and the rest in here. Or maybe a select-one-radio, select-one-list, select-multiple-list or any other 'view' type that is in JSF. I'm in favour of putting it all in the PD in the controler part, since it is specific to the implementation of the controller. hmm... this should be a jbpm-design forum thing.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958610#3958610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958610 From do-not-reply at jboss.com Mon Jul 17 16:42:20 2006 From: do-not-reply at jboss.com (kellyw) Date: Mon, 17 Jul 2006 16:42:20 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - How to configure JBoss AS to make it monitorable in JON serv Message-ID: <26038381.1153168940667.JavaMail.jboss@colo-br-02.atl.jboss.com> I have JON Server installed on one server, and JBoss AS runs on another server, both of them runs on the same subnet. I try to make JON to monitor this JBossAS, but failed. JON Server won't auto-discover JBossAS at all. >From JON documentation, I find this regarding JBossAS configuration, but could not figure out how to make it working: https://network.jboss.com/confluence/display/DOC/JBoss+Product+Configuration Does anyone working with JON before know how to configure JBoss AS to make it detectable by JON Server? which configuration file I need to modify both on JON server side and JBoss AS side? thanks very much for your help!! Kelly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958611#3958611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958611 From do-not-reply at jboss.com Mon Jul 17 16:44:48 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 16:44:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A question about jBPM console Message-ID: <24264548.1153169088307.JavaMail.jboss@colo-br-02.atl.jboss.com> are there any errors in the logging when it fails? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958612#3958612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958612 From do-not-reply at jboss.com Mon Jul 17 16:50:12 2006 From: do-not-reply at jboss.com (fruti) Date: Mon, 17 Jul 2006 16:50:12 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: can't deploy the demos Message-ID: <9967613.1153169412179.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, now everything works fine with jems-installer-1.2.0.BETA.jar. The mistake seems to be in jboss-4.0.4.GA-Patch1-installer.jar though. Previously I went like jboss.org and than took jump to project Seam, Getting started and I found "Patch1" to download. So "everything's changing":-) regards fruti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958613#3958613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958613 From do-not-reply at jboss.com Mon Jul 17 16:57:39 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 16:57:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: NullpointerException at ProcessInstance.signal() Message-ID: <3922472.1153169859417.JavaMail.jboss@colo-br-02.atl.jboss.com> Bert, In your code JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | ProcessInstance pi = graphSession.loadProcessInstance(processId); | process.signal(); You fill pi with the instance, but use process.signal(). A typo or the real cause? (I think the former) What is needed here is a full unit test to show the behaviour. That way we can simulate etc.... Besides that post ALL relevant info on your environment (jbpm version, jdk etc) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958614#3958614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958614 From do-not-reply at jboss.com Mon Jul 17 17:03:48 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 17 Jul 2006 17:03:48 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo Message-ID: <17196472.1153170228752.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Jochen, Sorry for the slow reply; I was on vacation the last 2 weeks. If you have the log files from 210, 211 and 214 and can zip them up and send to me at bstansberry at jboss dot com that would be good. Please include your cluster-service.xml file as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958615#3958615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958615 From do-not-reply at jboss.com Mon Jul 17 17:10:19 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 17 Jul 2006 17:10:19 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Where to specify custom LoadBalancePolicy? Message-ID: <27653381.1153170619537.JavaMail.jboss@colo-br-02.atl.jboss.com> If you are talking about EJB 2.x load balancing, please see Chapter 16 of the JBoss Application Server Guide available from http://labs.jboss.com/portal/jbossas/docs . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958619#3958619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958619 From do-not-reply at jboss.com Mon Jul 17 17:14:57 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 17:14:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <17294900.1153170897129.JavaMail.jboss@colo-br-02.atl.jboss.com> The situation is not uncommon, the way you model it is. Look at the workflow patterns site to see what comes close, look at the jbpm testcases for these patterns and think out of the box, model it differently. Or create custom pages with just one transition in it. jBPM currently does not do evertything automagically, nor will it ever fully do. Things to consider: - set a variable in each task, have just one transition - use a decision to direct the process Again, dare thinking out of the box. If it does not seem to work in the way you did it, maybe you should do it differently View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958620#3958620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958620 From do-not-reply at jboss.com Mon Jul 17 17:17:11 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 17:17:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: automatic generation of form Message-ID: <27028970.1153171031514.JavaMail.jboss@colo-br-02.atl.jboss.com> if you have enough webwork knowledge you can probably achieve the same functionality without using faceletst. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958621#3958621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958621 From do-not-reply at jboss.com Mon Jul 17 17:23:06 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 17 Jul 2006 17:23:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0 Message-ID: <17244263.1153171386468.JavaMail.jboss@colo-br-02.atl.jboss.com> Olivier, Thanks for pointing this out. It is indeed insteresting. Kan you file a jira issue for this? Assign it to the GPD but put a reference in there that the correct commons-fileupload should be available in the webapp. I wonder if the ; is accepted by the 1.0 version of commons-fileupload as well. Can you try that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958623#3958623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958623 From do-not-reply at jboss.com Mon Jul 17 17:24:29 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Mon, 17 Jul 2006 17:24:29 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <13139443.1153171469109.JavaMail.jboss@colo-br-02.atl.jboss.com> Our application specifies the "isolation from other deployments" scope by defining a loader-repository in jboss-app.xml. If we change our deployment to use a flat class loading model, then the above works; otherwise, I have to specify an absolute file path instead of resources on the CLASSPATH, e.g. @HandlerChain(file = "file://C:/temp/ServerHandlers.xml", name = "SecureHandlerChain") in order to get WSSE to work with JSR-189 endpoint. Looks like another candidate for a JIRA issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958624#3958624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958624 From do-not-reply at jboss.com Mon Jul 17 17:27:56 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Mon, 17 Jul 2006 17:27:56 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <606566.1153171676359.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes I did grab the latest from JBoss and re-built both JBoss and JBossWS. I think I might know what the problem is. Our application specifies the "isolation from other deployments" scope by defining a loader-repository in jboss-app.xml. It looks like whatever classloader JBoss uses to load the handler chain resource can not see resources packaged in our ear. If we change our deployment to use a flat class loading model, then the above works; otherwise, I have to specify an absolute file path instead of resources on the CLASSPATH, e.g. @HandlerChain(file = "file://C:/temp/ServerHandlers.xml", name = "SecureHandlerChain") in order to get WSSE to work with JSR-189 endpoint. Looks like another candidate for a JIRA issue? Thanks, Yi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958625#3958625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958625 From do-not-reply at jboss.com Mon Jul 17 17:28:51 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Mon, 17 Jul 2006 17:28:51 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <28165083.1153171731098.JavaMail.jboss@colo-br-02.atl.jboss.com> Oops, sorry for the double post. fat fingers... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958626#3958626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958626 From do-not-reply at jboss.com Mon Jul 17 17:52:11 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Mon, 17 Jul 2006 17:52:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <28535215.1153173131760.JavaMail.jboss@colo-br-02.atl.jboss.com> All better now. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958628#3958628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958628 From do-not-reply at jboss.com Mon Jul 17 18:04:01 2006 From: do-not-reply at jboss.com (lafr) Date: Mon, 17 Jul 2006 18:04:01 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Using LIMIT in EJBQL Message-ID: <11971643.1153173841320.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIK LIMIT is not part of EJBQL but an JBoss extension. See e.g. http://www.coredevelopers.net/library/jboss/cmp/ejbql.jsp and http://xdoclet.sourceforge.net/xdoclet/tags/jboss-tags.html#@jboss_query__0____. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958629#3958629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958629 From do-not-reply at jboss.com Mon Jul 17 18:38:29 2006 From: do-not-reply at jboss.com (SergeySmirnov) Date: Mon, 17 Jul 2006 18:38:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam + Ajax4jsf Message-ID: <32205013.1153175909137.JavaMail.jboss@colo-br-02.atl.jboss.com> Ajax4jsf does not require any specific state saving method. I.e. both client and server methods are acceptable. -- Sergey : Ajax4jsf team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958631#3958631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958631 From do-not-reply at jboss.com Mon Jul 17 19:43:25 2006 From: do-not-reply at jboss.com (EstrellaRichardson) Date: Mon, 17 Jul 2006 19:43:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Dynamic lookup for wsdl-java config file Message-ID: <21245369.1153179805477.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a way in the wsdl-java config file to make the path of the .wsdl file more dynamic? We are using the wstools ant task and as long as we runing ant from a particular directory, everything works fine - this is our base build file. Then our base build file is called from another ant build file in a different directory, thus changing the working directory. So when our base build file is called from our master build file, the build no longer works because the wstools wsdl-java config file can no longer locate the wsdl with the relative path reference. Using an absolute path is not an option because the path could change depending on the machine that the code is built on. Is there any solution to this problem? Working on a very tight deadline, which I am sure you can relate to. I would very much appreciate a quick reply. Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958632#3958632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958632 From do-not-reply at jboss.com Mon Jul 17 19:49:09 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 17 Jul 2006 19:49:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam + Ajax4jsf Message-ID: <12818625.1153180149415.JavaMail.jboss@colo-br-02.atl.jboss.com> Thats good news. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958633#3958633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958633 From do-not-reply at jboss.com Mon Jul 17 21:02:25 2006 From: do-not-reply at jboss.com (jumpfroggy) Date: Mon, 17 Jul 2006 21:02:25 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: [deploymentinfo] and temporary files Message-ID: <33027059.1153184545532.JavaMail.jboss@colo-br-02.atl.jboss.com> I also have this problem, jboss cannot delete the temp files. Sometimes I can reload the war file and jboss will pick it up, but most of the time I have to stop and then restart the server otherwise it locks up due to this error. Is there any way to fix it, or is there any way to unload the app so the files aren't being used? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958634#3958634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958634 From do-not-reply at jboss.com Mon Jul 17 21:06:27 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 17 Jul 2006 21:06:27 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <28361306.1153184787904.JavaMail.jboss@colo-br-02.atl.jboss.com> Marcel, Is this the same problem or a similar problem. Please be specific about your usage and error log (or stack trace). Thanks, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958635#3958635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958635 From do-not-reply at jboss.com Mon Jul 17 21:28:39 2006 From: do-not-reply at jboss.com (anatoly.osiko) Date: Mon, 17 Jul 2006 21:28:39 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Dynamic lookup for wsdl-java config file Message-ID: <22636303.1153186119234.JavaMail.jboss@colo-br-02.atl.jboss.com> If I get your problem right, I'd suggest to use Ant's filters with the substitution placeholder, e.g. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958636#3958636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958636 From do-not-reply at jboss.com Mon Jul 17 21:32:36 2006 From: do-not-reply at jboss.com (anatoly.osiko) Date: Mon, 17 Jul 2006 21:32:36 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Dynamic lookup for wsdl-java config file Message-ID: <31804316.1153186356528.JavaMail.jboss@colo-br-02.atl.jboss.com> .... resending with the fixed formatting .. If I get your problem right, I'd suggest to use Ant's filters with the substitution placeholder, e.g. | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958637#3958637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958637 From do-not-reply at jboss.com Mon Jul 17 21:47:23 2006 From: do-not-reply at jboss.com (wnss8888) Date: Mon, 17 Jul 2006 21:47:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - How to modify application.xml? Message-ID: <5602091.1153187243685.JavaMail.jboss@colo-br-02.atl.jboss.com> i have a ear.and two war in it. i use jmx-console Maindeployer to undeploy the one war.but the application.xml can't modify by jboss. why? how can i config it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958638#3958638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958638 From do-not-reply at jboss.com Mon Jul 17 22:02:10 2006 From: do-not-reply at jboss.com (eborisow) Date: Mon, 17 Jul 2006 22:02:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Error when installing jBPM on Eclipse 3.2 Message-ID: <12726073.1153188130430.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Bert, Updating the version to 3.0.10 worked. Thanks, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958640#3958640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958640 From do-not-reply at jboss.com Mon Jul 17 23:20:22 2006 From: do-not-reply at jboss.com (matafy) Date: Mon, 17 Jul 2006 23:20:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - parse workflow definition to picture? Message-ID: <9927445.1153192822909.JavaMail.jboss@colo-br-02.atl.jboss.com> Does jbpm offer us some apis to parse jpbm workflow definitions to a picture? Jbpm eclipse IDE offer this function but I need to do this in my code:( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958643#3958643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958643 From do-not-reply at jboss.com Mon Jul 17 23:42:50 2006 From: do-not-reply at jboss.com (sandipan.biswas@gmail.com) Date: Mon, 17 Jul 2006 23:42:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - MBeanRegistrationException in jboss(any one can help me) Message-ID: <7781612.1153194170313.JavaMail.jboss@colo-br-02.atl.jboss.com> when i stared to install jboss ,it throwing MBeanException.I used j2sdk1.5. I am giving the log file bellow.can any one help me 17/07/2006 01:06 09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp 09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/ 09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/ 09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml 09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)... 09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] 09:20:16,284 DEBUG [Server] Failed to start java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315) at org.jboss.Main.boot(Main.java:195) at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:566) Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200) ... 8 more Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean at javax.management.modelmbean.ModelMBeanInfoSupport.get View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958644#3958644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958644 From do-not-reply at jboss.com Mon Jul 17 23:47:27 2006 From: do-not-reply at jboss.com (rt_s) Date: Mon, 17 Jul 2006 23:47:27 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: java-wsdl conversion for Custom Exception Message-ID: <24754415.1153194447312.JavaMail.jboss@colo-br-02.atl.jboss.com> hi bernd, as i noted in my post..wstools seemed to be looking for a constructor of type : anonymous wrote : | [wstools] java.lang.IllegalArgumentException: Could not locate a constructor with the following types: class com.testservice.exception.MyCustomException [class [Ljava.lang.String;, class java.lang.String, int] | so i changed the order of my parameterized constructor accordingly and it works. but still don't know why wstools is looking for a constructor in that specific order! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958645#3958645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958645 From do-not-reply at jboss.com Mon Jul 17 23:59:10 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 17 Jul 2006 23:59:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Lazy / dynamic POJO properties supported in cache? Message-ID: <3182499.1153195150599.JavaMail.jboss@colo-br-02.atl.jboss.com> Guss you will need to provide more details for people to offer comments. But I have two initial ones here: 1. Check into passivation feature in JBC. The cache get will only retrieve the data from the file store if it is not in-memory. 2. Check into PojoCache. Maybe thefine-grained replication and distributed object graph can help out. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958646#3958646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958646 From do-not-reply at jboss.com Tue Jul 18 00:10:23 2006 From: do-not-reply at jboss.com (kishorebh) Date: Tue, 18 Jul 2006 00:10:23 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Future Delivery of a message Message-ID: <21482420.1153195823457.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I am new to this forum. I Hope that I can get a solution to the problem that is bugging me for a long time. I need a mechanism where a JMS message can be created instantly as required but delivered in the future. I mean I will create a JMS message and must be able to specify the exact amount of time after which it has to be delivered. Please note that the amount of time may vary depending on the content of the messsage. Can you please help me to take over this problem? Thank You, Kishore. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958647#3958647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958647 From do-not-reply at jboss.com Tue Jul 18 00:40:12 2006 From: do-not-reply at jboss.com (genman) Date: Tue, 18 Jul 2006 00:40:12 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Future Delivery of a message Message-ID: <28824493.1153197612986.JavaMail.jboss@colo-br-02.atl.jboss.com> Look for scheduled message delivery using search. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958650#3958650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958650 From do-not-reply at jboss.com Tue Jul 18 01:31:16 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 18 Jul 2006 01:31:16 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Future Delivery of a message Message-ID: <24092579.1153200676191.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the comment by "schrouf" Posted: Fri Nov 4, 2005 06:19 AM at: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=71870 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958651#3958651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958651 From do-not-reply at jboss.com Tue Jul 18 01:31:28 2006 From: do-not-reply at jboss.com (lcoetzee) Date: Tue, 18 Jul 2006 01:31:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested datatables with s:link Message-ID: <21238951.1153200688628.JavaMail.jboss@colo-br-02.atl.jboss.com> Excellent. thanks Gavin. Later Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958652#3958652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958652 From do-not-reply at jboss.com Tue Jul 18 01:32:21 2006 From: do-not-reply at jboss.com (beep_beep) Date: Tue, 18 Jul 2006 01:32:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - beans collaboration in session Message-ID: <26417243.1153200741487.JavaMail.jboss@colo-br-02.atl.jboss.com> I have very fundamental problem with EJB3 and may be with EJB at all. I need setup beans conversation in session. Is it possible to create pattern when several SfSB collaborate with each other in session and keep their state? That means : Bean A has reference to beans B and C, B has reference to C and A, C has reference to A and B. They must share some object to do that? Have you some idea? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958653#3958653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958653 From do-not-reply at jboss.com Tue Jul 18 01:33:54 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 01:33:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Transactions fail due to confiuration of Persistence Message-ID: <24592872.1153200834437.JavaMail.jboss@colo-br-02.atl.jboss.com> The configuration for the HiLo stuff is in deploy/uuid-key-generator.sar/META-INF/jboss-service.xml. I think that's really I'm able to add on this topic. I've been using Oracle10g with jBPM, and I left HSQL deployed for some of that junk like the HiLo, and I haven't noticed any issues with jBPM or the identity component. I'll try to look more closely as time permits, unless of course someone else comes to the rescue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958654#3958654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958654 From do-not-reply at jboss.com Tue Jul 18 01:49:24 2006 From: do-not-reply at jboss.com (Jabberwocky) Date: Tue, 18 Jul 2006 01:49:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences Message-ID: <32158108.1153201764409.JavaMail.jboss@colo-br-02.atl.jboss.com> I've just make some tests with Seam 1.0.1GA ajax4jsf 1.0rc2 Facelets 1.1.11 It looks like working. Echo Example: #{bean} is Seam stateful EJB | | | | | | | | | | | | | | | | | | | | | | Another test with and AJAX reRendered is also working. Here is my web.xml | | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | | | org.ajax4jsf.VIEW_HANDLERS | com.sun.facelets.FaceletViewHandler | | | | Ajax4jsf Filter | ajax4jsf | org.ajax4jsf.Filter | | | ajax4jsf | Faces Servlet | REQUEST | FORWARD | INCLUDE | | | | | | | | facelets.REFRESH_PERIOD | 2 | | | | facelets.DEVELOPMENT | true | | | | facelets.SKIP_COMMENTS | true | | | | | | | | javax.faces.STATE_SAVING_METHOD | client | | | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | Faces Servlet | *.jsf | | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | | in faces-config.xml just seam, facelets view-handler declared in web.xml | | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener | | But I've got another problem. In some time after AJAX request WARN on console like this: 08:16:55,580 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=cam-79/754, BranchQual=, localId=754] timed out. status=STATUS_ACTIVE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958655#3958655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958655 From do-not-reply at jboss.com Tue Jul 18 01:52:24 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 01:52:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <4594988.1153201944704.JavaMail.jboss@colo-br-02.atl.jboss.com> So first off, sorry for the delay...very busy with work stuff. Second, I'm not sure what you mean when you ask about using the identitySession to commit transactions. I call IdentitySession methods, that's it. Hibernate takes care of all that stuff in the background. I responded to the thread you referenced, but my response isn't much help right now. Ok, here is what I did for deleting Users. I added a method called deleteUserByName(String ) to the IdentitySession class, which is as follows: public void deleteUserByName(String userName) { | User user = getUserByName(userName); | session.delete(user); | } And here is the method I have in a class of mine where I call this: public void deleteUser(String userName) | { | JbpmContext jbpmContext = _jbpmConfig.createJbpmContext(); | try | { | IdentitySession idSession = new IdentitySession(jbpmContext.getSession()); | idSession.deleteUserByName(userName); | } | finally | { | jbpmContext.close(); | } | } As for the cascade changes, give me a bit to do a diff, and then I'll post that information as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958656#3958656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958656 From do-not-reply at jboss.com Tue Jul 18 02:09:41 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 02:09:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <24220657.1153202981676.JavaMail.jboss@colo-br-02.atl.jboss.com> As promised, here are the hibernate cascade changes. All the identity hibernate mapping files I changed can be found in the jBPM source directory src\java.identity\org\jbpm\identity. In User.hbm.xml, change to In Group.hbm.xml, change to In Membership.hbm.xml, change | to | Bear in mind that I have absolutely zero experience with Hibernate. I was only able to tweak these settings after checking out a website that my boss sent me, which I unfortunately did not bookmark (so I can't pass it along). But I'm sure a Google search can help elucidate these cascade settings if you have questions about them. And maybe someone smart like Ronald or Koen might stumble across this and point out that I've done something terribly wrong. All I know is that these changes worked for me to accomplish what I needed to add to jBPM (running with Oracle10g to boot). I've added other methods to the IdentitySession class as well if you have any other needs, but you could also try taking a stab at writing the methods based on my example and the others that already exist...which is what I did. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958657#3958657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958657 From do-not-reply at jboss.com Tue Jul 18 02:12:49 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 02:12:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: parse workflow definition to picture? Message-ID: <29025267.1153203169533.JavaMail.jboss@colo-br-02.atl.jboss.com> I think this may be mentioned in another topic, but I believe the image uses Eclipse APIs to generate the image, and there does not exist a jBPM method of accomplishing this. However, when you deploy a process, this image is deployed with the process by default and is available from the database...if that helps you at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958658#3958658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958658 From do-not-reply at jboss.com Tue Jul 18 02:30:49 2006 From: do-not-reply at jboss.com (cayo) Date: Tue, 18 Jul 2006 02:30:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <19050777.1153204249190.JavaMail.jboss@colo-br-02.atl.jboss.com> First the thing with the messages: anonymous wrote : | | | | above the declaration which is inserted in a facelets template like this: anonymous wrote : | | | | | | and used in the source like this: anonymous wrote : | @In(create=true) | private transient FacesMessages facesMessages; | | ... | | facesMessages.addFromResourceBundle("msg.info.6"); | | or | | facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN, "msg.warn.2"); | The message "msg..." is found in the resourceBundle which is declared in the seam.properties and displayed twice in one row on the screen. If I don't use a message from the bundle it works correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958660#3958660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958660 From do-not-reply at jboss.com Tue Jul 18 02:38:13 2006 From: do-not-reply at jboss.com (vishal_salian) Date: Tue, 18 Jul 2006 02:38:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Alternate UI for designing workflow in jBPM? Message-ID: <33168240.1153204693374.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Koen, We are looking at a browser based UI which would enable users to create workflow and call our custom business methods via that workflow. Thanks, Vishal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958661#3958661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958661 From do-not-reply at jboss.com Tue Jul 18 02:41:27 2006 From: do-not-reply at jboss.com (markfrench) Date: Tue, 18 Jul 2006 02:41:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - JBoss 4.0.4, EJB8 and Seam 1.0.1GA Message-ID: <30958352.1153204888011.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to migrate our existing seam app to JBoss 4.0.4 and EJB8 using the individual zips not the installer. Does seam 1.0.1GA work with this combination as I'm getting errors about not being able to find a sun class called FacletViewHandler when deploying? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958662#3958662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958662 From do-not-reply at jboss.com Tue Jul 18 02:46:27 2006 From: do-not-reply at jboss.com (cayo) Date: Tue, 18 Jul 2006 02:46:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <22518845.1153205187122.JavaMail.jboss@colo-br-02.atl.jboss.com> And the problem with rendering the navigation: the code from the facelets template: anonymous wrote : | | | | | | | | the inserted navigationmenu.xhtml anonymous wrote : | |
    | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the web.xml is configured correctly, every t:-component is use works fine including the navigation. It only initializes after ervery rendering and doesn't hold the state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958663#3958663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958663 From do-not-reply at jboss.com Tue Jul 18 02:53:30 2006 From: do-not-reply at jboss.com (sspr) Date: Tue, 18 Jul 2006 02:53:30 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Information about JBoss Queue Message-ID: <7580399.1153205610077.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I need to develope an application that enables communication between MSMQ's and JBoss Queues. I am an newbie to JBoss. So first I need to know few things about JBoss Queues 1. What are JBoss Queues 2. Are they Language dependent/independent 3. Are they Platform dependent/independent 4. Can there be communication from a VC application with these queue Can anyone suggest some tutorials for the JBoss Queues View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958664#3958664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958664 From do-not-reply at jboss.com Tue Jul 18 03:00:23 2006 From: do-not-reply at jboss.com (raj_n) Date: Tue, 18 Jul 2006 03:00:23 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - direct access to hypersonic db Message-ID: <21675242.1153206023635.JavaMail.jboss@colo-br-02.atl.jboss.com> I am evaulating JBoss for the server part of a client-server system. As well as controlling session managament for clients, the server has to process large volumes of data. I am trying to find out if I can access the embedded Hypersonic db directly, and then read/write to it using JDBC. I want to do this because each transaction for a client may involve lots of database rows. I need the speed, and mapping the rows to entity objects makes no sense in the application's context. Does anyone know of any information relating to direct use of the db from within ejb's or pojo's running in the server? Raj. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958665#3958665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958665 From do-not-reply at jboss.com Tue Jul 18 03:07:35 2006 From: do-not-reply at jboss.com (kazam) Date: Tue, 18 Jul 2006 03:07:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remove or Delete User - Group from Identity store Message-ID: <4393132.1153206455134.JavaMail.jboss@colo-br-02.atl.jboss.com> Great! Thanks for your help David. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958666#3958666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958666 From do-not-reply at jboss.com Tue Jul 18 03:10:43 2006 From: do-not-reply at jboss.com (bdepaz) Date: Tue, 18 Jul 2006 03:10:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: NullpointerException at ProcessInstance.signal() Message-ID: <3092605.1153206643690.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, The pi - process was a typo indeed, sorry about that :-) However, you set me on the right path in order to find my error: basically i took the sample database unit test from the userguide and just copied my custom code in that until I noticed any difference. What I did wrong: I neglected to call the jbpmContext.save() and jbpmContext.close() method in my business methods. I did this because I previously stumbled upon some transaction conflicts running in J2EE environment. I assumed these were not necessairy when running with JTA enabled. Presumably, I was wrong :-) I beleive that was the main cause of my error here. Thanks for your time! Bert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958667#3958667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958667 From do-not-reply at jboss.com Tue Jul 18 03:11:50 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 03:11:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: parse workflow definition to picture? Message-ID: <4632666.1153206710889.JavaMail.jboss@colo-br-02.atl.jboss.com> it is indeed answered multiple times in the forum, but you answer is correct. The GPD uses eclipse api's (more specifically GEF if i'm correct) to generate the images View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958668#3958668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958668 From do-not-reply at jboss.com Tue Jul 18 03:15:43 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 03:15:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: NullpointerException at ProcessInstance.signal() Message-ID: <27961512.1153206943592.JavaMail.jboss@colo-br-02.atl.jboss.com> That would have been my second suggestion. Great that it works now and thanks for reporting back View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958669#3958669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958669 From do-not-reply at jboss.com Tue Jul 18 03:19:11 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 18 Jul 2006 03:19:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Webapp has Incorrect red highlight feature Message-ID: <2762394.1153207151190.JavaMail.jboss@colo-br-02.atl.jboss.com> It is a bug in the designer... The position of the node is set in the graphical info file but not the dimension. To work around it, you should currently after dropping a node on the canvas move it a little bit. And indeed, file a jira issue so I don't forget to fix it... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958670#3958670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958670 From do-not-reply at jboss.com Tue Jul 18 03:19:38 2006 From: do-not-reply at jboss.com (kdeboer) Date: Tue, 18 Jul 2006 03:19:38 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <18590461.1153207178472.JavaMail.jboss@colo-br-02.atl.jboss.com> I am suprised that this is related to clustering. What i would like to see (and expected) is the following: Always write and read from a local queue and the distributed channel forwards the message transparently to the queye on the target node (or cluster). So the messages can be read locally insted of using remote JNDI references with the chance of network failure which you want to prevent using messaging software. Or am i completely confused? Thanx karl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958671#3958671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958671 From do-not-reply at jboss.com Tue Jul 18 03:22:27 2006 From: do-not-reply at jboss.com (cayo) Date: Tue, 18 Jul 2006 03:22:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss 4.0.4, EJB8 and Seam 1.0.1GA Message-ID: <28258003.1153207347341.JavaMail.jboss@colo-br-02.atl.jboss.com> The class com.sun.facelets.FaceletViewHandler is referenced in the faces-config.xml. Have you got the facelets jar's in your app-war? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958673#3958673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958673 From do-not-reply at jboss.com Tue Jul 18 03:27:42 2006 From: do-not-reply at jboss.com (jcoffee) Date: Tue, 18 Jul 2006 03:27:42 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: No pooling for stateless session beans with JBoss 4.0.4 Message-ID: <7932209.1153207662337.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok - now we have a new JIRA entry: http://jira.jboss.com/jira/browse/EJBTHREE-653 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958674#3958674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958674 From do-not-reply at jboss.com Tue Jul 18 03:28:28 2006 From: do-not-reply at jboss.com (abosch) Date: Tue, 18 Jul 2006 03:28:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - is bindings.xml mandatory? Message-ID: <25898018.1153207708515.JavaMail.jboss@colo-br-02.atl.jboss.com> hi! im using 3.2.7 version of jboss and i want to run multiple instances. is mandatory to use a bindings.xml file or is enough with specifying diferent ports in jboss-service.xml of each instance? thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958675#3958675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958675 From do-not-reply at jboss.com Tue Jul 18 03:29:41 2006 From: do-not-reply at jboss.com (gelrad) Date: Tue, 18 Jul 2006 03:29:41 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Creating a JSR181 service from Java. Message-ID: <15723436.1153207781082.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the minimal work to create a JSR181 service from Java. In the examples and guide they use WSDLtoJAVA, and no full example how it is done the other way. The main question is how to generte is endpoint from the annotated java. As far as i understand JSR181 should enable generation of the endpoint. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958676#3958676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958676 From do-not-reply at jboss.com Tue Jul 18 03:31:03 2006 From: do-not-reply at jboss.com (gnulp) Date: Tue, 18 Jul 2006 03:31:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Complex Id and Joined Inheritance Message-ID: <25527331.1153207863528.JavaMail.jboss@colo-br-02.atl.jboss.com> any feedback on that issue ? I have the same exception ... it seems not to be possible to derive from a class as well as having a relation on the same class ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958677#3958677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958677 From do-not-reply at jboss.com Tue Jul 18 03:32:00 2006 From: do-not-reply at jboss.com (Hoagiex) Date: Tue, 18 Jul 2006 03:32:00 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate Inheritence: Reverse design concept problem. Message-ID: <5939998.1153207920506.JavaMail.jboss@colo-br-02.atl.jboss.com> bump? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958678#3958678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958678 From do-not-reply at jboss.com Tue Jul 18 03:36:57 2006 From: do-not-reply at jboss.com (jklanka) Date: Tue, 18 Jul 2006 03:36:57 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - JAAS image problem Message-ID: <20606519.1153208217497.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running a J2EE application on JBOSS container. I have configured JAAS authentication and it is successfull. FORM Forutne PromoSeven /login.htm /loginerror.htm But in the login.htm page if I place a tag to place a logo. It is not displaying. The URL for the image http://localhost:8080/MyApp/images/company_logo.gif But after Logged in I can access the url and displaying the picture. I realised it is not displaying any subfolder contents until I logged in. But I need to place a image in the login page ..
    ... Why this images/company_logo.jpg is not displaying even it is there in the MyApp.ear package. Please help on this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958679#3958679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958679 From do-not-reply at jboss.com Tue Jul 18 03:38:27 2006 From: do-not-reply at jboss.com (roberto) Date: Tue, 18 Jul 2006 03:38:27 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <25576945.1153208307896.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) I have cookies enabled 2) The message "SSO cookies is not present" occurs also with BASIC Authentication Maybe can be useful know that i'm running on Windows Server 2003 Enterprise x64 Edition SP1 with JDK 1.5.0_07 64 bit edition Instead Apache and mod-Jk is 32 bit version Thank You View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958680#3958680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958680 From do-not-reply at jboss.com Tue Jul 18 04:03:18 2006 From: do-not-reply at jboss.com (matafy) Date: Tue, 18 Jul 2006 04:03:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: parse workflow definition to picture? Message-ID: <6152994.1153209798444.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, hosierdm. Could you tell me which table is the image stored? I can't find it. Thanks very much.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958685#3958685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958685 From do-not-reply at jboss.com Tue Jul 18 04:08:52 2006 From: do-not-reply at jboss.com (amit_verma22) Date: Tue, 18 Jul 2006 04:08:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problem with business days for duedate attribute of task Message-ID: <13765030.1153210132471.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Ronald, I have created a jira issue-697 for this and attached file DayPart.java and BusinessCalendarTest.java. The BusinessCalendarTest file contains a new method "testBusinessDurationAdditionOverWeekendBreakFixForDayPartAddMethod" to test the said issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958686#3958686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958686 From do-not-reply at jboss.com Tue Jul 18 04:11:25 2006 From: do-not-reply at jboss.com (kearns) Date: Tue, 18 Jul 2006 04:11:25 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <15173581.1153210285379.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, The jsp page where the client enters the data is shown below. You will see that I extract the credential 'customer id' from the subject to use in a call to a BankMgr Bean via a delegate (BankMgrDelegate). The BankMgr bean is in the 'securBankDomain' which uses the CustomServerLogin module to map the 'customer id' credential to a role. Specific roles have access to specific methods. <% if (request.getParameter("user") == null) { %> <% } else { // just so you can see the debug messages //System.setOut(new PrintStream(response.getOutputStream())); try { // Get the form's username & password fields // String user = request.getParameter("user"); String pass = request.getParameter("pass"); // Use the username/password to initialize the // callback handler and then do the authentication. // PassiveCallbackHandler cbh = new PassiveCallbackHandler(user, pass); LoginContext lc = new LoginContext("Example", cbh); lc.login(); // Loop through all Principals and Credentials. // Iterator it = lc.getSubject().getPrincipals().iterator(); while (it.hasNext()) out.println("Authenticated: " + it.next().toString() + ""); // as the credential is not any specific class, but can be any object the type is // past as an augument. Here RdbmsPrinciple extends java.util.Properties. it = lc.getSubject().getPublicCredentials(Properties.class).iterator(); out.println("Credentials: "); String id = null; Properties credential = null; while (it.hasNext()) credential = (Properties)it.next(); id = credential.getProperty("customer id"); out.println(credential.toString()); // initialise bank manager delegate BankMgrDelegate bankMgrDelegate = new BankMgrDelegate(); bankMgrDelegate.init(); // call BankMgr bean if (id != null) { int custId = Integer.parseInt(id); try { out.println(bankMgrDelegate.getCustomerData(custId).toString()); } catch (Exception e) { out.println("jaas: call BankMgr bean - "+e.getMessage()); } } else { out.println("Controller: processRequest - INVALID parameter *** userId ***"); } lc.logout(); } catch (Exception e) { out.println("Caught Exception: " + e); } } %> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958687#3958687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958687 From do-not-reply at jboss.com Tue Jul 18 04:18:39 2006 From: do-not-reply at jboss.com (MikeyR) Date: Tue, 18 Jul 2006 04:18:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Using Oracle 9i Message-ID: <1018046.1153210719624.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Studie, We solved the problem using the Oracle 10 version driver. This allowed us to carry on use the thin driver (try to use this if possible as the OCI driver is more difficult to set up !) What confussed us was that the name of the oracle driver is the same, "objdbc14.jar" even if it is the version is 8, 9i or 10. If you download the latest driver from the Oracle site, then you should be ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958688#3958688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958688 From do-not-reply at jboss.com Tue Jul 18 04:27:54 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 04:27:54 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <13167426.1153211274898.JavaMail.jboss@colo-br-02.atl.jboss.com> A distributed destination is a queue or topic that is distributed across the cluster, so you can send /receive messages to/from the destination while attached to any node in the cluster. This is the core ingredient of clustering. It's a clustered destination. What you're thinking of sounds like store and forward (http://en.wikipedia.org/wiki/Store_and_forward) which we'll be doing some time after 1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958689#3958689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958689 From do-not-reply at jboss.com Tue Jul 18 04:33:56 2006 From: do-not-reply at jboss.com (jactor) Date: Tue, 18 Jul 2006 04:33:56 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <5912420.1153211636652.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanx! After looking a bit on the trailblazer, it confirmed your story. But still... What am I doing wrong... The trailblazer: anonymous wrote : To deploy the entity beans in an application, you can just package their class files in a JAR file. The EJB 3.0 specification also requires a persistence.xml file in the META-INF directory of the JAR file. The persistence.xml file defines which database is used with those entity beans and specifies the default behavior of the EntityManager. In my deploy nothing happens. The server do not react to concept.jar being copied to the deploy folder. The jar has a META-INF folder and has a MANIFEST.FS and a persistence.xml there. But nothing... Ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958690#3958690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958690 From do-not-reply at jboss.com Tue Jul 18 04:34:35 2006 From: do-not-reply at jboss.com (chanyungwan) Date: Tue, 18 Jul 2006 04:34:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Singleton Failover Message-ID: <3150038.1153211675631.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a jboss cluster with 2 members. The OS is Redhat Linux Advanced Server 4 and the jboss version is 3.2.5. There are 3 singletons being put in deploy-hasingleton folder in each member. I want to test the singleton failover in this cluster and 2 cases are observed: 1) In the master node, I use the command "ps -auxwww | grep run.sh' to kill the jboss service, the 3 singletons can be launched in the 2nd node within 2 minutes and it is acceptable for us. 2) In the master node, I quit the jboss service using normal exit, i.e."Ctrl-C". However, the 3 singletons can also be launched in the 2nd node but it almost needs 10 - 15 minutes to complete the launching process. I tried to decrease the value of the linux kernel parameters like /proc/sys/net/ipv4/tcp_rmem or /proc/sys/net/ipv4/tcp_wmem or /proc/sys/net/ipv4/tcp_retries2, but none of them help. Please give an advice on tackling the 2nd case timing issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958691#3958691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958691 From do-not-reply at jboss.com Tue Jul 18 04:34:53 2006 From: do-not-reply at jboss.com (seemap) Date: Tue, 18 Jul 2006 04:34:53 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - deployment of EJB in jboss 4 Message-ID: <23393820.1153211693349.JavaMail.jboss@colo-br-02.atl.jboss.com> I am learning EJB from one of the book and got stuck on the deployment of first EJB . It is stateful Session Bean the jboss.xml is SignOnEJB day05/SignOnHome ejb-jar.xml is SignOnEJB day05.SignOnHome day05.SignOn day05.SignOnEJB Stateless Container student java.lang.String password student1 java.lang.String password1 This book is Jboss 3 and I am using JBoss 4.0.4 when I deploy my ejb jar file (day05-signon.jar) which is having all class file and Meta-INf I got error message --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/day05_Signon.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: null state: FAILED watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon. jar altDD: null lastDeployed: 1153249201578 lastModified: 1153249201546 mbeans: org.jboss.deployment.DeploymentInfo at 592997e2 { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/META-INF/ejb-jar.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/ejb- jar.xml altDD: null lastDeployed: 1153249202656 lastModified: 1153249202656 mbeans: org.jboss.deployment.DeploymentInfo at 2070e0ce { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/META-INF/jboss.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/jbos s.xml altDD: null lastDeployed: 1153249202656 lastModified: 1153249202656 mbeans: 12:00:03,031 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 -8080 12:00:03,265 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 12:00:03,390 INFO [JkMain] Jk running ID=0 time=0/172 config=null 12:00:03,406 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos Pls help . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958692#3958692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958692 From do-not-reply at jboss.com Tue Jul 18 04:48:49 2006 From: do-not-reply at jboss.com (kdeboer) Date: Tue, 18 Jul 2006 04:48:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: How to define a Distibuted Channel Message-ID: <7536508.1153212529994.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes i was thinking about store and forward. I thought that was what a distibuted channel was about. A distributed destination is of course a clustered destination as you point out. Thanks for the info. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958693#3958693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958693 From do-not-reply at jboss.com Tue Jul 18 04:50:23 2006 From: do-not-reply at jboss.com (Olivier_Debels) Date: Tue, 18 Jul 2006 04:50:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0 Message-ID: <10005265.1153212623675.JavaMail.jboss@colo-br-02.atl.jboss.com> The ; will work with the 1.0 version. The 1.0 version is using indexOf("boundary=") to get the boundary part from the content type. So it will work whatever independent of the separator you use. The 1.1.1 version is using a parser which ';' as separator. It is filling up a map with found properties. When using a ',' instead of a ';' the property with name "boundary" is not found (it will contain a property with name "multipart/form-data, boundary" instead ;-)). I filed a jira issue for this: http://jira.jboss.com/jira/browse/JBPM-698 greetz, Olivier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958694#3958694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958694 From do-not-reply at jboss.com Tue Jul 18 04:58:53 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 04:58:53 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Reuse of sent ObjectMessages Message-ID: <30296379.1153213133625.JavaMail.jboss@colo-br-02.atl.jboss.com> I have seen something similar which is now fixed in CVS http://jira.jboss.com/jira/browse/JBMESSAGING-436 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958695#3958695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958695 From do-not-reply at jboss.com Tue Jul 18 05:00:28 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 05:00:28 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <3666477.1153213228374.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you still having this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958696#3958696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958696 From do-not-reply at jboss.com Tue Jul 18 05:02:05 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 05:02:05 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Using ServiceBindingManager with Messaging Message-ID: <16672365.1153213325939.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think we currently support use of ServiceBindingManager for mapping ports. You can add a feature request on JIRA if you like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958697#3958697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958697 From do-not-reply at jboss.com Tue Jul 18 05:04:52 2006 From: do-not-reply at jboss.com (chris.laprun@jboss.com) Date: Tue, 18 Jul 2006 05:04:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Singleton Failover Message-ID: <15032165.1153213492810.JavaMail.jboss@colo-br-02.atl.jboss.com> How is this relevant to Portal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958698#3958698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958698 From do-not-reply at jboss.com Tue Jul 18 05:06:00 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 05:06:00 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging user authentication in portal Message-ID: <6312837.1153213560826.JavaMail.jboss@colo-br-02.atl.jboss.com> Assuming portal uses JAAS for authentication/authorization (I'm not sure if that is true) then this should just be a matter of making sure the application policy is pointed at where the portal users/roles are, in login-config.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958699#3958699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958699 From do-not-reply at jboss.com Tue Jul 18 05:07:13 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 05:07:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Using Oracle 9i Message-ID: <19404404.1153213633630.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I think Oracle has fixed this in the latest driver. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958700#3958700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958700 From do-not-reply at jboss.com Tue Jul 18 05:09:23 2006 From: do-not-reply at jboss.com (chanyungwan) Date: Tue, 18 Jul 2006 05:09:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Singleton Failover Message-ID: <23989577.1153213763467.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I posted in the wrong place, it should be in clustering forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958701#3958701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958701 From do-not-reply at jboss.com Tue Jul 18 05:09:28 2006 From: do-not-reply at jboss.com (Hoagiex) Date: Tue, 18 Jul 2006 05:09:28 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to generate separate xml files with Xdoclet when using i Message-ID: <28034162.1153213768432.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to create an 'addon' type structure, where I have a Parent.jar containing a Parent.class and a Parent.hbm.xml. | package mypackage; | | /** | * @hibernate.class | * table = "parents" | * | */ | public class | Parent | { | public | Parent() | { | } | | /** | * @hibernate.id | * column = "id" | * type = "long" | * generator-class = "native" | * | * @return | */ | public Long | getID() | { | return theID; | } | | public void | setID(Long anID) | { | theID = anID; | } | | private Long theID = null; | | | | | | | | | | | | | | | | | Now I wan to be able to add separate extending objects, which are placed in seperate jar files, to the above mentioned ORM parent object. Something as simple as given below. | package mysecondpackage; | | import mypackage.Parent; | | /** | * ????????????????? | */ | public class | Child | extends Parent | { | public | Child() | { | } | The only problem is, that I want the Child.hbm.xml to declare the inheritence and not the Parent.hbm.xml. Although the hibernate docs say it's possible, I can't seem to get it working with polymophism working. If someone knows how to realize this, please enlighten me :) Also, can it only be done manually?... because I can't find any tags for Xdoclet that would allow it to be done automatically.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958702#3958702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958702 From do-not-reply at jboss.com Tue Jul 18 05:11:49 2006 From: do-not-reply at jboss.com (bfo81) Date: Tue, 18 Jul 2006 05:11:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence Message-ID: <10496549.1153213909393.JavaMail.jboss@colo-br-02.atl.jboss.com> Give us some code ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958703#3958703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958703 From do-not-reply at jboss.com Tue Jul 18 05:13:11 2006 From: do-not-reply at jboss.com (rajeshchande) Date: Tue, 18 Jul 2006 05:13:11 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Difference between Message-ID: <24206728.1153213991584.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, What is the difference between "jboss-4.0.4.GA-Patch1-installer.jar" and "jboss-4.0.4.GA.zip"? I installed the 4.0.4.GA.zip and configured it, will I be able to run the "ejb3" without any problems? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958704#3958704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958704 From do-not-reply at jboss.com Tue Jul 18 05:13:42 2006 From: do-not-reply at jboss.com (chanyungwan) Date: Tue, 18 Jul 2006 05:13:42 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Singleton Failover Message-ID: <5479637.1153214022411.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a jboss cluster with 2 members. The OS is Redhat Linux Advanced Server 4 and the jboss version is 3.2.5. There are 3 singletons being put in deploy-hasingleton folder in each member. I want to test the singleton failover in this cluster and 2 cases are observed: Case 1) In the master node, I use the command "ps -auxwww | grep run.sh' to kill the jboss service, the 3 singletons can be launched in the 2nd node within 2 minutes and it is acceptable for us. Case 2) In the master node, I quit the jboss service using normal exit, i.e."Ctrl-C". However, the 3 singletons can also be launched in the 2nd node but it almost needs 10 - 15 minutes to complete the launching process. I tried to decrease the value of the linux kernel parameters like /proc/sys/net/ipv4/tcp_rmem or /proc/sys/net/ipv4/tcp_wmem or /proc/sys/net/ipv4/tcp_retries2, but none of them help. Please give an advice on tackling the 2nd case timing issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958705#3958705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958705 From do-not-reply at jboss.com Tue Jul 18 05:15:28 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Tue, 18 Jul 2006 05:15:28 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - "Failed to acknowledge delivery null" and "Reference is alre Message-ID: <7197924.1153214128749.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys! I am runnig JBoss Messaging 1.0.1 RC3 on JBoss AS 4.0.4 GA and continuously get 2 exceptions, which couldn't find any info about. Could you please give me some lead? 1 - anonymous wrote : 12:27:18,888 ERROR [ServerConnectionEndpoint] Exception occured | javax.jms.IllegalStateException: Failed to acknowledge delivery null | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.acknowledgeTransactionally(ServerConsumerEndpoint.java:547) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:849) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:389) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,898 ERROR [ServerConnectionEndpoint] Failed to rollback tx | org.jboss.messaging.core.tx.TransactionException: Failed to remove delivery 11 | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterRollback(ServerConsumerEndpoint.java:752) | at org.jboss.messaging.core.tx.Transaction.rollback(Transaction.java:256) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:399) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,898 ERROR [ExceptionInterceptor] Linked exception is: | javax.jms.IllegalStateException: Failed to acknowledge delivery null | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.acknowledgeTransactionally(ServerConsumerEndpoint.java:547) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:849) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:389) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,918 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=, localId=109] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 27 more | 12:27:18,928 ERROR [ServerConnectionEndpoint] Exception occured | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=1, localId=109] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,938 ERROR [ExceptionInterceptor] Linked exception is: | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=1, localId=109] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,938 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=, localId=109] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:522) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 27 more | 12:27:18,968 ERROR [StdServerSession] failed to commit/rollback | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=, localId=109] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | ... 22 more | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 27 more 2 - anonymous wrote : 12:27:19,952 ERROR [ServerConnectionEndpoint] Exception occured | java.lang.IllegalStateException: Reference is already released | at org.jboss.messaging.core.plugin.SimpleMessageReference.releaseMemoryReference(SimpleMessageReference.java:135) | at org.jboss.messaging.core.ChannelState$InMemoryCallback.afterCommit(ChannelState.java:992) | at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,952 ERROR [ExceptionInterceptor] Linked exception is: | java.lang.IllegalStateException: Reference is already released | at org.jboss.messaging.core.plugin.SimpleMessageReference.releaseMemoryReference(SimpleMessageReference.java:135) | at org.jboss.messaging.core.ChannelState$InMemoryCallback.afterCommit(ChannelState.java:992) | at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,972 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=, localId=133] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 26 more | 12:27:19,972 ERROR [ServerConnectionEndpoint] Exception occured | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=1, localId=133] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,972 ERROR [ExceptionInterceptor] Linked exception is: | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=1, localId=133] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | a View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958706#3958706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958706 From do-not-reply at jboss.com Tue Jul 18 05:18:10 2006 From: do-not-reply at jboss.com (mirrlove) Date: Tue, 18 Jul 2006 05:18:10 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - jar archive is not run Message-ID: <28966510.1153214290878.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to run this script. ============================================ Hello ============================================ My system is Redhat linux 9.0 + JbossAS4.0.4.RC I can't run SVGApplication.jar in internet explorer. Please help me~~~~ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958707#3958707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958707 From do-not-reply at jboss.com Tue Jul 18 05:18:25 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 05:18:25 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Failed to read payload Message-ID: <10118565.1153214305502.JavaMail.jboss@colo-br-02.atl.jboss.com> Just so everyone is aware, Clebert has fixed this, and will be available in the next messaging release which will contain the latest jboss serialization. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958708#3958708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958708 From do-not-reply at jboss.com Tue Jul 18 05:20:09 2006 From: do-not-reply at jboss.com (niesar) Date: Tue, 18 Jul 2006 05:20:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <23888070.1153214409691.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : You need a JSF converter. Are you sure, Gavin? I'm far from being a JSF master, but I don't see yet how to do that. My problem is the input side rather than the output/display side. Consider ClassE (the embedded Object) containing more than one instance variable (which is a bit closer to my real world problem). Let's say ClassE has 2 instance variables like int classEVar1 String classEVar2 // <-- new The conversion from the ClassE object to Strings seems to be quite straightforward. I could pass the ClassE instance to 2 different converters, one to convert classEVar1 to a String and another one to convert (extract) classEVar2. Quite inconvenient since I need 2 converters, but that can be done. However, I don't know how to deal with the input fields since 2 different input fields are comprising a single ClassE instance. You know, if I follow the approach with the 2 different converters from above, they will produce 2 different ClassE objects, one containing classEVar1 and another one classEVar2. That won't work. Hence it looks like I need a converter which is able to handle multiple input Strings and produces a single ClassE Object. Is that possible at all? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958709#3958709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958709 From do-not-reply at jboss.com Tue Jul 18 05:21:57 2006 From: do-not-reply at jboss.com (jklanka) Date: Tue, 18 Jul 2006 05:21:57 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - JAAS image problem Message-ID: <9314497.1153214517177.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running a J2EE application on JBOSS container. I have configured JAAS authentication and it is successfull. FORM Forutne PromoSeven /login.htm /loginerror.htm But in the login.htm page if I place a tag to place a logo. It is not displaying. The URL for the image http://localhost:8080/MyApp/images/company_logo.gif But after Logged in I can access the url and displaying the picture. I realised it is not displaying any subfolder contents until I logged in. But I need to place a image in the login page .. anonymous wrote : anonymous wrote : logo | | | | | | | | | | | | | | |
    ... Why this images/company_logo.jpg is not displaying even it is there in the MyApp.ear package. Please help on this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958710#3958710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958710 From do-not-reply at jboss.com Tue Jul 18 05:28:19 2006 From: do-not-reply at jboss.com (gnulp) Date: Tue, 18 Jul 2006 05:28:19 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Complex Id and Joined Inheritance Message-ID: <16381208.1153214899550.JavaMail.jboss@colo-br-02.atl.jboss.com> found the problem ... deriving with the primary key set twice does not work - which is in principle ok ... in the given example the primary keys of the derived class should be changed to a unique key constraint - and it will get the same primary key as the top class ==> this should work ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958711#3958711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958711 From do-not-reply at jboss.com Tue Jul 18 05:30:02 2006 From: do-not-reply at jboss.com (Leonardpaul) Date: Tue, 18 Jul 2006 05:30:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How can i mention the height and width of the portal window Message-ID: <287342.1153215002258.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Where i can give the values for window height and widh. Height and is automatically increase depends upon the content. but where i have mention default values regards a.peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958712#3958712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958712 From do-not-reply at jboss.com Tue Jul 18 05:32:19 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 05:32:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: parse workflow definition to picture? Message-ID: <22417736.1153215139287.JavaMail.jboss@colo-br-02.atl.jboss.com> use the jbpm api to retrieve these objects (see the webapp taglib on how it retrieves the image). Do NOT rely on the db yourself View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958713#3958713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958713 From do-not-reply at jboss.com Tue Jul 18 05:36:28 2006 From: do-not-reply at jboss.com (hoongming) Date: Tue, 18 Jul 2006 05:36:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: TrailBlazer Application - EJB3Trail.ear Fails to Deploy Message-ID: <29038493.1153215388343.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am having problems deploying the trailblazer application aswell and I believe I have installed the JBOSS correctly. I tried two installation approaches, first I used the installer and selected EJB3-Cluster option and it does have the ejb-deployer directory, then I tried the jar file installation. In both cases, when i try to deploy the Trailblazer ear file, it gives me javax.ejb.EJB type not found errors. Everything I am downloading is the latest version from the Jboss website, so I am 100% confident I have done nothing wrong. Can someone please clarify why this issue is coming up? regards, Hoongming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958715#3958715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958715 From do-not-reply at jboss.com Tue Jul 18 05:45:33 2006 From: do-not-reply at jboss.com (Agustinbelmonte) Date: Tue, 18 Jul 2006 05:45:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Failed to start AutomaticDiscovery Message-ID: <18645193.1153215933341.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i?m installing and testing jboss for migratin from Bea weblogic i?ve a problem starting jBoss AS with a exception "Failed to start AutomaticDiscovery". This is a snap that shows the exception: 17:02:56,176 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 17:02:56,553 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 17:02:56,790 INFO [STDOUT] ------------------------------------------------------- GMS: address is pilotojboss:32791 (additional data: 16 bytes) ------------------------------------------------------- 17:02:56,889 ERROR [UDP] exception=java.io.IOException: Network is unreachable, msg=[dst: 228.1.2.3:45566, src: pilotojboss:32791 (additional data: 16 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566 17:02:58,941 INFO [DefaultPartition] Number of cluster members: 1 17:02:58,943 INFO [DefaultPartition] Other members: 0 17:02:58,944 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds): 17:02:59,295 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0 17:02:59,347 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: No such device at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274) at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:548) at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:374) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Please help me. Answer me here or by email to memoloamimismo at gmail.com. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958716#3958716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958716 From do-not-reply at jboss.com Tue Jul 18 05:46:42 2006 From: do-not-reply at jboss.com (williamhe) Date: Tue, 18 Jul 2006 05:46:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: 1.0.1 GA Message-ID: <5797414.1153216002305.JavaMail.jboss@colo-br-02.atl.jboss.com> I get problem in portal of seam, I add seam-dvd in portlet , WARN: "...component referenced is outside of the same web app ..." View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958717#3958717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958717 From do-not-reply at jboss.com Tue Jul 18 05:47:41 2006 From: do-not-reply at jboss.com (Agustinbelmonte) Date: Tue, 18 Jul 2006 05:47:41 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Failed to start AutomaticDiscovery Message-ID: <1419043.1153216061295.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i?m installing and testing jboss for migratin from Bea weblogic i?ve a problem starting jBoss AS with a exception "Failed to start AutomaticDiscovery". This is a snap that shows the exception: 17:02:56,176 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 17:02:56,553 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 17:02:56,790 INFO [STDOUT] ------------------------------------------------------- GMS: address is pilotojboss:32791 (additional data: 16 bytes) ------------------------------------------------------- 17:02:56,889 ERROR [UDP] exception=java.io.IOException: Network is unreachable, msg=[dst: 228.1.2.3:45566, src: pilotojboss:32791 (additional data: 16 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566 17:02:58,941 INFO [DefaultPartition] Number of cluster members: 1 17:02:58,943 INFO [DefaultPartition] Other members: 0 17:02:58,944 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds): 17:02:59,295 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0 17:02:59,347 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: No such device at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274) at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:548) at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:374) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Please help me. Answer me here or by email to memoloamimismo at gmail.com. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958718#3958718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958718 From do-not-reply at jboss.com Tue Jul 18 05:50:48 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 18 Jul 2006 05:50:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <20754143.1153216248534.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : public ClassE getClassEInst() { | | return classEInst; | | } | An inputText takes a value of type String, or, a value that has been converted to/from String NOT an embeddable EJB3 bean. So, either reference specific fields on the embeddable object: Hi, i?m installing and testing jboss for migratin from Bea weblogic i?ve a problem starting jBoss AS with a exception "Failed to start AutomaticDiscovery". This is a snap that shows the exception: 17:02:56,176 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 17:02:56,553 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 17:02:56,790 INFO [STDOUT] ------------------------------------------------------- GMS: address is pilotojboss:32791 (additional data: 16 bytes) ------------------------------------------------------- 17:02:56,889 ERROR [UDP] exception=java.io.IOException: Network is unreachable, msg=[dst: 228.1.2.3:45566, src: pilotojboss:32791 (additional data: 16 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566 17:02:58,941 INFO [DefaultPartition] Number of cluster members: 1 17:02:58,943 INFO [DefaultPartition] Other members: 0 17:02:58,944 INFO [DefaultPartition] Fetching state (will wait for 30000 milliseconds): 17:02:59,295 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=/0.0.0.0 17:02:59,347 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: No such device at java.net.PlainDatagramSocketImpl.join(Native Method) at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134) at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274) at org.jboss.ha.jndi.DetachedHANamingService$AutomaticDiscovery.start(DetachedHANamingService.java:548) at org.jboss.ha.jndi.DetachedHANamingService.startService(DetachedHANamingService.java:374) 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:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) Please help me. Answer me here or by email to memoloamimismo at gmail.com. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958720#3958720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958720 From do-not-reply at jboss.com Tue Jul 18 05:56:04 2006 From: do-not-reply at jboss.com (kearns) Date: Tue, 18 Jul 2006 05:56:04 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <26276708.1153216564744.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your continued interest. I continued to research the problem and started with switching on logging for the jboss security package in log4j: | | | | | | | | | | | When I ran the app I expected to see a security manager log entry for both of the security domains (or realms) i.e. SecureBankDomain and Example (the custom client login module policy name). However only the SecureBankDomain was logged: 2006-07-18 10:46:53,125 DEBUG [org.jboss.security.plugins.JaasSecurityManager.SecureBankDomain] CallbackHandler: org.jboss.security.auth.callback.SecurityAssociationHandler at 501e4e 2006-07-18 10:46:53,125 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager at 1f5cc7d 2006-07-18 10:46:53,125 DEBUG [org.jboss.security.plugins.JaasSecurityManager.SecureBankDomain] CachePolicy set to: org.jboss.util.TimedCachePolicy at 4430e2 2006-07-18 10:46:53,125 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy at 4430e2 2006-07-18 10:46:53,125 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added SecureBankDomain, org.jboss.security.plugins.SecurityDomainContext at e5590e to map View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958721#3958721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958721 From do-not-reply at jboss.com Tue Jul 18 06:07:25 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 06:07:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <6454320.1153217245347.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : The situation is not uncommon, the way you model it is So what is a common way ? But dont reference me to workflow patterns because they dont use task nodes, task instances, and other jBPM specifics so in this situtaion are useless. I have to use tasks beacouse it is only way(only in iBPM ?) i can apply permissions. anonymous wrote : model it differently I try to model it differently but i don't know how (look at subject of my first post) anonymous wrote : create custom pages What are pages ? pages == nodes ? I didn't remember these term from documentation. anonymous wrote : BPM currently does not do evertything automagically Do u see any magic here ? where ? ;) Connecting tasks with transitions is magic ? In my opinion not. Your solution: anonymous wrote : - set a variable in each task, have just one transition | - use a decision to direct the process View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958722#3958722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958722 From do-not-reply at jboss.com Tue Jul 18 06:09:25 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 06:09:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <10916819.1153217365630.JavaMail.jboss@colo-br-02.atl.jboss.com> [Continuation] Your solution: anonymous wrote : - set a variable in each task, have just one transition | - use a decision to direct the process Have few disadventages: -adding any tasks invloves modifiaction of decision -technicals details have influence on process design, so it is not understandable for process designers. Once again why thre isnt simple way to connect task with trasition ? And once again how to get nodes where are some tasks witch user should perform ? Sory for my inquisitiveness but i cant imagine that such simple cases causes such problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958723#3958723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958723 From do-not-reply at jboss.com Tue Jul 18 06:19:13 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Tue, 18 Jul 2006 06:19:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Cont. Message-ID: <29135709.1153217953347.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,938 ERROR [ExceptionInterceptor] Linked exception is: | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=1, localId=109] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:18,938 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=, localId=109] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:522) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 27 more | 12:27:18,968 ERROR [StdServerSession] failed to commit/rollback | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/109, BranchQual=, localId=109] status=STATUS_NO_TRANSACTION; - nested throwable: (org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | 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.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | ... 22 more | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.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:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 27 more 2: anonymous wrote : 12:27:19,952 ERROR [ServerConnectionEndpoint] Exception occured | java.lang.IllegalStateException: Reference is already released | at org.jboss.messaging.core.plugin.SimpleMessageReference.releaseMemoryReference(SimpleMessageReference.java:135) | at org.jboss.messaging.core.ChannelState$InMemoryCallback.afterCommit(ChannelState.java:992) | at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,952 ERROR [ExceptionInterceptor] Linked exception is: | java.lang.IllegalStateException: Reference is already released | at org.jboss.messaging.core.plugin.SimpleMessageReference.releaseMemoryReference(SimpleMessageReference.java:135) | at org.jboss.messaging.core.ChannelState$InMemoryCallback.afterCommit(ChannelState.java:992) | at org.jboss.messaging.core.tx.Transaction.commit(Transaction.java:186) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:390) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,972 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=, localId=133] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.jms.util.MessagingTransactionRolledBackException: Transaction was rolled back. | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:406) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | ... 26 more | 12:27:19,972 ERROR [ServerConnectionEndpoint] Exception occured | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=1, localId=133] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:19,972 ERROR [ExceptionInterceptor] Linked exception is: | org.jboss.messaging.core.tx.TransactionException: Cannot find local tx for xid:XidImpl[FormatId=257, GlobalId=THILOO33/133, BranchQual=1, localId=133] | at org.jboss.messaging.core.tx.TransactionRepository.getPreparedTx(TransactionRepository.java:129) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:504) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.rollback(ResourceManager.java:254) | at org.jboss.jms.tx.MessagingXAResource.rollback(MessagingXAResource.java:165) | at org.jboss.tm.TransactionImpl$Resource.rollback(TransactionImpl.java:2277) | at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1837) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:368) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:20,002 ERROR [ServerConnectionEndpoint] Exception occured | javax.jms.IllegalStateException: Failed to acknowledge delivery null | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.acknowledgeTransactionally(ServerConsumerEndpoint.java:547) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:849) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:389) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:20,043 ERROR [ServerConnectionEndpoint] Failed to rollback tx | org.jboss.messaging.core.tx.TransactionException: Failed to remove delivery 19 | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint$DeliveryCallback.afterRollback(ServerConsumerEndpoint.java:752) | at org.jboss.messaging.core.tx.Transaction.rollback(Transaction.java:256) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:399) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:20,053 ERROR [ExceptionInterceptor] Linked exception is: | javax.jms.IllegalStateException: Failed to acknowledge delivery null | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.acknowledgeTransactionally(ServerConsumerEndpoint.java:547) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:849) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:389) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:82) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:406) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossSession.run(JBossSession.java:199) | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) | 12:27:20,053 WARN [TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=THILOO33/136, BranchQual=, localId=136] errorCode=XA_RBROLLBACK | org.jboss.jms.util.MessagingXAException: An error occurred in sending transaction and the transaction was rolled back | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:410) | at org.jboss.jms.tx.ResourceManager.commit(ResourceManager.java:194) | at org.jboss.jms.tx.MessagingXAResource.commit(MessagingXAResource.java:116) | at org.jboss.tm.TransactionImpl$Resource.commit(TransactionImpl.java:2253) | at org.jboss.tm.TransactionImpl.commitResources(TransactionImpl.java:1784) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:340) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:351) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.container.AsfAspect.handleRun(AsfAspect.java:165) | at sun.reflect.GeneratedMethodAccessor88.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.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java) | at org.jboss.jms.client.container.ExceptionInte View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958724#3958724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958724 From do-not-reply at jboss.com Tue Jul 18 06:20:03 2006 From: do-not-reply at jboss.com (williamhe) Date: Tue, 18 Jul 2006 06:20:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: 1.0.1 GA Message-ID: <10689880.1153218003572.JavaMail.jboss@colo-br-02.atl.jboss.com> "williamhe" wrote : I get problem in portal of seam, | I add seam-dvd in portlet , | WARN: "...component referenced is outside of the same web app ..." Thanks in advance!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958725#3958725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958725 From do-not-reply at jboss.com Tue Jul 18 06:21:37 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Tue, 18 Jul 2006 06:21:37 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <28987123.1153218097296.JavaMail.jboss@colo-br-02.atl.jboss.com> Any direction when to look will be appreciated. Thanks. Baruch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958726#3958726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958726 From do-not-reply at jboss.com Tue Jul 18 06:23:05 2006 From: do-not-reply at jboss.com (jactor) Date: Tue, 18 Jul 2006 06:23:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <4110723.1153218185380.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss is giving the reply that it is starting the J2EE application if you deploy them within an ear, but I am unable to use them with an ejb (previously deployed in a ejb3-archive) and the exception is NameNotFoundException: 'bean' not bound. I suspect this is because JBoss is trying to deploy the EJBs before it has deployed the entity manager (the persistent beans) and is therefore unable to deploy the EJB. I had the same problem on the 4.0.3, but solved this by deploying the par archive outside the ear archive, but this is not a solution anymore since jboss won't deploy a simple jar. How do I make a deployment to wait untill anoter deployment is done? Do I have to deploy this as 2 different ear archives? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958727#3958727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958727 From do-not-reply at jboss.com Tue Jul 18 06:26:51 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Tue, 18 Jul 2006 06:26:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: A few questions regarding JBoss 4.0.4_GA and LDAP setup Message-ID: <4771558.1153218412000.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I should like to study those guides. Where can I find them? The JBoss Official Guide: "c_eric_ray" wrote : I'm working from the LdapLoginModule in the JBoss Official Guide and I'm using com.sun.jndi.ldap.LdapCtxFactory for the InitialContextFactory. as well as the Security Section: "c_eric_ray" wrote : JBoss has been configured exactly like the example in the Security section under LdapLoginModule. Please, where can I find them? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958729#3958729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958729 From do-not-reply at jboss.com Tue Jul 18 06:33:16 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 18 Jul 2006 06:33:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A question about jBPM console Message-ID: <15455286.1153218796446.JavaMail.jboss@colo-br-02.atl.jboss.com> Also a bug, this time in the console... AFAIK it is not hunted down yet and it will probably never be as the webapp will be revamped... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958730#3958730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958730 From do-not-reply at jboss.com Tue Jul 18 06:42:26 2006 From: do-not-reply at jboss.com (jason_rency) Date: Tue, 18 Jul 2006 06:42:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence Message-ID: <14433169.1153219346361.JavaMail.jboss@colo-br-02.atl.jboss.com> which DB do you use? the default hsqldn with jboss server or other DB? have a check of persistence.xml see if the configuration is right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958733#3958733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958733 From do-not-reply at jboss.com Tue Jul 18 06:45:03 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 18 Jul 2006 06:45:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <16687014.1153219503373.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem *is* simple, as is the solution. As Ronald said, think out of the box... Task nodes are nothing else than special states... The patterns on the workflowpatterns site all use states with transitions, so the mapping should be fairly easy... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958735#3958735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958735 From do-not-reply at jboss.com Tue Jul 18 06:49:36 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 18 Jul 2006 06:49:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0 Message-ID: <11419252.1153219776400.JavaMail.jboss@colo-br-02.atl.jboss.com> Olivier, Thanks for reporting! Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958736#3958736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958736 From do-not-reply at jboss.com Tue Jul 18 06:51:37 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Tue, 18 Jul 2006 06:51:37 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - get page-name in java Message-ID: <21219335.1153219897399.JavaMail.jboss@colo-br-02.atl.jboss.com> In *-object.xml, we have the element page-name. In my portal, i want use sendRedirect eith the following uri: /portal/auth/index.html?ctrl:cmd=render&ctrl:window=sigo." + pageName + ".EventsListPortletWindow" I want to know how can i get the page-name of the portal that is running in java? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958738#3958738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958738 From do-not-reply at jboss.com Tue Jul 18 06:54:12 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 06:54:12 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - New performance results Message-ID: <10636096.1153220052505.JavaMail.jboss@colo-br-02.atl.jboss.com> I've produced some new relative performance stats relative to JBossMQ. They're not at all complete - we should get some more complete ones when I have the time :) It's run against the code currently in CVS which will be in the next messaging release. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingPerformanceResultsPre1_0_1_RC4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958739#3958739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958739 From do-not-reply at jboss.com Tue Jul 18 06:59:23 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 06:59:23 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <12046263.1153220363096.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you give me some more information about what you're doing when this happens? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958742#3958742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958742 From do-not-reply at jboss.com Tue Jul 18 07:06:28 2006 From: do-not-reply at jboss.com (simontemple) Date: Tue, 18 Jul 2006 07:06:28 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <9761976.1153220788058.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the plugin is great but... It is incompatible with Cache 1.4.0 I took a quick look and a later version is not bundled with IDE2.0? Can you make a 1.1 release that will run with 1.3 and 1.4 cache implementations? What are the plans for shipment with the IDE? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958744#3958744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958744 From do-not-reply at jboss.com Tue Jul 18 07:14:24 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 18 Jul 2006 07:14:24 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal Installation Problems Message-ID: <5990325.1153221264916.JavaMail.jboss@colo-br-02.atl.jboss.com> I also cannot install the forums. I have jboss-portal 2.4.0-CR1, and have downloaded forums from http://labs.jboss.com/file-access/default/members/portletswap/downloads/portlets/collaborate/jboss-forums-2.2.1RC1.zip I have done a cp -r of the .ear directory to server/default/deploy, which is what I assume we are meant to do (there are no instructions). I get the following error: | 2006-07-18 12:09:58,771 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/E:/products/jboss-portal/jboss-portal-2.4.0-CR1/server/default/deploy/portal-forums.ear/portal-forums.sar/ | org.jboss.deployment.DeploymentException: no protocol: org/jboss/portal/core/hibernate/SessionFactoryBinder.xml; - nested throwable: (java.net.MalformedURLException: no protocol: org/jboss/portal/core/hibernate/SessionFactoryBinder.xml) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | I will try again using stable portal and stable forums View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958747#3958747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958747 From do-not-reply at jboss.com Tue Jul 18 07:17:16 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Tue, 18 Jul 2006 07:17:16 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <17242625.1153221436802.JavaMail.jboss@colo-br-02.atl.jboss.com> Nothing special, I'd say. MDB with TransactionAttribute TransactionAttributeType.NOT_SUPPORTED recieves message, sent from the same VM. Works fine with jboss.mq. Can you please explain in 2 words what those exceptions mean, maybe I'll have some clue what's wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958748#3958748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958748 From do-not-reply at jboss.com Tue Jul 18 07:41:23 2006 From: do-not-reply at jboss.com (sgodden) Date: Tue, 18 Jul 2006 07:41:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1 SP3 released Message-ID: <19514786.1153222883729.JavaMail.jboss@colo-br-02.atl.jboss.com> Is anyone going to update the portal downloads page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958750#3958750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958750 From do-not-reply at jboss.com Tue Jul 18 07:45:02 2006 From: do-not-reply at jboss.com (zeroman) Date: Tue, 18 Jul 2006 07:45:02 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: java.io.NotSerializableException: org.apache.catalina.co Message-ID: <800529.1153223102403.JavaMail.jboss@colo-br-02.atl.jboss.com> I looked into several threads about issue: http://jboss.com/index.html?module=bb&op=viewtopic&t=36184 http://jboss.com/index.html?module=bb&op=viewtopic&t=61228 and have such question. We have a big project which has been run in cluster envr some time ago. We solved many NotSerializableException errors in code since that but... there are still similar errors happen sometimes. The problem is. There are many places that potentially can put into session something with illegal references but code quantity is big to find such cases fats and easy. The things get worse because most of errors happen on clustered production servers and not on test servers. Are there way to log/trace the putting objects into HTTPSession? Is it possible to make such logging/tracing using config params? I'd like to know where HTTPSession is aletered, that class doing that, where in the code objects with illegal references are put. Are there any way to accomplish that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958751#3958751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958751 From do-not-reply at jboss.com Tue Jul 18 07:51:30 2006 From: do-not-reply at jboss.com (roberto) Date: Tue, 18 Jul 2006 07:51:30 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <3858934.1153223490730.JavaMail.jboss@colo-br-02.atl.jboss.com> You can try to use only network adapter. And to avoid conflit with ports you can use Binding Manager (get a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine) and so avoid use of -b View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958752#3958752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958752 From do-not-reply at jboss.com Tue Jul 18 07:55:58 2006 From: do-not-reply at jboss.com (roberto) Date: Tue, 18 Jul 2006 07:55:58 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Problem creating two intances on the same machine Message-ID: <30191903.1153223758768.JavaMail.jboss@colo-br-02.atl.jboss.com> I forgot... Another tips from JGroup in this case is to disable "media Sensing" feature of tcpip http://support.microsoft.com/default.aspx?scid=KB;en-us;q239924 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958753#3958753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958753 From do-not-reply at jboss.com Tue Jul 18 07:56:15 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 07:56:15 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: JAAS image problem Message-ID: <3300712.1153223775144.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it http://localhost:8080/MyApp/images/company_logo.gif or http://localhost:8080/MyApp/images/company_logo.jpg? cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958754#3958754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958754 From do-not-reply at jboss.com Tue Jul 18 07:57:54 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 07:57:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <5587703.1153223874379.JavaMail.jboss@colo-br-02.atl.jboss.com> "cayo" wrote : First the thing with the messages: | | anonymous wrote : | | | | | | | | | Aren't you supposed to use: ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958755#3958755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958755 From do-not-reply at jboss.com Tue Jul 18 07:59:13 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 07:59:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <18203470.1153223953854.JavaMail.jboss@colo-br-02.atl.jboss.com> As for the second question, I have absolutely no idea, I don't use tomahawk stuff. Neither of these questions seem to be related to Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958756#3958756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958756 From do-not-reply at jboss.com Tue Jul 18 08:00:26 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 08:00:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <24085125.1153224026984.JavaMail.jboss@colo-br-02.atl.jboss.com> We had to missanderstand. I know that there is few solutions for this problem, but what i'm trying to say is none of them take adventage of provided with jBPM task nodes and very easy to use API for retriving task assigned for actor (pooled or performed). In addition none of these patterns considers user permissions whitch in jBMP can be assgined only to tasks. So i couldnt just create node with few transitions with different conditions(as in Exclusive Choice patter) because i dont't know how to assign permissions to these transitions. Whats more i don't know how to query (via provided API) workflow engine for actions avaliable for user (such as getTaskMgmtSession().findTaskInstances(actorId)). Imagine that I have very simple UI: one page for every process instance. In this page i have table where number of rows = number of process instances. In the columns i have buttons each for task that user can perform. So if task instance t1 is in task node with 3 tasks there will be 3 buttons in these row. When user click button i know witch task he want to perform, after completing task i want to read FROM PROCESS DESIGN whitch transition i should take and afther that the user will return to the same form. But there will be diffrent buttons in row coresponding to these porcess instance because token is in different task node. Offcorse i can use some namimg convention for task and transitions ex. task1 and after_task1 but in m opinion it is not good idea. So i have to immortal questions: 1)how to map such situation 2)how to query for task for user grouped by task node (or process instance) anonymous wrote : As Ronald said, think out of the box... What do u exactly mean... ? Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958757#3958757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958757 From do-not-reply at jboss.com Tue Jul 18 08:02:45 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 08:02:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <7968377.1153224165712.JavaMail.jboss@colo-br-02.atl.jboss.com> "niesar" wrote : "gavin.king at jboss.com" wrote : You need a JSF converter. | Are you sure, Gavin? | | ... | | The conversion from the ClassE object to Strings seems to be quite straightforward. I could pass the ClassE instance to 2 different converters, one to convert classEVar1 to a String and another one to convert (extract) classEVar2. Quite inconvenient since I need 2 converters, but that can be done. | You don't need a custom converter for primitive values because JSF has a set of builtin converters. But if you need JSF to convert a string value to an instance of a user class then of course you need to tell JSF how to do that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958758#3958758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958758 From do-not-reply at jboss.com Tue Jul 18 08:06:03 2006 From: do-not-reply at jboss.com (ankita_29yahoo) Date: Tue, 18 Jul 2006 08:06:03 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Cannot find child element: not using namespace ? Message-ID: <19427876.1153224363801.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am facing the same problem.I am calling axis webservice with jbossWS client.Webservice is being called by while returning the result,it throws exception as no child element found for return type.I suppose it is about soap messages.Can you please post your solution how you modified wsdl which can be helpful for me too. Thanks, Ankita View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958759#3958759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958759 From do-not-reply at jboss.com Tue Jul 18 08:06:25 2006 From: do-not-reply at jboss.com (amitdutta) Date: Tue, 18 Jul 2006 08:06:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Cannot find child element: not using namespace ? Message-ID: <7884526.1153224385286.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Anders, We too are facing the same problem... Could you please let us know what exactly you did to solve the problem step by step. We have axis webservices deployed and using jbossws for client. Could you elaborate the solution? Regards, AD View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958760#3958760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958760 From do-not-reply at jboss.com Tue Jul 18 08:08:45 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Tue, 18 Jul 2006 08:08:45 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar.xml Message-ID: <3935699.1153224525670.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, great forum. I am reading the "Security on JBoss" chapter of "The JBoss 4 Application Server Guide" (http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch8.chapter.html) but I get confused when it starts talking about a file called ejb-jar.xml (section "8.1. J2EE Declarative Security Overview"). I have successfully built an EJB 3 application (by following the EJB Trailblazer http://trailblazer.demo.jboss.com/EJB3Trail/) and I don't use no ejb-jar.xml file. Is there a more appropriate documentation for me about how I can secure my application on JBoss 4.0.4 other than http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch8.chapter.html? Or do I have to start using that file because I want to access control my application? /Markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958761#3958761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958761 From do-not-reply at jboss.com Tue Jul 18 08:13:56 2006 From: do-not-reply at jboss.com (amitguz) Date: Tue, 18 Jul 2006 08:13:56 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - missing scheduler-plugin.jar in JBOSS 4.0.4 GA (ejb3.0) Message-ID: <13329953.1153224836374.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone know why in JBOSS 4.0.4 GA the sceduler-plugin.jar is missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958762#3958762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958762 From do-not-reply at jboss.com Tue Jul 18 08:14:04 2006 From: do-not-reply at jboss.com (ravicadcam) Date: Tue, 18 Jul 2006 08:14:04 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - jboss remote deployment tool Message-ID: <30976306.1153224844037.JavaMail.jboss@colo-br-02.atl.jboss.com> hi , i have configured jboss sever in my local machine...created the package structure and able to deploy to local machine....i need to deploy the Ear file to remote jboss server from my local machine....is there any commandline depoyment tool that comes with jboss or what is the procedure to deploy to remote jboss sever from my local machine. any help is appreciated. regards, ravi. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958763#3958763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958763 From do-not-reply at jboss.com Tue Jul 18 08:15:27 2006 From: do-not-reply at jboss.com (amitguz) Date: Tue, 18 Jul 2006 08:15:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - missing scheduler-plugin.jar in JBOSS 4.0.4 GA (ejb3.0) Message-ID: <12303733.1153224927019.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone know why in JBOSS 4.0.4 GA the sceduler-plugin.jar is missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958764#3958764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958764 From do-not-reply at jboss.com Tue Jul 18 08:20:47 2006 From: do-not-reply at jboss.com (jklanka) Date: Tue, 18 Jul 2006 08:20:47 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: JAAS image problem Message-ID: <16553090.1153225247912.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I found the error and I had setup for all pages as /*. So I have corrected the problem. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958765#3958765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958765 From do-not-reply at jboss.com Tue Jul 18 08:22:23 2006 From: do-not-reply at jboss.com (hoeft) Date: Tue, 18 Jul 2006 08:22:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: MDB deployment problem Message-ID: <8595441.1153225343477.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your answer. I have followed your tip and have got a new exception :-( The new MDB-Code: | @MessageDriven(activationConfig = | { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"), | @ActivationConfigProperty(propertyName="destination", propertyValue="topic/myTopic") | }) | @ResourceAdapter("jms-ra.rar") | public class MyMDB implements MessageListener | { | public void onMessage(javax.jms.Message message) { | //do something | } | } | If I deploy the new stuff, I'm getting the following error Message: | 14:08:39,071 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MyEAR.ear,jar=MyJAR.jar,name=MyMDB,service=EJB3 | org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='jms-ra.rar' messaging-type=javax.jms.MessageListener properties={password=Activation | ConfigProperty(password=my_passwort), user=ActivationConfigProperty(user=my_user), destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - nested throwable: (java.lan | g.ClassCastException: java.lang.String) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195) | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | 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.GeneratedMethodAccessor6.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 $Proxy50.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) | at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | 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.GeneratedMethodAccessor6.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 $Proxy34.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: java.lang.ClassCastException: java.lang.String | at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:76) | at org.jboss.resource.deployment.RARDeployment.createActivationSpec(RARDeployment.java:254) | at org.jboss.resource.deployment.RARDeployment.internalInvoke(RARDeployment.java:218) | 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:659) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305) | ... 100 more | Any suggestions? Meinert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958766#3958766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958766 From do-not-reply at jboss.com Tue Jul 18 08:22:51 2006 From: do-not-reply at jboss.com (jklanka) Date: Tue, 18 Jul 2006 08:22:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: JAAS image problem Message-ID: <1354263.1153225371358.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I found the mistake I had done I had setup for all pages as /*. So I have corrected the problem. Sorry and Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958767#3958767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958767 From do-not-reply at jboss.com Tue Jul 18 08:24:58 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 08:24:58 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <3136564.1153225498101.JavaMail.jboss@colo-br-02.atl.jboss.com> kearns, You need a better understanding of authentication/authorization. There is just too much stuff that is wrong here. See the resource I mentioned below. As well as the wikis at wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX and wiki.jboss.org/wiki/Wiki.jsp?page=Tomcat. However in an effort to point you in the right direction... 1.) you need to set up and configure container managed security for your web application (per j2ee spec.) I suggest using FORM based authentication. I suggest you combine the actions of both your com.jaas.RdbmsLoginModule and your bank.jaas.CustomServerLoginModule into one login module that is configured for the security domain covering the web app. 2.) Then you need to set up and configure container managed security for your EJB's (I think you have alread done this). In this case, make the security domain the same as that in step 1. The result will be that your user authenticates via the new CustomServerLoginModule for both the web application as well as the EJB components. Once authenticated you can just call the bean. Note that you do not need to perform any LoginContext.login()s in your application. Also, your custom login module should store the customer id and NHS# (so long as these are not restricted data) as custom Principals under the Subject. If the customerID is what you use internally to identify the user (rather than the "user" parameter entered in login form) Then follow JBoss' subject usage pattern and make this principal the "Caller Principal". Finally, you can get the customer id to use in method bankMgrDelegate.getCustomerData(custId).toString() by using EJBContext.getCallerPrincipal() method. There is just too much to say, hope this provides some direction. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958768#3958768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958768 From do-not-reply at jboss.com Tue Jul 18 08:28:15 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 08:28:15 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: A few questions regarding JBoss 4.0.4_GA and LDAP setup Message-ID: <7336320.1153225695192.JavaMail.jboss@colo-br-02.atl.jboss.com> http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html#d0e18806 and http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX enjoy, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958769#3958769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958769 From do-not-reply at jboss.com Tue Jul 18 08:30:36 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 08:30:36 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <15504063.1153225836929.JavaMail.jboss@colo-br-02.atl.jboss.com> See the EJB3 wiki for documentation on how to use annotations to provide the same configurations as the ejb-jar.xml. http://wiki.jboss.org/wiki/Wiki.jsp?page=EJB3 cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958770#3958770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958770 From do-not-reply at jboss.com Tue Jul 18 08:31:39 2006 From: do-not-reply at jboss.com (sacha.labourey@jboss.com) Date: Tue, 18 Jul 2006 08:31:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: New performance results Message-ID: <14444478.1153225899516.JavaMail.jboss@colo-br-02.atl.jboss.com> That's great :) Where is the code for running these tests? Is it available in CVS? thanks, sacha View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958771#3958771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958771 From do-not-reply at jboss.com Tue Jul 18 08:31:42 2006 From: do-not-reply at jboss.com (cayo) Date: Tue, 18 Jul 2006 08:31:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2 Message-ID: <9130350.1153225902118.JavaMail.jboss@colo-br-02.atl.jboss.com> "showSummary=false" that's it! So the Seam method for sending a FacesMessage behaves slightly different to the original one from the MyFaces implementation. There it's the summary that is set by default. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958772#3958772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958772 From do-not-reply at jboss.com Tue Jul 18 08:42:43 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Tue, 18 Jul 2006 08:42:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: get page-name in java Message-ID: <16027791.1153226563679.JavaMail.jboss@colo-br-02.atl.jboss.com> I've found it. Use request.getPortalContext().getProperty("portal.defaultObjectName"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958773#3958773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958773 From do-not-reply at jboss.com Tue Jul 18 08:46:26 2006 From: do-not-reply at jboss.com (bpapez) Date: Tue, 18 Jul 2006 08:46:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - [TreeCacheMarshaller140] Unknown Magic Number 49 Message-ID: <4203528.1153226786346.JavaMail.jboss@colo-br-02.atl.jboss.com> Since switching to JBossCache 1.4.0.GA I get many of the following log-entries: 12:08:59,360 ERROR [TreeCacheMarshaller140] Unknown Magic Number 49 12:08:59,379 INFO [VersionAwareMarshaller] Caught exception unmarshalling stream with specific versioned marshaller class org.jboss.cache.marshall.TreeCacheMarshaller140. Attempting to try again with legacy marshaller class org.jboss.cache.marshall.LegacyTreeCacheMarshaller 12:08:59,390 ERROR [RpcDispatcher] exception=java.io.StreamCorruptedException: invalid stream header 12:09:13,947 ERROR [TreeCacheMarshaller140] Unknown Magic Number 49 12:09:13,962 INFO [VersionAwareMarshaller] Caught exception unmarshalling stream with specific versioned marshaller class org.jboss.cache.marshall.TreeCacheMarshaller140. Attempting to try again with legacy marshaller class org.jboss.cache.marshall.LegacyTreeCacheMarshaller 12:09:13,970 ERROR [RpcDispatcher] exception=java.io.StreamCorruptedException: invalid stream header What does that mean or what can we do about it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958774#3958774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958774 From do-not-reply at jboss.com Tue Jul 18 08:50:13 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Tue, 18 Jul 2006 08:50:13 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <28505077.1153227013099.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi cgriffith, that was quick. Thank you. A follow-up question perhaps: "j2ee_junkie" wrote : See the EJB3 wiki for documentation on how to use annotations to provide the same configurations as the ejb-jar.xml. | | http://wiki.jboss.org/wiki/Wiki.jsp?page=EJB3 Is this what you meant: http://docs.jboss.org/ejb3/app-server/tutorial/security/security.html ? It mentions javax.annotation.security.RolesAllowed, javax.annotation.security.PermitAll as well as the JBoss specific org.jboss.ejb3.security.SecurityDomain. I read in an older post (approx 18 months old: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=59428) that the future may present a way to avoid using that specific JBoss-specific annotation by using some deployment descriptor instead. Is the mentioned ejb-jar.xml that descriptor, or is that yet to come? If ejb-jar.xml is the foreseen descriptor, can I combine the use of the nice annotations PermitAll and RolesAllowed with ejb-jar.xml, or do I have to scrap the annotation trail alltogether and declare everything in the ejb-jar.xml, do you think? thank you, markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958775#3958775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958775 From do-not-reply at jboss.com Tue Jul 18 08:54:32 2006 From: do-not-reply at jboss.com (mimix) Date: Tue, 18 Jul 2006 08:54:32 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Optimistic Locking and CacheException problems Message-ID: <30558213.1153227272150.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are using TreeCache with NodeLockingScheme=OPTIMISTIC, IsolationLevel=REPEATABLE_READ, CacheMode=INVALIDATION_ASYNC I'm having a hard time understanding how versioning works, and if it has some relation to equals/hashcode/tostring of our model objects (the ones that are mapped with hibernate). I have the following scenario in JMeter: 50 threads running simultaneously, searching for objects, creating new objects and persisting them. Only one instance of JBoss is running. Around 20% of the time we get the folling exception: Caused by: org.jboss.cache.CacheException: DataNode [/a/b/c/d/Telephone] version Ver=41 is newer than workspace node Ver=40 As far as I understand, after a "put" there should be an "evict" so this situation shouldn't occur unless 2 threads update the same object simultaneously (however, we are creating different objects all the time) When I run with 10 threads or so the error does not occur. Hibernate is 3.2, JBoss is 4.0.4 and JBossCache 1.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958776#3958776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958776 From do-not-reply at jboss.com Tue Jul 18 09:01:01 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 09:01:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <19668682.1153227661161.JavaMail.jboss@colo-br-02.atl.jboss.com> If you have a single task node with three tasks, and you want to leave the node after ONE task is complete? Why not just have 3 separate task nodes with one task a piece? The 'task selection' would be the page before hand, which would select which transition to go to (which would decide which task node to go to) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958777#3958777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958777 From do-not-reply at jboss.com Tue Jul 18 09:02:49 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Tue, 18 Jul 2006 09:02:49 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <26109674.1153227769182.JavaMail.jboss@colo-br-02.atl.jboss.com> The Security chapter also mentions jboss.xml and jboss-web.xml ("8.3.1. Enabling Declarative Security in JBoss Revisited"). But the excellent EJB3 trailblazer didn't mention them. It did mention application.xml and jboss-app.xml. My application uses those files as well as a web.xml for the data layer. Do I need to start using jboss.xml and jboss-web.xml too, or is there a way around that so I only need to use application.xml, jboss-app.xml and web.xml? mvh, markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958778#3958778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958778 From do-not-reply at jboss.com Tue Jul 18 09:04:14 2006 From: do-not-reply at jboss.com (tdanecito) Date: Tue, 18 Jul 2006 09:04:14 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - More Performance Tuning Message-ID: <21191226.1153227854416.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, Just wanted to mention I am using JAX-WS 2.0 for my web service layer. Even though it is a reference implementation it still has been fast compared to axis. The important thing to know about Web Service layers for performance are: 1. Use fast infoset. 2. Use Document literal 3. Use primatives and array of primatives instead of collections 4. Keep messages small (below 1500 bytes) I would only use Web Service layer for B to B but would advise for large objects that are returned from a Web Service to use RMI if used inside a company. Have Fun, Tony Anecito adanecito at yahoo.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958779#3958779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958779 From do-not-reply at jboss.com Tue Jul 18 09:05:27 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 09:05:27 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <3210233.1153227927589.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Markus, Yes to all. I think it is important to note that ejb-jar.xml is the descriptor file for bean configuration (it has always been). The addition of annotations in EJB3 just makes that descriptor unecessary. Unless you want to use. If you use both, the descriptor should override annotations. enjoy, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958780#3958780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958780 From do-not-reply at jboss.com Tue Jul 18 09:06:07 2006 From: do-not-reply at jboss.com (tdanecito) Date: Tue, 18 Jul 2006 09:06:07 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning Message-ID: <5874009.1153227967865.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, Just wanted to mention I am using JAX-WS 2.0 for my web service layer. Even though it is a reference implementation it still has been fast compared to axis. The important thing to know about Web Service layers for performance are: 1. Use fast infoset. 2. Use Document literal 3. Use primatives and array of primatives instead of collections 4. Keep messages small (below 1500 bytes) I would only use Web Service layer for B to B but would advise for large objects that are returned from a Web Service to use RMI if used inside a company. Have Fun, Tony Anecito adanecito at yahoo.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958781#3958781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958781 From do-not-reply at jboss.com Tue Jul 18 09:17:10 2006 From: do-not-reply at jboss.com (timfox) Date: Tue, 18 Jul 2006 09:17:10 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: New performance results Message-ID: <9328722.1153228630932.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes it's in CVS (HEAD). jboss-head/jms/perf Instructions on how to run it are here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSNewPerformanceBenchmark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958782#3958782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958782 From do-not-reply at jboss.com Tue Jul 18 09:17:52 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Tue, 18 Jul 2006 09:17:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: get page-name in java Message-ID: <27645201.1153228672532.JavaMail.jboss@colo-br-02.atl.jboss.com> Opppss. This isn't quite what i want. The attribute "portal.defaultObjectName" gives me the default page-name of the portlet which is running. If i use the same portlet in differente pages i only get one default page name, and not the page name of the instance it's running. So, the question maintains: 1- What method of the API of the Portal i can use to get the page-name of the portal that is running? 2- How can i get programatically the values defined in *-object.xml? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958783#3958783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958783 From do-not-reply at jboss.com Tue Jul 18 09:19:45 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Tue, 18 Jul 2006 09:19:45 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <14142009.1153228785152.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks cgriffith. but pls pardon my stubborn interrogation: "j2ee_junkie" wrote : Yes to all. A good answer. But still I wonder about the bit about combining the good ejb annotations with the ejb-jar.xml. Was I correct in assuming that I can use just a piece of ejb-jar.xml to make up for my refusal to put the JBoss specific SecurityDomain annotation in my ejbean? Now, all I wonder is what piece is that? Could you perhaps tell us that? "j2ee_junkie" wrote : enjoy, cgriffith why, yes /mark?s View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958784#3958784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958784 From do-not-reply at jboss.com Tue Jul 18 09:21:26 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 09:21:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Persistence - Switching DB to Postgres - Schema Export fails Message-ID: <19758317.1153228886157.JavaMail.jboss@colo-br-02.atl.jboss.com> Trying to switch the DB to PostgreSQL fails, little help would be nice. Using the Seam DVD Example, i configured persistence.xml: | | org.hibernate.ejb.HibernatePersistence | java:/dvdDatasource | | | | | | | | | | | | | | | | The error is: | 15:08:21,754 INFO [SchemaExport] Running hbm2ddl schema export | 15:08:21,766 INFO [SchemaExport] exporting generated schema to database | 15:08:21,858 INFO [SchemaExport] Executing import script: /import.sql | 15:08:21,860 ERROR [SchemaExport] schema export unsuccessful | Some hints would be nice, why the export fails. I guess my persistence.xml might be wrong - but looked at the documentation, should work, should it? kind regards Torsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958786#3958786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958786 From do-not-reply at jboss.com Tue Jul 18 09:25:06 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Tue, 18 Jul 2006 09:25:06 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Problems with installation of jboss ide 2.0 for Eclipse Message-ID: <15276729.1153229106679.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Does anyone have this same problem and do you have a work around? Yes. I can confirm that others are seeing this (well, me). Don't ask me how to fix, I don't know :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958787#3958787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958787 From do-not-reply at jboss.com Tue Jul 18 09:27:17 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Tue, 18 Jul 2006 09:27:17 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Problems with installation of jboss ide 2.0 for Eclipse Message-ID: <14777834.1153229237847.JavaMail.jboss@colo-br-02.atl.jboss.com> see this forum thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86256 looks like that forum thread discusses this issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958789#3958789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958789 From do-not-reply at jboss.com Tue Jul 18 09:29:31 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Tue, 18 Jul 2006 09:29:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam components don't initialize Message-ID: <14773381.1153229371336.JavaMail.jboss@colo-br-02.atl.jboss.com> My seam components not initialize when jboss startup and in my jsp i have conversions errors, i dont kwon why... I put the seam.properties in the ejbModule project and dont work too... i looks like the the seam found my file : INFO [Initialization] reading properties from: /seam.properties View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958790#3958790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958790 From do-not-reply at jboss.com Tue Jul 18 09:30:35 2006 From: do-not-reply at jboss.com (kearns) Date: Tue, 18 Jul 2006 09:30:35 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Integration of Custom Client and Server Login Modules Message-ID: <27009555.1153229435646.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your patience as I know this may seem to some as straight forward. I have already succeeded in a previous project to use BASIC web authentication attached to a domain using the JBoss UsersRolesLoginModule. Only Customer and Admin roles can access specific web pages and then calls to remote EJBs are also restricted based on role. Web.xml: | | | admin | | | customer | | | | BASIC | BankDomain | | | | JBoss-web.xml: | | | java:/jaas/BankDomain | /bank | JBoss.xml: | | java:/jaas/BankDomain | The target bean is the same remote stateless session bean, BankMgr, which uses the Caller Principle in the way you mentioned: public CustomerData getMyData() throws bank.BankException { | Principal p = context.getCallerPrincipal(); | String userN = p.getName(); | if (userN.equalsIgnoreCase("ANONYMOUS") || userN.equalsIgnoreCase("GUEST")) { | throw new BankException("BankMgrBean: getMyData - User not logged in"); | } | int pUserId = Integer.parseInt(userN); However, what I wanted to show in this Proof of Concept (PoC) project was that client authentication could be executed independently from server side resource control e.g. bean method execution. Such a scenario would occur if authentication of the client is not under your control however authorisation to use server side (remote) resources are. Thus, I can not use the same security realm for both the client and server resources. Thanks again for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958791#3958791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958791 From do-not-reply at jboss.com Tue Jul 18 09:30:57 2006 From: do-not-reply at jboss.com (andydale) Date: Tue, 18 Jul 2006 09:30:57 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - EnableLoadTime weaving in Linux with JBoss 4.0.4GA Message-ID: <25568743.1153229457498.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to enable weaving on my jboss instance. I have been found a few guides on the internet that i have tried to follow, which basically said to set the EnableLoadtimeWeaving element to true in the ..../deploy/jboss-aop-jdk50.deployer/META-INF/jboss-service.xml and then add the -javaagent:pluggable-instrumentor.jar(after moving to the $JBOSS_HOME/bin driectory) to run.sh. I had to use the pluggable-instrumentor.jar that comes with the JBoss AOP IDE as i could not find it anywhere else. This causes the following many exceptions, like the one below: 15:15:14,130 ERROR [STDERR] [warn] AOP Instrumentor failed to transform org.apache.catalina.core.StandardServer | 15:15:14,131 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.apache.catalina.core.StandardServer. Could not find class it references org.apache.catalina.core.NamingContextListener It may not be in your classpath and you may not be getting field and constructor weaving for this class. | 15:15:14,133 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.convertReferences(Instrumentor.java:619) | 15:15:14,133 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:673) | 15:15:14,133 ERROR [STDERR] at org.jboss.aop.AspectManager.translate(AspectManager.java:970) | 15:15:14,134 ERROR [STDERR] at org.jboss.aop.AspectManager.transform(AspectManager.java:882) | 15:15:14,134 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88) | 15:15:14,134 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75) | 15:15:14,135 ERROR [STDERR] at sun.instrument.TransformerManager.transform(TransformerManager.java:122) | 15:15:14,135 ERROR [STDERR] at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155) | 15:15:14,135 ERROR [STDERR] at java.lang.ClassLoader.defineClass1(Native Method) | 15:15:14,136 ERROR [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | 15:15:14,136 ERROR [STDERR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | 15:15:14,136 ERROR [STDERR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | 15:15:14,137 ERROR [STDERR] at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | 15:15:14,137 ERROR [STDERR] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | 15:15:14,137 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) | 15:15:14,138 ERROR [STDERR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | 15:15:14,138 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672) | 15:15:14,138 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652) | 15:15:14,139 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | 15:15:14,139 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190) | 15:15:14,139 ERROR [STDERR] at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | 15:15:14,140 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | 15:15:14,140 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517) | 15:15:14,141 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | 15:15:14,141 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 15:15:14,141 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 15:15:14,141 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 15:15:14,142 ERROR [STDERR] at java.lang.Class.forName(Class.java:164) | 15:15:14,142 ERROR [STDERR] at org.apache.catalina.startup.Catalina.class$(Catalina.java:73) | 15:15:14,142 ERROR [STDERR] at org.apache.catalina.startup.Catalina.createStartDigester(Catalina.java:262) | 15:15:14,143 ERROR [STDERR] at org.apache.catalina.startup.Catalina.load(Catalina.java:440) | 15:15:14,143 ERROR [STDERR] at org.apache.catalina.startup.Catalina.start(Catalina.java:543) | 15:15:14,143 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:15:14,144 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:15:14,144 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,144 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,145 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | 15:15:14,145 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 15:15:14,145 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,146 ERROR [STDERR] at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:405) | 15:15:14,146 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 15:15:14,146 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 15:15:14,147 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 15:15:14,147 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,147 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,148 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,148 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,148 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:15:14,149 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,149 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:15:14,149 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | 15:15:14,150 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124) | 15:15:14,150 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109) | 15:15:14,150 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,151 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,151 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,151 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 15:15:14,152 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 15:15:14,152 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 15:15:14,152 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435) | 15:15:14,153 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | 15:15:14,153 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,153 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,154 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,154 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,154 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:15:14,155 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,155 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,155 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:15:14,155 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 15:15:14,156 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 15:15:14,156 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 15:15:14,156 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 15:15:14,157 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:15:14,157 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | 15:15:14,157 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,158 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,158 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,158 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,159 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:15:14,159 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,159 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:15:14,160 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,160 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,161 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,161 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:15:14,161 ERROR [STDERR] at $Proxy6.deploy(Unknown Source) | 15:15:14,162 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | 15:15:14,162 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | 15:15:14,162 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | 15:15:14,163 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | 15:15:14,163 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 15:15:14,164 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 15:15:14,164 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:15:14,164 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:15:14,165 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,165 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,165 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,166 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,166 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:15:14,166 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,167 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,167 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 15:15:14,167 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 15:15:14,168 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 15:15:14,168 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:15:14,168 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:15:14,169 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,169 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,169 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,170 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,170 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:15:14,170 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,170 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,170 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:15:14,171 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 15:15:14,171 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 15:15:14,171 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 15:15:14,171 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 15:15:14,171 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:15:14,171 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 15:15:14,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:15:14,171 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:15:14,172 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:15:14,172 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:15:14,172 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:15:14,172 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:15:14,172 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:15:14,172 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,172 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:15:14,173 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:15:14,173 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:15:14,173 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:15:14,173 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:15:14,173 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) | 15:15:14,173 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | 15:15:14,173 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | 15:15:14,173 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) | 15:15:14,174 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464) | 15:15:14,174 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | I think what caused it is something to do with an xml file, as the first exception to occur is: [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 15:14:47,604 ERROR [STDERR] [Fatal Error] jboss-aop_1_0.dtd:137:1: XML document structures must start and end within the same entity. | 15:14:47,605 ERROR [STDERR] org.xml.sax.SAXParseException: XML document structures must start and end within the same entity. | 15:14:47,606 ERROR [STDERR] at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) | 15:14:47,606 ERROR [STDERR] at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) | | AND SO ON | | So i also read somewhere that you have to enable UseJBossWebLoader in the deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml file but this also leaves me with exceptions, like the one [warn] AOP Instrumentor failed to transform org.apache.catalina.core.StandardContext | 15:29:12,202 ERROR [STDERR] org.jboss.aop.instrument.TransformationException: Failed to aspectize class org.apache.catalina.core.StandardContext. Could not find class it references org.apache.catalina.core.NamingContextListener It may not be in your classpath and you may not be getting field and constructor weaving for this class. | 15:29:12,204 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.convertReferences(Instrumentor.java:619) | 15:29:12,204 ERROR [STDERR] at org.jboss.aop.instrument.Instrumentor.transform(Instrumentor.java:673) | 15:29:12,204 ERROR [STDERR] at org.jboss.aop.AspectManager.translate(AspectManager.java:970) | 15:29:12,204 ERROR [STDERR] at org.jboss.aop.AspectManager.transform(AspectManager.java:882) | 15:29:12,204 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.aspectTransform(AOPTransformer.java:88) | 15:29:12,205 ERROR [STDERR] at org.jboss.aop.standalone.AOPTransformer.transform(AOPTransformer.java:75) | 15:29:12,205 ERROR [STDERR] at sun.instrument.TransformerManager.transform(TransformerManager.java:122) | 15:29:12,205 ERROR [STDERR] at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:155) | 15:29:12,205 ERROR [STDERR] at java.lang.ClassLoader.defineClass1(Native Method) | 15:29:12,205 ERROR [STDERR] at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | 15:29:12,205 ERROR [STDERR] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | 15:29:12,205 ERROR [STDERR] at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | 15:29:12,205 ERROR [STDERR] at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | 15:29:12,206 ERROR [STDERR] at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | 15:29:12,206 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) | 15:29:12,206 ERROR [STDERR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | 15:29:12,206 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672) | 15:29:12,206 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652) | 15:29:12,206 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | 15:29:12,206 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190) | 15:29:12,206 ERROR [STDERR] at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | 15:29:12,207 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | 15:29:12,207 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517) | 15:29:12,207 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | 15:29:12,207 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 15:29:12,207 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 15:29:12,207 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.getContainerSuffix(ContainerBase.java:1471) | 15:29:12,207 ERROR [STDERR] at org.apache.catalina.realm.RealmBase.init(RealmBase.java:1361) | 15:29:12,208 ERROR [STDERR] at org.apache.catalina.realm.RealmBase.start(RealmBase.java:1029) | 15:29:12,208 ERROR [STDERR] at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.start(JBossSecurityMgrRealm.java:136) | 15:29:12,208 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1005) | 15:29:12,208 ERROR [STDERR] at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) | 15:29:12,208 ERROR [STDERR] at org.jboss.web.tomcat.tc5.StandardService.start(StandardService.java:538) | 15:29:12,208 ERROR [STDERR] at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) | 15:29:12,208 ERROR [STDERR] at org.apache.catalina.startup.Catalina.start(Catalina.java:551) | 15:29:12,208 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:29:12,218 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:29:12,218 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,218 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,218 ERROR [STDERR] at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | 15:29:12,218 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | 15:29:12,219 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,219 ERROR [STDERR] at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:405) | 15:29:12,219 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 15:29:12,219 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 15:29:12,219 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | 15:29:12,219 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,219 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,219 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,220 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,220 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:29:12,220 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,220 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:29:12,220 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | 15:29:12,223 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124) | 15:29:12,223 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109) | 15:29:12,223 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,223 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,224 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,224 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 15:29:12,224 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 15:29:12,224 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 15:29:12,224 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435) | 15:29:12,224 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | 15:29:12,225 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,225 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,225 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:29:12,226 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 15:29:12,226 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 15:29:12,226 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 15:29:12,226 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 15:29:12,226 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:29:12,226 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) | 15:29:12,226 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,226 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,227 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,228 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:29:12,228 ERROR [STDERR] at $Proxy6.deploy(Unknown Source) | 15:29:12,228 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | 15:29:12,228 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | 15:29:12,228 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | 15:29:12,228 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | 15:29:12,234 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 15:29:12,234 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 15:29:12,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:29:12,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:29:12,234 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,234 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,234 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,235 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,235 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:29:12,235 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,235 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,235 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 15:29:12,235 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 15:29:12,235 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 15:29:12,236 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:29:12,236 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:29:12,236 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,236 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,236 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,236 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,236 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:29:12,237 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,237 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,237 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:29:12,237 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 15:29:12,237 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 15:29:12,237 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 15:29:12,237 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 15:29:12,237 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:29:12,238 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 15:29:12,238 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:29:12,238 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:29:12,238 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:29:12,238 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 15:29:12,238 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:29:12,238 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:29:12,239 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:29:12,239 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,239 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:29:12,239 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:29:12,245 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:29:12,245 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:29:12,245 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:29:12,246 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) | 15:29:12,246 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | 15:29:12,246 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | 15:29:12,246 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) | 15:29:12,246 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464) | 15:29:12,246 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | Does anyone know why i am getting these exceptions ? Thanks in advance, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958792#3958792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958792 From do-not-reply at jboss.com Tue Jul 18 09:37:50 2006 From: do-not-reply at jboss.com (niesar) Date: Tue, 18 Jul 2006 09:37:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <26452714.1153229870341.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your answers, guys. I appreciate that! Maybe I have to make the following point much more clear: I can't access instance variables from my (embedded) ClassE instance like When I try to populate the input fields with a construction like that, I immediately get an error message. javax.faces.el.PropertyNotFoundException: /WEB-INF/facelets/tags/classA-input.xhtml @20,79 value="#{classAInst.classEInst.classEVar}": Bean: test.ClassE, property: classEVar | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58) | at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) | ... Please note, that this error occurrs much earlier than everything we were talking about before. With this approach I'm not even able to display the data and I don't even get to the point to input anything. In fact, that is what I considered a bug or an incompatibility in my first post. In my understanding #{classAInst.classEInst.classEVar} should also work if ClassE is embedded in ClassA using the EJB3 @Embeddable/@Embedded annotation. However, this doesn't work! It looks like I can't access any instance variable from my embedded ClassE object. The only workaround I could find is to pass the complete ClassE object like But that causes the problem that I have the restriction 1object <---> 1String for the JSF converter. This way it's also no option. So right now I have no clue how to solve this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958794#3958794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958794 From do-not-reply at jboss.com Tue Jul 18 09:39:29 2006 From: do-not-reply at jboss.com (Viegas) Date: Tue, 18 Jul 2006 09:39:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jbpmContext null pointer Message-ID: <18482581.1153229969840.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Im trying to create a webapp to run with JBPM, so far I just have a login that verifies a user and then tries to set the actorId of the jbpmContext to that same user. I have a servlet that executes the following code | String userName = req.getParameter("userName"); | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext(); | jbpmContext.setActorId(userName); | context.getRequestDispatcher("/mainPage.jsp").forward(req, resp); | the problem I have is that whenever the execution gets to: "jbpmContext.setActorId" trows a exception nullPointerException, I guess its the jbpmContext but I dont know why. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958795#3958795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958795 From do-not-reply at jboss.com Tue Jul 18 09:42:47 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 09:42:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <5590659.1153230167179.JavaMail.jboss@colo-br-02.atl.jboss.com> and add an action that cancels all other parallel tasks if one is acted upon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958797#3958797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958797 From do-not-reply at jboss.com Tue Jul 18 09:48:54 2006 From: do-not-reply at jboss.com (taras1984) Date: Tue, 18 Jul 2006 09:48:54 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problem with deploy Message-ID: <24880499.1153230534802.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have just installed latest version of JBoss and I tried to run simple Hello Application. I work with NetBeans5.5. The result is wierd for me, when deploying a server log ends with INFO[org.jboss.deployment.ClientDeployer] Client ENC bound under: JBossHello-app-client INFO[org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/jboss-4.0.4.GA/server/default/deploy/JBossHello.ear and that's it ,shouldn't it show anything more ?? Then, in deploy folder, there is JBossHello.ear file but in jmx-console there is no name JBossHello in JNDI Global Namespace. And then, running JBossHello-app-client I can see javax.naming.NameNotFoundException: JBossHello not bound in the log. Perhaps this is Jboss or NetBeans settings that cause that problem Thanks for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958798#3958798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958798 From do-not-reply at jboss.com Tue Jul 18 10:01:20 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 18 Jul 2006 10:01:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <11088760.1153231280895.JavaMail.jboss@colo-br-02.atl.jboss.com> "niesar" wrote : | | This is most definitely should work. Doesn't matter to JSF EL whether it's Embedded or not. Having looked at your code I can't see why it doesn't I'm afraid. Perhaps Class is a keyword in JSF EL, have you tried using another name? Does accessing classAInst.classEInst.classEVar work if you put an inputText for it in classAEdit.xhtml rather than the tag source file? anonymous wrote : The only workaround I could find is to pass the complete ClassE object like | | But that causes the problem that I have the restriction 1object <---> 1String for the JSF converter. This way it's also no option. | This is not the right way to access properties of an object. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958800#3958800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958800 From do-not-reply at jboss.com Tue Jul 18 10:02:59 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 10:02:59 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <12946653.1153231379874.JavaMail.jboss@colo-br-02.atl.jboss.com> Markus, Since the SecurityDomain is a JBoss specific configuration, it does not go in the ejb-jar.xml. I figured you would have known how to configure JBoss. In this case, see the jboss.xml file and it's DTD for definitions. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958801#3958801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958801 From do-not-reply at jboss.com Tue Jul 18 10:09:53 2006 From: do-not-reply at jboss.com (Renji) Date: Tue, 18 Jul 2006 10:09:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - myfaces/tiles + JBoss portal Message-ID: <4289689.1153231793324.JavaMail.jboss@colo-br-02.atl.jboss.com> can i use tiles in Jboss portal? is there any example for me to refer? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958803#3958803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958803 From do-not-reply at jboss.com Tue Jul 18 10:10:09 2006 From: do-not-reply at jboss.com (rdewell) Date: Tue, 18 Jul 2006 10:10:09 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Lazy / dynamic POJO properties supported in cache? Message-ID: <33454606.1153231809356.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. Can the result of method calls be cached in a fine grained way in POJOCache? The docs all seems to make reference to caching fields instead of methods. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958804#3958804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958804 From do-not-reply at jboss.com Tue Jul 18 10:11:30 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 10:11:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <31441923.1153231890878.JavaMail.jboss@colo-br-02.atl.jboss.com> The failure occurs while executing import.sql. Turn up the Hibernate log level to see what the problem is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958805#3958805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958805 From do-not-reply at jboss.com Tue Jul 18 10:12:12 2006 From: do-not-reply at jboss.com (asmo) Date: Tue, 18 Jul 2006 10:12:12 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Problem with task assignment Message-ID: <12553961.1153231932594.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I have written a little processdefinition and executed it in a jUnit test. Everything is ok and no failure occured. But the assignment handler of the task node is excecuted twice and i have no clue why. Could anyone give me an advise??? This is the processDefinition: | | | | | | | | | | | | | | | | | | this is the code of the jUnit test: | public class HelloWorldDbTest extends TestCase{ | | static JbpmConfiguration jbpmConfiguration = null; | | static { | | jbpmConfiguration = JbpmConfiguration.parseResource("jbpm1.cfg.xml"); | | | } | public void setUp(){ | jbpmConfiguration.createSchema(); | | } | public void tearDown(){ | // jbpmConfiguration.dropSchema(); | } | public void testSimplePersistence(){ | deployProcessDefinition(); | assign(); | | } | | public void deployProcessDefinition(){ | | ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("processdefinition.xml"); | System.out.println("name of the processdefinition: " + processDefinition.getName()); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | try{ | jbpmContext.deployProcessDefinition(processDefinition); | }finally{ | jbpmContext.close(); | } | } | public void assign(){ | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition("crmTest"); | | ProcessInstance processInstance = new ProcessInstance(processDefinition); | | Token token = processInstance.getRootToken(); | | assertEquals("start", token.getNode().getName()); | | | token.signal(); | assertEquals("createActivity" , token.getNode().getName(),"createActivity"); | | token.signal(); | assertEquals("handleActivity ", token.getNode().getName(), "handleActivity"); | | Collection tasks = processInstance.getTaskMgmtInstance().getTaskInstances(); | Iterator it = tasks.iterator(); | | while(it.hasNext()){ | TaskInstance taskInstance = (TaskInstance)it.next(); | System.out.println("Taskinstance " + taskInstance.getId() + " finished"); | taskInstance.end("to_end"); | } | | assertEquals("end expected", token.getNode().getName(), "end"); | | jbpmContext.save(processInstance); | | }finally { | jbpmContext.close(); | | } | } | | and at least the output of the console: | 15:44:48,390 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node]; using defaults. | 15:44:48,453 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults. | 15:44:48,625 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults. | 15:44:48,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults. | 15:44:48,875 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults. | 15:44:48,890 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults. | 15:44:49,156 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Action]; using defaults. | 15:44:49,203 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Event]; using defaults. | 15:44:49,406 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults. | 15:44:49,515 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Transition]; using defaults. | 15:44:49,734 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults. | 15:44:49,734 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults. | 15:44:49,750 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults. | 15:44:49,765 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults. | 15:44:49,781 WARN EhCacheProvider:103 - Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults. | name of the processdefinition: crmTest | 15:44:51,125 WARN ProxyWarnLog:654 - Narrowing proxy to class org.jbpm.graph.node.State - this operation breaks == | hier angekommen | 15:44:51,468 WARN ProxyWarnLog:654 - Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks == | Task assigned | Task assigned | Taskinstance 1 finished | Taskinstance 2 finished | I would be very thankful for an advice! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958806#3958806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958806 From do-not-reply at jboss.com Tue Jul 18 10:13:42 2006 From: do-not-reply at jboss.com (x-avila) Date: Tue, 18 Jul 2006 10:13:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence Message-ID: <5039234.1153232022788.JavaMail.jboss@colo-br-02.atl.jboss.com> Problem was the persistence.XML was not pointing to the correct Data Source. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958808#3958808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958808 From do-not-reply at jboss.com Tue Jul 18 10:16:42 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 18 Jul 2006 10:16:42 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Singleton Failover Message-ID: <27227636.1153232202715.JavaMail.jboss@colo-br-02.atl.jboss.com> Suggest you take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=FDVersusFD_SOCK, particularly the portion at the bottom that discusses combining FD and FD_SOCK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958810#3958810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958810 From do-not-reply at jboss.com Tue Jul 18 10:17:01 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 10:17:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <22633574.1153232221490.JavaMail.jboss@colo-br-02.atl.jboss.com> Note that none of these questions have anything to do with Seam. Now, I don't mind if you discuss your JSF problems here. But if you are going to talk about bugs and use italics and exclamation points and multiple question marks, please consider taking this to the correct place which would be the MyFaces forum. OTOH, if you wish to continue this discussion here, that is fine by me, but please lay off of the "bug or incompatibility" talk. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958811#3958811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958811 From do-not-reply at jboss.com Tue Jul 18 10:18:41 2006 From: do-not-reply at jboss.com (x-avila) Date: Tue, 18 Jul 2006 10:18:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - SQL Error Message-ID: <22334035.1153232321613.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi: I'm trying to make work the reverse eng. CRUD app. that apperas in JBOSS -SEAM tutorials. I'm using a postgres database. When I deploy the app, all semms to be fine, I can create records in the data base, but when I try to find records, I get the error: 09:01:43,049 INFO [STDOUT] Hibernate: select top ? ciudad0_.idciudad as idciudad20_, ciudad0_.nombre as nombre20_ from public.ciudad ciudad0_ where ciudad0_.idciudad=? and (ciudad0_.nombre like ?) | 09:01:43,056 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 42601 | 09:01:43,061 ERROR [JDBCExceptionReporter] ERROR: error de sintaxis en o cerca de ??$1?? | 09:01:43,063 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: Error calling action method of component with id _id2:_id15 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | What should I do? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958812#3958812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958812 From do-not-reply at jboss.com Tue Jul 18 10:22:25 2006 From: do-not-reply at jboss.com (moratelli) Date: Tue, 18 Jul 2006 10:22:25 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Http Session lost in Linux (SUSE LINUX) Message-ID: <32322545.1153232545300.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gloria, I use Jboss 4.0.2 and the Red Hat Enterprise Linux ES release 3 (Taroon) and I have the same problem. If the web application run only in Tomcat in Windows, works fine. But in Jboss, the problem occurs in the change of a first to second page, but in the others access it works fine. The bad news is that I'm looking for a solution too. If anyone have a solution or a "light", post it. Thanks a lot, Alexandre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958813#3958813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958813 From do-not-reply at jboss.com Tue Jul 18 10:26:43 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 10:26:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <19256776.1153232803634.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : If you have a single task node with three tasks, and you want to leave the node after ONE task is complete? Yes anonymous wrote : Why not just have 3 separate task nodes with one task a piece? Tasks instances are created when token comes to task node, so when i'm one step before (as u said in node with 3 transitions) i don't know witch transitions user can take (permissions rules). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958814#3958814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958814 From do-not-reply at jboss.com Tue Jul 18 10:27:34 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 18 Jul 2006 10:27:34 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: java.io.NotSerializableException: org.apache.catalina.co Message-ID: <16470573.1153232854701.JavaMail.jboss@colo-br-02.atl.jboss.com> Simplest for you would be to code up an implementation of javax.servlet.http.HttpSessionAttributeListener, and add it your web.xml. You'll then get a callback whenever an attribute is added, removed or replaced. From there you can do what you want to analyze the attribute, current call stack, etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958815#3958815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958815 From do-not-reply at jboss.com Tue Jul 18 10:33:23 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 18 Jul 2006 10:33:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <19843266.1153233203964.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, May be userName from request is coming null? Check the html source of login page to see if that is the name of the dropdown (user list drop down) or look at the browser address bar to see if that is parameter passed to server. Hope that helps. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958817#3958817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958817 From do-not-reply at jboss.com Tue Jul 18 10:35:14 2006 From: do-not-reply at jboss.com (j1a2o) Date: Tue, 18 Jul 2006 10:35:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Strange message Message-ID: <29441427.1153233314623.JavaMail.jboss@colo-br-02.atl.jboss.com> When a task-node has multiple tasks, I get "New tasks have been assigned to: null, null, null, null, null, null." on assignment instead of "New tasks have been assined to: , , etc." Is there a reason why it does this? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958819#3958819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958819 From do-not-reply at jboss.com Tue Jul 18 10:36:06 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 18 Jul 2006 10:36:06 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Lazy / dynamic POJO properties supported in cache? Message-ID: <20357900.1153233366225.JavaMail.jboss@colo-br-02.atl.jboss.com> No, PojoCache only transparently stores fields; it has no way of knowing that you want the result of a method call to be stored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958820#3958820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958820 From do-not-reply at jboss.com Tue Jul 18 10:37:26 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 18 Jul 2006 10:37:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <6973042.1153233446339.JavaMail.jboss@colo-br-02.atl.jboss.com> Where is "context" defined? I hope it is not another JBPMContext type variable defined as null. String userName = req.getParameter("userName"); JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext(); jbpmContext.setActorId(userName); context.getRequestDispatcher("/mainPage.jsp").forward(req, resp); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958821#3958821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958821 From do-not-reply at jboss.com Tue Jul 18 10:43:46 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Tue, 18 Jul 2006 10:43:46 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Mixins, introducing new superclasses and class loading t Message-ID: <3631708.1153233826126.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) The error message you see is logged by JBoss AOP, so you need to implement all the methods in your mixin and they should not exist in your "target" class. But I think I like your idea about "target class overrides" 2) It is on the roadmap :-) 3) I think I see what you mean. And it could certainly be possible to have a "chain of transformers" do different actions when the class is loaded, the current AOP stuff being the first. I think for this expressions picking out classes would be useful. I'm off on holiday shortly, and will need to think about these a bit more later. I have a lot of other stuff to do that is top-priority, so if you feel like implementing some of your suggestions that would be great. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958822#3958822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958822 From do-not-reply at jboss.com Tue Jul 18 10:46:21 2006 From: do-not-reply at jboss.com (jimmymani) Date: Tue, 18 Jul 2006 10:46:21 -0400 (EDT) Subject: [jboss-user] [JBossWS] - how to make asynchronous call to webservice Message-ID: <7797192.1153233981223.JavaMail.jboss@colo-br-02.atl.jboss.com> i have successfully executed the java ee 5 webservice example from jboss URL url = new URL("http://localhost:8080/hi/OrderProcessorUnit?wsdl"); QName qname = new QName("http://hi.service.webservice.OrderProcessor/jaws", "OrderProcessorService"); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(url, qname); OrderProcessor webs = (OrderProcessor) service.getPort(OrderProcessor.class); System.out.println(webs.getWelcomeMessage()); i have an interface @WebService @SOAPBinding(style=Style.RPC) public interface OrderProcessor extends Remote { @WebMethod public String getWelcomeMessage(); } i have a webservice bean import javax.jws.WebService; @WebService(endpointInterface="hi.service.webservice.OrderProcessor") public class OrderProcessorUnit implements OrderProcessor{ public String getWelcomeMessage() { return "hai welcome to service"; } } accroding to this link http://java.sun.com/developer/technicalArticles/J2EE/intro_ee5/ i want to make an asynchronous call to the web service please help me in finding a solution to this it will be helpful if you can give me the changes to make in the client thanks jimmymani View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958824#3958824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958824 From do-not-reply at jboss.com Tue Jul 18 10:47:16 2006 From: do-not-reply at jboss.com (Viegas) Date: Tue, 18 Jul 2006 10:47:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <8337727.1153234036275.JavaMail.jboss@colo-br-02.atl.jboss.com> "newbie007" wrote : Where is "context" defined? I hope it is not another JBPMContext type | variable defined as null. | | String userName = req.getParameter("userName"); | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext(); | jbpmContext.setActorId(userName); | context.getRequestDispatcher("/mainPage.jsp").forward(req, resp); | | Hello, thanks for the reply, first the "username" is not null, I have verified that. About the context, I am not defining it, I thougt that it would get the context of the server. How can I define it? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958825#3958825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958825 From do-not-reply at jboss.com Tue Jul 18 10:51:41 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Tue, 18 Jul 2006 10:51:41 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <9548962.1153234301852.JavaMail.jboss@colo-br-02.atl.jboss.com> jboss-4.0.4.GA-Patch1-installer.jar installs JBoss AS 4.0.4GA. It also includes EJB3.0 CR7. You should be able to run EJB3 against 4.0.4 zip distribution with no problems however it requires a few manual steps to get it running. That's why installer is the quickest way to install AS and EJB3. You should select "ejb3" profile. If you decide to use installer, pick up the latest drop at http://labs.jboss.com/portal/jemsinstaller/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958826#3958826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958826 From do-not-reply at jboss.com Tue Jul 18 10:52:45 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 10:52:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <2004243.1153234365238.JavaMail.jboss@colo-br-02.atl.jboss.com> which version of jbpm are you using 6.03? On JBoss 11? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958828#3958828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958828 From do-not-reply at jboss.com Tue Jul 18 10:54:41 2006 From: do-not-reply at jboss.com (j1a2o) Date: Tue, 18 Jul 2006 10:54:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <5364957.1153234481686.JavaMail.jboss@colo-br-02.atl.jboss.com> Not quite sure. I downloaded jbpm-starters-kit-3.1.1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958829#3958829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958829 From do-not-reply at jboss.com Tue Jul 18 10:55:02 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Tue, 18 Jul 2006 10:55:02 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: EnableLoadTime weaving in Linux with JBoss 4.0.4GA Message-ID: <28686827.1153234502291.JavaMail.jboss@colo-br-02.atl.jboss.com> The log4j exception is unrelated, but you should fix this anyhow. The error message you mention is benign. Basically, when we have pointcuts for fields and constructors we need to change the code calling those fields/constructors so that the woven code executing the aspects is called. So when weaving a class we find all the classes it acceses, and try to load up each of those classes in the weaver to see if their fields/constructors match any pointcuts. So basically the messages mean that StandarServer and ServerContext reference NamingContextListener and NamingContextListener is not on the classpath. THis is not really a problem since the code calling NamingContextListener is not called (or when running tomcat you'd get ClassNotFoundExceptions) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958830#3958830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958830 From do-not-reply at jboss.com Tue Jul 18 10:58:35 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 10:58:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with task assignment Message-ID: <12379106.1153234715985.JavaMail.jboss@colo-br-02.atl.jboss.com> what does the create activity classs do? Does it by 'accident' create another task? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958833#3958833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958833 From do-not-reply at jboss.com Tue Jul 18 10:59:25 2006 From: do-not-reply at jboss.com (abosch) Date: Tue, 18 Jul 2006 10:59:25 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - adds itself as node several times Message-ID: <30642678.1153234765090.JavaMail.jboss@colo-br-02.atl.jboss.com> hi! im configuring jboss 3.2.7 in two machines with two network interfaces each. when i start jboss with first (default) network interface with --host=192.168.0.X all is ok, two nodes see each other. but when i start jboss with the ip of second interface (10.10.10.x) i get an extrange behaviour, the second node starts to add itself as a new member every few seconds: 17:20:24,454 INFO [PartInstitut] All Members : 7 ([10.10.10.5:1099, 10.10.10.6:1099, 10.10.10.6:1099, 10.10.10.6:1099, 10.10.10.6:1099, 10.10.10.6:1099, 10.10.10.6:1099]) | i must stop server. anyone have experimented this problem? thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958834#3958834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958834 From do-not-reply at jboss.com Tue Jul 18 10:59:30 2006 From: do-not-reply at jboss.com (rajeshchande) Date: Tue, 18 Jul 2006 10:59:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <29111030.1153234770919.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Alex, Thanks for the prompt reply. I have already installed the "zip" on my servers assuming they would run the "ejb3". I have used "default" server to create my instances. What are the manual steps to make ejb3 running in the "default" instance? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958835#3958835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958835 From do-not-reply at jboss.com Tue Jul 18 10:59:36 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 10:59:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <16070469.1153234776478.JavaMail.jboss@colo-br-02.atl.jboss.com> It's a bug, you're using 3.1.1 with that starter's kit. It's a bug in the sample webapp, and if you dig into it, you can fix it. I know I've seen it before, and I think it's come up in the forums before. Not sure if there's a Jira issue, but since 3.1.1 webapp isn't a huge focal point (due to the new changes in 3.2) it might not be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958836#3958836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958836 From do-not-reply at jboss.com Tue Jul 18 11:03:01 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Tue, 18 Jul 2006 11:03:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: missing scheduler-plugin.jar in JBOSS 4.0.4 GA (ejb3.0) Message-ID: <33083837.1153234981164.JavaMail.jboss@colo-br-02.atl.jboss.com> ejb3 profile doesn't include many of the default/all components such as scheduler service. We are going to address this in the next drop of the installer (1.2.0.BETA2): http://jira.jboss.com/jira/browse/JBINSTALL-44 Workaround is to just copy the following files from the zip distribution: deploy/schedule-manager-service.xml deploy/scheduler-service.xml lib/scheduler-plugin-example.jar lib/scheduler-plugin.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958837#3958837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958837 From do-not-reply at jboss.com Tue Jul 18 11:03:25 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 11:03:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <13461314.1153235005925.JavaMail.jboss@colo-br-02.atl.jboss.com> use JbpmConfiguration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958839#3958839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958839 From do-not-reply at jboss.com Tue Jul 18 11:04:16 2006 From: do-not-reply at jboss.com (rdewell) Date: Tue, 18 Jul 2006 11:04:16 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Lazy / dynamic POJO properties supported in cache? Message-ID: <9898036.1153235056045.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I've been reading the docs on CacheLoaders. They seem like a promising solution. It looks to me like if I create my own CacheLoader implementation that sits on top of this virtual, infinite tree I'm describing, then that might do the trick. As my objects are requested out of this custom CacheLoader, I could instantiate them on demand. This custom CacheLoader could wrap around a FileCacheLoader instance for simple passivation capability. Sound reasonable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958840#3958840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958840 From do-not-reply at jboss.com Tue Jul 18 11:04:57 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 11:04:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <27595093.1153235097527.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : and add an action that cancels all other parallel tasks if one is acted upon I don't think that's needed... The task node can be configured as signal=first end-tasks=true, right? That will let the first task signal to the next node and cancel all open tasks, at least from my understanding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958841#3958841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958841 From do-not-reply at jboss.com Tue Jul 18 11:05:41 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 11:05:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <8146006.1153235141917.JavaMail.jboss@colo-br-02.atl.jboss.com> I've only seen 'null' in the responding text if the swimlane was 're-used' with an already filled actor field. But I can mis some things. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958842#3958842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958842 From do-not-reply at jboss.com Tue Jul 18 11:07:31 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 11:07:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <7377163.1153235251481.JavaMail.jboss@colo-br-02.atl.jboss.com> it cancels ALL open tasks indeed, FOR NOW ;-) cause that is a bug. It should only cancel tasks in the same task-node View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958843#3958843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958843 From do-not-reply at jboss.com Tue Jul 18 11:08:53 2006 From: do-not-reply at jboss.com (j1a2o) Date: Tue, 18 Jul 2006 11:08:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <32100903.1153235333035.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you explain what you mean by reused? This is one of my swimlanes: | | | | Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958844#3958844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958844 From do-not-reply at jboss.com Tue Jul 18 11:09:19 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Tue, 18 Jul 2006 11:09:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <21726528.1153235359036.JavaMail.jboss@colo-br-02.atl.jboss.com> Download EJB3.0 RC8 from http://prdownloads.sourceforge.net/jboss/jboss-EJB-3.0_RC8-FD.zip?download and follow instructions in INSTALL.XML View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958845#3958845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958845 From do-not-reply at jboss.com Tue Jul 18 11:15:25 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 11:15:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <1495420.1153235725663.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm yes theres a sql exception: | Caused by: java.sql.SQLException: Table not found in statement [delete from ORDERLINES] | But thats from import.xml - i thought the application should work without the data provided in the import.sql script, its only pre defined data, it should work without, am i right? But the db schema did not get exported, there are no tables created at the database, have i have to create them manually? Didn't get that schema stuff completly in my head yet. kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958846#3958846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958846 From do-not-reply at jboss.com Tue Jul 18 11:18:04 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Tue, 18 Jul 2006 11:18:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <11938813.1153235884169.JavaMail.jboss@colo-br-02.atl.jboss.com> INSTALL.html ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958847#3958847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958847 From do-not-reply at jboss.com Tue Jul 18 11:19:31 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 11:19:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <15078554.1153235971158.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh wow, ouch. Yeah, I assumed it maintained the relationship to the current task-node. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958849#3958849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958849 From do-not-reply at jboss.com Tue Jul 18 11:23:31 2006 From: do-not-reply at jboss.com (triathlon98) Date: Tue, 18 Jul 2006 11:23:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - failed to lazily initialize a collection of role Message-ID: <10102336.1153236211257.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the error below which happens during a call to e EJB3 SFSB. There is no explicit rollback happening in the code and the session is (obviously) managed by the container. I am using JBoss 4.0.4GA. | 2006-07-17 06:02:05,374 ERROR [org.hibernate.LazyInitializationException] failed to lazily initialize a collection of role: org.ictrace.server.pm.DMWeightGroupTotalBean.batches, no session or session was closed | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.ictrace.server.pm.DMWeightGroupTotalBean.batches, no session or session was closed at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.PersistentBag.iterator(PersistentBag.java:246) at package.WeightMediatorBaseEx.addWGTBatch(WeightMediatorBaseEx.java:359) at ... | The code where the exception is invoced looks like this : | private void addWGTBatch( DMWeightGroupTotalBean obj, String batchRef ) | throws UnidConstraintViolation | { | if ( obj == null || batchRef == null ) return; | try | { | Collection batches = obj.getBatches(); | if ( batches == null ) | { | batches = new ArrayList(); | obj.setBatches( batches ); | } | // check if the object already exists | for ( DMWeightGroupTotal_BatchesBean bb : batches ) // error is reported on this line | { | if ( batchRef.equals( bb.getBatches() ) ) return; | } | batches.add( new DMWeightGroupTotal_BatchesBean( batchRef ) ); | obj.modified(); | } | catch ( Exception ex ) | { | throw new UnidConstraintViolation( UCV_PROBLEM_WHEN_ADDING_BATCH_TO_THE_TOTAL_LINE, batchRef, ex ); | } | } | Does anybody have any idea what is causing this error and how I can fix / work around it? Thanks, Joachim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958850#3958850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958850 From do-not-reply at jboss.com Tue Jul 18 11:25:33 2006 From: do-not-reply at jboss.com (mculpepper@jboss.com) Date: Tue, 18 Jul 2006 11:25:33 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - JBoss Eclipse IDE 2.0.0.Alpha1a released! Message-ID: <19011431.1153236333292.JavaMail.jboss@colo-br-02.atl.jboss.com> The JBoss Eclipse IDE Team is happy to announce JBoss Eclipse IDE 2.0.0.Alpha1a! This is a bug fix release that addresses the issues of Callisto compatibility we were seeing in 2.0.0.Alpha. Some of our standalone components (HibernateTools, JBossAS adapter) were not working unless you already had WTP installed. This problem has been fixed. There have also been a number of JIRA bugs fixed for this release. Here are the relevant links: Sourceforge download area: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=72248&release_id=432723 Release Notes: http://sourceforge.net/project/shownotes.php?release_id=432723&group_id=22866 Download Guide: http://labs.jboss.com/portal/jbosside/download/index.html Update site: http://download.jboss.org/jbosside/updates/development View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958852#3958852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958852 From do-not-reply at jboss.com Tue Jul 18 11:27:12 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 11:27:12 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <271667.1153236432561.JavaMail.jboss@colo-br-02.atl.jboss.com> I only see this in the 3.1.1 webapp when there are multiple tasks assigned, like when you have a fork to two task nodes. I made the fix once in the webapp... I just checked. In TaskBean.java, line 202, it calls the wrong method. msg += taskAssignLog.getActorId(); That should be .getTaskNewActorId(); (Which is called properly on line 195) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958853#3958853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958853 From do-not-reply at jboss.com Tue Jul 18 11:27:38 2006 From: do-not-reply at jboss.com (asmo) Date: Tue, 18 Jul 2006 11:27:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with task assignment Message-ID: <30428802.1153236458862.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for the quick reply! In the createActivity state is the createActionHandler called on the before-signal event. I have deleted all the code to avoid such "accidents", so that the actionHandler just call a transition to leave the node. | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | | public class createActionHandler implements ActionHandler { | | public void execute(ExecutionContext arg0) throws Exception { | // TODO Auto-generated method stub | | | arg0.getNode().leave(arg0,"to_handleActivity"); | | | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958854#3958854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958854 From do-not-reply at jboss.com Tue Jul 18 11:27:54 2006 From: do-not-reply at jboss.com (saravana kumar) Date: Tue, 18 Jul 2006 11:27:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SEAM CRUD application has no impact to the DB Message-ID: <26489763.1153236474386.JavaMail.jboss@colo-br-02.atl.jboss.com> Hai rency, I got the same error what you have posted but i don't use ejb-jar.xml and persistance.xml and also i use mysql database. My seam.properties file is empty. I have the following configuration in the hibernate.cfg.xml file. | | | | | org.gjt.mm.mysql.Driver | root | jdbc:mysql://192.168.1.85/lgms | root | org.hibernate.dialect.MySQLDialect | | I get the following error when i try to search a record, i get the following error | 19:55:36,531 INFO [STDOUT] Hibernate: select top ? divisionde0_.division_id as division1_0_, divisionde0_.division_name as division2_0_ from lgms.division_details divisionde0_ | 19:55:36,609 WARN [JDBCExceptionReporter] SQL Error: -227, SQLState: 3F000 | 19:55:36,609 ERROR [JDBCExceptionReporter] invalid schema name: LGMS in statement [select top ? divisionde0_.division_id as division1_0_, divisionde0_.division_name as division2_0_ | from lgms.division_details divisionde0_] | 19:55:36,703 ERROR [SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: Error calling action method of component with id _id2:_id13 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 19:55:36,781 INFO [SeamExceptionFilter] killing transaction | 19:55:36,781 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id _id2:_id13 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{divisiondetailsFinder.findFirstPage} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 27 more | Caused by: javax.ejb.EJBTransactionRolledbackException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy100.findFirstPage(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 28 more | Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:567) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:56) | at DivisionDetailsFinderBean.executeQuery(DivisionDetailsFinderBean.java:99) | at DivisionDetailsFinderBean.findFirstPage(DivisionDetailsFinderBean.java:105) | 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.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) | at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) | at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:33) | at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.GeneratedMethodAccessor85.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | ... 48 more | Caused by: org.hibernate.exception.GenericJDBCException: could not execute query | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.loader.Loader.doList(Loader.java:2148) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029) | at org.hibernate.loader.Loader.list(Loader.java:2024) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:53) | ... 121 more | Caused by: java.sql.SQLException: invalid schema name: LGMS in statement [select top ? divisionde0_.division_id as division1_0_, divisionde0_.division_name as division2_0_ from lgm | s.division_details divisionde0_] | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.(Unknown Source) | at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) | at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349) | at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:337) | at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:497) | at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:415) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561) | at org.hibernate.loader.Loader.doQuery(Loader.java:661) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) | at org.hibernate.loader.Loader.doList(Loader.java:2145) | ... 129 more | Please help me in solving this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958855#3958855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958855 From do-not-reply at jboss.com Tue Jul 18 11:42:25 2006 From: do-not-reply at jboss.com (mokojin) Date: Tue, 18 Jul 2006 11:42:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - URGENT: Problem deploying webservice Message-ID: <24233691.1153237345158.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all I'm using by the first time JBoss, and I make a simple ws using netbeans 5, I added Jboss to netbeans servers list, and and I run the project everything works nice. But... when I installed JBoss on a linux machine and I and to deploy my application (plato-ws.war) I copy the plato-ws.war to jboss/server/default/deploy directory, and when I start boss the following error appears: 16:12:20,830 WARN [ServiceMetaData] Cannot load class for type: {urn:SecretariaVirtual/types}createUser,plato.ws.SecretariaVirtualSEI_createUser_RequestStruct | 16:12:20,833 ERROR [MainDeployer] Could not start deployment: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/plato-ws.war | org.jboss.ws.WSException: Cannot load java type: plato.ws.SecretariaVirtualSEI_connect_RequestStruct | at org.jboss.ws.metadata.ParameterMetaData.getJavaType(ParameterMetaData.java:141) | at org.jboss.ws.metadata.ParameterMetaData.eagerInitialize(ParameterMetaData.java:291) | at org.jboss.ws.metadata.OperationMetaData.eagerInitialize(OperationMetaData.java:474) | at org.jboss.ws.metadata.EndpointMetaData.eagerInitialize(EndpointMetaData.java:353) | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:397) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:143) | at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:131) | at org.jboss.ws.server.ServiceEndpointManager$DefaultServiceLifecycle.startServiceEndpoint(ServiceEndpointManager.java:513) | and then: | --- Incompletely deployed packages --- | org.jboss.deployment.DeploymentInfo at f9ff1dab { url=file:/usr/local/jboss-4.0.4.GA/server/default/deploy/plato-ws.war } | deployer: MBeanProxyExt[jboss.web:service=WebServer] | status: Deployment FAILED reason: Cannot load java type: plato.ws.SecretariaVirtualSEI_connect_RequestStruct | state: FAILED | watch: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/plato-ws.war | altDD: null | lastDeployed: 1153235539279 | lastModified: 1153235539000 | mbeans: | jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/plato-ws,J2EEApplication=none,J2EEServer=none (state not available) | jboss.web:j2eeType=Servlet,name=WSServlet_SecretariaVirtual,WebModule=//localhost/plato-ws,J2EEApplication=none,J2EEServer=none (state not available) | jboss.web:j2eeType=Servlet,name=WSServlet_SingleSignOn,WebModule=//localhost/plato-ws,J2EEApplication=none,J2EEServer=none (state not available) | jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/plato-ws,J2EEApplication=none,J2EEServer=none (state not available) Then... via browser I try to see the deployed webservices, I can see then, but can't retrieve the WDSL. I know that something is missing, but don't know what. Could Anyone help?? Thanks in advance PS: sorry the english View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958858#3958858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958858 From do-not-reply at jboss.com Tue Jul 18 11:43:04 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 11:43:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with task assignment Message-ID: <23654826.1153237384958.JavaMail.jboss@colo-br-02.atl.jboss.com> I think you created a small loop.... you have an actionhandler on a state signal that state (you should not do that, only in a node or decsion) AND you signal the state separately in your testcase. That way the TR2 is taken and an additional task is created. So the behaviour is in my opinion correct. You could see this in the logging btw that tr2 is taken as a default transition somewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958859#3958859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958859 From do-not-reply at jboss.com Tue Jul 18 11:47:29 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 11:47:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <24805539.1153237649699.JavaMail.jboss@colo-br-02.atl.jboss.com> So what is the solution ? For now i name tasks and transitions in some convention and these way i connect them. But these have some influence on process designers which I want to minimalize. Nevertheless i will lokk for some better solution, and i hope we find something. Good luck ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958861#3958861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958861 From do-not-reply at jboss.com Tue Jul 18 11:47:57 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 18 Jul 2006 11:47:57 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: TrailBlazer Application - EJB3Trail.ear Fails to Deploy Message-ID: <25061917.1153237677390.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to upgrade JBoss with the EJB3 RC8 package. Go to http://labs.jboss.com/portal/jbossejb3/download/index.html#ejb3, download the package and follow the installation instructions. You didn't say, but I assume you are using JBoss 4.0.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958862#3958862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958862 From do-not-reply at jboss.com Tue Jul 18 11:50:38 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 11:50:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <10179559.1153237838120.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a jira issue for this with a fix. Patch jbpm yourself if you want it fiexed now, or wait for the (yet unscheduled) next minor release View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958863#3958863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958863 From do-not-reply at jboss.com Tue Jul 18 11:50:44 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 11:50:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <28233343.1153237844397.JavaMail.jboss@colo-br-02.atl.jboss.com> More specifically, you should basically always do something like this: JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | try | { | // do some stuff using the context | } | finally | { | jbpmContext.close(); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958864#3958864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958864 From do-not-reply at jboss.com Tue Jul 18 11:52:28 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 11:52:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <2551427.1153237948584.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : it cancels ALL open tasks indeed Which tasks will be canceled ? 1)User tasks 2)Process instance tasks 3)Process definition tasks 4)All tasks 5)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958865#3958865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958865 From do-not-reply at jboss.com Tue Jul 18 11:54:17 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 11:54:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <31283623.1153238057782.JavaMail.jboss@colo-br-02.atl.jboss.com> If connecting task with transition is such big problem maybe add such feature to future version ? How about that ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958866#3958866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958866 From do-not-reply at jboss.com Tue Jul 18 11:57:47 2006 From: do-not-reply at jboss.com (asmo) Date: Tue, 18 Jul 2006 11:57:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with task assignment Message-ID: <4640856.1153238267142.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, that was the problem. Thank you very much!!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958867#3958867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958867 From do-not-reply at jboss.com Tue Jul 18 11:59:37 2006 From: do-not-reply at jboss.com (znbailey) Date: Tue, 18 Jul 2006 11:59:37 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <3784429.1153238377879.JavaMail.jboss@colo-br-02.atl.jboss.com> I just upgraded to Alpha1a. Now, when starting the server the status box ALWAYS says "starting...", even after I have received the message "11:47:57,734 INFO [Server] JBoss (MX MicroKernel) [3.2.7 (build: CVSTag=JBoss_3_2_7 date=200501280217)] Started in 56s:922ms". Then, after a while the error dialog pops up : "The server failed to start in 450 seconds", but that error dialog does not make the server stop running. It seems there is some disconnect between the actual state of the server and the state returned by the method the jboss adapter uses to poll the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958868#3958868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958868 From do-not-reply at jboss.com Tue Jul 18 12:05:14 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 12:05:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <11255320.1153238714643.JavaMail.jboss@colo-br-02.atl.jboss.com> Edit: Ok - forget to sync the databases in dvd-ds.xml and persistence.xml. Now i changed following files: dvd-ds.xml, persistence.xml and jboss-beans.xml to use my postgres DB. Now i get another exception - which confuses me, because the url is correct, and the driver class too - using this jdbc url and driver in another project, which works fine there. | Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Apparently wrong driver class specified for URL: class: org.postgresql.Driver, url: jdbc:postgresql://localhost:5432/mydb) | and before that: | Caused by: org.jboss.resource.JBossResourceException: Failed to register driver for: org.postgresql.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: org.postgresql.Driver) | Included jdbc3-postgresql.jar in WEB-INF/lib directory of dvdstore example - anything else i have to do? kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958870#3958870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958870 From do-not-reply at jboss.com Tue Jul 18 12:07:47 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 18 Jul 2006 12:07:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Problem trying Class Tutorial Message-ID: <19833625.1153238867777.JavaMail.jboss@colo-br-02.atl.jboss.com> I am attempting my first jbpm class by using the tutorial here: http://docs.jboss.org/jbpm/v3/gpd/completing.html But quickly hitting some roadblocks: The first image has a com.jbay.action package which I dont seem to have. and the org.jbpm.graph.def.ActionHandler doesnt appear to exist either. Do I need these extra resources, or am I supposed to be doing this in a different way altogether? James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958871#3958871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958871 From do-not-reply at jboss.com Tue Jul 18 12:21:14 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 18 Jul 2006 12:21:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Retriving task instances for user Message-ID: <5024062.1153239674743.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have one more problem using jBPM. If i want to get all task instances for actor (push/pull) do i have to start from getTaskMgmtSession().findTaskInstances(actorID) always? Is there any other way ? If no, how to get task instances gropued by task nodes ? Something like this doesn't work (ClassCast): List tasks = workflowConfig.createJbpmContext().getTaskMgmtSession().findTaskInstances(actorId); | | Map> instancesGrouped = new HashMap>(); | for(TaskInstance task : tasks) | { | //ClassCast here | TaskNode taskNode = (TaskNode)task.getToken().getNode(); | List instances = instancesGrouped.get(taskNode); | if(instances == null) | { | instances = new ArrayList(); | instancesGrouped.put(taskNode,instances); | } | instances.add(task); | | } Maybe there is other, simplier way to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958872#3958872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958872 From do-not-reply at jboss.com Tue Jul 18 12:26:58 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Tue, 18 Jul 2006 12:26:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Debugging Seam application in Eclipse without tedious redepl Message-ID: <5847889.1153240018689.JavaMail.jboss@colo-br-02.atl.jboss.com> Some notes about running and debugging seam application (any jBoss application) in Eclipse environment without tedious constant redeployment. http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamAutoDeploy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958873#3958873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958873 From do-not-reply at jboss.com Tue Jul 18 12:27:18 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 12:27:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <4976961.1153240038033.JavaMail.jboss@colo-br-02.atl.jboss.com> "falazar" wrote : The first image has a com.jbay.action package which I dont seem to have. That's the package for where you want the class. It will get created when you click finish. The package name doesn't really matter. "falazar" wrote : the org.jbpm.graph.def.ActionHandler doesnt appear to exist either. Do you not have the jbpm.jar in your project's classpath? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958874#3958874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958874 From do-not-reply at jboss.com Tue Jul 18 12:29:24 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 12:29:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <20432118.1153240164432.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok resolved the classloader issue, removed the jar from WEB-INF/lib and copyed it do server/default/lib from jboss install. Works now except: | Caused by: org.postgresql.util.PSQLException: FEHLER: Wert zu lang fuer Typ character varying(1024) | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1512) | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1297) | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) | at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:430) | at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:332) | at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:324) | at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:82) | at org.hibernate.tool.hbm2ddl.SchemaExport.importScript(SchemaExport.java:252) | ... 165 more | | How can i find out which table, column and which dataset goind to insert causes this? And how to fix this? The schema mapping might be little bit wrong, if it maps a column to varchar(1024) but examples being inserted are bigger, so how to find out whre exactly this exception raises and where can i fix the mapping to allow verchar(4096) or anything else? kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958875#3958875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958875 From do-not-reply at jboss.com Tue Jul 18 12:42:46 2006 From: do-not-reply at jboss.com (bdaw) Date: Tue, 18 Jul 2006 12:42:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <31533404.1153240966423.JavaMail.jboss@colo-br-02.atl.jboss.com> for string values just use: PortletURL url = response.createActionURL(); | url.setParameter(?paymentMethod?,?creditCardInProfile?); I'm not sure in which order you want to pass those objects. If render --> action Your concerns are correct. Render phase for a portlet can be triggered multiply times with unpredictable order beetween portlets on the same page and you have no influence on this. If action --> render You simply use ActionRequest.setAttribute(), RenderRequest.getAttribute() or ActionRequest.setRenderParameter() which is better practice than using a session View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958877#3958877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958877 From do-not-reply at jboss.com Tue Jul 18 12:47:20 2006 From: do-not-reply at jboss.com (omaass) Date: Tue, 18 Jul 2006 12:47:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - required fields for transitions? Message-ID: <19392721.1153241240705.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm exploring jBPM and I have a conceptual question. I know that tasks can have required fields. But as far as I know, there is no way to define required fields for transitions. Wouldn't that be sometimes more important than for the task? Example: you have a workflow where a designer uploads an image that is to be approved by the art director. The art director gets a task "check image" in node "waiting for approval". Node "waiting for approval" has two transitions: "approve" and "reject". Now the transition "reject" would need a required variable "rejection reason" whereas "approve" would not. How could you implement this scenario in jBPM? Is there another way I don't see? Thanks for help! omaass View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958879#3958879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958879 From do-not-reply at jboss.com Tue Jul 18 12:50:59 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 18 Jul 2006 12:50:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <31263544.1153241459457.JavaMail.jboss@colo-br-02.atl.jboss.com> I set the CLASSPATH to jbpm/src/resources/jbpm.jar in the terminal (Fedora Core 4) and restarted eclipse, but that didnt appear to have any effect. Is that the correct location of the jar? Do I need to set it within eclipse? James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958880#3958880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958880 From do-not-reply at jboss.com Tue Jul 18 13:00:43 2006 From: do-not-reply at jboss.com (abbasshah) Date: Tue, 18 Jul 2006 13:00:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JBPM TaskCreation at RunTime Message-ID: <30208659.1153242043099.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am having problem while getting taskInstance Id while creating Task at run time. This is what i have TASKNODE A which has task 1a and 2a , when a1 is completed process is transited(leaving task 2a dangling) to Node TASKNODE B , which at rumtime creats task 1b. I have action ActionHandler on " event type='task-create' " which is set to task a1, a2 and b1 and prints tasksInstance id using executionContext.getTaskInstance().getId() on a1 and a2 event relavent taskInstanceId are printed fine but on b1 i get taskinstanceId = 0 ( all this activity i am testing in a junit test and everything happing within same transaction and in the end i rollback) Why b1 taskinstance id is 0 t?????????? Any clues and help would be great...!!! follwing is my process defination < process-definition xmlns='' name='TestCallIssue'> < start-state name='start'> < transition name='' to='setup'>< /transition> < /start-state> < node name='setup'> < action class='com.sample.SetupProcessActionHandler'/> < transition name='' to='Test_Node'>< /transition> < /node> < task-node name='Test_Node' signal='never' create-tasks='false'> < event type='node-enter'> < action class='com.sample.testTask.OnNodeEnter'/> < /event> < task name='MG_CALL_AGREED'> < event type='task-create'> < action class='com.sample.testTask.OnTaskCreation'/> < /event> < event type='task-end'> < action class='com.sample.testTask.OnComplete'/> < /event> < /task> < task name='MG_CALL_SYSTASK_DATA_UPDATE'> < event type='task-create'> < action class='com.sample.testTask.OnTaskCreation'/> < /event> < event type='task-end'> < action class='com.sample.testTask.OnComplete'/> < /event> < /task> < transition name='on_update_msg' to='Test_Node2'>< /transition> < /task-node> < task-node name='Test_Node2' signal='never' create-tasks='false'> < event type='node-enter'> < action class='com.sample.testTask.OnNodeEnter2'/> < /event> < task name='MG_CALL_AGREED2'> < event type='task-create'> < action class='com.sample.testTask.OnTaskCreation'/> < /event> < event type='task-end'> < action class='com.sample.testTask.OnComplete'/> < /event> < /task> < transition name='' to='end'>< /transition> < /task-node> < node name='loopback'> < transition name='' to='Test_Node'>< /transition> < /node> < end-state name='end'>< /end-state> < /process-definition> < code> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958882#3958882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958882 From do-not-reply at jboss.com Tue Jul 18 13:01:32 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 13:01:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <29668666.1153242092909.JavaMail.jboss@colo-br-02.atl.jboss.com> That's now how you set the path in eclipse. You have to modify your project (Project menu -> Properties) and in there should be settings for build path /libraries/etc. You point to it through there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958883#3958883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958883 From do-not-reply at jboss.com Tue Jul 18 13:03:02 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 13:03:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <33291090.1153242182170.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok solved all issues - only one question is left. Where does the length of varchar is mapped for the products table? 1024 for contents and 50 for title is too small for import.sql ( which misses many semicolons ). Changed DB manually after jboss start and imported sql script a second time, works fine. So last question is: How to make those change persistent to the DB schema? kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958884#3958884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958884 From do-not-reply at jboss.com Tue Jul 18 13:05:13 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 18 Jul 2006 13:05:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <21062038.1153242313876.JavaMail.jboss@colo-br-02.atl.jboss.com> You say you are programmatically creating task 1b. Show us what code you are creating it with, you are probably missing setting something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958885#3958885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958885 From do-not-reply at jboss.com Tue Jul 18 13:09:58 2006 From: do-not-reply at jboss.com (tkrah) Date: Tue, 18 Jul 2006 13:09:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Persistence - Switching DB to Postgres - Schema Export f Message-ID: <23152685.1153242598949.JavaMail.jboss@colo-br-02.atl.jboss.com> Closed - all solved. Overwrite the column annotation length does it - i wonder why this works with integrated hypersonic DB, if the title is longer than 50 like for prod_id=67, or the description is longer than 1024 for some examples, it should raise an exception, like postgres does - the integrated db works, dont know why, but postgresql problem is solved. kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958886#3958886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958886 From do-not-reply at jboss.com Tue Jul 18 13:15:20 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Tue, 18 Jul 2006 13:15:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss Message-ID: <21119650.1153242920695.JavaMail.jboss@colo-br-02.atl.jboss.com> Upon setting "Log4jQuietMode" to "false" in the JMX Console for the Log4J Service, reloading the configuration and manually throwing an exception to trigger an ERROR, I receive the following stacktrace, noting the SMTPAppender attempting to contact port 465 (SMTP over SSL). Why is Log4J attemping port 465? Before I deploy my application, I receive emailed errors properly. 13:04:46,171 ERROR [STDERR] javax.mail.MessagingException: Could not connect to SMTP host: myhost.com, port: 465; | nested exception is: | java.net.ConnectException: Connection refused: connect | 13:04:46,171 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282) | 13:04:46,171 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370) | 13:04:46,171 ERROR [STDERR] at javax.mail.Service.connect(Service.java:275) | 13:04:46,171 ERROR [STDERR] at javax.mail.Service.connect(Service.java:156) | 13:04:46,171 ERROR [STDERR] at javax.mail.Service.connect(Service.java:105) | 13:04:46,171 ERROR [STDERR] at javax.mail.Transport.send0(Transport.java:168) | 13:04:46,171 ERROR [STDERR] at javax.mail.Transport.send(Transport.java:98) | 13:04:46,171 ERROR [STDERR] at org.apache.log4j.net.SMTPAppender.sendBuffer(Unknown Source) | 13:04:46,171 ERROR [STDERR] at org.apache.log4j.net.SMTPAppender.append(Unknown Source) | 13:04:46,171 ERROR [STDERR] at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221) | 13:04:46,171 ERROR [STDERR] at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57) | 13:04:46,171 ERROR [STDERR] at org.apache.log4j.Dispatcher.run(AsyncAppender.java:310) | 13:04:46,171 ERROR [STDERR] Caused by: java.net.ConnectException: Connection refused: connect | 13:04:46,171 ERROR [STDERR] at java.net.PlainSocketImpl.socketConnect(Native Method) | 13:04:46,171 ERROR [STDERR] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) | 13:04:46,171 ERROR [STDERR] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) | 13:04:46,171 ERROR [STDERR] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) | 13:04:46,171 ERROR [STDERR] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) | 13:04:46,171 ERROR [STDERR] at java.net.Socket.connect(Socket.java:516) | 13:04:46,171 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:549) | 13:04:46,171 ERROR [STDERR] at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141) | 13:04:46,171 ERROR [STDERR] at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232) | 13:04:46,171 ERROR [STDERR] at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:163) | 13:04:46,171 ERROR [STDERR] at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250) | 13:04:46,171 ERROR [STDERR] ... 11 more | 13:04:47,265 ERROR [STDERR] log4j:ERROR Error occured while sending e-mail notification. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958887#3958887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958887 From do-not-reply at jboss.com Tue Jul 18 13:15:43 2006 From: do-not-reply at jboss.com (niesar) Date: Tue, 18 Jul 2006 13:15:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <27511148.1153242943653.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin, please don't feel offended! My intention is far away to come anyway close to that point. Sorry about that!!! (Well, actually I'm feeling a bit offended now) You know, my original question was which part of this combination of JBoss AS/EJB3/Seam/JSF/MyFaces is actually causing the problem - and where to file the bug. Please don't get me wrong. That is definitely not supposed to be an offense at all. I simply don't know if I can definitely say that this is a MyFaces issue. So I'm raising the question here since Seam/JBoss AS comes bundled with all this stuff and it looks like I'm supposed to use it. That's the simple reason I start the discussion here. You know, if it turns out it's a MyFaces issue, I'll take the discussion over there - and I'll try to tell people over here that there's a problem they could run into. Isn't that the way it should be? Now, since I already spent days with this problem and a lot of time to boil my real world problem down to it's essence, I just didn't want to live with a strange workaround and leave the problem as it is. That won't help anybody! Actually, reporting these kind of problems is a bit my way to pay back a little to open source projects where I'm not involved myself. I think that's a lot better than just walking away. Offending anybody is not my business. So I'm asking again: Where exactly is the problem? 1. possibility: MyFaces problem since it should be able to deal correctly with the EJB3 stuff Hibernate/EJB3 is producing? You know, I wasn't so confident any more when I decompiled the ClassA.class file (ClassE is embedded in ClassA). At least the decompiler gives some strange output telling me something about a reference to ClassE in a way I never saw before. But since this decompiler is quite old, it surely knows nothing about EJB3 or even EJB. However, it seems that ClassA.class doesn't look like standard Java meta code from a few years back any more. Anyway, I don't know if there is a strict definition how the meta code has to look like when EJB3 @Embeddable/@Embedded is used. In case this is well defined, it could be that EJB3/Hibernate is producing some code which is only working in the JBoss world or MyFaces can't handle a well defined case. 2. possibility: MyFaces may not even be supposed to handle this kind of code. In that case there is the incompatibility I was talking about before and Hibernate/EJB3 and MyFaces simply don't fit. But since I only use MyFaces because it's kind of built in here, I can only guess that all the EJB3 stuff should work in MyFaces. 3. possibility: I'm doing something wrong and my code is a piece of shit. Well, that can easily be. But as I said, I spent more than the complete weekend on this issue and now I think I simplified the test case so far, that I'm pretty convinced there is an issue with the @Embeddable/@Embedded stuff. You know, if I'm using a workaround and don't use @Embeddable/@Embedded, everything works fine. However, that's no option for my real world stuff. But never mind. So - without offending anybody, please - where do you think is the problem? Is this definitely a MyFaces issue? Is there nobody else using @Embeddable/@Embedded in combination with Seam/JSF? I'm not ready to believe this yet, since I thought that is common practice - at least if legacy databases must be used. And no, I don't ask any more where to file the bug. That seems to be a question which is by far too dangerous ;))) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958888#3958888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958888 From do-not-reply at jboss.com Tue Jul 18 13:16:07 2006 From: do-not-reply at jboss.com (genman) Date: Tue, 18 Jul 2006 13:16:07 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS PROBLEM IN JBOSS Message-ID: <19616864.1153242967937.JavaMail.jboss@colo-br-02.atl.jboss.com> Test case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958889#3958889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958889 From do-not-reply at jboss.com Tue Jul 18 13:17:10 2006 From: do-not-reply at jboss.com (genman) Date: Tue, 18 Jul 2006 13:17:10 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Information about JBoss Queue Message-ID: <60219.1153243030890.JavaMail.jboss@colo-br-02.atl.jboss.com> Download some samples, teach yourself something. JBoss JMS runs on Java only. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958890#3958890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958890 From do-not-reply at jboss.com Tue Jul 18 13:19:35 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 13:19:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <8949986.1153243175305.JavaMail.jboss@colo-br-02.atl.jboss.com> What I can absolutely definitively promise you is that this has nothing to do with @Embedded/@Embeddable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958891#3958891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958891 From do-not-reply at jboss.com Tue Jul 18 13:20:22 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Tue, 18 Jul 2006 13:20:22 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Client Access to EJB3s Message-ID: <4008130.1153243222413.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved; my error. Simply was obtaining a remote stub via JNDI "BeanName/local". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958892#3958892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958892 From do-not-reply at jboss.com Tue Jul 18 13:20:48 2006 From: do-not-reply at jboss.com (davidgeary) Date: Tue, 18 Jul 2006 13:20:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Hot Deploy Seam Apps on Tomcat? Message-ID: <22770421.1153243249007.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got my Seam app running in Tomcat 5.5 with JBoss embedded EJB. I've got a configuration file wired to the application's build directory, so I can hot-deploy the app. I'm able to run the application, but when I make a change and refresh the browser, Tomcat hangs and I have to restart it. Does anyone know why this is happening or how I can resolve the issue? I applaud Seam's noble goal of providing Rails-like ease-of-development for JEE, but if I have to restart Tomcat everytime I make a change to the application, then that ease-of-development is greatly diminished. david geary View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958893#3958893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958893 From do-not-reply at jboss.com Tue Jul 18 13:26:09 2006 From: do-not-reply at jboss.com (abbasshah) Date: Tue, 18 Jul 2006 13:26:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <32545068.1153243569418.JavaMail.jboss@colo-br-02.atl.jboss.com> This the code of ActionHandler which creats Tasks anonymous wrote : public class OnNodeEnter implements ActionHandler { | | private final static Log log = LogFactory.getLog( OnNodeEnter.class ); | | public void execute(ExecutionContext executionContext) throws Exception { | | System.out.println("OnCreation-->- Start"); | | Token token = executionContext.getToken(); | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | | Task doRecalc = taskNode.getTask("MG_CALL_AGREED"); | tmi.createTaskInstance(doRecalc, token); | | Task doRecalc3 = taskNode.getTask("MG_CALL_SYSTASK_DATA_UPDATE"); | tmi.createTaskInstance(doRecalc3, token); | | System.out.println("OnCreation-->- END"); | | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958894#3958894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958894 From do-not-reply at jboss.com Tue Jul 18 13:26:23 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 13:26:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <11020134.1153243583154.JavaMail.jboss@colo-br-02.atl.jboss.com> It is possible (but fiddly) to set up eclipse to build to an exploded directory structure, and point JBoss to that expolded directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958895#3958895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958895 From do-not-reply at jboss.com Tue Jul 18 13:27:09 2006 From: do-not-reply at jboss.com (davidgeary) Date: Tue, 18 Jul 2006 13:27:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @IfInvalid throws unhandled exception Message-ID: <21519535.1153243629654.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got an address book app that's modeled after the example registration app. I have a JSF action method that looks like this: | @IfInvalid(outcome=Outcome.REDISPLAY) | public String addToBook() { | List existing = em.createQuery("select name from Contact where name=:name") | .setParameter("name", contact.getName()) | .getResultList(); | | if (existing.size()==0) { | // save to the database if the contact doesn't | // already exist | em.persist(contact); | contacts = em.createQuery("from Contact").getResultList(); | return "success"; | } | else { | facesContext.addMessage(null, | new FacesMessage("contact already exists")); | return null; | } | } | In my Contact class, I have a constraint on the name of the contact: | @Entity | @Name("contact") | @Scope(ScopeType.EVENT) | @Table(name="contacts") | public class Contact implements Serializable { | private static final long serialVersionUID = 48L; | | private String name, streetAddress, city; | private String state, country; | | public Contact(String name) { | this.name = name; | } | | public Contact() {} | | @Id @NotNull @Length(min=5, max=25) | public String getName() { | return name; | } | ... | } | But if I create a contact with a name that violates the constraint, I get an unhandled exception, which is listed after my signature. As far as I understand, Seam is supposed to catch that exception and redisplay the same page, but Seam evidently is just letting the exception pass through. Anyone know why? TIA, david geary ERROR 18-07 07:58:02,861 (StandardWrapperValve.java:invoke:253) -Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id1:_id21 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{addressBook.addToBook} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 23 more Caused by: javax.ejb.EJBException: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190) at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) at $Proxy38.addToBook(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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) ... 24 more Caused by: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:104) at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:127) at org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:138) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:44) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:135) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:54) at org.jboss.ejb3.entity.ExtendedEntityManager.createQuery(ExtendedEntityManager.java:124) at com.corejsf.AddressBookAction.addToBook(AddressBookAction.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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:114) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:32) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41) 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) ... 44 more ERROR 18-07 07:58:33,004 (StandardWrapperValve.java:invoke:253) -Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id1:_id21 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{addressBook.addToBook} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 23 more Caused by: javax.ejb.EJBException: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190) at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) at $Proxy38.addToBook(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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) ... 24 more Caused by: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:104) at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:127) at org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:138) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:44) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:135) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:54) at org.jboss.ejb3.entity.ExtendedEntityManager.createQuery(ExtendedEntityManager.java:124) at com.corejsf.AddressBookAction.addToBook(AddressBookAction.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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:114) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:32) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41) 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) ... 44 more ERROR 18-07 07:58:59,058 (StandardWrapperValve.java:invoke:253) -Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id1:_id21 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{addressBook.addToBook} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 23 more Caused by: javax.ejb.EJBException: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190) at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) at $Proxy38.addToBook(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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) ... 24 more Caused by: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:104) at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:127) at org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:138) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:44) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:135) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:54) at org.jboss.ejb3.entity.ExtendedEntityManager.createQuery(ExtendedEntityManager.java:124) at com.corejsf.AddressBookAction.addToBook(AddressBookAction.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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:114) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:32) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41) 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) ... 44 more INFO 18-07 10:37:53,557 (Pages.java:initialize:44) -no pages.xml file found ERROR 18-07 10:38:30,123 (ApplicationDispatcher.java:invoke:704) -Servlet.service() for servlet jsp threw exception java.lang.NullPointerException at org.jboss.seam.core.Manager.touchConversationStack(Manager.java:143) at org.jboss.seam.core.Manager.storeConversation(Manager.java:287) at org.jboss.seam.jsf.SeamPhaseListener.storeAnyConversationContext(SeamPhaseListener.java:160) at org.jboss.seam.jsf.SeamPhaseListener.beforeSaveState(SeamPhaseListener.java:131) at org.jboss.seam.jsf.SeamPhaseListener.access$100(SeamPhaseListener.java:42) at org.jboss.seam.jsf.SeamPhaseListener$StateManagerInterceptor.saveSerializedView(SeamPhaseListener.java:209) at org.apache.myfaces.taglib.core.ViewTag.doAfterBody(ViewTag.java:139) at org.apache.jsp.editContact_jsp._jspx_meth_f_view_0(editContact_jsp.java:136) at org.apache.jsp.editContact_jsp._jspService(editContact_jsp.java:89) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) ERROR 18-07 10:38:30,323 (StandardWrapperValve.java:invoke:253) -Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: org.apache.jasper.JasperException at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: org.apache.jasper.JasperException at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) ... 20 more ERROR 18-07 10:46:12,413 (StandardWrapperValve.java:invoke:253) -Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id1:_id21 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:613) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{addressBook.addToBook} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 23 more Caused by: javax.ejb.EJBException: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:190) at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) at $Proxy38.addToBook(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:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) ... 24 more Caused by: org.hibernate.validator.InvalidStateException: validation failed for: com.corejsf.Contact at org.hibernate.validator.event.ValidateEventListener.validate(ValidateEventListener.java:104) at org.hibernate.validator.event.ValidateEventListener.onPreInsert(ValidateEventListener.java:127) at org.hibernate.action.EntityInsertAction.preInsert(EntityInsertAction.java:138) at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:44) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296) at org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:41) at org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:135) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602) at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:54) at org.jboss.ejb3.entity.ExtendedEntityManager.createQuery(ExtendedEntityManager.java:124) at com.corejsf.AddressBookAction.addToBook(AddressBookAction.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:585) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:114) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:168) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.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:585) at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:32) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:38) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:87) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:41) 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:120) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:103) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) ... 44 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958896#3958896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958896 From do-not-reply at jboss.com Tue Jul 18 13:29:13 2006 From: do-not-reply at jboss.com (MrHighTech) Date: Tue, 18 Jul 2006 13:29:13 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Basic entity caching question (EJB3) Message-ID: <3414310.1153243753812.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I am completely new to caching with JBossCache, so please bear with me. I have setup my persistence.xml file to use the jboss cache and apparently it works just fine for @Cache collections. On the other hand, I have used the @Cache annotation on entities but I can't seem to get them into the cache. I was under the impression that loading it from the manager using find would actually load the referred entity in the cache or load it from there. Is that the way (manager.find(...)) to get mostly static data in the cache ? Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958897#3958897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958897 From do-not-reply at jboss.com Tue Jul 18 13:30:02 2006 From: do-not-reply at jboss.com (hubertg) Date: Tue, 18 Jul 2006 13:30:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <23309960.1153243802465.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks for your answer. The order is: 1. processAction() portlet A 2. render() portlet A 3. render() portlet B 4. render() other portlests C,D, ... I'm porting a MVC web framework (WebWork 1) into a portlet. The classical MVC approach is based on one atomic request-response cycle. The action class needs the input parameters, creates a ValueStack (the action's result) which is passed to the jsp pages via request attributes. In the portlet I have to split this process into two phases, namely the processAction and the render phase. Therefore I need a way to pass the ValueStack from the processAction phase to the render phase. I think render params are no solution for my problem because first I don't want to make results directly visible for the user and second it's practically impossible to set java objects as render objects. br, hubert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958898#3958898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958898 From do-not-reply at jboss.com Tue Jul 18 13:31:08 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 13:31:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <4320972.1153243868046.JavaMail.jboss@colo-br-02.atl.jboss.com> No, that exception is coming from Hibernate, not from the validation performed by @IfInvalid. You are probably missing an @Valid annotation, or something like that. BTW, @IfInvalid/@Valid are semi-deprecated, and are no longer used in the examples. I strongly recommend migrating to s:validateAll View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958899#3958899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958899 From do-not-reply at jboss.com Tue Jul 18 13:32:39 2006 From: do-not-reply at jboss.com (davidgeary) Date: Tue, 18 Jul 2006 13:32:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <16225883.1153243959176.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not familiar with the English adjective "fiddly"--perhaps it comes from the same place that "outjection" comes from. 8-) Anyway, thanks for the quick response: what you describe is exactly what I'm doing with Tomcat. I've got IDEA set up to create an exploded directory that I access via Tomcat. But it doesn't work. I'd really like to stick with Tomcat instead of switching to JBoss. Is there any obvious reason why hot deploy should work with JBoss but not with Tomcat? Does it have something to do with embedded EJB? Thanks, david geary View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958900#3958900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958900 From do-not-reply at jboss.com Tue Jul 18 13:32:51 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 18 Jul 2006 13:32:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <2933699.1153243971197.JavaMail.jboss@colo-br-02.atl.jboss.com> "niesar" wrote : Is this definitely a MyFaces issue? Is there nobody else using @Embeddable/@Embedded in combination with Seam/JSF? In order 1) No, the issue is most likely with your code. Having you tried cleaning and rebuilding from scratch. 2) Yes, I do, and it works exactly as I would expect it to for me. For example, I have a Client object, which has an Address object getter/setter. The Address has a (String) address getter/setter and (String) postcode getter/setter. I can access them as #{client.address.address} or #{client.address.postcode} Whether the object has any EJB3/JPA annotations is irrelevant. If you are still stuck perhaps put your runnable test case up somewhere and I can look at it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958901#3958901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958901 From do-not-reply at jboss.com Tue Jul 18 13:37:15 2006 From: do-not-reply at jboss.com (abbasshah) Date: Tue, 18 Jul 2006 13:37:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <12217985.1153244235872.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is the code in detial anonymous wrote : < process-definition xmlns='' name='TestProcess'> | < start-state name='start'> | < transition name='' to='setup'>< /transition> | < /start-state> | < node name='setup'> | < action class='com.sample.SetupProcessActionHandler'/> | < transition name='' to='Test_Node'>< /transition> | < /node> | < task-node name='A' signal='never' create-tasks='false'> | < event type='node-enter'> | < action class='com.sample.testTask.OnNodeEnter'/> | < /event> | < task name='TASK_A1'> | < event type='task-create'> | < action class='com.sample.testTask.OnTaskCreation'/> | < /event> | < event type='task-end'> | < action class='com.sample.testTask.OnComplete'/> | < /event> | < /task> | < task name='TASK_A2'> | < event type='task-create'> | < action class='com.sample.testTask.OnTaskCreation'/> | < /event> | < event type='task-end'> | < action class='com.sample.testTask.OnComplete'/> | < /event> | < /task> | < transition name='on_update_msg' to='Test_Node2'>< /transition> | < /task-node> | | < task-node name='B' signal='never' create-tasks='false'> | < event type='node-enter'> | < action class='com.sample.testTask.OnNodeEnter2'/> | < /event> | | < task name='TASK_B1'> | < event type='task-create'> | < action class='com.sample.testTask.OnTaskCreation'/> | < /event> | < event type='task-end'> | < action class='com.sample.testTask.OnComplete'/> | < /event> | < /task> | < transition name='' to='end'>< /transition> | < /task-node> | | < node name='loopback'> | < transition name='' to='Test_Node'>< /transition> | < /node> | | < end-state name='end'>< /end-state> | | < /process-definition> | < code> anonymous wrote : TASKNODE A Task creation handler | public class OnNodeEnter implements ActionHandler { | | private final static Log log = LogFactory.getLog( OnNodeEnter.class ); | | public void execute(ExecutionContext executionContext) throws Exception { | | System.out.println("OnCreation-->- Start"); | | Token token = executionContext.getToken(); | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | | Task doRecalc = taskNode.getTask("TASK_A1"); | tmi.createTaskInstance(doRecalc, token); | | Task doRecalc3 = taskNode.getTask("TASK_A2"); | tmi.createTaskInstance(doRecalc3, token); | | System.out.println("OnCreation-->- END"); | | } | | } anonymous wrote : anonymous wrote : TASKNODE B Task creation handler | | | | public class OnNodeEnter2 implements ActionHandler { | | | | private final static Log log = LogFactory.getLog( OnNodeEnter2.class ); | | | | public void execute(ExecutionContext executionContext) throws Exception { | | | | System.out.println("OnCreation-->- Start"); | | | | Token token = executionContext.getToken(); | | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | | | | | Task doRecalc = taskNode.getTask("TASK_B1"); | | tmi.createTaskInstance(doRecalc, token); | | | | System.out.println("OnCreation-->- END"); | | | | } | | | | } | | | anonymous wrote : ActionHandler on task-create event on all tasks | | public class OnTaskCreation implements ActionHandler { | | | | | | public void execute(ExecutionContext executionContext) throws Exception { | | System.out.println("--> TaskInstacne Id ="+executionContext.getTaskInstance().getName()); | | System.out.println("--> TaskInstacne Id ="+executionContext.getTaskInstance().getId()); | | } | | } | | In case of TASK_A1 and TASK_A, OnTaskCreation prints proper Ids | | But In case of TASK_B1, OnTaskCreation prints 0 | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958902#3958902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958902 From do-not-reply at jboss.com Tue Jul 18 13:37:34 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 13:37:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <16405428.1153244254552.JavaMail.jboss@colo-br-02.atl.jboss.com> Tomcat hotdeploy is basically completely broken and AFAIK can't be made to work reliably. http://encarta.msn.com/dictionary_1861673867/fiddly.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958903#3958903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958903 From do-not-reply at jboss.com Tue Jul 18 13:46:04 2006 From: do-not-reply at jboss.com (davidgeary) Date: Tue, 18 Jul 2006 13:46:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <1771746.1153244764453.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I was missing a @Valid annotation. Thanks. Gavin: would you care to elaborate why (I assume) you've switched from validation specified in model classes, ala Rails, to validation specified in views, ala JSF? I'd be most interested in knowing the rationale behind that switch. david geary View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958904#3958904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958904 From do-not-reply at jboss.com Tue Jul 18 13:48:04 2006 From: do-not-reply at jboss.com (justin033) Date: Tue, 18 Jul 2006 13:48:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem during marshalling/unmarshalling Message-ID: <14557261.1153244885010.JavaMail.jboss@colo-br-02.atl.jboss.com> "msaeed" wrote : Hi Joachim, | | All is good now. Thanks for the reply. | | Manny | can u give us the steps how to slove this problem??? Just remove the extra of hibernate jar??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958905#3958905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958905 From do-not-reply at jboss.com Tue Jul 18 13:53:27 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Tue, 18 Jul 2006 13:53:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - application-defined resources for MDBs Message-ID: <32959869.1153245207193.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have a problem understanding how (assembled and tested) ejb-archives containing MDBs can be deployed in multiple applications without avoiding resource conflicts. To my knowledge, queues are bound (either by xml or annotations) when assembling the module (EJB) and not when assembling the application (EAR)...? Servlet context can be bound on application level, global JNDI names for SLSBs can be generated on application level (referencing them with ENC). persitence.xml file can be application-defined which isolate datasources from eachother and overcome conflicts for reused entity beans. But, for MDBs i have not found any similar way of lately bind a MDB to application-defined queues? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958906#3958906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958906 From do-not-reply at jboss.com Tue Jul 18 13:59:06 2006 From: do-not-reply at jboss.com (mikeattibco) Date: Tue, 18 Jul 2006 13:59:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Classloading: There are JARs inside my EAR, and my brain Message-ID: <16411442.1153245546430.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using 4.0.4, sorry. Our EAR works fine with 3.2.x versions (specifically, 3<=x<=7 have been tested). I tried adding the directives to application.xml as you suggested. It does cause the jars to be listed as deployable, but I still get the problem with JBoss looking for them in the deploy directory first. This isn't really a problem - it's the warning exceptions that are thrown that bother me. Turns out these are just Chicken Little exceptions. When I bothered to look, I discovered that the application was, and had been, running. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958907#3958907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958907 From do-not-reply at jboss.com Tue Jul 18 14:00:48 2006 From: do-not-reply at jboss.com (bdaw) Date: Tue, 18 Jul 2006 14:00:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <11083731.1153245648739.JavaMail.jboss@colo-br-02.atl.jboss.com> you do ActionRequest.setAttribute(Object o) and RenderRequest.getAttribute(...) Consider using MVC web framework that has bridge/support for portlets. JSF and struts has some. And read portlet specification (jsr-168) - it's not very long and really readable ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958908#3958908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958908 From do-not-reply at jboss.com Tue Jul 18 14:01:50 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 14:01:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Where are processes / logs typically saved? Message-ID: <1099060.1153245710635.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello -- I have created a simple process that contains invocations of other Java classes via a node's ActionHandler implementation. This is a business process needs to be saved on creation, and saved on completion / exit. My question is this: is it typical to save processes in the code invoking the signaling of the process (i.e. the wrapping code), or is it typical to save processes in the ActionHandlers and code within the process itself? Are there negative ramifications to saving a process withiin the code of the process itself? Thanks! Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958909#3958909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958909 From do-not-reply at jboss.com Tue Jul 18 14:10:42 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:10:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <10721638.1153246242224.JavaMail.jboss@colo-br-02.atl.jboss.com> but do the JbpmConfiguration.getInstance() as little as possible, since it is SLOW. The jBPM webapp does it once! creating the context can be done lots of times, since it is FAST. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958911#3958911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958911 From do-not-reply at jboss.com Tue Jul 18 14:14:50 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:14:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: required fields for transitions? Message-ID: <29447217.1153246490346.JavaMail.jboss@colo-br-02.atl.jboss.com> conditionally required variables is indeed somewhere on the list (afaik). If the required, write, read attribute is changed into something like required='true' or some EL expression with the transitionname in the expression, that could be realized. Achieving this now is possible by making the variable not required in the pd, but checking some things with dhtml in the client. Another option is to implement your own taskcontroller and achieve it that way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958912#3958912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958912 From do-not-reply at jboss.com Tue Jul 18 14:18:34 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:18:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <12512373.1153246714480.JavaMail.jboss@colo-br-02.atl.jboss.com> 2 Regarding the question on adding it. I do not think it will be. This functionality can be achieved in other ways. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958913#3958913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958913 From do-not-reply at jboss.com Tue Jul 18 14:22:14 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:22:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where are processes / logs typically saved? Message-ID: <10569295.1153246934976.JavaMail.jboss@colo-br-02.atl.jboss.com> don't do it in the actionhandlers, this could result in unwanted/unexpected behaviour. Do it in the calling code (as does the webapp) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958915#3958915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958915 From do-not-reply at jboss.com Tue Jul 18 14:24:17 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 14:24:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where are processes / logs typically saved? Message-ID: <337578.1153247057967.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, Thanks a million for the speedy reply. You are a fountain of knowledge and quick on the draw too! Cheers, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958916#3958916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958916 From do-not-reply at jboss.com Tue Jul 18 14:24:25 2006 From: do-not-reply at jboss.com (normann) Date: Tue, 18 Jul 2006 14:24:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released Message-ID: <1006740.1153247065929.JavaMail.jboss@colo-br-02.atl.jboss.com> I can't believe that the some haven't fixed these problems and updated the official EJB 3 package (RC9?) so it works. It's over a month since the first user reported missing files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958917#3958917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958917 From do-not-reply at jboss.com Tue Jul 18 14:25:32 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 14:25:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <244268.1153247132646.JavaMail.jboss@colo-br-02.atl.jboss.com> Right, I was just trying to simplify the example...sorry. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958918#3958918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958918 From do-not-reply at jboss.com Tue Jul 18 14:26:29 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 18 Jul 2006 14:26:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam mailer component Message-ID: <41271.1153247189348.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, so I do perhaps need to receive email ;-) and faxes, and SMS, and... | * I started looking at MDB and JCA message inflow, looks like a good way to do it. My initial idea would be to have a listener interface | | public interface EmailListener { | | public void receive(javax.mail.Message message); | | } | | which must be implemeneted by the MDB receiving email. Then write a resource adaptor to receive new messages from the emailbox and deliver them. | | * The resource adaptor would need to poll the mail box every x seconds to check for new email. | | * Might want to set user, host, password at runtime. But what I'm suggesting seems to require it at deploy time. | | * Doesn't seem to be very Seam like. A thought is to tie it to component driven events which could solve other problems (I need to think about this) | | * Would be a good way to send email as well i.e. | | @In private Mailer mailer | | ... | | javax.mail.Message message = ...; | | mailer.send(message); | | ... | | | | The Mailer component could then add in any defaults specified if not set on the message. | Comments, thoughts, ideas welcome (please!) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958919#3958919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958919 From do-not-reply at jboss.com Tue Jul 18 14:29:47 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:29:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <3847982.1153247387305.JavaMail.jboss@colo-br-02.atl.jboss.com> No problem... I'm just preventing a 'jBPM is slow' situation ;-) We've had a guy test jBPM once via the (at that time) realy slow webapp. Wrong, wrong, wrong... but straightening that out was lots of work... proving the core was fast... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958920#3958920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958920 From do-not-reply at jboss.com Tue Jul 18 14:35:25 2006 From: do-not-reply at jboss.com (gcowsar) Date: Tue, 18 Jul 2006 14:35:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <7580684.1153247725353.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I got it working, finally! There were several problems - most of which have been found by others but I'll repeat them here. There was one problem where I seem to be the only victim (see 2 below). 1) There once was a time when I had myfaces-api-1.1.3.jar in JBoss. I'm not sure how it got there :-) but it has to be named myfaces-api.jar -- I found out that it isn't all that version sensitive, I have 1.1.5 now which I built from subversion, but the jar can't have the version in the name. 2) My classes were not even in my EJB3 jar file. This is due to the code generator generating the wrong package name (I entered "test", it wants the package to be "src.test") and it also generates an incorrect exclude line in the build.xml. | | | | | | | | | | | | The exclude line removes the classes that were just added to the ejb3 jar. You can't give the "Hibernate Code Generation..." tool a package name that will work -- you have to change the package name in the source after it is generated. I think the exclude is intended to avoid copying the classes twice... ? 3) If you are using MySql you need a META-INF/jboss-beans.xml file like this: | | | | | org.gjt.mm.mysql.Driver | jdbc:mysql://localhost:3306/test | root | mypassword | | java:/userDatasource | 0 | 10 | 1000 | 100000 | | | | | | | | | | | | 4) I think you want: in your persistence.xml file or it will wipe out your tables if you leave it as "create-drop", and 5) You have to put jboss-beans.xml in the build.xml in the ejb3.root fileset: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958921#3958921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958921 From do-not-reply at jboss.com Tue Jul 18 14:36:26 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 14:36:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <16952262.1153247786774.JavaMail.jboss@colo-br-02.atl.jboss.com> you mix up names and code and exampleprocesses.... Please post a full new set where all code is related. e.g. Task doRecalc = taskNode.getTask("TASK_B1"); refers to a non-existent task And also post the code where you execute the pd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958922#3958922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958922 From do-not-reply at jboss.com Tue Jul 18 14:41:39 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Tue, 18 Jul 2006 14:41:39 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - local beans in a cluster? Message-ID: <25057140.1153248099545.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, 1- In the clustering of JBoss, is it possible abastract a group of nodes in one node? For example, we've a group of 5 nodes, and the JBoss AS abstract this group has one node. A client only have to access an abstract node and then, the AS would contact one of the 5 nodes. One direct consequence of this approach is demonstrated in the following example: 2 - Suppose that i've an application that work with session beans. It would be great if the application only has to use local session beans (instead of remotes) in the cluster of worstation. I only have to install my application in each workstation and the Cluster of JBoss would access each node in the way we wanted. Is this possible? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958924#3958924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958924 From do-not-reply at jboss.com Tue Jul 18 14:42:17 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Tue, 18 Jul 2006 14:42:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam mailer component Message-ID: <29702259.1153248137186.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : * Might want to set user, host, password at runtime. But what I'm suggesting seems to require it at deploy time. How about including an annotation for injecting your mail component that could either take config information statically or via EL? Is EL runtime configurable enough for everyone? It would be nice if Seam supported JMX remoting of components. I have a feeling it's someone already supports this, maybe JEE 5 provides an annotation or maybe this is a Spring thing (sometimes it's hard to keep these frameworks straight). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958925#3958925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958925 From do-not-reply at jboss.com Tue Jul 18 14:43:46 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 14:43:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <8800922.1153248226565.JavaMail.jboss@colo-br-02.atl.jboss.com> We've not changed where the constraints are specified. Just what *triggers* the validation. And the reason for it is that it is MUCH better to never write invalid data onto your managed entity objects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958926#3958926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958926 From do-not-reply at jboss.com Tue Jul 18 14:55:11 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Tue, 18 Jul 2006 14:55:11 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <30444392.1153248911036.JavaMail.jboss@colo-br-02.atl.jboss.com> znbailey: could you please provide me with more information from the jboss server view's event log? Also, you can get some extra information by opening the properties view and clicking on various event log items to see some properties of them. Please provide as much data from there as you can. You are correct. There is a disconnect of some sort. What type of configuration are you using? Is it a modified minimal configuration or a generic standard configuration? What JBoss version are you using? etc etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958927#3958927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958927 From do-not-reply at jboss.com Tue Jul 18 15:01:17 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 18 Jul 2006 15:01:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How can i implement themes in my application like in Jbo Message-ID: <25449461.1153249277148.JavaMail.jboss@colo-br-02.atl.jboss.com> Download the source code for the portal and look at the source files in ./core/src/main/org/jboss/portal/core/portlet/theme. (2.4.0CR1) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958928#3958928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958928 From do-not-reply at jboss.com Tue Jul 18 15:04:17 2006 From: do-not-reply at jboss.com (hubertg) Date: Tue, 18 Jul 2006 15:04:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <1071313.1153249458003.JavaMail.jboss@colo-br-02.atl.jboss.com> I may be wrong, but I think by using your suggested commands the Object o won't be accessible in the RenderRequest. If it were I'd happily use this method of sharing objects between the methods. The only way is to use ActionResponse::setRenderParameter(String). Then the renderparameter is simply added to the url used for redirect (/portal/default/?renderparam1=value). Render and ActionREquest are two different HTTPServletRequest and not sharing any objects. Thats at least what I remember from JSR 168 :-) JSF and struts are no real alternatives because the current system is based on webwork 1. I used the StrutsBridge as some kind of inspiration though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958929#3958929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958929 From do-not-reply at jboss.com Tue Jul 18 15:07:47 2006 From: do-not-reply at jboss.com (gcowsar) Date: Tue, 18 Jul 2006 15:07:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <31211299.1153249667391.JavaMail.jboss@colo-br-02.atl.jboss.com> and you need in your persistence to XML file (if you are adding the datasource in jboss-beans.xml). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958930#3958930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958930 From do-not-reply at jboss.com Tue Jul 18 15:29:15 2006 From: do-not-reply at jboss.com (jfloehr@checkfree.com) Date: Tue, 18 Jul 2006 15:29:15 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - org.jboss.varia.scheduler.Schedulable Message-ID: <25106905.1153250955913.JavaMail.jboss@colo-br-02.atl.jboss.com> I cannot find the jar file that contains this class in the 4.0.4.GA download after using the installer for EJB3.0. Does anyone know where it's located? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958932#3958932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958932 From do-not-reply at jboss.com Tue Jul 18 15:29:54 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 15:29:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <32418425.1153250994628.JavaMail.jboss@colo-br-02.atl.jboss.com> And use code tags instead of quote tags to format code snippets in your post. ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958933#3958933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958933 From do-not-reply at jboss.com Tue Jul 18 15:32:58 2006 From: do-not-reply at jboss.com (bdaw) Date: Tue, 18 Jul 2006 15:32:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method Message-ID: <11779079.1153251178426.JavaMail.jboss@colo-br-02.atl.jboss.com> arf... ok. of course your right. I wrote the anwser to fast and it is wrong. sory for that.... very stupid from my side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958934#3958934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958934 From do-not-reply at jboss.com Tue Jul 18 15:33:21 2006 From: do-not-reply at jboss.com (yuan_hang) Date: Tue, 18 Jul 2006 15:33:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven2 and JBoss Seam DVD Store demo Message-ID: <18341974.1153251201938.JavaMail.jboss@colo-br-02.atl.jboss.com> Because unit test use embedded-ejb, so the configuration should like this: | | | | true | true | #{ejbName}/local | | | ... | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958935#3958935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958935 From do-not-reply at jboss.com Tue Jul 18 15:35:06 2006 From: do-not-reply at jboss.com (ALRubinger) Date: Tue, 18 Jul 2006 15:35:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss Message-ID: <1947009.1153251306960.JavaMail.jboss@colo-br-02.atl.jboss.com> Part of my application includes a mail service stateless session bean. When this mail service is loaded and the following code is executed, Log4J looks for SMTP on Port 465 as opposed to the settings defined in conf/log4j.xml. Seems Log4J is picking up a shared mail session? Properties props = System.getProperties(); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_PROTOCOL,MailServiceBean.DEFAULT_VALUE_SMTP_PROTOCOL); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_AUTH,true); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_HOST,this.getSmtpHost()); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_USER,this.getSmtpUsername()); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_PASSWORD,this.getSmtpPassword()); | props.put(MailServiceBean.PROPERTY_KEY_SMTP_PORT,new Integer(this.getSmtpPort()).toString()); | props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory"); | props.put("mail.smtp.socketFactory.fallback", "false"); | props.put("mail.smtp.socketFactory.port",new Integer(this.getSmtpPort()).toString()); | SmtpAuthenticator auth = new SmtpAuthenticator(); | auth.setUsername(this.getSmtpUsername()); | auth.setPassword(this.getSmtpPassword()); | mailSession = Session.getInstance(props,auth); | | S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958936#3958936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958936 From do-not-reply at jboss.com Tue Jul 18 15:42:10 2006 From: do-not-reply at jboss.com (jatsrt) Date: Tue, 18 Jul 2006 15:42:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB injection gives null Message-ID: <4336224.1153251730579.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't know if you are seeing the same problem as what we had, but we were using the embedded container for testing and 4.0.4 for release. The location of the EJB class has changed and we did not see that, so every @EJB was giving null because it could not find the EJB class. -Jake View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958937#3958937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958937 From do-not-reply at jboss.com Tue Jul 18 15:42:46 2006 From: do-not-reply at jboss.com (bluetrade) Date: Tue, 18 Jul 2006 15:42:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Joining an existing conversation Message-ID: <5898687.1153251766386.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have an existing conversation running from a webportal and need to use AJAX at one point to access the SAME Bean that I had previously accessed within a normal (not with AJAX) Seam conversation, e.g. I am logged in through the login procedure as in the booking example but later on I would like to "switch" to the AJAX model, how can I "synchronize" these two ? Are there any other examples somewhere or some more docs regarding this? Thanks so much! Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958938#3958938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958938 From do-not-reply at jboss.com Tue Jul 18 15:47:29 2006 From: do-not-reply at jboss.com (yantriki) Date: Tue, 18 Jul 2006 15:47:29 -0400 (EDT) Subject: [jboss-user] [Remoting] - java.lang.ClassNotFoundException Message-ID: <10088539.1153252049546.JavaMail.jboss@colo-br-02.atl.jboss.com> When I am making a call to client.addListener(handler,locator), I am getting the following error message: this.port = port; | serverName = server; | System.out.println(); | System.out.println("socket://" + serverName + ":" + String.valueOf(port)); | locator = new InvokerLocator("socket://" + serverName + ":" + String.valueOf(port)); | client = new Client(locator); | client.connect(); | handler = new ClientCallbackHandler(); | client.addListener(handler, locator); | Error | [java] socket://localhost:6034 | [java] Class Not found: [Ljava.lang.StackTraceElement; | [java] java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement; | [java] at org.apache.tools.ant.AntClassLoader.findClassInComponents(Ant | ClassLoader.java:1149) | [java] at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader. | java:1090) | [java] at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader. | java:966) | [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | [java] at org.jboss.remoting.loading.RemotingClassLoader.loadClass(Remo | tingClassLoader.java:50) | [java] at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.r | esolveClass(ObjectInputStreamWithClassLoader.java:139) | [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream. | java:1543) | [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.jav | a:1465) | [java] at java.io.ObjectInputStream.readArray(ObjectInputStream.java:15 | 90) | [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java: | 1298) | [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream | .java:1917) | [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja | va:1841) | [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea | m.java:1718) | [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java: | 1304) | [java] at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream | .java:1917) | [java] at java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja | va:1841) | [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea | m.java:1718) | [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java: | 1304) | [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:3 | 49) | [java] at org.jboss.remoting.serialization.impl.java.JavaSerializationM | anager.receiveObject(JavaSerializationManager.java:128) | [java] at org.jboss.remoting.marshal.serializable.SerializableUnMarshal | ler.read(SerializableUnMarshaller.java:66) | [java] at org.jboss.remoting.transport.socket.SocketClientInvoker.trans | port(SocketClientInvoker.java:279) | [java] at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInv | oker.java:143) | [java] at org.jboss.remoting.Client.invoke(Client.java:525) | [java] at org.jboss.remoting.Client.addListener(Client.java:720) | [java] at org.jboss.remoting.Client.addListener(Client.java:685) | [java] at org.vss.service.license.client.LicenseClient.(Unknown S | ource) | [java] at org.vss.service.license.client.LicenseClient.(Unknown S | ource) | [java] at TestLicense.testLicenseClient(Unknown Source) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces | sorImpl.java:39) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [java] at java.lang.reflect.Method.invoke(Method.java:585) | [java] at junit.framework.TestCase.runTest(TestCase.java:154) | [java] at junit.framework.TestCase.runBare(TestCase.java:127) | [java] at junit.framework.TestResult$1.protect(TestResult.java:106) | [java] at junit.framework.TestResult.runProtected(TestResult.java:124) | [java] at junit.framework.TestResult.run(TestResult.java:109) | [java] at junit.framework.TestCase.run(TestCase.java:118) | [java] at junit.framework.TestSuite.runTest(TestSuite.java:208) | [java] at junit.framework.TestSuite.run(TestSuite.java:203) | [java] at junit.textui.TestRunner.doRun(TestRunner.java:116) | [java] at junit.textui.TestRunner.doRun(TestRunner.java:109) | [java] at junit.textui.TestRunner.run(TestRunner.java:72) | [java] at junit.textui.TestRunner.run(TestRunner.java:57) | [java] at TestLicense.main(Unknown Source) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces | sorImpl.java:39) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet | hodAccessorImpl.java:25) | [java] at java.lang.reflect.Method.invoke(Method.java:585) | [java] at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav | a:193) | [java] at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava | .java:130) | [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:705) | [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:177) | | [java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:83) | [java] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja | va:275) | [java] at org.apache.tools.ant.Task.perform(Task.java:364) | [java] at org.apache.tools.ant.Target.execute(Target.java:341) | [java] at org.apache.tools.ant.Target.performTasks(Target.java:369) | [java] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) | | [java] at org.apache.tools.ant.Project.executeTargets(Project.java:1062 | ) | [java] at org.apache.tools.ant.Main.runBuild(Main.java:673) | [java] at org.apache.tools.ant.Main.startAnt(Main.java:188) | [java] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) | [java] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) | | [java] Time: 0.266 | | [java] OK (1 test) | I am just starting with jboss remoting and would appreciate any help. jboss: 4.0.4.GA jdk: 1.5.0_07 vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958939#3958939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958939 From do-not-reply at jboss.com Tue Jul 18 15:50:48 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Tue, 18 Jul 2006 15:50:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SEAM CRUD application has no impact to the DB Message-ID: <9945389.1153252249032.JavaMail.jboss@colo-br-02.atl.jboss.com> savana, you should be using persistence.xml to reference your jta data source and tell what sql dialect to use, then have a myssql-ds.xml file for the datasource, into your deploy folder. hibernate.cfg.xml is only used to generate de CRUD app, not to run it. Im not sure but I think you're confused on how hibernate gets connected to the database when running the app. Cheers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958940#3958940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958940 From do-not-reply at jboss.com Tue Jul 18 15:53:39 2006 From: do-not-reply at jboss.com (adamw) Date: Tue, 18 Jul 2006 15:53:39 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - CLIENT-CERT configuration Message-ID: <3838404.1153252419392.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I want to secure a servlet so that you can connect to it only if you have a certificate. To do it, firstly I have setup tomcat to support https as in scenarion 3 here: http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup The only difference is that in server.xml, I left clientAuth="false", as I want the rest of the pages to be accessible in a normal way. Later, I configured my web applicaton as it is described here: http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch8.chapter.html#d0e19521 The result I get is, when I don't have the certificate registered, it denies access, but when I have - I get an error message: HTTP Status 401 - Cannot authenticate with the provided credentials Did I miss something? -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958941#3958941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958941 From do-not-reply at jboss.com Tue Jul 18 15:56:57 2006 From: do-not-reply at jboss.com (abbasshah) Date: Tue, 18 Jul 2006 15:56:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <18139268.1153252617542.JavaMail.jboss@colo-br-02.atl.jboss.com> Hope it is clear now | | < /transition> | | | | < /transition> | | | | | | | | | | | | | | | | | | | | | | | | | < /transition> | | | | | | | | | | | | | | | | < /transition> | | | | | | | | | anonymous wrote : TNODE1 Task Creation Handler public class OnNodeEnter implements ActionHandler { | | public void execute(ExecutionContext executionContext) throws Exception { | System.out.println("OnNodeEnter-->- Start"); | | Token token = executionContext.getToken(); | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | | Task doEAT = taskNode.getTask("TASK_EAT"); | tmi.createTaskInstance(doEAT, token); | | Task doDrink = taskNode.getTask("TASK_DRINK"); | tmi.createTaskInstance(doDrink, token); | | System.out.println("OnNodeEnter-->- END"); | } | } anonymous wrote : TNODE2 Task Creation Handler | public class OnNodeEnter2 implements ActionHandler { | | public void execute(ExecutionContext executionContext) throws Exception { | System.out.println("OnNodeEnter2-->- Start"); | | Token token = executionContext.getToken(); | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); | TaskNode taskNode = (TaskNode) executionContext.getNode(); | | Task doSleep = taskNode.getTask("TASK_SLEEP"); | tmi.createTaskInstance(doSleep, token); | | System.out.println("OnNodeEnter2-->- END"); | } | } anonymous wrote : ActionHandler on task-create event on all tasks public class OnTaskCreation implements ActionHandler { | public void execute(ExecutionContext executionContext) throws Exception { | System.out.println("--> TaskInstacne Id ="+executionContext.getTaskInstance().getName()); | System.out.println("--> TaskInstacne Id ="+executionContext.getTaskInstance().getId()); | } | } anonymous wrote : Process Exceution and TASK_EAT ending Following test is within transaction and in the end i rollback transaction, so that in case of exception nothing is populated in tables. public void testRunTimeTaskCreation() { | try { | loadProcessDefinition(processDef); | | Long processInstanceId = createNewProcessInstance(); | ProcessInstance processInstance = findProcessInstance(processInstanceId); | | Collection tasks = processInstance.getTaskMgmtInstance().getTaskInstances(); | | // only complete TASK_EAT which get created once process is created | | for (TaskInstance task : tasks) { | System.out.println("----------Task name = "+task.getName()); | if (task.getName().equals("TASK_EAT")) { | | assignAndStart(task); | task.end(); // end the task and transit to TNODE2, leave TASK_DIRNK as it is (uncompleted) | break; | } | } | } catch (Exception e) { | e.printStackTrace(); | fail(); | } | | } | anonymous wrote : OnCreation Actionhandler is giving following out put, if above test is run all togather in same transaction. : TaskInstacne Name = TASK_EAT TaskInstacne Id = 700 TaskInstacne Name = TASK_DRINK TaskInstacne Id = 701 ..... TaskInstacne Name = TASK_SLEEP TaskInstacne Id = 0 anonymous wrote : if above test is divided in two test , 1. create process and commit trans then , 2. complete TASK_EAT is perform in different within separate trans output is. : TaskInstacne Name = TASK_EAT TaskInstacne Id = 702 TaskInstacne Name = TASK_DRINK TaskInstacne Id = 703 . . . TaskInstacne Name = TASK_SLEEP TaskInstacne Id = 704 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958942#3958942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958942 From do-not-reply at jboss.com Tue Jul 18 15:59:05 2006 From: do-not-reply at jboss.com (abbasshah) Date: Tue, 18 Jul 2006 15:59:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <21261272.1153252745039.JavaMail.jboss@colo-br-02.atl.jboss.com> forgot to mentioned transaction is not managed by JBPM, i am taking care of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958943#3958943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958943 From do-not-reply at jboss.com Tue Jul 18 16:04:10 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 16:04:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Joining an existing conversation Message-ID: <78361.1153253050748.JavaMail.jboss@colo-br-02.atl.jboss.com> I can't answer unless you tell me what "kind" of AJAX request it is. The JSF servlet? Your own servlet? Some AJAX framework? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958944#3958944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958944 From do-not-reply at jboss.com Tue Jul 18 16:06:58 2006 From: do-not-reply at jboss.com (knaas) Date: Tue, 18 Jul 2006 16:06:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Joining an existing conversation Message-ID: <32539056.1153253218080.JavaMail.jboss@colo-br-02.atl.jboss.com> http://docs.jboss.com/seam/1.0.1.GA/reference/en/html/remoting.html#d0e4175 For instance, | function callMyRemoteMethod(conversationId, otherArg) | { | Seam.Remoting.getContext().setConversationId(conversationId); | var callback = function() { alert('remote method done!'); }; | | var myComponent = Seam.Component.getInstance('MyComponent'); | myComponent.myRemoteMethod(otherArg, callback); | } | And then in your page, make sure to call the javascript method with the conversationId. For instance, | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958946#3958946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958946 From do-not-reply at jboss.com Tue Jul 18 16:10:44 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 16:10:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <11000080.1153253444640.JavaMail.jboss@colo-br-02.atl.jboss.com> you *have* to save the process in between these. Otherwise nothing is committed to the db. Tasks in different tasknodes are not supposed to be used in some kind of STP system. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958947#3958947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958947 From do-not-reply at jboss.com Tue Jul 18 16:12:26 2006 From: do-not-reply at jboss.com (znbailey) Date: Tue, 18 Jul 2006 16:12:26 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <30450733.1153253546233.JavaMail.jboss@colo-br-02.atl.jboss.com> Rob, Absolutely. My configuration information is as follows: JBoss 3.2.7, using the "default" configuration. Deploying in a flat file EAR. The error message in the error console (and in the dialog that appears) is as follows: Timeout waiting for JbossServer Cascade Server 4.x (TRUNK) to start. Server did not start after 450s. The Exception Stack Trace is not available. Here is the session data, as available from the "event details": eclipse.buildId=M20060629-1905 | java.version=1.5.0_05 | java.vendor=Sun Microsystems Inc. | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US | Command-line arguments: -os win32 -ws win32 -arch x86 My program arguments are : "--configuration=default --host=localhost" VM arguments: "-Xms256m -Xmx512m" Let me know if I can get you any other information. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958948#3958948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958948 From do-not-reply at jboss.com Tue Jul 18 16:15:51 2006 From: do-not-reply at jboss.com (znbailey) Date: Tue, 18 Jul 2006 16:15:51 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <5364495.1153253751132.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, I am unsure how to access "the jboss server view's event log". The only error log I know is available via "window -> show view -> error log". That is where I found the previous information. If there is a more salient view, please direct me to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958949#3958949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958949 From do-not-reply at jboss.com Tue Jul 18 16:20:45 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 16:20:45 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration Message-ID: <4041281.1153254045586.JavaMail.jboss@colo-br-02.atl.jboss.com> Adam, First off, see my comments at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86289. SSL vs. CLIENT-CERT authentication are two separate issues. That said, we would need to see some trace logging of JBoss security at the point when a user attempts to access secured resource to see what is going on. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958950#3958950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958950 From do-not-reply at jboss.com Tue Jul 18 16:41:52 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 18 Jul 2006 16:41:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <6886894.1153255312460.JavaMail.jboss@colo-br-02.atl.jboss.com> Set the classpath and moved forward.... The last part of it is throwing an error.... When running figure 4.8 CastException error... but I dont know why 15:30:49,146 [main] DEBUG GraphElement : event 'process-start' on 'ProcessDefinition(TestActionClass)' for 'Token(/)' 15:30:49,149 [main] DEBUG GraphElement : event 'before-signal' on 'StartState(start)' for 'Token(/)' 15:30:49,150 [main] DEBUG GraphElement : event 'node-leave' on 'StartState(start)' for 'Token(/)' 15:30:49,151 [main] DEBUG GraphElement : event 'transition' on 'Transition(to_auction)' for 'Token(/)' 15:30:49,152 [main] DEBUG GraphElement : executing action 'action[hello]' 15:30:49,161 [main] ERROR GraphElement : action threw exception: com.jbay.action.HelloActionHandler java.lang.ClassCastException: com.jbay.action.HelloActionHandler at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166) at org.jbpm.graph.def.Transition.take(Transition.java:106) at org.jbpm.graph.def.Node.leave(Node.java:382) at org.jbpm.graph.node.StartState.leave(StartState.java:70) at org.jbpm.graph.exe.Token.signal(Token.java:174) at org.jbpm.graph.exe.Token.signal(Token.java:123) at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) at com.jbay.HelloTest.testProcess(HelloTest.java:26) 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 junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) 1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958952#3958952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958952 From do-not-reply at jboss.com Tue Jul 18 16:48:13 2006 From: do-not-reply at jboss.com (gus888) Date: Tue, 18 Jul 2006 16:48:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Did somebody make fileupload works with no facelets? Message-ID: <25738409.1153255693450.JavaMail.jboss@colo-br-02.atl.jboss.com> I followed the wiki Fileupload direction, and added Fileupload function to my seam test project with no facelets. When I deployed to JBoss4.0.4.GA, no exceptions about no class found -- FileUpload. However, when I run it, I got an exception about Cannot find taglib uri="http://myfaces.apache.org/tomahawk" in lib or tag file. I understand the exception, since I put the tomahawk.lib in ear file not in WEB-INF/lib/. Does anybody ever experience the problem? I really appreciate if somebody can give me some direction. I don't know whether integrating tomahawk.lib into JBoss server can solve the problem. Thank you very much in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958953#3958953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958953 From do-not-reply at jboss.com Tue Jul 18 16:53:31 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 16:53:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <27828297.1153256011530.JavaMail.jboss@colo-br-02.atl.jboss.com> do you have some other jbpm jar/sar on the classpath? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958954#3958954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958954 From do-not-reply at jboss.com Tue Jul 18 16:54:40 2006 From: do-not-reply at jboss.com (adamw) Date: Tue, 18 Jul 2006 16:54:40 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration Message-ID: <15570520.1153256080577.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, thanks for the link, that clarified a little. Now I'm wondering - where do I put the certificates (server ones - server.keystore file)? Do I bundle them with the web application or put it in the conf directory (I tried both, with the same effect). I'm not sure also what does "The localhost.keystore would need this cert stored with an alias of CN=unit-tests-client, OU=JBoss Inc., O=JBoss Inc., ST=Washington, C=US and the jmx-console-roles.properties would also need an entry for the same entry." mean - from the manual - should I import the client certifiacte to server.keystore? Finally, how do you enable trace logging of JBoss Security? I tried adding to log4j.xml: | | | | but that didn't help :) Thanks, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958955#3958955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958955 From do-not-reply at jboss.com Tue Jul 18 16:58:48 2006 From: do-not-reply at jboss.com (ncapito) Date: Tue, 18 Jul 2006 16:58:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: HelloTest NullPointer Exception Message-ID: <28520743.1153256328248.JavaMail.jboss@colo-br-02.atl.jboss.com> What does your directory set up look like? Where is the hello directory located with respect to where you are running the test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958956#3958956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958956 From do-not-reply at jboss.com Tue Jul 18 16:59:41 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 18 Jul 2006 16:59:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <20500407.1153256381547.JavaMail.jboss@colo-br-02.atl.jboss.com> Only the Three TestJBPM ones that it included, and the jBPM Library (3.1.1) James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958958#3958958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958958 From do-not-reply at jboss.com Tue Jul 18 17:00:21 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Tue, 18 Jul 2006 17:00:21 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration Message-ID: <20597454.1153256421382.JavaMail.jboss@colo-br-02.atl.jboss.com> Adam, see http://wiki.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule , http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX , and http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958959#3958959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958959 From do-not-reply at jboss.com Tue Jul 18 17:05:32 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 18 Jul 2006 17:05:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <10775498.1153256732074.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry, I mistyped.... is there more then one com.jbay.action.HelloActionHandler on the classpath? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958960#3958960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958960 From do-not-reply at jboss.com Tue Jul 18 17:13:06 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 18 Jul 2006 17:13:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <16220967.1153257186773.JavaMail.jboss@colo-br-02.atl.jboss.com> It does not appear there is the HelloActionHandler in the path at all.. In eclipse I checked the path, and it is not there, but I cannot find out how to add it to the classpath their either. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958961#3958961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958961 From do-not-reply at jboss.com Tue Jul 18 17:57:57 2006 From: do-not-reply at jboss.com (ishabalov) Date: Tue, 18 Jul 2006 17:57:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences Message-ID: <27230321.1153259877444.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin, you are always welcome to ask any questions! So far I do not hear any of it, did everything start working? Seam is a bit unusual configuration for JSF developers (yet?), however I play with it a few weeks ago and find it very promising. I cannot tell that I fell in love with annotations, but more granular state management and process engine is something that I always appreciate. I still need to prove this on large project, to make my mind, but ? again ? I?d like to try. I think we will review our compatibility status with Seam soon. (3) must work. Something else is messing around, I believe. I can predict the first question from Alex Smirnov ? what version of Ajax4jsf was used, we did several RC builds last weeks, situation may change significantly in just a few days. Best, Igor Shabalov. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958962#3958962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958962 From do-not-reply at jboss.com Tue Jul 18 18:18:05 2006 From: do-not-reply at jboss.com (bluetrade) Date: Tue, 18 Jul 2006 18:18:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Joining an existing conversation Message-ID: <6967476.1153261085792.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Thanks, the setConversationId(conversationId) worked. I was using a selfmade servlet. Thanks. Flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958963#3958963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958963 From do-not-reply at jboss.com Tue Jul 18 18:18:14 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 18:18:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - How do I change the URL to which the JBPM Eclipse plugin dep Message-ID: <27676438.1153261094229.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to deploy a JBPM process to the server, but I have incorporated the Upload servlets into a new webapp, not the one from the starter's kit. When I test the connection from the jbpm Eclipse plugin to my running JBoss server, I see the following URL is attempted: http://localhost:8080/jbpm I need to change this URL. I have looked everywhere I know to look in Eclipse, but cannot find anywhere where I can change this URL. Can someone tell me how this URL can be changed? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958964#3958964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958964 From do-not-reply at jboss.com Tue Jul 18 18:25:36 2006 From: do-not-reply at jboss.com (bluetrade) Date: Tue, 18 Jul 2006 18:25:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Referencing another Bean Message-ID: <29254411.1153261536426.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have two Beans, wheras one is solely used within the other: @Stateful... Bean1 implements Bean1If { @In(create=true) EntityManager em; Bean2 b2 = new Bean2(); ... } Bean2 implements Bean2If { @In(create=true) EntityManager em; } now in Bean2, if I want to access the em, I always end up with a null pointer (for Bean1 it works), I guess I cannot just say new Bean2() - but I don't know how else I would instantiate the second bean... Thanks, Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958965#3958965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958965 From do-not-reply at jboss.com Tue Jul 18 18:27:27 2006 From: do-not-reply at jboss.com (editha) Date: Tue, 18 Jul 2006 18:27:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - deploy ear with embedded jboss Message-ID: <26948531.1153261647794.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm new to JBoss and I apologize if I ask stupid questions. I need to deploy an ear file with jboss-EJB-3.0 embeddable. Is this possible? And if, how do I do it? start the container with EJB3StandaloneBootstrap.boot(null) and then search the classpath for the ear file with EJB3StandaloneBootstrap.scanClasspath() ? Thanks in advance for your answers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958966#3958966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958966 From do-not-reply at jboss.com Tue Jul 18 18:28:36 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 18:28:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences Message-ID: <2423107.1153261716585.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Igor, thanks. When I get a chance, I want to get some closer discussions going on this topic. My suspicion is that some of my problems relate to the MyFaces/AJAX4JSF combo, and some relate to problems b/w you servlet filter and my phaselistener. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958967#3958967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958967 From do-not-reply at jboss.com Tue Jul 18 18:34:44 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 18:34:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <10745332.1153262084801.JavaMail.jboss@colo-br-02.atl.jboss.com> Which version of the GPD are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958968#3958968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958968 From do-not-reply at jboss.com Tue Jul 18 18:38:34 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 18 Jul 2006 18:38:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <529543.1153262315009.JavaMail.jboss@colo-br-02.atl.jboss.com> Which JPD version you are using? I am using 3.0.9.x and you can specify the server port and server name during the deployment. If you are using old version, you can save the .par file locally and deploy it programatically if you want (using jbpmContext.deployProcessDefinition method). Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958969#3958969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958969 From do-not-reply at jboss.com Tue Jul 18 18:42:51 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 18:42:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <2971993.1153262571263.JavaMail.jboss@colo-br-02.atl.jboss.com> oops....I neglected to mention versions...sorry. I am using: - Eclipse 3.1.2 - JBPM Plugin 3.0.9 - JBPM 3.1.1 - (and the starter's kit webapp code) Thanks.... Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958971#3958971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958971 From do-not-reply at jboss.com Tue Jul 18 18:43:57 2006 From: do-not-reply at jboss.com (niesar) Date: Tue, 18 Jul 2006 18:43:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <26997657.1153262637550.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : What I can absolutely definitively promise you is that this has nothing to do with @Embedded/@Embeddable. Thanks again for your comment, Gavin!!! Wow, if you even promise the embedded objects are working properly in combination with MyFaces, I'll take that as granted (and especially if you're saying "absolutely definitely" - wow!). So I'll throw in more time to find out what's wrong with my code. No idea yet, since I thought I just tried about everything, but we'll see... My honest apologies again for causing a bad mood. Looks like using "???", "!!!", and italics is my way to emphasize a point (and actually I wasn't aware this looks strange these days). Sorry about that! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958972#3958972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958972 From do-not-reply at jboss.com Tue Jul 18 18:45:05 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 18:45:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <8619375.1153262705441.JavaMail.jboss@colo-br-02.atl.jboss.com> Newbie007, Thanks for your reply. Regarding your post: "newbie007" wrote : Which JPD version you are using? I am using 3.0.9.x and you can specify | the server port and server name during the deployment. | | If you are using old version, you can save the .par file locally and | deploy it programatically if you want (using jbpmContext.deployProcessDefinition method). | | Thanks. The problem isn't the host or the port. The problem is the web context /jbpm. The actual URL the test uses is: http://localhost:8080/jbpm I need to change the path after the host and port. If you know how to do this, let me know! Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958973#3958973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958973 From do-not-reply at jboss.com Tue Jul 18 18:49:08 2006 From: do-not-reply at jboss.com (hamptont) Date: Tue, 18 Jul 2006 18:49:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Please explain the Portal URL - /portal/portal Message-ID: <17013593.1153262948048.JavaMail.jboss@colo-br-02.atl.jboss.com> Version: JBoss Portal 2.2.1SP1 When I install the portal and run it the URL looks like this http://localhost/portal/portal/default/default I understand part of this but not the second /portal http:////// I don't understand where the second /portal is comming from. It's causing real problems for me. I need to use the context root because I have other apps (not Java) running on my apache web server. So I can't forward all traffic to JBoss. If I change the context root / for the portal then the URL looks ok until I try to use some of the portlets (i.e. User Portlet). The links in the UserPortlet won't have /portal in them at all. Those link become /auth instead of /portal/auth. because the context root is gone. This means that I can't redirect /portal/* stuff from apache to JBoss. /portal/auth is not the only url that I've noticed so I'm affraid redirecting /auth/* isn't enough. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958974#3958974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958974 From do-not-reply at jboss.com Tue Jul 18 18:50:04 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 18 Jul 2006 18:50:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <20420089.1153263004143.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately we are not deploying through the Eclipse plugin. You can use the code from the upload servlet to deploy your process programatically. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958975#3958975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958975 From do-not-reply at jboss.com Tue Jul 18 18:55:21 2006 From: do-not-reply at jboss.com (brado) Date: Tue, 18 Jul 2006 18:55:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <29206293.1153263321342.JavaMail.jboss@colo-br-02.atl.jboss.com> newbie007, Thanks for the tip -- at the moment I'm trying to avoid the programmatic route -- I'd really like to deploy from the Eclipse plugin if possible. If someone knows how this path can be changed, I'd really like to know! Thnaks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958976#3958976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958976 From do-not-reply at jboss.com Tue Jul 18 18:55:36 2006 From: do-not-reply at jboss.com (hosierdm) Date: Tue, 18 Jul 2006 18:55:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <5217397.1153263336389.JavaMail.jboss@colo-br-02.atl.jboss.com> You used to be able to specify the deployer (i.e. the /jbpm part), then it was removed. I complained, and it was added back starting with GPD 3.0.9.2 I believe. In the Deployment tab, it's the Server Deployer field in the lower right-hand corner. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958977#3958977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958977 From do-not-reply at jboss.com Tue Jul 18 19:16:34 2006 From: do-not-reply at jboss.com (niesar) Date: Tue, 18 Jul 2006 19:16:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <18962233.1153264594520.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, petemuir! thanks a lot for taking a second look at my problem. I really appreciate that!!! "petemuir" wrote : 1) No, the issue is most likely with your code. Having you tried cleaning and rebuilding from scratch. Well, I kind of started from scratch. However. my real worls starting point was kind of complicated. So I had to reduce complexity step by step and finally ended in the ClassA/ClassE test case I showed you before. "petemuir" wrote : 2) Yes, I do, and it works exactly as I would expect it to for me. This backs Gavin's promise. I'm absolutely convinced now I'm doing something wrong... "petemuir" wrote : | If you are still stuck perhaps put your runnable test case up somewhere and I can look at it. That's extremely nice! Thank's a lot!!! If you don't mind - let me come home first (I'm more or less on the other side of the planet by now and don't have the test code with me). If I can't solve the issue I will happily send you my code. Thanks a lot for this offer, petemuir!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958978#3958978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958978 From do-not-reply at jboss.com Tue Jul 18 19:16:43 2006 From: do-not-reply at jboss.com (mnorthu) Date: Tue, 18 Jul 2006 19:16:43 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Problem with SOAP Attachments using EJB 2.1 Web Service Endp Message-ID: <30119165.1153264603116.JavaMail.jboss@colo-br-02.atl.jboss.com> We are trying to build an interoperable web service implemented using an EJB 2.1 service endpoint. We are starting from WSDL using Sun's tools (wscompile) to generate ties, etc. The deployment consists only of an ejb-jar file with the appropriate deployment descriptors. The web service should run on any J2EE 1.4 appserver but I'm having trouble with JBOSS. The web service allows for download of arbitrary files; therefore the mime-type of the response is not known ahead of time. For maximum interoperability the attachments are sent via document/literal WSDL using SwaRef/xsd:anyURI according to Sun's example: https://jax-rpc.dev.java.net/whitepaper/1.1.2/attachments-howto.html As such, my business method generates and returns a java.net.URI (the Content-ID of the attachment). Using properties on the EJB MessageContext and SAAJ I am attempting to create/add the attachment to the SOAP response using a custom handler declared in webservices.xml By using SOAPMessage.writeTo( System.out ) the logs appear to show the correct SOAP message: 11:33:23,890 ERROR [STDERR] Jul 18, 2006 11:33:23 AM com.rtn.ejb.AttachmentHandler handleResponse INFO: Message content: ------=_Part_2_150842.1153240403820 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-ID: cid:result=realData.xml at rtn.com ------=_Part_2_150842.1153240403820 Content-Type: text/xml Content-Transfer-Encoding: binary Content-Id: hello, world! ------=_Part_2_150842.1153240403820-- However, using a TCP Monitor program it appears that the SOAPMessage isn't getting onto the wire properly. HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5 Set-Cookie: JSESSIONID=0764D1BC6FB60F654B3E38ECAEF7F36F; Path=/ Content-Type: text/xml;charset=UTF-8 Transfer-Encoding: chunked Date: Tue, 18 Jul 2006 23:05:05 GMT cid:result=realData.xml at rtn.com Somehow JBOSS is not saving my attachment or it is reverting to the SOAP message as it existed before the handler got invoked...? I am disappointed to find very little information regarding this and EJB endpoints on the Web. I have created a sample ANT script and test case and can provide it for evaluation. If anyone has implemented something like this please let me know what I'm doing wrong. Thanks, ~Max View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958979#3958979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958979 From do-not-reply at jboss.com Tue Jul 18 19:25:24 2006 From: do-not-reply at jboss.com (mnorthu) Date: Tue, 18 Jul 2006 19:25:24 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service Message-ID: <22986246.1153265124792.JavaMail.jboss@colo-br-02.atl.jboss.com> FYI - this is the code in the Handler package com.rtn.ejb; import java.io.*; import java.util.*; import java.util.logging.*; import javax.activation.*; import javax.xml.namespace.*; import javax.xml.rpc.handler.*; import javax.xml.rpc.handler.soap.*; import javax.xml.soap.*; import com.rtn.util.*; public final class AttachmentHandler extends GenericHandler { private static QName[] EMPTY = new QName[0]; /** * Returns an empty array of headers. * * @return an empty array of headers. */ public QName[] getHeaders() { return EMPTY; } @Override public boolean handleResponse( MessageContext context ) { SOAPMessageContext mctx = ( SOAPMessageContext )context; try { String dataFileStr = ( String )mctx.getProperty( "PRODUCT_ATTACHMENT_FILE_NAME" ); String cid = ( String )mctx.getProperty( "PRODUCT_ATTACHMENT_CID" ); if ( dataFileStr == null || cid == null ) { LOGGER.info( "No attachment detected." ); return true; } FileInputStream dataFileIn = new FileInputStream( dataFileStr ); DataHandler dataHandler = new DataHandler( new ByteArrayDataSource( dataFileIn, "text/xml" ) ); AttachmentPart att = mctx.getMessage().createAttachmentPart( dataHandler ); att.setContentId( "<" + cid + ">" ); mctx.getMessage().addAttachmentPart( att ); // doesn't seem to make a difference... // mctx.getMessage().saveChanges(); // this is for logging only... java.io.ByteArrayOutputStream out = new ByteArrayOutputStream(); mctx.getMessage().writeTo( out ); LOGGER.info( "Message content: " + out.toString() ); } catch ( Exception e ) { LOGGER.warning( "Exception in handleResponse: " + e.getMessage() ); LOGGER.info( "Returning false..." ); return false; } LOGGER.info( "Returning true..." ); return true; } private static final String CLASSNAME = AttachmentHandler.class.getName(); private static final Logger LOGGER = Logger.getLogger( CLASSNAME ); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958980#3958980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958980 From do-not-reply at jboss.com Tue Jul 18 19:28:11 2006 From: do-not-reply at jboss.com (dbatcn) Date: Tue, 18 Jul 2006 19:28:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam 1.0.1 GA seems to be missing ehcache Message-ID: <11874472.1153265291784.JavaMail.jboss@colo-br-02.atl.jboss.com> In Seam's hibernate-all.jar, org/hibernate/cache/EhCacheProvider.class has references to various classes in net.sf.ehcache, but it's not part of that JAR file. When I look at the latest (6/6/06) version of the source for org.hibernate.cfg.SettingsFactory, I see that the textual reference to EhCacheProvider passed have been removed. Is it a correct inference that the current release of Seam is missing ehcache? I found this because I was trying to write a unit test (using TestNG from Eclipse) and got a NoClassDefFoundError emanating from SettingsFactory.createCacheProvider() called via javax.persistence.createEntityManagerFactory(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958981#3958981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958981 From do-not-reply at jboss.com Tue Jul 18 19:31:37 2006 From: do-not-reply at jboss.com (benoitx) Date: Tue, 18 Jul 2006 19:31:37 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException [Root exception is j Message-ID: <32566683.1153265497271.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I just faced the same issue moving from 4.0.3RC2 to 4.0.4.GA. After much much fiddling, I noticed that my client would work with jbossall-client.jar but not with my subset of jars. Something obviously had been removed from a jar or new dependencies added... So... here is a list of jar that would work for a java client using rmi over https and JBoss MQ to communicate with server: j2ee-1.4.jar jboss-common-client-4.0.4.GA.jar jbosssx-client-4.0.4.GA.jar jboss-client-4.0.4.GA.jar jbossmq-4.0.4.GA.jar concurrent-4.0.4.GA.jar jnp-client-4.0.4.GA.jar jboss-transaction-client-4.0.4.GA.jar jboss-serialization-4.0.4.GA.jar **NEW** jboss-remoting-4.0.4.GA.jar **NEW** The version numbers are mine as I use Maven to build. I hope this helps! Benoit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958982#3958982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958982 From do-not-reply at jboss.com Tue Jul 18 19:35:33 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 19:35:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam 1.0.1 GA seems to be missing ehcache Message-ID: <8380198.1153265734001.JavaMail.jboss@colo-br-02.atl.jboss.com> That class is only loaded by reflection. So there is no problem, assuming you have default.persistence.properties in your classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958984#3958984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958984 From do-not-reply at jboss.com Tue Jul 18 19:40:09 2006 From: do-not-reply at jboss.com (jeff plummer) Date: Tue, 18 Jul 2006 19:40:09 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - entities, clients, eager vs lazy fetch (ejb3) Message-ID: <33467750.1153266009723.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a newbie question that is probably so common there is probably a "pattern" that answers it. I am building an app where the client code will allow the operator to display/edit an object's data. In order to do that the client must have access somehow to all the object's data, atleast depending on the "view" the client is displaying. I can setup relationships to be "eager", but that seems like hitting a finishing nail with a sledge hammer. A client view really only needs acess to a subset of all the data associated with an object. I can have several session bean methods that provide different "fetch-join" combinations - one for each client view. But this also seems inefficient. What I really want is the session bean gets a subset of the data (entity and some of the related objects) and returns it to the client. Then somehow, whenever the client needs more data (i.e. calls entity.getWidgets(), when related widgets were not pre-fetched) it goes back to the database and gets those widgets. Whats the proper way to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958985#3958985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958985 From do-not-reply at jboss.com Tue Jul 18 19:42:47 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Tue, 18 Jul 2006 19:42:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <24228502.1153266167820.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : Note that none of these questions have anything to do with Seam. Now, I don't mind if you discuss your JSF problems here. But if you are going to talk about bugs and use italics and exclamation points and multiple question marks, please consider taking this to the correct place which would be the MyFaces forum. | | OTOH, if you wish to continue this discussion here, that is fine by me, but please lay off of the "bug or incompatibility" talk. Thanks. Hi Gavin, Here is a twist to the topic: I've came to appreciate the power and strengths of JSF, and I really love the way Seam takes over in the places where JSF really needed some help. (s:Link with actions, nicely formated exception stack trace, pages.xml, etc etc) Now from having seen colleagues to struggle with JSF somewhat non-obvious ways of doing things (or presenting errors, misconfig, etc..) Wouldn't this be another case where seam can improve things? It looks to me like some sort of "auto-converter" could alliviate the need to look into JSF non-friendly details. Just my $0.02 Yeyo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958986#3958986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958986 From do-not-reply at jboss.com Tue Jul 18 19:48:35 2006 From: do-not-reply at jboss.com (Plukh) Date: Tue, 18 Jul 2006 19:48:35 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Problem accessing EJB unchecked method from a servlet (with Message-ID: <29119204.1153266515349.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm stuck at the following problem. I have one EJB module and two web apps inside a single ear. Relevant parts of configuration files follow: >From jboss.xml: | java:/jaas/db_store | >From ejb-jar.xml: | | | | ModerEJB | Home | create | | | >From jboss-web.xml #1: | java:/jaas/db_store | >From jboss-web.xml #2: | java:/jaas/other | >From login-config.xml: | | | | | | DS/Standard | | | SELECT usr_password FROM users WHERE usr_login = ? | | | SELECT 'CommonUser', 'Roles' FROM users WHERE usr_login = ? | | SHA1 | hex | true | nobody | | | | | | | | nobody | | | | The bean itself is constructed by a helper (BeanHelper), located inside the ejb module - don't know if it makes a difference. Now, on to the problem. I have a servlet in web app #2, which tries to create a bean (by calling an unchecked create() method). Only authorised users have access to the servlet (through BASIC authorization, if it matters). When the call to create() is made, it fails with the following exception (parts skipped for clarity): | java.rmi.AccessException: SecurityException; nested exception is: | javax.security.auth.login.FailedLoginException: No matching username found in Principals | at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388) | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136) | ... | at ru.singlecity.ejb.BeanHelper.getModerBean(BeanHelper.java:216) | ... | Caused by: javax.security.auth.login.FailedLoginException: No matching username found in Principals | at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:152) | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206) | ... | 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.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601) | at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) | at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211) | at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135) | at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) | ... 47 more | So - what am I doing wrong? The principal is already set (by the web app) and access to the method of the bean is set to unchecked... If the principal wasn't passed on to the EJB, it would've caused a different exception (see item #1 in the FAQ), but it hadn't. Any help would be greatly appreciated! With best regards, Victor Denisov. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958987#3958987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958987 From do-not-reply at jboss.com Tue Jul 18 20:01:38 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Tue, 18 Jul 2006 20:01:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Continuously server restarting Message-ID: <8735805.1153267298655.JavaMail.jboss@colo-br-02.atl.jboss.com> I suppose you mean to not use jars, and instead import the code from these into the eclipse web project ? Which would be the JARs I would need to explode v.s. the ones I can keep as JARs? Some I can think of: jboss-ejb3-all.jar jboss-seam*.jar mc-conf.jar Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958988#3958988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958988 From do-not-reply at jboss.com Tue Jul 18 20:16:45 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Tue, 18 Jul 2006 20:16:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <15752652.1153268205650.JavaMail.jboss@colo-br-02.atl.jboss.com> Nth-Fan, maybe the SeamGen utility would be something you'd be interested in. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen Although, talk about this and other issues are off topic for the thread. If you have questions about the SeamGen util, ask them in this topic. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86876 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958989#3958989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958989 From do-not-reply at jboss.com Tue Jul 18 20:23:57 2006 From: do-not-reply at jboss.com (qqchuck) Date: Tue, 18 Jul 2006 20:23:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM expert needed ASAP Part Time Denver, CO or Dallas, TX Message-ID: <7224072.1153268637685.JavaMail.jboss@colo-br-02.atl.jboss.com> I need a jBPM expert (now part of JBoss -- but I NEED a jBPM expert) for a limited engagement -- 8-24hrs of consulting to do work on a prototype. This can be done during business hours or after, but must be done in person in either Denver, CO or Dallas, TX. If you're expert enough, I might be willing to pay for travel expenses. In the first 3-6 sentences of your response, you need to convince me that you have ACTUAL experience using jBPM in a non trivial(prototype) application. This experience is VERY important. Also please attach a copy of your resume and a proposed hourly rate in your email. If you don't have actual experience using jBPM, please do not respond. You can email me at: qqchuck-site at yahoo(dot)com Thanks, Chuck View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958990#3958990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958990 From do-not-reply at jboss.com Tue Jul 18 20:44:01 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Tue, 18 Jul 2006 20:44:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Continuously server restarting Message-ID: <28987171.1153269841297.JavaMail.jboss@colo-br-02.atl.jboss.com> Further to my question and after additional searching, I found this, http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87008 Would this then be possible?? Thanks any help appreciated.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958991#3958991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958991 From do-not-reply at jboss.com Tue Jul 18 20:44:29 2006 From: do-not-reply at jboss.com (rrajesh) Date: Tue, 18 Jul 2006 20:44:29 -0400 (EDT) Subject: [jboss-user] [News & Announcements] - jBPM 3.1.2 released Message-ID: <13362670.1153269869189.JavaMail.jboss@colo-br-02.atl.jboss.com> jBPM version 3.1.2 and jBPM Process Designer version 3.0.11 have been released. These releases and the changelog can downloaded from the following sourceforge location: http://sourceforge.net/project/showfiles.php?group_id=70542 JBoss jBPM - Version jBPM 3.1.2 Changes: ** Bug * [JBPM-555] - Bad exception message * [JBPM-593] - suspend() and resume() failing in JBPM 3.1 * [JBPM-637] - exception-handler can't use exception-class attribute with script-thrown exceptions * [JBPM-645] - task is not blocking after save of process-instance * [JBPM-654] - Cancelling a TaskInstance "performs" the task * [JBPM-663] - Incorrect resolution of process variable values in script when variable is defined (or redefined) in sub-token context * [JBPM-665] - JVM hangs because of inappropriate error handling * [JBPM-667] - jBPM unable to pass null variables to bsh scripts * [JBPM-673] - JbpmConfiguration.close() does not remove the instance from the internal map of instances * [JBPM-678] - jbpm el expression exceptions are masked * [JBPM-696] - Field Instanciator problems ** Feature Request * [JBPM-664] - add documentation for configuration properties * [JBPM-671] - add logs for sub process bindings * [JBPM-684] - added getXxxx for database loadXxxx methods ** Task * [JBPM-658] - correct equals comparison * [JBPM-659] - added JbpmConfiguration.close() * [JBPM-666] - report expression exception properly * [JBPM-683] - enlarged length of message exception property View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958992#3958992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958992 From do-not-reply at jboss.com Tue Jul 18 20:49:24 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Tue, 18 Jul 2006 20:49:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <14250466.1153270164155.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : Tomcat hotdeploy is basically completely broken and AFAIK can't be made to work reliably. | | Sorry for xposting, http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86515 but can you elaborate more on what it is that badly broken? Thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958993#3958993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958993 From do-not-reply at jboss.com Tue Jul 18 21:07:56 2006 From: do-not-reply at jboss.com (kinlunwong) Date: Tue, 18 Jul 2006 21:07:56 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - MDBs don't work after jms recovery Message-ID: <32636475.1153271276396.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm seeing this behavior on jboss 4.0.1. We have an MDB that listens for jms messages of a topic, so that messages are processed using the MDB's onMessage() method (as is standard usage). We found however that if the jms service is restarted (e.g. by touching the jms service.xml file to cause jms services to be redeployed), then even though our sender program recovers, all messages that are sent after the recovery do not trigger any MDB actions, it's as though no MDBs are triggered at all. To cause MDBs to work again, I actually have to redeploy the ear file. I dont' think this is acceptable behavior. What am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958994#3958994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958994 From do-not-reply at jboss.com Tue Jul 18 21:12:11 2006 From: do-not-reply at jboss.com (poswald) Date: Tue, 18 Jul 2006 21:12:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - The wiki is misleading... Message-ID: <20030852.1153271531036.JavaMail.jboss@colo-br-02.atl.jboss.com> I know this is sort of a FAQ but I've read a lot of things and I'm still not sure I know what the right answer is. When installing 4.0.4.GA using the graphical installer I feel like the all configuration should include everything that all of the others do. After picking that and installing I notice that the ejb3.deployer is missing. I went back through and tried it again with ejb3 and sure enough, I get new/different deployers. For instance, the ejb3.deployer is missing from the all config. This seems to contradict what the trailblazer says: http://jira.jboss.com/jira/browse/JBINSTALL-44 anonymous wrote : Each configuration installs a different set of programming APIs, libraries, and deployers. The all, ejb3, and ejb3-cluster configurations support EJB 3.0. So does all support ejb3 or not? If so then why is it missing these deployers? I feel like this should mention that all is not really everything. Really I feel like all should be changed to be everything or perhaps renamed. Sorry if this is all laid out somewhere I didn't find. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958995#3958995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958995 From do-not-reply at jboss.com Tue Jul 18 22:10:07 2006 From: do-not-reply at jboss.com (matafy) Date: Tue, 18 Jul 2006 22:10:07 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Function for process definition export Message-ID: <1048704.1153275007208.JavaMail.jboss@colo-br-02.atl.jboss.com> I'd like to know this answer too. I deploy a process programmly and call getFileDefinition function, it returns null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958997#3958997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958997 From do-not-reply at jboss.com Tue Jul 18 22:53:52 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Tue, 18 Jul 2006 22:53:52 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <28993214.1153277632123.JavaMail.jboss@colo-br-02.atl.jboss.com> The jboss server view's event log is inside the jboss server view, which is found under window -> show view -> other -> server -> jboss server view. That view is the main view for the server plugin. A screenshot of the event log and the information I'd like you to either screenshot or summarize is shown below. [img]http://oxbeef.net/image/code/jbsv_w_properties_7_18_06.JPG[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958999#3958999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958999 From do-not-reply at jboss.com Tue Jul 18 23:36:58 2006 From: do-not-reply at jboss.com (hchafi) Date: Tue, 18 Jul 2006 23:36:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Sean and Hibernate validation Message-ID: <17878777.1153280218143.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to start using Seam. Since I am starting a new project, I would like to just start using EJB3. However Hibernate seems to be the standard ORM solution out there with support for validation. How can I combine using EJB3 and leveraging the hibernate validation capabilities? -hc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959000#3959000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959000 From do-not-reply at jboss.com Tue Jul 18 23:43:14 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 18 Jul 2006 23:43:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation Message-ID: <21829033.1153280594289.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, Seam uses Hibernate Validator directly, it does not need integration with the ORM layer. And then if Hibernate is the underlying EJB3 persistence provider, the constraints are also enforced when writing to/from the database. Actually it is also possible to integrate HV with other EJB3 persistence providers. We should probably make that integration a standard feature but we did not get around to it yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959001#3959001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959001 From do-not-reply at jboss.com Tue Jul 18 23:54:58 2006 From: do-not-reply at jboss.com (seemap) Date: Tue, 18 Jul 2006 23:54:58 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - ejb in jboss Message-ID: <14393920.1153281298880.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to ejb2 and Jboss I have downloaded the Jboss 4 and created the session stateful bean in day05 folder p day05/SignOn.java / SignOnHome.java /SignOnEJB.java / InvalidLoginException.java / ejb-jar.xml /jboss.xml The codes of ejb-jar.xml | | | | | | SignOnEJB | day05.SignOnHome | day05.SignOn | day05.SignOnEJB | Stateless | Container | | student | java.lang.String | password | | | student1 | java.lang.String | password1 | | | | | | the codes for jboss.xml | | | | | | SignOnEJB | day05/SignOnHome | | | | | I dont know how to deploy in jboss Can anybody guide me step by step? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959002#3959002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959002 From do-not-reply at jboss.com Tue Jul 18 23:55:15 2006 From: do-not-reply at jboss.com (supernovasoftware.com) Date: Tue, 18 Jul 2006 23:55:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam mailer component Message-ID: <4958979.1153281315883.JavaMail.jboss@colo-br-02.atl.jboss.com> I would be fantastic to have a Seam Cookbook that contained real world examples and solutions using the Seam Framework. I would like to see something more detailed a focued than the current examples. The current documentation is good, but I would like to see some recipes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959003#3959003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959003 From do-not-reply at jboss.com Wed Jul 19 00:37:55 2006 From: do-not-reply at jboss.com (lhoriman) Date: Wed, 19 Jul 2006 00:37:55 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Multiple security domains in one EAR Message-ID: <24790970.1153283875957.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to have multiple security domains in one EAR? I have an application that consists of two major components: 1) The main application (user-facing frontend), with a custom LoginModule that auths against the hibernate store of members. 2) The customer support tool, which auths against our corporate LDAP store using the LDAPLoginModule. My (perhaps naive) first pass designing this involves two security domains. The main application EJBs have one @SecurityDomain, the customer support EJBs have a different @SecurityDomain. Obviously the customer support tool backend EJBs need to communicate with the main user application EJBs to manipulate user accounts, etc. What happens when the EJBs associated with one @SecurityDomain call into the EJBs of a different @SecurityDomain? I suspect bad things. Is there a strategy for making this work? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959004#3959004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959004 From do-not-reply at jboss.com Wed Jul 19 00:58:59 2006 From: do-not-reply at jboss.com (seemap) Date: Wed, 19 Jul 2006 00:58:59 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - ejb deployment in jboss4 Message-ID: <12660537.1153285139684.JavaMail.jboss@colo-br-02.atl.jboss.com> I am learning EJB from one of the book and got stuck on the deployment of first EJB . It is stateful Session Bean the jboss.xml is | | | | | | SignOnEJB | day05/SignOnHome | | | | ejb-jar.xml is | | | | | | SignOnEJB | day05.SignOnHome | day05.SignOn | day05.SignOnEJB | Stateless | Container | | student | java.lang.String | password | | | student1 | java.lang.String | password1 | | | | | | This book is using Jboss 3 and I am using JBoss 4.0.4 when I deploy my ejb jar file (day05-signon.jar) which is having all class file and Meta-INf I got error message --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/day05_Signon.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: null state: FAILED watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon. jar altDD: null lastDeployed: 1153249201578 lastModified: 1153249201546 mbeans: org.jboss.deployment.DeploymentInfo at 592997e2 { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/META-INF/ejb-jar.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/ejb- jar.xml altDD: null lastDeployed: 1153249202656 lastModified: 1153249202656 mbeans: org.jboss.deployment.DeploymentInfo at 2070e0ce { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/META-INF/jboss.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/jbos s.xml altDD: null lastDeployed: 1153249202656 lastModified: 1153249202656 mbeans: 12:00:03,031 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 -8080 12:00:03,265 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 12:00:03,390 INFO [JkMain] Jk running ID=0 time=0/172 config=null 12:00:03,406 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos Pls help . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959005#3959005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959005 From do-not-reply at jboss.com Wed Jul 19 01:01:43 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 01:01:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <4216599.1153285303384.JavaMail.jboss@colo-br-02.atl.jboss.com> if you create a jbpm project in the gpd and a processdefinition, there is a src dir. The HelloActionHandler should go there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959006#3959006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959006 From do-not-reply at jboss.com Wed Jul 19 01:02:52 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 01:02:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <19639031.1153285372316.JavaMail.jboss@colo-br-02.atl.jboss.com> Correct David. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959007#3959007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959007 From do-not-reply at jboss.com Wed Jul 19 01:03:24 2006 From: do-not-reply at jboss.com (genman) Date: Wed, 19 Jul 2006 01:03:24 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: MDBs don't work after jms recovery Message-ID: <22599037.1153285404474.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure what the use case is for redeploying the JMS subsystem. This may be something not supported by JBossMQ. If you can create a test case (unit test) and provide a patch, it can be fixed in an upcoming release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959008#3959008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959008 From do-not-reply at jboss.com Wed Jul 19 01:05:10 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 01:05:10 -0400 (EDT) Subject: [jboss-user] [News & Announcements] - Re: jBPM 3.1.2 released Message-ID: <27824291.1153285510048.JavaMail.jboss@colo-br-02.atl.jboss.com> Again, as with the 3.0.10 release of the GPD, what are the changes in there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959009#3959009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959009 From do-not-reply at jboss.com Wed Jul 19 01:18:45 2006 From: do-not-reply at jboss.com (gagangandhi) Date: Wed, 19 Jul 2006 01:18:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBoss App Server Sizing Message-ID: <343622.1153286325445.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is there a guide or a high level guideline to do the Sizing of a JBoss application server? I understand there can hardly be any thumb rule for sizing - but if there is something that gives an approximate idea of the resource requirement (CPU/Memory) on a per user or per request basis - that would help. Can someone pls provide links to case studies etc with details of the server size used and the load volume handled by the application? Thanks in anticipation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959010#3959010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959010 From do-not-reply at jboss.com Wed Jul 19 01:40:03 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 19 Jul 2006 01:40:03 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <356291.1153287603450.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : org.jboss.deployment.DeploymentInfo at 2070e0ce { url=file:/C:/jboss-4.0.4/jboss-4. | 0.4.GA/server/default/deploy/META-INF/jboss.xml } Looks like you have placed the META-INF directory, directly under the deploy folder. This META-INF directory(and its contents) should be placed in your day05_Signon.jar. How is your day05_Signon.jar packaged? Run the following command from your prompt and post the output: jar -tf day05_Signon.jar This command will display the contents of your jar file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959012#3959012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959012 From do-not-reply at jboss.com Wed Jul 19 01:44:20 2006 From: do-not-reply at jboss.com (brado) Date: Wed, 19 Jul 2006 01:44:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <3293143.1153287860957.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks guys -- now here's a question -- is there any way to get the new path to stay once you enter it? Every time I restart Eclipse I have to retype the host, port, and path info. It gets to be a little bit of a nuisance because of some version numbers in WAR names. But you guys did help me around the problem. Thanks. Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959013#3959013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959013 From do-not-reply at jboss.com Wed Jul 19 02:07:50 2006 From: do-not-reply at jboss.com (vvmikho) Date: Wed, 19 Jul 2006 02:07:50 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Accessing jBoss 4.0.4 with Java 1.3 client Message-ID: <20006353.1153289270599.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, Can anybody tell me whether it is possible to have Java 1.3 client to JBoss 4.0.4?? When using INITIAL_CONTEXT_FACTORY we specify "org.jnp.interfaces.NamingContextFactory" and this means that some jboss client side jars are required. Now, when using client jars from jboss 4 we get "unsupported JVM" complain (as jboss 4 is built for Java 1.4 or newer) When using client jars from jBoss 3.2.3 we getting serialisation problems on JBoss specific classes. Can it work at all? Thanks, Viktor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959017#3959017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959017 From do-not-reply at jboss.com Wed Jul 19 02:17:52 2006 From: do-not-reply at jboss.com (anurudh) Date: Wed, 19 Jul 2006 02:17:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How can i implement themes in my application like in Jbo Message-ID: <1239326.1153289872651.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Peter.........!!! I will try to implement themes in my application. Please tell me one more thing. How can i change the URL of my Portal. I am working on jboss portal and to invoke my application i give the path like httt://localhost:8080/portal/portal/SubscriberPortal. Is there any way to remove these /portal/portal or atleast one /portal so that my url becomes http://localhost:8080/portal/SubscriberPortal Thanks.............!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959019#3959019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959019 From do-not-reply at jboss.com Wed Jul 19 02:19:15 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 19 Jul 2006 02:19:15 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: Accessing jBoss 4.0.4 with Java 1.3 client Message-ID: <22262818.1153289955625.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959020#3959020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959020 From do-not-reply at jboss.com Wed Jul 19 02:32:20 2006 From: do-not-reply at jboss.com (hosierdm) Date: Wed, 19 Jul 2006 02:32:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin Message-ID: <18796224.1153290740844.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think there is any way, currently, to make this stick. I was thinking it would be nice to be a per process definition thing, that every time you change that information it saved it maybe in the gpd.xml. Same with the Show Grid setting. The grid is so helpful, but it's quite tedious to have to keep enabling it. That one could be a global setting, something like "Always use grid?". Maybe some JIRA enhancement requests are in order. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959021#3959021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959021 From do-not-reply at jboss.com Wed Jul 19 03:13:26 2006 From: do-not-reply at jboss.com (matabo) Date: Wed, 19 Jul 2006 03:13:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - unable to configure logging Message-ID: <3378361.1153293206139.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I understand it is my fault, but I am not able to understand how logging works in JbossCache. Let's say: 1) Simple standalone application starting a TreeCache: log4j.xml (the one shipped with JbossCache) is in the classpath. Output produced (either with or without -Dlog4j.configuration=log4j.xml parameter): [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 79dc36 [INFO] PropertyConfigurator - -configure(): attribute size: 13 [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) [INFO] TreeCache - -interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor [INFO] TreeCache - -cache mode is REPL_SYNC [INFO] UDP - -sockets will use interface 1.6.64.159 [INFO] UDP - -socket information: local_addr=1.6.64.159:4611, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 sock: bound to 1.6.64.159:4611, receive buffer size=80000, send buffer size=150000 mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 mcast_send_sock: bound to 1.6.64.159:4612, send buffer size=150000, receive buffer size=80000 [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:4611] [INFO] TreeCache - -new cache is null (maybe first member in cluster) [INFO] TreeCache - -state could not be retrieved (must be first member in group) ------------------------------------------------------- GMS: address is 1.6.64.159:4611 ------------------------------------------------------- Then I modify, delete, add entries in log4j.xml: nothing happens. The output remains the same above. 2) JBossCache used inside Weblogic: nothing is displayed. Only the line: ------------------------------------------------------- GMS: address is 1.6.64.159:4611 ------------------------------------------------------- And nothing, related with JBossCache, is present in Weblogic logs. Could you kindly post something like a short tutorial on JBosscache logging? TIA matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959023#3959023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959023 From do-not-reply at jboss.com Wed Jul 19 03:19:06 2006 From: do-not-reply at jboss.com (cerezal) Date: Wed, 19 Jul 2006 03:19:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBOSS behind a firewall Message-ID: <27811353.1153293546430.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, My JBOSS server is located on a LAN, behind a router. My appication works fine on the LAN. When I run the application from inet, it stucks. Required ports are open. A netstat shows that the application is trying to connect to port 1098 but with LAN address, which of course doesn't work. I've set, server.name, java.rmi.server.codebase to my external address, java.rmi.server.useLocalHostname to false... What do I miss? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959024#3959024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959024 From do-not-reply at jboss.com Wed Jul 19 03:19:54 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 03:19:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <22252946.1153293594729.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : This functionality can be achieved in other ways. Give me at least one complete example. I'm wondering how you wan't to achive this, because in my opinion technical reasons shouldn't have influance on process design. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959025#3959025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959025 From do-not-reply at jboss.com Wed Jul 19 03:21:28 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 19 Jul 2006 03:21:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS behind a firewall Message-ID: <30084028.1153293688204.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959026#3959026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959026 From do-not-reply at jboss.com Wed Jul 19 03:27:13 2006 From: do-not-reply at jboss.com (cerezal) Date: Wed, 19 Jul 2006 03:27:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS behind a firewall Message-ID: <24157770.1153294033852.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I already configured ports according to that turorial, but my problem looks more like a server name problem that is unproperly set... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959027#3959027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959027 From do-not-reply at jboss.com Wed Jul 19 03:28:36 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 03:28:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <18338606.1153294116779.JavaMail.jboss@colo-br-02.atl.jboss.com> Anyone. Please help! And where does all the logging go? On the 4.0.3, Hibernate logged a lot when persitent beans where deployed and some other components where logging quite a bit when EJBs where deployed, but know I only get this: | 2006-07-19 09:18:03,347 INFO [org.jboss.deployment.EARDeployer - 129] Init J2EE application: file:/C:/APPS/jboss-4.0.4.GA/server/accenture/deploy/concept.ear | 2006-07-19 09:18:03,397 INFO [org.jboss.deployment.EARDeployer - 318] Started J2EE application: file:/C:/APPS/jboss-4.0.4.GA/server/accenture/deploy/concept.ear | Is this just another way of telling me that the EJBs are not deployed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959028#3959028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959028 From do-not-reply at jboss.com Wed Jul 19 03:39:19 2006 From: do-not-reply at jboss.com (vvmikho) Date: Wed, 19 Jul 2006 03:39:19 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: Accessing jBoss 4.0.4 with Java 1.3 client Message-ID: <771725.1153294759896.JavaMail.jboss@colo-br-02.atl.jboss.com> well, I believe this matrix is for the server side. I assume that client Java version is a different story. We have upgraded to jBoss 4.04 from 3.2.3 but we still have some old client which must run on Java 1.3. I was assuming that version of client JVM is not tightly linked to the version of the server/server JVM. Probably I was wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959029#3959029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959029 From do-not-reply at jboss.com Wed Jul 19 03:46:55 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 03:46:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <11715148.1153295215322.JavaMail.jboss@colo-br-02.atl.jboss.com> A complete example would cost me (personally) to much free time. Some suggestions are made above. Besides that, technical issues are imho not the limitation here. It is the combination of how *you* want to draw/design the process on a low level in combination with the existing functionality of an engine. The latter is not changed easy (for complete free flexibility develop it in java/c#/...), nor does it need to be changed (imo) since taking another view on the process (on the more functional level) it can be designed differently. If you still want to draw it like you do now, maybe jBPM is not the best engine for your needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959030#3959030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959030 From do-not-reply at jboss.com Wed Jul 19 03:48:45 2006 From: do-not-reply at jboss.com (abosch) Date: Wed, 19 Jul 2006 03:48:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - No Attribute found with name: PartitionName Message-ID: <27202584.1153295325377.JavaMail.jboss@colo-br-02.atl.jboss.com> hi! i get this error while starting jboss: 09:37:34,190 INFO [ServiceConfigurator] Problem configuring service jboss:service=invoker,type=http,target=Naming,readonly=true | org.jboss.deployment.DeploymentException: No Attribute found with name: PartitionName | ... any hints? regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959031#3959031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959031 From do-not-reply at jboss.com Wed Jul 19 03:50:25 2006 From: do-not-reply at jboss.com (anurudh) Date: Wed, 19 Jul 2006 03:50:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How to change the URL in a portal or how can i set my portal Message-ID: <21724453.1153295425955.JavaMail.jboss@colo-br-02.atl.jboss.com> Please tell me how can i change the URL of my Portal. To invoke my application i give path like httt://localhost:8080/portal/portal/SubscriberPortal. Is there any way to remove these /portal/portal or atleast one /portal so that my url becomes http://localhost:8080/portal/SubscriberPortal Thanks.............!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959032#3959032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959032 From do-not-reply at jboss.com Wed Jul 19 03:52:29 2006 From: do-not-reply at jboss.com (ravi2box) Date: Wed, 19 Jul 2006 03:52:29 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: URGENT: Problem deploying webservice Message-ID: <24331222.1153295549270.JavaMail.jboss@colo-br-02.atl.jboss.com> mokojin, when you ran from netbeans, it generated the client stubs for you automatically. you need to use either wstools from jboss or use the tools from Sun JWSDP to generate the stubs read the docs on how to do this... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959033#3959033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959033 From do-not-reply at jboss.com Wed Jul 19 03:59:28 2006 From: do-not-reply at jboss.com (ravi2box) Date: Wed, 19 Jul 2006 03:59:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - calling secured endpoint from PHP/Perl/Python? Message-ID: <32257344.1153295968724.JavaMail.jboss@colo-br-02.atl.jboss.com> How can I call a secured web service endpoint from a PHP/Perl/Python client or even just another JSP container like tomcat/resin?? any pointers or code snippets would be appreciated.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959034#3959034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959034 From do-not-reply at jboss.com Wed Jul 19 04:02:52 2006 From: do-not-reply at jboss.com (mrwhite) Date: Wed, 19 Jul 2006 04:02:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Add/Edit Page Message-ID: <28448999.1153296172385.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, i want a page that creates a new object when no id for an object is provided or retriebes an object fromt the db when a id was passed by a request parameter. I want to have one form for editing and adding of blogentries and i dont want to build two forms, one for adding and another one for editing. And i want to provide these functions by one seam component. Is that possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959035#3959035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959035 From do-not-reply at jboss.com Wed Jul 19 04:09:33 2006 From: do-not-reply at jboss.com (Remider) Date: Wed, 19 Jul 2006 04:09:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Document about TAGLIB Message-ID: <25847039.1153296573084.JavaMail.jboss@colo-br-02.atl.jboss.com> I need modify interface of jbpm server. However, it don't has document about taglib. Taglib locate in jbpm-starters-kit-3.1.1\jbpm\lib\jsf\myfaces-impl.jar. where must i find it ? Rem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959036#3959036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959036 From do-not-reply at jboss.com Wed Jul 19 04:15:19 2006 From: do-not-reply at jboss.com (demesne1) Date: Wed, 19 Jul 2006 04:15:19 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Deadlock detected when using JBOSSMQ with Sybase Anywher Message-ID: <25909532.1153296919654.JavaMail.jboss@colo-br-02.atl.jboss.com> There doesn't seem to be any thing posted on this message group relating to deadlock using Sybase Anywhere (ASA). There is a post relating to sysbase EAS http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864492 which is a different database. The create table parameter "LOCK DATAROWS" doesn't exist in Sybase Anywhere (ASA). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959037#3959037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959037 From do-not-reply at jboss.com Wed Jul 19 04:17:47 2006 From: do-not-reply at jboss.com (abbasshah) Date: Wed, 19 Jul 2006 04:17:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime Message-ID: <31469216.1153297067334.JavaMail.jboss@colo-br-02.atl.jboss.com> I agree task should not be used in STP process they are meant to be UserTasks, in real time even in my process it wont be the case. However i am writing my Unit test which deploys, executes and test some flows by completing some task without commiting anything into the database becuase i do not wish my testcases to change the database state.. I like my test * Not * to presist or change state of application shared data (database). So if you have transactions it is much simpler and clean by doing rollback in teardown. OR 2nd approch would be to persist and then remove it. it is possible to remove not only process defination, but process instance and other related enteries in other tables. ? Also if TaskInstanceId = 0 then does it means that task is not actually created? i think 0 is defualt value of TaskInstance.Id (if i am not wrong) abs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959038#3959038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959038 From do-not-reply at jboss.com Wed Jul 19 04:18:44 2006 From: do-not-reply at jboss.com (balamg) Date: Wed, 19 Jul 2006 04:18:44 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - DB schema generation Message-ID: <12479743.1153297124471.JavaMail.jboss@colo-br-02.atl.jboss.com> Are there any tools out there for automatic schema generation based on EJB3 entiity beans (other than hibernate schemaexport) what would be the "standard" way of doing this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959039#3959039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959039 From do-not-reply at jboss.com Wed Jul 19 04:24:25 2006 From: do-not-reply at jboss.com (chanyungwan) Date: Wed, 19 Jul 2006 04:24:25 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Singleton Failover Message-ID: <22406479.1153297465680.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. I tried to modify the cluster-service.xml by adding FD_SOCK as follows: : : Also, different version of jgroups.jar are being replaced a)2.2.4 <---default in 3.2.5 b)2.2.8 c)2.3 sp1 However, the timing issue is still unresolved for the 2nd case. Is this the bug for 3.2.5 release ? We are not intended to upgrade the version by the way. So, any other solution can be provided ? Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959040#3959040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959040 From do-not-reply at jboss.com Wed Jul 19 04:28:43 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 04:28:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <10443864.1153297723974.JavaMail.jboss@colo-br-02.atl.jboss.com> "visolvejboss" wrote : 1. Go to the Run prompt in the Start menu and give msconfig command, it will give the list of programs which are starting up at the time of Windows boot up. | 2. Check whether the jboss entry is present. If so, remove the JBoss entry from that file and check it out. no, there was no jboss thingy listed there.... thanx anyway View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959041#3959041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959041 From do-not-reply at jboss.com Wed Jul 19 04:31:32 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 04:31:32 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <5726985.1153297892061.JavaMail.jboss@colo-br-02.atl.jboss.com> "j2ee_junkie" wrote : Since the SecurityDomain is a JBoss specific configuration, it does not go in the ejb-jar.xml. I figured you would have known how to configure JBoss. In this case, see the jboss.xml file and it's DTD for definitions. ok thanx, I'll do that. but couldn't I declare the securitydomain in jboss-app.xml instead of jboss.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959042#3959042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959042 From do-not-reply at jboss.com Wed Jul 19 04:34:19 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 04:34:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <29868469.1153298059322.JavaMail.jboss@colo-br-02.atl.jboss.com> what taglib document? The only jBPM tag currently is the processimage tag. There is nothing more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959044#3959044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959044 From do-not-reply at jboss.com Wed Jul 19 04:51:31 2006 From: do-not-reply at jboss.com (ms@camos.de) Date: Wed, 19 Jul 2006 04:51:31 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - VM-Size in Windows task manager increases constantly Message-ID: <15993126.1153299091925.JavaMail.jboss@colo-br-02.atl.jboss.com> I got a big problem. Please give me some hints how to solve it. I read a lot of threads about it here, but no solution. My system is: P IV, 4GB mem (no swap to not delay the problem) Windows 2003 Server x64 SUN JDK 1.5.0-07 for AMD x64 JBoss 4.04 My own stateful session bean and two servlets of my own JBoss/JVM parameter: set JAVA_OPTS=%JAVA_OPTS% -Xms2048m -Xmx2048m set JAVA_OPTS=%JAVA_OPTS% -XX:PermSize=150m -XX:NewRatio=3 My problem is: To stress test my bean I create approximately 600 instances. One hour after the start the windows task manager tells me a VM-Size of 2.5 GB. That?s okay. Visual GC 3.0 tells me the following: PermSize: 50MB (ok) OldGen: 300MB (ok) (after 2 collections) Survivor ?: 130MB (ok) Eden: 170MB (ok) Everything is okay. After 30 hours Visual GC: PermSize: 50MB (ok) OldGen: 300MB (ok) (after 500 collections) Survivor ?: 8MB (interesting, but still ok for me) Eden: 33MB (interesting, but still ok for me) The Problem is now windows task manager for java.exe MemUsage: 1.6GB (ok) PeakMemIsage: 1.6GB (ok) VM Size 3.5GB (and increasing: very big problem) When VM-Size reaches 3.8GB, java.exe crashes. IMHO JVM?s internal heaps are okay but there must be an internal error in its memory management. It?s not that I want memory returned to the OS but the JVM should detect a lack of fresh memory and not allocate anymore. I also think that there is no benefit in changing Xms Xmx Xss (the well known switches). I tried without success. Is it possible that this is a special problem of the x64 JVM? With 32 Bit I run onto other limitation. Any help is welcome Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959045#3959045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959045 From do-not-reply at jboss.com Wed Jul 19 04:52:30 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 04:52:30 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <20455190.1153299150496.JavaMail.jboss@colo-br-02.atl.jboss.com> "Markus.Wahl" wrote : "j2ee_junkie" wrote : Since the SecurityDomain is a JBoss specific configuration, it does not go in the ejb-jar.xml. I figured you would have known how to configure JBoss. In this case, see the jboss.xml file and it's DTD for definitions. | | but couldn't I declare the securitydomain in jboss-app.xml instead of jboss.xml? there is an issue about using jboss-app.xml instead of jboss.xml: http://jira.jboss.com/jira/browse/EJBTHREE-281 but the guy there got no answer to his question. using jboss-app.xml instead of each ejb-jar files jboss.xml to speficy a security domain would mean that all ejb beans use the same security domain (unless overriden), right? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959046#3959046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959046 From do-not-reply at jboss.com Wed Jul 19 04:52:33 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Wed, 19 Jul 2006 04:52:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <21965286.1153299153566.JavaMail.jboss@colo-br-02.atl.jboss.com> In many cases validation depends not only from a value of a single control. It depends from context. From other properties of the bean. And as I understand, JSF like validation does not support this cases. I tried to use Validator for a bean and ( @IfInvalid/@Valid ). I got the problem that was described in the this topic. When I traced it. I discovered that validation was made twice. First by Seam (it was correct. Seam put error message into FacesMessages). Second by Hibernate. And Hibernate raised exception when validation fails. Is there any way now to perform such validation? Denis. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959047#3959047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959047 From do-not-reply at jboss.com Wed Jul 19 04:53:04 2006 From: do-not-reply at jboss.com (Goonie) Date: Wed, 19 Jul 2006 04:53:04 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - load EJB on startup? Message-ID: <31872257.1153299184754.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello everyone, Similar to the load-on-startup of Servlets, I'd like to load some stateless session beans on JBoss startup. Is there an easy way to do this? I'd prefer a container agnostic solution, but would also be happy with a JBoss 4.0.4 specific hint. Regards, Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959048#3959048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959048 From do-not-reply at jboss.com Wed Jul 19 04:53:34 2006 From: do-not-reply at jboss.com (rene@xinit.org) Date: Wed, 19 Jul 2006 04:53:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - env-entry injection in a @Service EJB Message-ID: <1000450.1153299214702.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would ask how I can do an env-entry injection into an jboss @Service EJB? There are many examples how this can be done with session beans and also message driven bean. But I could not find anything how to inject a primary type resource into a @Service EJB. I have the following test service: | @Service | public class MyTestServiceBean implements MyTestService { | | @Resource(name = "maxValue") public int maxValue = 10; | | public MyTestServiceBean() { | System.out.println("MAX_VALUE: " + maxValue); | } | | public void test() { | // ... | } | | } | In ejb-jar.xml I tried something like this (which I didn't really expected to work) | | | | maxValue | java.lang.Integer | 1000 | | | | I also tried many variations with and setting this stuff in jboss.xml. But nothing worked so far. Thanks in advance, Ren? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959049#3959049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959049 From do-not-reply at jboss.com Wed Jul 19 04:54:49 2006 From: do-not-reply at jboss.com (gelrad) Date: Wed, 19 Jul 2006 04:54:49 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Problems with xdoclet in Jboss IDE Message-ID: <28427788.1153299289391.JavaMail.jboss@colo-br-02.atl.jboss.com> Those options appear for some reason only when using the "Package Explorer" and not the "Navigator". Should be fix IMHO... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959050#3959050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959050 From do-not-reply at jboss.com Wed Jul 19 05:01:06 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 19 Jul 2006 05:01:06 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Problems with xdoclet in Jboss IDE Message-ID: <10995293.1153299666922.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you referring to Navigator as in resource navigator ? I don't know if that can be made to work, but a good start is to open a bug report in our jira with enough information (more details) and it will be looked into. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959051#3959051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959051 From do-not-reply at jboss.com Wed Jul 19 05:01:45 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 05:01:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <4190369.1153299705998.JavaMail.jboss@colo-br-02.atl.jboss.com> I found the reason for the non-deployment, and I know hope to get some tips on how to fix it. According to the trailblazer: anonymous wrote : All the EJB 3.0 libraries and server-wide configuration files are located in the [server_installation]/server/default/deploy directory... | * The ejb3.deployer/META-INF/persistence.properties file configures the default database for all entity beans and EntityManager in this server. The default is the server's embedded HSQLDB database. | * The ejb3-clustered-sfsbcache-service.xml file contains the MBean configuration for the JBoss Cache service that replicates stateful session beans in a cluster. | * The ejb3-entity-cache-service.xml file contains the MBean configuration for the JBoss Cache service that caches and replicates entity bean objects in a cluster. | When you run the 'all' configuration on the installer, this is not a part of the deployment. I get the ejb3.deployer if I run the ejb configuration on top of the all configuration, but then there is error logging of components allready beeing deployed... I do not need the cluster service and the caching is not necessary, but could be an asset. How do get the all configuration working with ejb3 but with the all configuration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959052#3959052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959052 From do-not-reply at jboss.com Wed Jul 19 05:02:36 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Wed, 19 Jul 2006 05:02:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Concurrent access to stateful beans Message-ID: <12277549.1153299756605.JavaMail.jboss@colo-br-02.atl.jboss.com> I use this solution: http://jira.jboss.com/jira/browse/JBSEAM-183 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959053#3959053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959053 From do-not-reply at jboss.com Wed Jul 19 05:03:08 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 19 Jul 2006 05:03:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Referencing another Bean Message-ID: <21452505.1153299788172.JavaMail.jboss@colo-br-02.atl.jboss.com> Try @Stateful | @Name("b1") | public class Bean1 implements Bean1If { | @In(create=true) EntityManager em; | @In(create=true) Bean2 b2; | ... | } @Name("b2") | public class Bean2 implements Bean2If { | @In(create=true) EntityManager em; | ... | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959054#3959054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959054 From do-not-reply at jboss.com Wed Jul 19 05:09:36 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Wed, 19 Jul 2006 05:09:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Facelets: Parameters to custom tags Message-ID: <4627046.1153300176131.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am using MyFaces / Facelets / Seam. Can I inject the attributes of a custom tag into my bean? I've written a custom tag with tag file: | | kontoname | kontoname.xhtml | | kontoname.xhtml: | | | | | | | | | ? | | | I'm calling this tag with arguments: | | The Tag is using a Java bean: | @SuppressWarnings("serial") | @Scope(ScopeType.APPLICATION) | @Name("kontoname") | public class Kontoname implements Serializable{ | | private @In(required=false) Kontowrapper konto; | private @In(required=false) Anzeigespalte spalte; | | public String getWert() { | if (spalte==null) return "Keine Spalte angegeben"; | if (konto==null) return "Kein Konto angegeben"; | return spalte.getWertInObjekt(konto); | } | | } | Unfortunately, this does not work. Accessing the "liste" argument from within the tag file is no problem, but accessing the "konto" argument from within the JavaBean isn't possible. Can I do anything to get the parameter injected? Thank you!! Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959055#3959055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959055 From do-not-reply at jboss.com Wed Jul 19 05:13:47 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 19 Jul 2006 05:13:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Continuously server restarting Message-ID: <2147107.1153300427324.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, well I use JBoss AS not Tomcat - didn't notice that detail in your post. I use an exploded war (and consequntially an exploded ear) for altering my facelets, and eclipse hot code replace for changing methods on the fly. The hotcode is built in to eclipse. I use ant to create the exploded strucuture and have an ant task to copy across new facelets. I haven't played with the new JBoss IDE adaptor as it seems only to support local servers and mine is remote. This HAS been discussed a few times before on this and other Forums and there are pages on the wiki so hopefully you can peice together something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959056#3959056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959056 From do-not-reply at jboss.com Wed Jul 19 05:17:44 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 05:17:44 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <14891858.1153300664278.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a failure that should not be present and should not be hard for a jboss employee to fix. I also tried to download the zip-file, but this is also without the ejb3.deployer and xml-files... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959057#3959057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959057 From do-not-reply at jboss.com Wed Jul 19 05:18:23 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 05:18:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <28895380.1153300703925.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : would cost me (personally) to much free time In my opinion it does mean that existing possibilities are not sufficient, because it is common and simple situation so it should be easy to model it. anonymous wrote : Some suggestions are made above If you are talking about this one with parallel tasks i think it's too complicated for such simple case. anonymous wrote : It is the combination of how *you* want to draw/design the process I want to design it as simple as it is possible, because in the future it will not be changed by system architect/programmer but by system user. Maybe i made same wrong assumption here.(but why not ?) As i said at the biginning I'm using jBPM for few days and never used any other workflow system. So maybe problem lies in the way i want to change processes in the future. I thought that this shuld be made by customer, not system programmers/designers etc. Thats why i want to model easy cases easly. Maybe i don't understand the process of designing, deploying processes. I imagine that process is designed by customer and after that it is deployed by system developers. Of course developers can add something to process (only actions?) but this should be invisible for process designers. I think that process deployers shouldn't transform process design to some different form which fulfil technical requirements. Yours suggestions may work but they are to complicated, this problem can be solved much simplier: adding possibility to link tasks with transitions. But this is only newbie suggestion. anonymous wrote : | If you still want to draw it like you do now, maybe jBPM is not the best engine for your needs. I want to draw it easly, and im looking for easy solution (parallel in generaly isn't easy). Maybe it isn't the best solution, but don't understand me wrong, i respect your work, i see a lot of good solutions here but it's hard to imagine for me that such simple case must be designed in some strange way. Thanks for your support View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959058#3959058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959058 From do-not-reply at jboss.com Wed Jul 19 05:18:44 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 19 Jul 2006 05:18:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Add/Edit Page Message-ID: <21866681.1153300724240.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes. It's very hard to give help for such a non-specific problem, but some ideas * Use facelets and templating to create a generic form which can be embedded * Think about where you whether you are going to use conversations, and if so, where you want them to start/end and when you want to enable/disable their propogation * Consider what the differences are between persisting a new object and updating an existing one View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959059#3959059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959059 From do-not-reply at jboss.com Wed Jul 19 05:25:16 2006 From: do-not-reply at jboss.com (amitguz) Date: Wed, 19 Jul 2006 05:25:16 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - migration to 4.0.4 GA deployment problem --- MBeans waiting Message-ID: <22765786.1153301116989.JavaMail.jboss@colo-br-02.atl.jboss.com> I migrate my application from jboss 4.0.4 RC1 to JBOSS 4.0.4 GA and I got error during the deployment. In general the error is about mutual dependecy. i.e - suppose I have 2 Stateless session bean: 1.) XXBean 2.)YYBean and I have the following code: | | public @Stateless class XXBean implements XX { | | @EJB YYBean ybean; | } | | public @Stateless class YYBean implements XX { | | @EJB XXBean ybean; | } | | this code in 4.0.4 GA will raise error during the depolyment process. Does anybody know why? and how to overcome it? thanks, amit p.s - this is the error I got anonymous wrote : | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3 | persistence.units:ear=imagineManagment.ear,unitName=ImagineDB | Depends On Me: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=ModuleManagerBean,service=EJB3 | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3 | | ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=ModuleManagerBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3 | persistence.units:ear=imagineManagment.ear,unitName=ImagineDB | | ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3 | persistence.units:ear=imagineManagment.ear,unitName=ImagineDB | Depends On Me: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=DeviceManagerBean,service=EJB3 | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMDeviceManagerBean,service=EJB3 | | ObjectName: jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMDeviceManagerBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=PortManagerBean,service=EJB3 | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=SiteManagerBean,service=EJB3 | jboss.j2ee:ear=imagineManagment.ear,jar=imagineBusiness.ejb3,name=QAMGroupManagerBean,service=EJB3 | persistence.units:ear=imagineManagment.ear,unitName=ImagineDB | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959060#3959060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959060 From do-not-reply at jboss.com Wed Jul 19 05:28:30 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 05:28:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <26544578.1153301310601.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : EJB 3.0 RC6 already comes with JBoss 4.0.4CR2 Where do I download 4.0.4RC2? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959061#3959061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959061 From do-not-reply at jboss.com Wed Jul 19 05:28:48 2006 From: do-not-reply at jboss.com (pieterjan) Date: Wed, 19 Jul 2006 05:28:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Specify jar-file in persistence.xml at certain position Message-ID: <30589437.1153301328924.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm still using JBossAS 4.0.3 SP1 so therefore my applications are deployed as .par instead of .jar. Anyway, I'm referencing entity beans from one .par file in another .par file. So I added the referenced classes in the persistence.xml file. And everything works fine. But now, I would rather have the jar-file mentioned in the persistence.xml than the individual classes (for obvious maintenance reasons). And here's the thing: I found out that, the following line will look in : jboss-4.0.3SP1/bin referenced_project.par the following line will look in : jboss-4.0.3SP1/server/barc/deploy/BARC/applicationtwo/ ../referenced_project.par and this is okay when the par files are located in the same directory but in my case each project has its own directory, so... the following line will look in : jboss-4.0.3SP1/server/barc/deploy/BARC/applicationtwo/pplicationone ../../applicationone/referenced_project.par As you can see letter 'a' has been removed and the two dots did not make the deployer move/look in the correct directory. To make it even more obvious... the following line will look in: jboss-4.0.3SP1/server/barc/deploy/BARC/applicationtwo/icationone ../../../../../applicationone/referenced_project.par So can anyone tell me what I'm doing wrong? Does the deployer use the dots as special characters and is there a workaround? In summary. What I want is to reference jboss-4.0.3SP1/server/barc/deploy/BARC/applicationone/referenced_project.par from the persistence.xml file in jboss-4.0.3SP1/server/barc/deploy/BARC/applicationtwo/project.par Cheers, Pieter-Jan Savat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959062#3959062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959062 From do-not-reply at jboss.com Wed Jul 19 05:29:56 2006 From: do-not-reply at jboss.com (benders) Date: Wed, 19 Jul 2006 05:29:56 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problem with auto-generating table; Message-ID: <33433174.1153301396315.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I am writing my first EJB3 Entity. I am using jboss 4.0.4GA1 und Mysql 5. When I deploy the jar-file, there is no error in the log. But the table was not created. I can connect to MySQL-Server with the given user/password and can create tables; Please, can someone give me an advice? Thank You. Bernd Enders Here are my files. java:/MySqlDS I have tried update and create-drop . MySqlDS jdbc:mysql://localhost:3306/jbossdb org.gjt.mm.mysql.Driver Jboss_Admin ??????? org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL package de.bremen.gbi.enders.adressen; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="Ort") public class Ort implements Serializable { private static final long serialVersionUID = -6885450258617826478L; private long id; private String land; private String plz; private String ort; @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name="id",nullable=false) public long getId() { return id; } public void setId(long id) { this.id = id; } @Column(name="land",nullable=false, length=10) public String getLand() { return land; } public void setLand(String land) { this.land = land; } @Column(name="ort",nullable=false,length=128) public String getOrt() { return ort; } public void setOrt(String ort) { this.ort = ort; } @Column(name="plz",nullable=false,length=12) public String getPlz() { return plz; } public void setPlz(String plz) { this.plz = plz; } } package de.bremen.gbi.enders.adressen; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import de.bremen.gbi.enders.adressen.OrteRemote; @Stateless public class OrteBean implements OrteRemote, OrteLocal { @PersistenceContext(unitName="gbi") private EntityManager enityManager; public void insert(String land,String ort,String plz) { if (ort.equals("")) ort="DE"; ort=ort.toUpperCase(); Ort o = new Ort(); o.setLand(land); o.setOrt(ort); o.setPlz(plz); enityManager.persist(o); } public String getOrtByPlz(String plz) { return "Nicht vorhanden!"; } } 2006-07-19 11:21:59,073 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,083 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,083 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar -> /home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp/deploy/tmp28813adressen.jar 2006-07-19 11:21:59,096 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] 2006-07-19 11:21:59,097 DEBUG [org.jboss.ejb3.EJB3Deployer] looking for nested deployments in : file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,099 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) 2006-07-19 11:21:59,100 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1f78ef1, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 8bf3ec{ url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp/deploy/tmp28813adressen.jar ,addedOrder=0} 2006-07-19 11:21:59,100 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1f78ef1, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 8bf3ec{ url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp/deploy/tmp28813adressen.jar ,addedOrder=0} 2006-07-19 11:21:59,100 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at 8bf3ec{ url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp/deploy/tmp28813adressen.jar ,addedOrder=0} 2006-07-19 11:21:59,101 DEBUG [org.jboss.mx.loading.ClassLoaderUtils] Multiple class loaders found for pkg: 2006-07-19 11:21:59,102 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,103 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,103 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,103 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] create: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,103 DEBUG [org.jboss.ejb3.EJB3Deployer] create, adressen.jar 2006-07-19 11:21:59,193 DEBUG [org.jboss.ejb3.EJB3Deployer] Deploying: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,194 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:21:59,194 DEBUG [org.jboss.ejb3.Ejb3Module] Creating jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:21:59,201 DEBUG [org.jboss.ejb3.security.JaccHelper] Initialising JACC Context for deployment: adressen.jar 2006-07-19 11:21:59,437 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=OrteBean, class=de.bremen.gbi.enders.adressen.OrteBean, type=STATELESS 2006-07-19 11:21:59,467 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : OrteBean 2006-07-19 11:21:59,490 DEBUG [org.jboss.ejb3.ProxyDeployer] there is remote interfaces for OrteBean 2006-07-19 11:21:59,490 DEBUG [org.jboss.ejb3.ProxyDeployer] default remote binding has jndiName of OrteBean/remote 2006-07-19 11:21:59,713 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 519 2006-07-19 11:21:59,713 DEBUG [org.jboss.ejb3.Ejb3Module] Created jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:21:59,713 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=adressen.jar dependents are: [] 2006-07-19 11:21:59,772 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying adressen.jar 2006-07-19 11:21:59,772 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,772 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] start: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:21:59,773 DEBUG [org.jboss.ejb3.EJB3Deployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo at 2b14e6c9 { url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar } deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] status: Starting state: START_DEPLOYER watch: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar altDD: null lastDeployed: 1153300919102 lastModified: 1153300919000 mbeans: , short name: adressen.jar, parent short name: null 2006-07-19 11:21:59,773 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:21:59,773 DEBUG [org.jboss.ejb3.Ejb3Module] Starting jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:21:59,776 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 2006-07-19 11:21:59,785 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: persistence.units:jar=adressen.jar,unitName=gbi with dependencies: 2006-07-19 11:21:59,786 INFO [org.jboss.ejb3.JmxKernelAbstraction] jboss.jca:name=MySqlDS,service=ManagedConnectionFactory 2006-07-19 11:21:59,792 DEBUG [org.jboss.system.ServiceController] Creating service persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:21:59,793 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [jboss.jca:name=MySqlDS,service=ManagedConnectionFactory] 2006-07-19 11:21:59,793 DEBUG [org.jboss.system.ServiceController] recording that persistence.units:jar=adressen.jar,unitName=gbi depends on jboss.jca:name=MySqlDS,service=ManagedConnectionFactory 2006-07-19 11:21:59,793 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:21:59,793 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:21:59,793 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: persistence.units:jar=adressen.jar,unitName=gbi dependents are: [] 2006-07-19 11:21:59,793 DEBUG [org.jboss.system.ServiceController] starting service persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:21:59,794 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:21:59,809 DEBUG [org.jboss.ejb3.entity.PersistenceUnitDeployment] Found persistence.xml file in EJB3 jar 2006-07-19 11:21:59,854 INFO [org.hibernate.ejb.Version] Hibernate EntityManager 3.2.0.CR1 2006-07-19 11:21:59,897 INFO [org.hibernate.cfg.annotations.Version] Hibernate Annotations 3.2.0.CR1 2006-07-19 11:21:59,918 INFO [org.hibernate.cfg.Environment] Hibernate 3.2 cr2 2006-07-19 11:21:59,934 INFO [org.hibernate.cfg.Environment] hibernate.properties not found 2006-07-19 11:21:59,941 INFO [org.hibernate.cfg.Environment] Bytecode provider name : javassist 2006-07-19 11:21:59,960 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling 2006-07-19 11:22:00,273 DEBUG [org.hibernate.ejb.Ejb3Configuration] Processing PersistenceUnitInfo [ name: gbi persistence provider classname: org.hibernate.ejb.HibernatePersistence classloader: org.jboss.mx.loading.UnifiedClassLoader3 at 8bf3ec{ url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp/deploy/tmp28813adressen.jar ,addedOrder=39} Temporary classloader: null excludeUnlistedClasses: false JTA datasource: org.jboss.resource.adapter.jdbc.WrapperDataSource at 1bedb0 Non JTA datasource: null Transaction type: JTA PU root URL: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar Jar files URLs [] Managed classes names [] Mapping files names [] Properties [ hibernate.hbm2dll.auto: update hibernate.jndi.java.naming.factory.url.pkgs: org.jboss.naming:org.jnp.interfaces hibernate.cache.provider_class: org.hibernate.cache.HashtableCacheProvider hibernate.jndi.java.naming.factory.initial: org.jnp.interfaces.NamingContextFactory hibernate.transaction.manager_lookup_class: org.hibernate.transaction.JBossTransactionManagerLookup hibernate.dialect: org.hibernate.dialect.MySQLDialect hibernate.jacc.ctx.id: adressen.jar hibernate.bytecode.use_reflection_optimizer: false hibernate.bytecode.provider: javassist] 2006-07-19 11:22:00,276 DEBUG [org.hibernate.ejb.Ejb3Configuration] Detect class: true; detect hbm: true 2006-07-19 11:22:00,288 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: de.bremen.gbi.enders.adressen.Ort 2006-07-19 11:22:00,295 WARN [org.hibernate.ejb.Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. 2006-07-19 11:22:00,458 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: META-INF/orm.xml 2006-07-19 11:22:00,465 INFO [org.hibernate.ejb.Ejb3Configuration] [PersistenceUnit: gbi] no META-INF/orm.xml found 2006-07-19 11:22:00,472 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Execute first pass mapping processing 2006-07-19 11:22:00,595 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Process hbm files 2006-07-19 11:22:00,595 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Process annotated classes 2006-07-19 11:22:00,609 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: de.bremen.gbi.enders.adressen.Ort 2006-07-19 11:22:00,664 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column DTYPE unique false 2006-07-19 11:22:00,705 DEBUG [org.hibernate.cfg.annotations.EntityBinder] Import with entity name=Ort 2006-07-19 11:22:00,725 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity de.bremen.gbi.enders.adressen.Ort on table Ort 2006-07-19 11:22:00,745 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing de.bremen.gbi.enders.adressen.Ort property annotation 2006-07-19 11:22:00,812 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of de.bremen.gbi.enders.adressen.Ort.id 2006-07-19 11:22:00,822 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column id unique false 2006-07-19 11:22:00,824 DEBUG [org.hibernate.cfg.AnnotationBinder] id is an id 2006-07-19 11:22:00,838 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for id 2006-07-19 11:22:00,848 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property id 2006-07-19 11:22:00,859 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading id with null 2006-07-19 11:22:00,859 DEBUG [org.hibernate.cfg.AnnotationBinder] Bind @Id on id 2006-07-19 11:22:00,859 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of de.bremen.gbi.enders.adressen.Ort.land 2006-07-19 11:22:00,860 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column land unique false 2006-07-19 11:22:00,861 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] binding property land with lazy=false 2006-07-19 11:22:00,861 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for land 2006-07-19 11:22:00,861 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property land 2006-07-19 11:22:00,861 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading land with null 2006-07-19 11:22:00,861 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of de.bremen.gbi.enders.adressen.Ort.ort 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column ort unique false 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] binding property ort with lazy=false 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for ort 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property ort 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading ort with null 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.AnnotationBinder] Processing annotations of de.bremen.gbi.enders.adressen.Ort.plz 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.Ejb3Column] Binding column plz unique false 2006-07-19 11:22:00,862 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] binding property plz with lazy=false 2006-07-19 11:22:00,863 DEBUG [org.hibernate.cfg.annotations.SimpleValueBinder] building SimpleValue for plz 2006-07-19 11:22:00,863 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Building property plz 2006-07-19 11:22:00,863 DEBUG [org.hibernate.cfg.annotations.PropertyBinder] Cascading plz with null 2006-07-19 11:22:00,871 DEBUG [org.hibernate.cfg.AnnotationConfiguration] processing manytoone fk mappings 2006-07-19 11:22:00,884 DEBUG [org.hibernate.cfg.Configuration] processing extends queue 2006-07-19 11:22:00,885 DEBUG [org.hibernate.cfg.Configuration] processing collection mappings 2006-07-19 11:22:00,885 DEBUG [org.hibernate.cfg.Configuration] processing native query and ResultSetMapping mappings 2006-07-19 11:22:00,885 DEBUG [org.hibernate.cfg.Configuration] processing association property references 2006-07-19 11:22:00,885 DEBUG [org.hibernate.cfg.Configuration] processing foreign key constraints 2006-07-19 11:22:00,951 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters : {} 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Execute first pass mapping processing 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Process hbm files 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.AnnotationConfiguration] Process annotated classes 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.AnnotationConfiguration] processing manytoone fk mappings 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.Configuration] processing extends queue 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.Configuration] processing collection mappings 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.Configuration] processing native query and ResultSetMapping mappings 2006-07-19 11:22:01,008 DEBUG [org.hibernate.cfg.Configuration] processing association property references 2006-07-19 11:22:01,009 DEBUG [org.hibernate.cfg.Configuration] processing foreign key constraints 2006-07-19 11:22:01,009 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages 2006-07-19 11:22:01,228 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 2006-07-19 11:22:01,239 INFO [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] Using provided datasource 2006-07-19 11:22:01,253 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807 2006-07-19 11:22:01,253 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1153301371253, new next: 1153301371253 2006-07-19 11:22:02,260 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: MySQL, version: 5.0.18-Debian_3.dotdeb.1-log 2006-07-19 11:22:02,261 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.13 ( $Date: 2005-11-17 15:53:48 +0100 (Thu, 17 Nov 2005) $, $Revision$ ) 2006-07-19 11:22:02,379 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.MySQLDialect 2006-07-19 11:22:02,451 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory 2006-07-19 11:22:02,519 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 2006-07-19 11:22:02,586 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup 2006-07-19 11:22:02,586 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled 2006-07-19 11:22:02,586 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled 2006-07-19 11:22:02,587 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15 2006-07-19 11:22:02,587 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled 2006-07-19 11:22:02,651 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled 2006-07-19 11:22:02,651 DEBUG [org.hibernate.cfg.SettingsFactory] Wrap result sets: disabled 2006-07-19 11:22:02,651 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): enabled 2006-07-19 11:22:02,651 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: auto 2006-07-19 11:22:02,715 INFO [org.hibernate.cfg.SettingsFactory] Maximum outer join fetch depth: 2 2006-07-19 11:22:02,716 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1 2006-07-19 11:22:02,716 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled 2006-07-19 11:22:02,716 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled 2006-07-19 11:22:02,716 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 2006-07-19 11:22:02,785 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 2006-07-19 11:22:02,786 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {} 2006-07-19 11:22:02,786 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled 2006-07-19 11:22:02,786 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled 2006-07-19 11:22:02,786 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider 2006-07-19 11:22:02,852 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled 2006-07-19 11:22:02,852 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled 2006-07-19 11:22:02,932 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled 2006-07-19 11:22:02,932 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled 2006-07-19 11:22:02,996 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo 2006-07-19 11:22:03,131 DEBUG [org.hibernate.validator.ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages 2006-07-19 11:22:03,163 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory 2006-07-19 11:22:03,164 DEBUG [org.hibernate.impl.SessionFactoryImpl] Session factory constructed with filter configurations : {} 2006-07-19 11:22:03,226 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiating session factory with properties: {java.vendor=Sun Microsystems Inc., catalina.base=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default, sun.management.compiler=HotSpot Server Compiler, hibernate.ejb.discard_pc_on_close=false, catalina.useNaming=false, hibernate.transaction.flush_before_completion=false, os.name=Linux, sun.boot.class.path=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed/serializer.jar:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed/resolver.jar:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed/xercesImpl.jar:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed/xalan.jar:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed/xml-apis.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/rt.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/i18n.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/sunrsasign.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/jsse.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/jce.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/charsets.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/classes, sun.desktop=gnome, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_06-b05, hibernate.connection.autocommit=true, hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider, user.name=bernd, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, tomcat.util.buf.StringCache.byte.enabled=true, hibernate.connection.release_mode=auto, hibernate.hbm2dll.auto=update, jboss.home.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4, user.language=de, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/i386, hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, jboss.home.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/, java.version=1.5.0_06, user.timezone=Europe/Berlin, jboss.server.home.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default, hibernate.bytecode.provider=javassist, sun.arch.data.model=32, java.endorsed.dirs=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/endorsed, jboss.server.home.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/, sun.cpu.isalist=, sun.jnu.encoding=ISO-8859-15, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., file.separator=/, java.specification.name=Java Platform API Specification, java.class.version=49.0, jboss.server.config.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/conf/, user.country=DE, java.home=/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre, java.vm.info=mixed mode, jboss.lib.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/lib/, os.version=2.6.8-2-686, hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, hibernate.jacc.ctx.id=adressen.jar, hibernate.transaction.factory_class=org.hibernate.ejb.transaction.JoinableCMTTransactionFactory, path.separator=:, java.vm.version=1.5.0_06-b05, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.print.PSPrinterJob, sun.io.unicode.encoding=UnicodeLittle, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., jboss.server.temp.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, sun.rmi.dgc.client.gcInterval=3600000, user.home=/home/bernd, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., java.library.path=/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/i386/server:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/i386:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/../lib/i386, java.vendor.url=http://java.sun.com/, program.name=run.sh, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, sun.rmi.dgc.server.gcInterval=3600000, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/bin/run.jar:/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/lib/tools.jar, hibernate.bytecode.use_reflection_optimizer=false, jboss.server.log.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/log, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, catalina.home=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default, java.vm.specification.version=1.0, jboss.server.lib.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/lib/, sun.os.patch.level=unknown, sun.cpu.endian=little, hibernate.connection.provider_class=org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider, java.io.tmpdir=/tmp, java.rmi.server.codebase=http://debian1:8083/, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, jboss.server.data.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/data, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, os.arch=i386, java.ext.dirs=/home/bernd/Z_GBI/Z_JDK/jdk1.5.0_06/jre/lib/ext, user.dir=/home/bernd, line.separator= , java.vm.name=Java HotSpot(TM) Server VM, jboss.server.base.dir=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server, jboss.server.base.url=file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=ISO-8859-15, hibernate.use_identifier_rollback=false, catalina.ext.dirs=/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.5, jboss.server.name=default} 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Static SQL for entity: de.bremen.gbi.enders.adressen.Ort 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Version select: select id from Ort where id =? 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Snapshot select: select ort_.id, ort_.land as land0_, ort_.ort as ort0_, ort_.plz as plz0_ from Ort ort_ where ort_.id=? 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Insert 0: insert into Ort (land, ort, plz, id) values (?, ?, ?, ?) 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Update 0: update Ort set land=?, ort=?, plz=? where id=? 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Delete 0: delete from Ort where id=? 2006-07-19 11:22:03,674 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Identity insert: insert into Ort (land, ort, plz) values (?, ?, ?) 2006-07-19 11:22:03,735 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? 2006-07-19 11:22:03,736 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? 2006-07-19 11:22:03,736 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? for update 2006-07-19 11:22:03,736 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? for update 2006-07-19 11:22:03,767 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for action ACTION_MERGE on entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? 2006-07-19 11:22:03,768 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for action ACTION_REFRESH on entity de.bremen.gbi.enders.adressen.Ort: select ort0_.id as id0_0_, ort0_.land as land0_0_, ort0_.ort as ort0_0_, ort0_.plz as plz0_0_ from Ort ort0_ where ort0_.id=? 2006-07-19 11:22:03,772 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] initializing class SessionFactoryObjectFactory 2006-07-19 11:22:03,779 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] registered: ff8080810c861782010c861785780000 (unnamed) 2006-07-19 11:22:03,779 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 2006-07-19 11:22:03,779 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiated session factory 2006-07-19 11:22:03,779 DEBUG [org.hibernate.impl.SessionFactoryImpl] obtaining JTA TransactionManager 2006-07-19 11:22:03,844 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-19 11:22:03,909 DEBUG [org.hibernate.impl.SessionFactoryImpl] Checking 0 named HQL queries 2006-07-19 11:22:03,909 DEBUG [org.hibernate.impl.SessionFactoryImpl] Checking 0 named SQL queries 2006-07-19 11:22:03,914 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Started persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:22:03,914 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: persistence.units:jar=adressen.jar,unitName=gbi dependent components: [] 2006-07-19 11:22:03,979 DEBUG [org.jboss.ejb3.EJBContainer] Initialising interceptors for OrteBean... 2006-07-19 11:22:03,979 DEBUG [org.jboss.ejb3.EJBContainer] Default interceptors: null 2006-07-19 11:22:03,981 DEBUG [org.jboss.ejb3.EJBContainer] Class interceptors: [] 2006-07-19 11:22:03,981 DEBUG [org.jboss.ejb3.EJBContainer] All applicable interceptor classes: [] 2006-07-19 11:22:03,981 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 2006-07-19 11:22:03,996 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 with dependencies: 2006-07-19 11:22:03,997 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:22:04,063 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,063 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [persistence.units:jar=adressen.jar,unitName=gbi] 2006-07-19 11:22:04,063 DEBUG [org.jboss.system.ServiceController] recording that jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 depends on persistence.units:jar=adressen.jar,unitName=gbi 2006-07-19 11:22:04,063 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,063 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,063 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 dependents are: [] 2006-07-19 11:22:04,064 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,064 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,376 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public void de.bremen.gbi.enders.adressen.OrteBean.insert(java.lang.String,java.lang.String,java.lang.String) - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1fb80c9 2006-07-19 11:22:04,381 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String de.bremen.gbi.enders.adressen.OrteBean.getOrtByPlz(java.lang.String) - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1035ff9 2006-07-19 11:22:04,427 DEBUG [org.jboss.ejb3.tx.UserTransactionImpl] new UserTx: org.jboss.ejb3.tx.UserTransactionImpl at 1e4e3e4 2006-07-19 11:22:04,501 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public void de.bremen.gbi.enders.adressen.OrteBean.insert(java.lang.String,java.lang.String,java.lang.String) - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@4ba778 2006-07-19 11:22:04,502 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String de.bremen.gbi.enders.adressen.OrteBean.getOrtByPlz(java.lang.String) - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@dfe491 2006-07-19 11:22:04,503 DEBUG [org.jboss.ejb3.security.JaccHelper] OrteBean has no @SecurityDomain - skipping JACC configuration 2006-07-19 11:22:04,503 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: de.bremen.gbi.enders.adressen.OrteBean ejbName: OrteBean 2006-07-19 11:22:04,863 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] createTimerService: org.jboss.ejb.txtimer.TimerServiceImpl at 431693 2006-07-19 11:22:04,863 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Started jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 2006-07-19 11:22:04,864 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jar=adressen.jar,name=OrteBean,service=EJB3 dependent components: [] 2006-07-19 11:22:04,864 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:service=EJB3,jar=adressen.jar,name=OrteBean 2006-07-19 11:22:04,864 DEBUG [org.jboss.ejb3.security.JaccHelper] JACC Policy Configuration for deployment has been put in service 2006-07-19 11:22:04,864 DEBUG [org.jboss.ejb3.Ejb3Module] Started jboss.j2ee:service=EJB3,module=adressen.jar 2006-07-19 11:22:04,864 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB3,module=adressen.jar dependent components: [] 2006-07-19 11:22:04,864 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:22:04,865 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: adressen.jar 2006-07-19 11:22:04,865 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar 2006-07-19 11:22:04,866 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar -> file:/home/bernd/Z_GBI/Z_Server/jboss4.0.4/server/default/deploy/adressen.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959063#3959063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959063 From do-not-reply at jboss.com Wed Jul 19 05:32:44 2006 From: do-not-reply at jboss.com (danielgalan) Date: Wed, 19 Jul 2006 05:32:44 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Loading resources Message-ID: <732657.1153301564344.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want to load resources (xml-files), usually I would do this with a FilenameFilter and the file method listFiles(filter) .. this would return an array of files. When deploying in JBoss EJB-Modules, these are packed as jar file, and these jar files are copied into some kind of temporary directory and opend. Because they are in a jar file, I can't use any longer the listFiles method, because this will return always null. Taking instead the jar, and open a ZipFile or ZipStream isn't possible, because they are, as mentioned, opend by the system exclusivly. I can't even use getClass().getClassLoader().getResources(...) .. because I don't know the name (only the file extension xml, and the package path). I don't see any possiblity to load these xml files from one package (or recursivley) .. what can I do? Thanks in advance Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959064#3959064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959064 From do-not-reply at jboss.com Wed Jul 19 05:34:09 2006 From: do-not-reply at jboss.com (yanniko1981) Date: Wed, 19 Jul 2006 05:34:09 -0400 (EDT) Subject: [jboss-user] [JBossWS] - MTOM Performance Message-ID: <15081120.1153301649906.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am using MTOM to send a large Amount of data via Network. The problem is that the process consumes a lot of memory and takes a long time. Exemple : To send an amount of 170 MB of data from a Server which uses MTOM to a client in the same network. The memory consumption reaches 1.5GB (on the server then on the client) and that take 5 minutes...... Is that Normal ? I will be appriciating any help, any answer thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959065#3959065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959065 From do-not-reply at jboss.com Wed Jul 19 05:44:17 2006 From: do-not-reply at jboss.com (timfox) Date: Wed, 19 Jul 2006 05:44:17 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <12284991.1153302257836.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you please replicate in a small application that I can deploy - and I shall investigate further? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959066#3959066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959066 From do-not-reply at jboss.com Wed Jul 19 05:45:05 2006 From: do-not-reply at jboss.com (Viegas) Date: Wed, 19 Jul 2006 05:45:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer Message-ID: <12435490.1153302305606.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks a lot, the command "JbpmConfiguration.getInstance().createJbpmContext();" as solved the problem, but how do I create the context. and by the wat, whats the function of the context?? Im a newbie... THANKS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959067#3959067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959067 From do-not-reply at jboss.com Wed Jul 19 05:50:46 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Wed, 19 Jul 2006 05:50:46 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <13904805.1153302646482.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll try. I hope the error will be reproducable in it. Meanwhile, can you please explain in 2 words what those exceptions mean, maybe I'll have some clue what's wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959068#3959068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959068 From do-not-reply at jboss.com Wed Jul 19 05:51:36 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Wed, 19 Jul 2006 05:51:36 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: ejb in jboss Message-ID: <10595198.1153302696309.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Create the jar file with the following structure. / / .. META-INF/ejb-jar.xml META-INF/jboss.xml In your case the jar file structure, day05/SignOn.java day05/SignOnHome.java day05/SignOnEJB.java day05/InvalidLoginException.java META-INF/ejb-jar.xml META-INF/jboss.xml Hope this might solve your problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959069#3959069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959069 From do-not-reply at jboss.com Wed Jul 19 05:53:00 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 05:53:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <25971666.1153302780465.JavaMail.jboss@colo-br-02.atl.jboss.com> It is not as common as you think, at least not the way you try to solve it. We've never had this question before from someone who was was not able to (simply) solve it with other process constructs. IMO it is not a complex solution using parallel task, but if you want the end user to do it, maybe it is. We never have and never will focus on an engine/language that can be fully used by an enduser (read all Toms Blogs http://jboss.org/jbossBlog/blog/tbaeyens/) The 'transformation' is also addressed in these blogs (The IDS-Sheers ARIS / SAP thing) All this will not mean more 'complex' nodes will never be introduced but not on the short term View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959070#3959070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959070 From do-not-reply at jboss.com Wed Jul 19 06:04:30 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 06:04:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <764052.1153303470864.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : solve it with other process constructs maybe i have short imagination, but i dont have more ideas ;) anonymous wrote : We never have and never will focus on an engine/language that can be fully used by an enduser So i've misanderstand the general idea. Once again thanks for your help and patince ;) Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959071#3959071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959071 From do-not-reply at jboss.com Wed Jul 19 06:12:23 2006 From: do-not-reply at jboss.com (brain101) Date: Wed, 19 Jul 2006 06:12:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - image location Message-ID: <7452250.1153303943314.JavaMail.jboss@colo-br-02.atl.jboss.com> what ist the best place to put images? for example if my url is /portal/myportal it would bei great, if the images would be located unter /portal/myportal/images View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959072#3959072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959072 From do-not-reply at jboss.com Wed Jul 19 06:14:27 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Wed, 19 Jul 2006 06:14:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <31385201.1153304067024.JavaMail.jboss@colo-br-02.atl.jboss.com> I just want to add some ideas about running and debugging seam application (any jBoss application) in Eclipse environment without tedious constant redeployment. http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamAutoDeploy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959073#3959073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959073 From do-not-reply at jboss.com Wed Jul 19 06:18:43 2006 From: do-not-reply at jboss.com (sschmidt42) Date: Wed, 19 Jul 2006 06:18:43 -0400 (EDT) Subject: [jboss-user] [J2EE Design Patterns] - Producer - Consumer Pattern with EJB3.0 Message-ID: <20155313.1153304323594.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear All! I'm trying to construct a consumer - producer construct using 2 stateful session beans and one message driven bean. One statefull session bean represents a running business process. This bean references another driver bean (the other statefull session bean). The business-process itself spawns up into n worker-beans which are running asynchronous (message driven beans). All these worker-beans should retrieve information from the driver-bean. My problem is to get the workers reference information on this one driver-bean-instance that is associated with the business-process. Is there anybody who can give me a hint how I can get such a reference in every message-driven worker-bean? Thanks a lot! Sebastian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959074#3959074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959074 From do-not-reply at jboss.com Wed Jul 19 06:19:45 2006 From: do-not-reply at jboss.com (mdaguete) Date: Wed, 19 Jul 2006 06:19:45 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: OutOfMemoryError: unable to create new native thread Message-ID: <814142.1153304385182.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved, a jms client not properly closing connections. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959075#3959075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959075 From do-not-reply at jboss.com Wed Jul 19 06:27:28 2006 From: do-not-reply at jboss.com (zeroman) Date: Wed, 19 Jul 2006 06:27:28 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: java.io.NotSerializableException: org.apache.catalina.co Message-ID: <23226833.1153304848504.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot, Brian! I think it's a suitable approach for our purpose. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959077#3959077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959077 From do-not-reply at jboss.com Wed Jul 19 06:29:03 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 06:29:03 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <9529106.1153304943436.JavaMail.jboss@colo-br-02.atl.jboss.com> so this is what I tried: *renaming the "other" application policy of file login-config.xml (residing in the AS conf dir) to "mine" (in order to make sure that the default security domain "other" does not kick in) *editing jboss-app.xml: | java:/jaas/other | name:app=ejb3 | | *removing the @SecurityDomain annotation from my bean when I try this, all the roles defined in web.xml are allowed acces to my jsp files (this was expected). but all users get acces to my ejb bean. I define two roles in web.xml, but only one of those roles are mentioned in my ejb bean using the @RolesAllowed annotation. when I try with a user of the role not mentioned by @RolesAllowed while the "mine" security domain is not configured, all is fine: the user don't get to use the ejb bean. so what am I missing? is the ejb layer security being set aside just because I use another name for my security domain? hardly; it must be that I have configured something amis. but what? do you know, cgriffith? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959078#3959078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959078 From do-not-reply at jboss.com Wed Jul 19 06:32:52 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 19 Jul 2006 06:32:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <3913761.1153305172170.JavaMail.jboss@colo-br-02.atl.jboss.com> hi denis, Thanks for writing the wiki about it. I just don't get your last comment: "Note, now you can even change you code "hot". If it is not break interface your changes will start working immediately after saving." That should only be possibly if you are remote debugging the jboss server, correct? The exploded directories will "just" help in context of web page changes etc. being instantly available and if you change the descriptors jboss will auto deploy.... ..or am i not seeing something that you do ? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959079#3959079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959079 From do-not-reply at jboss.com Wed Jul 19 06:33:23 2006 From: do-not-reply at jboss.com (jklanka) Date: Wed, 19 Jul 2006 06:33:23 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - EJB user registration Drop Down Boxes Message-ID: <3022891.1153305203205.JavaMail.jboss@colo-br-02.atl.jboss.com> I am developing a J2EE based project. I have created the CMP bean call Accounts. The projects patern like JSP pages communicate to a Dispatching Servlet then the Servlet communicate with the Entity Beans. I need a Select Your country Drop Down ListBox when the New Account get register using the browser with a JSP page. Do I need to Create a another CMP Bean for the Country Drop Down list to pull the data with a Collection (I mean from tb_countries table). Are there any other way, Since there is Country List , Account Indutry List, Department List. Do I need to create seperate CMP Beans to bring this to the browser. PLease help on this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959080#3959080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959080 From do-not-reply at jboss.com Wed Jul 19 06:35:13 2006 From: do-not-reply at jboss.com (timfox) Date: Wed, 19 Jul 2006 06:35:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException Message-ID: <5562300.1153305313221.JavaMail.jboss@colo-br-02.atl.jboss.com> Martin- I've started looking at this issue this morning. I've run your latest (v3) test application against 4.0.4.GA and ejb3 and I'm not seeing any memory leaks or exceptions, when I test against the latest code base. However in the last few weeks I have made quite a few changes in the way delivery is done so I may have inadvertently fixed your problem while I did that. I shall also try this on a dual core machine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959081#3959081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959081 From do-not-reply at jboss.com Wed Jul 19 06:38:04 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 06:38:04 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <31622221.1153305484829.JavaMail.jboss@colo-br-02.atl.jboss.com> "Markus.Wahl" wrote : when I try this, all the roles defined in web.xml are allowed acces to my jsp files (this was expected). but all users get acces to my ejb bean. I define two roles in web.xml, but only one of those roles are mentioned in my ejb bean using the @RolesAllowed annotation. I have discovered if I do use @SecurityDomain("mine") it suddenly works. So I have accomplished avoiding creating jboss-web.xml, but I still need to figure out how to avoid using the JBoss specific annotation or creating jboss.xml. do you think it is possible at all? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959082#3959082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959082 From do-not-reply at jboss.com Wed Jul 19 06:46:16 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 06:46:16 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <31237629.1153305976163.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Important Note for JBoss 4.0.4 CR2+: You have to use the installer to install EJB 3.0 support in your server. The ZIP installation file of the server does not provide EJB3 support. Is the JBoss 4.0.4 GA a releace which is later than CR2? If so; how do you provide EJB3 support from the installer? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959083#3959083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959083 From do-not-reply at jboss.com Wed Jul 19 06:47:36 2006 From: do-not-reply at jboss.com (Remider) Date: Wed, 19 Jul 2006 06:47:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <19760496.1153306056579.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi kukeltje, jbpm has many taglib, such as: inputText, inputSecret, outputText,.... it(classes) locate in jbpm-starters-kit-3.1.1\jbpm\lib\jsf\myfaces-impl.jar\org\apache\myfaces\taglib\html and file myfaces_html.tld of it locate in jbpm-starters-kit-3.1.1\jbpm\lib\jsf\myfaces-impl.jar\META-INF However, document about taglib don't have. :( Rem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959084#3959084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959084 From do-not-reply at jboss.com Wed Jul 19 06:59:59 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 06:59:59 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <18421561.1153306799091.JavaMail.jboss@colo-br-02.atl.jboss.com> "Markus.Wahl" wrote : I have discovered if I do use @SecurityDomain("mine") it suddenly works. So I have accomplished avoiding creating jboss-web.xml, but I still need to figure out how to avoid using the JBoss specific annotation or creating jboss.xml. do you think it is possible at all? I have verified now that specifying java:/jaas/JSolutionsCRM in jboss-app.xml and not using the @SecurityDomain annotation and instead specifying JSolutionsCRM in jboss.xml works. Note that there must be no java:/jaas/ part in the jboss.xml version. is that the reason why it is not sufficient to have jboss-app.xml and no jboss.xml nor annotation? that the ejb layer have no way of figuring out by itself that java:/jaas/ has to be removed from the security domain name? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959085#3959085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959085 From do-not-reply at jboss.com Wed Jul 19 07:01:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 07:01:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <21235091.1153306888393.JavaMail.jboss@colo-br-02.atl.jboss.com> nope, jbpm has only one taglib from jBPM. The rest is jsf/myfaces View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959086#3959086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959086 From do-not-reply at jboss.com Wed Jul 19 07:09:44 2006 From: do-not-reply at jboss.com (sspr) Date: Wed, 19 Jul 2006 07:09:44 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Information about JBoss Queue Message-ID: <4344797.1153307384693.JavaMail.jboss@colo-br-02.atl.jboss.com> thanq but i made a post as i could not get any reference View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959087#3959087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959087 From do-not-reply at jboss.com Wed Jul 19 07:32:26 2006 From: do-not-reply at jboss.com (Remider) Date: Wed, 19 Jul 2006 07:32:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <12505070.1153308746682.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi kukeltje, sorry, l'm miss. i want to talk about jsf. Where is document of it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959088#3959088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959088 From do-not-reply at jboss.com Wed Jul 19 07:34:28 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 07:34:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <663701.1153308868225.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok so I accept 'transformation' as one step of the design process. So how to transform such situation: 1)shop creates order - order is in state 'created' 2)supplier can create or reject order. When accepts order go's to 'accepted' state, but have to provide some additional data. When rejects order go's to 'rejected' state. And there is one more requirement, all tasks that have to be performed by end users should be displayed in one generic way, this mean that if i add new action to 'created' state and deploy new process definition UI should display one button more. But end users have different permissions, some can only reject some can do both. One thing that is not generic is set of action which are implemented in Java. At first glance i wanted to do this with task nodes but this causes some problems which i can't solve. Now i want to do this with wait states. Where 'created', 'accepted', 'rejected' are wait states and 'accept', 'reject' are transition between them. But this aproach have few disadventages: 1)I can't use swimlanes. If in the future order after supplier acceptance should be accepted also by shop user WHO CREATED ORDER how to achive this ? 2)Actions now represents user tasks which should be represented by tasks. 3)Can i have one general action ex. 'modify order' and use it in different places in process and configure it to let users modify only quantities and somewere else let user modify only prices ? Or i have to do two distinct actions ? Do u see any more ? If u have any idea please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959089#3959089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959089 From do-not-reply at jboss.com Wed Jul 19 07:41:15 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Wed, 19 Jul 2006 07:41:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <23403243.1153309275974.JavaMail.jboss@colo-br-02.atl.jboss.com> When you change your java code and save it. Eclipse will copy *.class to the directory that is observed by jBoss server. And server tries to catch your new *.class. Of course, if you change method signature or class definition server fails to deploy new one. And continue to work with the old copy until restart. And even in this case you do not need to redeploy. Just restart server. But if you change only the body of a method your code starts to work immediately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959090#3959090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959090 From do-not-reply at jboss.com Wed Jul 19 07:45:10 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 07:45:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role Message-ID: <13616888.1153309510474.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems that your batches are lazyly loaded. Therefore you can call getBatches() only within the same Transaction that loaded obj. You could mark the one-to-many relation as EAGER-loaded or use an extended Entitymanager. Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959091#3959091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959091 From do-not-reply at jboss.com Wed Jul 19 07:47:51 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 19 Jul 2006 07:47:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Eclipse - Dynamic Web Project Message-ID: <4410124.1153309671819.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you sure ? :) I've been told many times that jboss does not reload individual classes.....but according to you it does ? Guess i'll have to try it to belive it ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959092#3959092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959092 From do-not-reply at jboss.com Wed Jul 19 07:52:25 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 07:52:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Are transactions used by default or do i HAVE to write t Message-ID: <6816321.1153309945365.JavaMail.jboss@colo-br-02.atl.jboss.com> Markus, from what I know, you do not need the Transaction code and should not use em.getTransaction() in EJB3 session beans. A session bean method is by default starting a transaction (when none is active) which is commited when the method succeeds and rolled back when the method throws an exception. The injected entity manager lives only as long as the method runs and is auto-closed by the container. The em.getTransaction() returns a resource (JDBC?) transaction which is not the same as the UserTransaction you can lookup from JNDI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959093#3959093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959093 From do-not-reply at jboss.com Wed Jul 19 07:53:26 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 07:53:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Injectin a PersistenceContext into an EntityBean Message-ID: <32335406.1153310006645.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't think so View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959095#3959095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959095 From do-not-reply at jboss.com Wed Jul 19 07:54:52 2006 From: do-not-reply at jboss.com (amitguz) Date: Wed, 19 Jul 2006 07:54:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - problem in deployment in 4.0.4 GA due to mutual dependecy be Message-ID: <9216262.1153310092194.JavaMail.jboss@colo-br-02.atl.jboss.com> I migrate my application from jboss 4.0.4 RC1 to JBOSS 4.0.4 GA and I got error during the deployment. In general the error is about mutual dependecy . i.e - suppose I have 2 Stateless session bean: 1.) XXBean 2.)YYBean and I have the following code: | | @Remote ({XX.class}) | public @Stateless class XXBean implements XX { | | @EJB YYBean ybean; | } | | @Remote ({YY.class}) | public @Stateless class YYBean implements YY { | | @EJB XXBean ybean; | } | | this code in 4.0.4 GA will raise error during the depolyment process. Does anybody know why? and how to overcome it? thanks, amit p.s - this is the error I got anonymous wrote : | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=XXBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=YYBean,service=EJB3 | Depends On Me: | jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=YYBean,service=EJB3 | | ObjectName: jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=YYBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=XXBean,service=EJB3 | Depends On Me: | jboss.j2ee:ear=testApp.ear,jar=testLogic.jar,name=XXBean,service=EJB3 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959096#3959096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959096 From do-not-reply at jboss.com Wed Jul 19 07:55:44 2006 From: do-not-reply at jboss.com (istikhar) Date: Wed, 19 Jul 2006 07:55:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam and JBPM Message-ID: <23560234.1153310144032.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I have couple of questions 1) How we can use JBPM Fork and Join in Seam? 2) Is there any sample available for using JBPM Fork and join using Seam? 3) How Process Composition would be carried out by using Seam? 4) What is the difference between Node and Task Node? 5) Where to use Simple State and Process State? 6) How to handle Super State using Seam? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959097#3959097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959097 From do-not-reply at jboss.com Wed Jul 19 08:01:48 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 08:01:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Progressively decreasing query performance within transa Message-ID: <2083027.1153310508116.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you use em.Find() or a query to load your objects? >From what I know the query methods has to check all loaded entities for changes which are to applied to the DB before the query is executed. You could add the following attributes to your persistance.xml to see whats going on: | | | | On the other hand, why do you load 1000 single objects within a single transaction? Can't you load them all at once. That should perform much better... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959098#3959098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959098 From do-not-reply at jboss.com Wed Jul 19 08:01:55 2006 From: do-not-reply at jboss.com (lost_traveller) Date: Wed, 19 Jul 2006 08:01:55 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - How do you implement dynamic j2ee roles Message-ID: <15126574.1153310515816.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a requirement that the j2ee roles for any given user may change dynamically in any given user session. I am using container managed security, buy how do I capture JBosses role checking code to call into my following code?: getMySessionBean().isUserInRole(java.security.Principal); At the moment JBoss asks for a list of roles for a user when you log on, i.e. | public Group[] getRoleSets() | { | SimpleGroup callerPrincipal = new SimpleGroup("CallerPrincipal"); | callerPrincipal.addMember(identity); | SimpleGroup s = new SimpleGroup("Roles"); | s.addMember(new SimplePrincipal("a.j2ee.role")); | s.addMember(new SimplePrincipal("b.j2ee.role")); | return new Group[] { s, callerPrincipal}; | } | But I want to be able to calculate if a user has a given role at runtime using my own isUserInRole(Principal) method? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959099#3959099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959099 From do-not-reply at jboss.com Wed Jul 19 08:04:38 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 08:04:38 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Caching EJB3 entity beans in standalone installation Message-ID: <17704956.1153310678992.JavaMail.jboss@colo-br-02.atl.jboss.com> Marcus, JBoss has a default cache provider. You should be able to remove the property from your configuration. It is only needed, when using embedded EJB. There you can use: | | Stefan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959100#3959100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959100 From do-not-reply at jboss.com Wed Jul 19 08:09:14 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 08:09:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Committing the both Entity and Jdbc changes to the datab Message-ID: <19824004.1153310954366.JavaMail.jboss@colo-br-02.atl.jboss.com> How do you get your JDBC-Connection? You should look it up in JNDI... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959101#3959101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959101 From do-not-reply at jboss.com Wed Jul 19 08:15:07 2006 From: do-not-reply at jboss.com (triathlon98) Date: Wed, 19 Jul 2006 08:15:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role Message-ID: <27579832.1153311307567.JavaMail.jboss@colo-br-02.atl.jboss.com> That is just it. Everything is happening inside the same tx. The SFSB starts by initialising the entity bean and does the operations on it. Somewhere during this process something goes wrong and this error occurs. Strangely enough, this code was working just fine when I was using 4.0.4CR1 with a ealier EJB3 release... Joachim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959102#3959102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959102 From do-not-reply at jboss.com Wed Jul 19 08:15:26 2006 From: do-not-reply at jboss.com (mrwhite) Date: Wed, 19 Jul 2006 08:15:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Add/Edit Page Message-ID: <28756368.1153311326607.JavaMail.jboss@colo-br-02.atl.jboss.com> Lets take the blog example. I have my BlogService thats hast the following code: | @RequestParameter("blogEntryId") | private String blogEntryId; | | @In(required=false) | @Valid | private BlogEntry newBlogEntry; | | @Factory("newBlogEntry") | public void createBlogEntry() | { | if(blogEntryId != null) | { | newBlogEntry = get Blog by ID ... | } | else newBlogEntry = new BlogEntry(); | } | | public String saveEntry() | { | em.persist(newBlogEntry); | return "home"; | } | The action is always: action="#{blogService.saveEntry}" Is that the right way to solve this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959103#3959103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959103 From do-not-reply at jboss.com Wed Jul 19 08:19:08 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 08:19:08 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <556169.1153311548095.JavaMail.jboss@colo-br-02.atl.jboss.com> Markus, I assume you got things working. Just a note, this forum is useful to keep track of now and in the future. Had you done some searching you may have found this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78329. let us know if you still have problems, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959104#3959104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959104 From do-not-reply at jboss.com Wed Jul 19 08:20:06 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 08:20:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <24918263.1153311606275.JavaMail.jboss@colo-br-02.atl.jboss.com> Google is your friend View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959105#3959105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959105 From do-not-reply at jboss.com Wed Jul 19 08:23:13 2006 From: do-not-reply at jboss.com (Alkero) Date: Wed, 19 Jul 2006 08:23:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JBPM and JBOSS Rules Message-ID: <1387293.1153311793061.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Does an integration between jBPM and JBOSS Rules exist ? If not is something planned ? Hope everything's work fine here... Regards, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959106#3959106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959106 From do-not-reply at jboss.com Wed Jul 19 08:23:55 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 08:23:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Can't fetch two lazy collections!? Message-ID: <2030216.1153311835527.JavaMail.jboss@colo-br-02.atl.jboss.com> I think it's a limitation. Fetching both relation could result in a very large cross-product result set. Same reason why you cannot mark two relations as EAGER. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959107#3959107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959107 From do-not-reply at jboss.com Wed Jul 19 08:24:49 2006 From: do-not-reply at jboss.com (jmota) Date: Wed, 19 Jul 2006 08:24:49 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Unable to do a lookup for a Context in Sun One from within J Message-ID: <1457850.1153311889829.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, im having trouble with the configuration required to do a lookup of a context in a Sun One from my web-application that is running inside JBoss. What im trying to to do is getting a QueueConnectionFactory and a Queue. I have done a small client application to test the lookups and configuration outside of Jboss and it works ok, but when running inside Jboss 4.03-sp1 doesn't. the relevant code snip (with replaced ips and jndi paths) | Properties env = new Properties(); | env.put("java.naming.factory.initial", "com.sun.appserv.naming.S1ASCtxFactory"); | env.put("java.naming.provider.url", "iiop://xpto:7000"); | Context jndiContext = null; | try { | | jndiContext = new InitialContext(env); | | QueueConnectionFactory connectionFactory = (QueueConnectionFactory) jndiContext | .lookup("Path/QueueConnectionFactory"); | | Queue queue = (Queue) jndiContext.lookup("Path/MessageQueue"); | | } catch (NamingException e) { | System.out.println("Could not create JNDI API " + "context: " + e.toString()); | e.printStackTrace(); | } i keep getting Path not Bound Exceptions The problem is that the InitialContext is ignoring the properties i pass to it, in particular the java.naming.factory.initial, and return to me the local InitialContext. I have tried the following: changed the value of conf/jndi.properties to use org.jboss.iiop.naming.ORBInitialContextFactory instead of org.jnp.interfaces.NamingContextFactory but the situation didn't changed. also tried to use the ExternalContextMBean | | external/MessageQueue | true | true | | java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory | java.naming.factory.host=iiop://xpto | java.naming.factory.port=7000 | | javax.naming.InitialContext | | | | | external/QueueConnectionFactory | false | true | | java.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory | java.naming.factory.host=iiop://xpto | java.naming.factory.port=7001 | | javax.naming.InitialContext | | | and done the lookups by "external/QueueConnectionFactory" but kept getting external not bound, even thou the jndi view show them: | +- external (class: org.jnp.interfaces.NamingContext) | | +- QueueConnectionFactory (class: javax.naming.Context) | | | +- SerialContextProvider (class: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1) | | | | +- ejb (class: com.sun.jndi.cosnaming.CNCtx) | | | | | +- mgmt (class: com.sun.jndi.cosnaming.CNCtx) | | | | | | +- MEJB (class: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1) | | +- MessageQueue (class: javax.naming.Context) | | | +- SerialContextProvider (class: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1) | | | | +- ejb (class: com.sun.jndi.cosnaming.CNCtx) | | | | | +- mgmt (class: com.sun.jndi.cosnaming.CNCtx) | | | | | | +- MEJB (class: com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1) | ... | +- queue (class: org.jnp.interfaces.NamingContext) | | +- testQueue (class: org.jboss.mq.SpyQueue) | Im able to do a lookup on the queue Context and on the testQueue. How can i set up things to do the lookups? thank you, Joao View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959108#3959108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959108 From do-not-reply at jboss.com Wed Jul 19 08:25:01 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 08:25:01 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Multiple security domains in one EAR Message-ID: <22961630.1153311901411.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Jeff, Yes you can have more than one security-domain in an ear. However, you need to make sure that the roles that intersect the two security domains are defined in each. In other words, if EJB A in security domain A needs to communicate with EJB B in security domain B, then the run-as role defined for A must match that required by B. AFAIK! cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959109#3959109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959109 From do-not-reply at jboss.com Wed Jul 19 08:30:06 2006 From: do-not-reply at jboss.com (JeanGuyer) Date: Wed, 19 Jul 2006 08:30:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - PageFlow : jbpm or Seam ? Message-ID: <15349349.1153312206489.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to use jbpm for workflow and pageflow. but when i run my 4.0.4 server , i have an error because org.jboss.seam.core.PageFlow (seam 1.0.1 GA) depends on org.jbpm.pageflow.Page , but in my jbpm 3.1.1 , this doesn't exist ... but i have a org.jboss.seam.jbpm.Page. So Pageflow is a seam or a jbpm feature ? What i need to do to make it all work together ? Regards, Jean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959110#3959110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959110 From do-not-reply at jboss.com Wed Jul 19 08:30:47 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Wed, 19 Jul 2006 08:30:47 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security chptr says ejb-jar.xml. But EJB3 has no ejb-jar Message-ID: <11204963.1153312247224.JavaMail.jboss@colo-br-02.atl.jboss.com> "j2ee_junkie" wrote : I assume you got things working. oh yes, I use the jboss-app.xml instead of jboss-web.xml, but I still need either jboss.xml or the SecurityDomain annotation. No chance of ridding them both so I only need the jboss-app.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959111#3959111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959111 From do-not-reply at jboss.com Wed Jul 19 08:32:56 2006 From: do-not-reply at jboss.com (jmota) Date: Wed, 19 Jul 2006 08:32:56 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: Unable to do a lookup for a Context in Sun One from with Message-ID: <8756501.1153312376035.JavaMail.jboss@colo-br-02.atl.jboss.com> It has to be something regarding how jndi.properties are used by the InitialContext, because if i do | System.setProperty("java.naming.factory.initial","com.sun.appserv.naming.S1ASCtxFactory"); | before doing the lookup, everything works ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959112#3959112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959112 From do-not-reply at jboss.com Wed Jul 19 08:35:04 2006 From: do-not-reply at jboss.com (metelka) Date: Wed, 19 Jul 2006 08:35:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: MDB deployment problem Message-ID: <22336724.1153312504514.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having similar problem and I'm not sure if it's jboss bug or not. It appears whenever I have MDB with activation config properties defined in annotations and message-driven section for that MDB in ejb-jar.xml. My MDB: | @MessageDriven(activationConfig = { | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "replication-in" ) }) | @TransactionManagement(TransactionManagementType.BEAN) | public class zzz implements MessageListener { | public void onMessage(javax.jms.Message message) { | } | } | Part of my ejb-jar.xml: | ... | | zzz | cz.tipsport.tip.replication.ejb.mgr.in.zzz | | ... | The exception I get: | 2006-07-19 14:27:19,936 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed jboss.j2ee:ear=tip.ear,jar=replication-bl.jar,name=zzz,service=EJB3 | org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={destinationType=ActivationConfigProperty(destinationType=javax.jms.Queue)}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195) | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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 $Proxy101.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) | at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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 $Proxy29.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy30.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor50.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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305) | ... 146 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959113#3959113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959113 From do-not-reply at jboss.com Wed Jul 19 08:36:00 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 08:36:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <14113455.1153312560229.JavaMail.jboss@colo-br-02.atl.jboss.com> "cpob" wrote : "kukeltje" wrote : and add an action that cancels all other parallel tasks if one is acted upon | | I don't think that's needed... The task node can be configured as signal=first end-tasks=true, right? | | | | That will let the first task signal to the next node and cancel all open tasks, at least from my understanding. Any idea why open tasks aren't cancelled ? Does Eclipse designer support end-tasks attribute and signal ? I'm using jBPM 3.1.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959114#3959114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959114 From do-not-reply at jboss.com Wed Jul 19 08:40:42 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Wed, 19 Jul 2006 08:40:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: PageFlow : jbpm or Seam ? Message-ID: <13430218.1153312842860.JavaMail.jboss@colo-br-02.atl.jboss.com> The class has moved several time. Unless you have any special reason, i would suggest to use the jbpm lib that is included in the Seam distribution (it contains the class you are looking for) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959115#3959115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959115 From do-not-reply at jboss.com Wed Jul 19 08:41:05 2006 From: do-not-reply at jboss.com (scraatz) Date: Wed, 19 Jul 2006 08:41:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role Message-ID: <32875311.1153312865065.JavaMail.jboss@colo-br-02.atl.jboss.com> What kind of entity manager do you used. There where changes in the handling of entity managers... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959116#3959116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959116 From do-not-reply at jboss.com Wed Jul 19 08:44:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 08:44:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Configuring jBPM runtime in gpd 3.0.11 Message-ID: <17224232.1153313056088.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Does anybody know how to configure the jBPM runtime in GPD 3.0.11 when using the cvs 3.2 head? It builds a lot, but none of the jars or directories seem to be accetpted by the gpd as a valid repository. Hope I get an answer soooooon ;-) Ronald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959117#3959117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959117 From do-not-reply at jboss.com Wed Jul 19 08:44:31 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 08:44:31 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <23058180.1153313071644.JavaMail.jboss@colo-br-02.atl.jboss.com> Victor, Is the principal used as identity (ie username) in web-app#2 during BASIC authentication in your database? cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959118#3959118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959118 From do-not-reply at jboss.com Wed Jul 19 08:46:09 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 08:46:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <12577557.1153313169488.JavaMail.jboss@colo-br-02.atl.jboss.com> Open tasks are cancelled, if you use that bit of code for the task-node. The GPD doesn't really support it, you can only do that by editing the XML. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959119#3959119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959119 From do-not-reply at jboss.com Wed Jul 19 08:46:27 2006 From: do-not-reply at jboss.com (MrHighTech) Date: Wed, 19 Jul 2006 08:46:27 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Cache question for EJB3 entities Message-ID: <5166155.1153313187695.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! First of all, sorry for the cross posting to JBossCache. I think this is the better forum for my question. Thanks! -- original post -- I am completely new to caching with JBossCache, so please bear with me. I have setup my persistence.xml file to use the jboss cache and apparently it works just fine for @Cache collections. On the other hand, I have used the @Cache annotation on entities but I can't seem to get them into the cache. I was under the impression that loading it from the manager using find would actually load the referred entity in the cache or load it from there. Is this assumption correct ? Also, is that the best way (manager.find(...)) to get mostly static data in the cache ? Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959120#3959120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959120 From do-not-reply at jboss.com Wed Jul 19 08:46:39 2006 From: do-not-reply at jboss.com (pcarvalho) Date: Wed, 19 Jul 2006 08:46:39 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WS client error with attachment ID Message-ID: <3005927.1153313199243.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using JBossAS 4.0.3 and I've a little problem on using attachments. I use the wscompile tool in order to generate wsdl and mapping files with the option -f:datahandleronly. There is no problem on transferring the file (SOAP snifer), but when the client receive the attachment, there is an id problem Has anyone a idea. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959121#3959121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959121 From do-not-reply at jboss.com Wed Jul 19 08:50:41 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 08:50:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Function for process definition export Message-ID: <11621053.1153313441751.JavaMail.jboss@colo-br-02.atl.jboss.com> If you look at the ProcessImageServlet, it is getting the image from the database. You could do the same thing with all of the files associated with the process definition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959122#3959122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959122 From do-not-reply at jboss.com Wed Jul 19 08:51:50 2006 From: do-not-reply at jboss.com (crosenbury) Date: Wed, 19 Jul 2006 08:51:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Message Driven with other JMS Provider Message-ID: <11239884.1153313510484.JavaMail.jboss@colo-br-02.atl.jboss.com> Through trial and error, as well as piecing together documentation, I have managed to get the Sonic rar to work. It involves: 1) The Sonic rar must be deployed. 2) The standardjboss.xml must have two entries: Invoker Proxy | | Some Name Here | default | org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory | | | org.jboss.proxy.ClientMethodInterceptor | org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor | org.jboss.proxy.TransactionInterceptor | org.jboss.invocation.InvokerInterceptor | | | | and | A configuration name here | false | Invoker Proxy Name Here | | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor | org.jboss.ejb.plugins.LogInterceptor | org.jboss.ejb.plugins.RunAsSecurityInterceptor | | org.jboss.ejb.plugins.TxInterceptorCMT | org.jboss.ejb.plugins.CallValidationInterceptor | org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor | | org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor | org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT | org.jboss.ejb.plugins.CallValidationInterceptor | org.jboss.resource.connectionmanager.CachedConnectionInterceptor | | org.jboss.ejb.plugins.MessageDrivenInstancePool | | | | 100 | | | 3) An entry in jboss.xml | | SonicQueueMDB | The configuration name here | sonic-jms-ra.rar | | | What I cannot seem to figure out is how to specify the configuration name in the annotation. Any clues? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959123#3959123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959123 From do-not-reply at jboss.com Wed Jul 19 08:52:48 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 08:52:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Function for process definition export Message-ID: <3506559.1153313568687.JavaMail.jboss@colo-br-02.atl.jboss.com> from jBPM 3.1.0 or maybe 3.1.1 this is also true for the processdefinition itself. That was not the case before View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959124#3959124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959124 From do-not-reply at jboss.com Wed Jul 19 08:54:59 2006 From: do-not-reply at jboss.com (qbacomarch) Date: Wed, 19 Jul 2006 08:54:59 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - I need to set batch size in EJB3.0 application Message-ID: <16152817.1153313699109.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, As I wrote in topic, I need to set batch size in my simple application, that gets all rows from one, unrelated table from a database. Here's my entity bean: | @Entity | @Table(name="EJBTEST") | public class EJBTestEntity implements Serializable { | | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | private int id; | | private String imie; | | private String nazwisko; | | private int rocznik; | | ... | | } | As I trace session in database, I get that it is fetching the data in 15-element packs. The same information the JBoss gives me "JDBC batch size: 15". Is there any method to change this size programmatically? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959125#3959125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959125 From do-not-reply at jboss.com Wed Jul 19 08:56:40 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Wed, 19 Jul 2006 08:56:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Configuring jBPM runtime in gpd 3.0.11 Message-ID: <1692669.1153313800541.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm, I have to disappoint you Ronald. This is one of the things that is not yet supported by the current release... 3.2 support will be in the next GPD release. But you can always include the jars manually in your plain vanilla java project I guess... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959126#3959126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959126 From do-not-reply at jboss.com Wed Jul 19 09:00:18 2006 From: do-not-reply at jboss.com (JeanGuyer) Date: Wed, 19 Jul 2006 09:00:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: PageFlow : jbpm or Seam ? Message-ID: <30991991.1153314018105.JavaMail.jboss@colo-br-02.atl.jboss.com> mm , i use the one i build , because a problem of ehcache lib with jboss4.0.4. I just notice that jbpm 3.1.2 is out , i'll look if i can find the Page class... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959127#3959127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959127 From do-not-reply at jboss.com Wed Jul 19 09:09:50 2006 From: do-not-reply at jboss.com (rlhr) Date: Wed, 19 Jul 2006 09:09:50 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - NullPointerException when trying the create a new Pageflow Message-ID: <31913074.1153314590743.JavaMail.jboss@colo-br-02.atl.jboss.com> In Eclipse 3.1 and also 3.2 (I installed this version after having getting this expection in 3.1), I get the following exceptions when creating a new pageflow for a Seam project: java.lang.NullPointerException | at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.getRootForEmbeddingProject(Unknown Source) | at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.initContainerName(Unknown Source) | at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.chooseContainer(Unknown Source) | at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage.access$1(Unknown Source) | at org.jbpm.ui.pageflow.wizard.NewPageFlowWizardPage$2.widgetSelected(Unknown Source) | at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) | at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) | at org.eclipse.jface.window.Window.open(Window.java:796) | at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181) | at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) | at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539) | at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) | at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) | at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) | at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) | at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) | at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) | at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) | at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) | at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) | at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) | at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) | at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) | at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) | at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) | 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.eclipse.core.launcher.Main.invokeFramework(Main.java:336) | at org.eclipse.core.launcher.Main.basicRun(Main.java:280) | at org.eclipse.core.launcher.Main.run(Main.java:977) | at org.eclipse.core.launcher.Main.main(Main.java:952) | And also: Unhandled event loop exception | (An exception stack trace is not available.) Does anyone have an idea what is the cause and how to fix it? Thanks Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959128#3959128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959128 From do-not-reply at jboss.com Wed Jul 19 09:13:28 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 09:13:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <15087447.1153314808529.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a src/java in the project, and a src, if I put them in the plain src, it wont let me test, so they are in the src/java. Getting confusing with the pictures in the Ch 4, cause they show in two different spots. Attaching a screen shot of what I have right now, hopefully that is right... also shows part of the error. http://www.falazar.com/ut/Screenshot-3.png James[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959129#3959129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959129 From do-not-reply at jboss.com Wed Jul 19 09:19:09 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 09:19:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <19131615.1153315149314.JavaMail.jboss@colo-br-02.atl.jboss.com> I almost posted this yesterday, but I figured it was obvious, also your other screen shot showed the class implementing the ActionHandler interface, so I assumed it still did. It needs to implement org.jbpm.graph.def.ActionHandler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959130#3959130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959130 From do-not-reply at jboss.com Wed Jul 19 09:21:04 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 09:21:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <33333633.1153315265008.JavaMail.jboss@colo-br-02.atl.jboss.com> your class should extend ActionHandler. Because you forgot that, jBPM cannot cast your class to a generic ActionHandler and execute the method View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959131#3959131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959131 From do-not-reply at jboss.com Wed Jul 19 09:30:14 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 09:30:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks) Message-ID: <31769911.1153315814546.JavaMail.jboss@colo-br-02.atl.jboss.com> This was my mistake I used this attributes in not in . At the end I found solution for my problem: mapping fragment: | | | | | | | | | | | Listing avaliable actions for user: Map> instancesGrouped = new HashMap>(); | for(TaskInstance task : tasks) | { | ProcessInstance process = task.getToken().getProcessInstance(); | List instances = instancesGrouped.get(process); | if(instances == null) | { | instances = new ArrayList(); | instancesGrouped.put(process,instances); | } | instances.add(task); | } | After task performing: | JbpmContext ctx = workflowConfig.createJbpmContext(); | TaskInstance task = ctx.loadTaskInstance(taskId); | Token token = task.getToken(); | task.end(); | token.signal(task.getName()); | ctx.save(token); | ctx.close(); | This solution is generic, modyfing process doesn't force any changes in the client code, whats more adding new tasks requires only adding code for handling this tasks. Of course i need some mapping between task names and Java code (displaying some special UI forms) but this is obvious (for me). I'm gratefull for any comments. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959132#3959132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959132 From do-not-reply at jboss.com Wed Jul 19 09:31:48 2006 From: do-not-reply at jboss.com (benoitx) Date: Wed, 19 Jul 2006 09:31:48 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate Client Jar with JBoss 4.0.4 Message-ID: <24857814.1153315908287.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I've just noticed that JBoss 4.0.4 coems with a hibernate-client.jar which is really cool. I've noticed that the Hibernate team does not have it and was wondering why? Could somebody point to me how this jar was created? Does the JBoss recompile Hibernate for each release or are they using a jar? If so how is it split? Is there a build.xml that does this... somewhere??? (so many of those!) The idea is that I shall liaise with the Hibernate people and get hibernate itself to do the split/client jar. Thanks Benoit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959133#3959133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959133 From do-not-reply at jboss.com Wed Jul 19 09:35:33 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 09:35:33 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Singleton Failover Message-ID: <8685664.1153316133351.JavaMail.jboss@colo-br-02.atl.jboss.com> Not sure how much help I can be without detailed log information about what happens. I realize now I may have misread your original post -- you describe the time it takes to "launch" the singletons. Is this the time it takes to *begin* the process, i.e. how long it takes to recognize that the 2nd server has become the master, or the time it takes to *complete* the process, including whatever it takes for your singletons to deploy and/or become active? My previous question was targetted toward the former. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959134#3959134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959134 From do-not-reply at jboss.com Wed Jul 19 09:35:36 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Wed, 19 Jul 2006 09:35:36 -0400 (EDT) Subject: [jboss-user] [Remoting] - configuration for sslservlet Message-ID: <31293394.1153316136624.JavaMail.jboss@colo-br-02.atl.jboss.com> Now that we have sslservlet in addition to servlet, I'm trying to figure out the easiest way to configure my web container to support both. Here's the use case - I have a remote client that, depending on how the customer wants to configure it - can talk unencrypted/unsecured back to the server or can talk securely via SSL. I don't want the customer to have to configure alot of things - it would be nice for the server to support both servlet and sslservlet transport and just have the remote client determine how he wants to talk back to the server. Looking at the readme.txt in src/tests/org/jboss/test/remoting/transport/servlet/readme.txt, I see the web.xml files the tests use have basically the same servlet definition - the only difference is the locatorUrl param. What if I continue to use the older "locatorName" param and not specify locatorUrl? This means the servlet won't know what transport it used (could be servlet or sslservlet). But I don't think it matters. So long as the request makes its way to the servlet, it will process it the same way. So, whether the request went through the SSL connector over port 8443 or over the standard port of 8080 (unsecured), it doesn't matter - the request will be processed the same. As long as my server has both 8080 and 8443 configured properly, this should work. Is that a correct assumption? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959135#3959135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959135 From do-not-reply at jboss.com Wed Jul 19 09:39:48 2006 From: do-not-reply at jboss.com (niesar) Date: Wed, 19 Jul 2006 09:39:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelets: Parameters to custom tags Message-ID: <17161063.1153316388175.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Marcus, I'm not sure if I correctly understand what you try to do. But let's give it a try... Inyou are actually passing kind of a reference of your data (kontoname_iter) to your custom tag. In kontoname.xhtml you are then accessing "kontozeile_iter" using the name "konto". If you also want to use "konto" aka "kontoname_iter" in the bean, you need to make "kontozeile_iter" available for the bean, too. It's hard to guess where "kontozeile_iter" is coming from in your code, but looking at the name it sounds like you are iterating through a list of - let's say - "Kontozeile" instances. I further guess a variable like "Kontozeile kontoname_iter" is supposed to be the currently selected element of the list. If that is the case, you may want to take a look at Seam's @DataModel/@DataModelSelection. It is used in the hotel booking example, see http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#booking . If you take a look at HotelSearchAction.java, you will find @DataModel and @DataModelSelection. In main.xhtml (you will find it in the booking example which comes with Seam) you can see how this is used to display a list of hotels. Now, if you want to pass your user's selection to another Bean, you can access it from there by using a getter method. In the booking example Bean HotelSearchingAction is annotated with @Name("hotelSearch"): @Name("hotelSearch") // !!! | @Scope(ScopeType.SESSION) | public class HotelSearchingAction implements HotelSearching { | ... | @DataModel | private List hotels; | @DataModelSelection | private Hotel selectedHotel; | ... | public Hotel getSelectedHotel() { // that's the way to access the user selection | return selectedHotel; | } | If you want to access the user selection from another Bean, this could be done like this: | @In | private HotelSearching hotelSearch // from the @Name annotation in HotelSearchingAction.java | [...] | // later in your code: | Hotel selectedHotelFromOtherBean = hotelSearch.getSelectedHotel()/; | // now do something useful with selectedHotelFromOtherBean | Is this more or less what you try to do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959136#3959136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959136 From do-not-reply at jboss.com Wed Jul 19 09:56:11 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Wed, 19 Jul 2006 09:56:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <14315075.1153317371034.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, the second portal word is because the url decoder needs to make the different between : 1/ page / window urls 2/ cms content so 1 is mounted on /portal and 2 is mounted on / content. I don't understand your problem with apache. Could you explain more ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959138#3959138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959138 From do-not-reply at jboss.com Wed Jul 19 09:56:35 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 09:56:35 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - issue to configure the default database DefaultDS to oracle Message-ID: <21265588.1153317395821.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to configure the default database DefaultDS to oracle 9i in the clustered environment. The step I did is in the following: 1. delete the hsqldb.xml. 2. configure DefaultDS datasource to oracle in the oracle-ds.xml 3. change login-config.xml, oracle-jdbc2-service.xml and oracle-jdbc-state-service.xml file to use DefaultDS. When I start the jboss, the exception occur in the jboss console. When I check the database, I found 5 tables created in order to use the JMS feature, I can not found the HILOSequence table which supposed to create in the database. I really appreciate some one help. Thanks. Jack Tie The error message is in the following: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959139#3959139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959139 From do-not-reply at jboss.com Wed Jul 19 09:57:23 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Wed, 19 Jul 2006 09:57:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <28979270.1153317443570.JavaMail.jboss@colo-br-02.atl.jboss.com> Any interesting stuff you want to do with PageContainer and such ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959140#3959140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959140 From do-not-reply at jboss.com Wed Jul 19 09:58:56 2006 From: do-not-reply at jboss.com (cormierjf) Date: Wed, 19 Jul 2006 09:58:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jbpm-gpd-site-3.0.11.zip from sourceforge download does not Message-ID: <17333590.1153317536320.JavaMail.jboss@colo-br-02.atl.jboss.com> An error occurs when installing the jbpm-gpd-site-3.0.11. The installation looks for a file: org.eclipse.jem.util_1.2.0.v20060530-RC2.jar But the file is actully names org.eclipse.jem.util_1.2.0.v20060530_RC2.jar in the archive. Notice the change from _RC2.jar to -RC2.jar A local rename of the file allowed the intall to proceed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959141#3959141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959141 From do-not-reply at jboss.com Wed Jul 19 09:59:29 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Wed, 19 Jul 2006 09:59:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: get page-name in java Message-ID: <2981668.1153317569978.JavaMail.jboss@colo-br-02.atl.jboss.com> Use the code : | ((JBossRenderRequest)req)).getPortalNode().getParent().getName(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959143#3959143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959143 From do-not-reply at jboss.com Wed Jul 19 10:01:25 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Wed, 19 Jul 2006 10:01:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How to change the URL in a portal or how can i set my po Message-ID: <30562549.1153317685953.JavaMail.jboss@colo-br-02.atl.jboss.com> - delete ROOT.war in deploy/jbossweb-tomcat55.sar - change value /portal to / in jboss-portal.sar/portal-server.war/WEB-INF/jboss-web.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959144#3959144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959144 From do-not-reply at jboss.com Wed Jul 19 10:02:56 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 10:02:56 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Which connection I should use when EJB is clustered Message-ID: <6138805.1153317776953.JavaMail.jboss@colo-br-02.atl.jboss.com> We use EJB in cluster environment. We have one oracle database. our existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving. I think TXConnection fits to use for the distributed database. So we should change our DAO layer to use only Connection. Is that true? Need help. Thanks. Jack Tie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959145#3959145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959145 From do-not-reply at jboss.com Wed Jul 19 10:03:18 2006 From: do-not-reply at jboss.com (k0201389) Date: Wed, 19 Jul 2006 10:03:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - SEAM and JavaScript Message-ID: <27704065.1153317798815.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone! I'm having a problem with JavaScript generated popup window. I wonder if anyone here could help me... With the code like this I can send the parameters to the same window: But when I'm trying to do the same to the popup window it doesn't send anything: Where I'm going wrong here? I really appreciate if someone has time to watch my code! Thanks in advance! -Hanna Bl?field- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959146#3959146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959146 From do-not-reply at jboss.com Wed Jul 19 10:04:51 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Wed, 19 Jul 2006 10:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelets: Parameters to custom tags Message-ID: <2053829.1153317891627.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi niesar, no ... unfortunately not exactly what I want. Perhaps I showed a little too few context of the calling page, sorry. I want to have a reusable component "kontoname.xhtml" which can be embedded to any other page. This reusable component needs two parameters, konto and liste. Then I have one calling page which wants to make use of this reusable component. It iterates over some objects: | | | | | | | | | (You see I also tried the "ui:param" syntax, but no success.) The dataList iterates over something named leistungsschein.kontozeilen.gefilterteListe. This works fine. The current iteration is saved in the variable kontozeile_iter. This works fine. Then the component is called with the two paramers konto (which is actually kontozeile_iter, but inside a reusable method, you don't want to worry about the actual parameter's name) and liste. This even works fine since I can access both parameters, for example using outputText elements. So the "konto" parameter is somewhere where it can be accessed via EL. But it can't be accessed via injection. So where is it stored? Once again my reusable component: | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959147#3959147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959147 From do-not-reply at jboss.com Wed Jul 19 10:05:54 2006 From: do-not-reply at jboss.com (jimmymani) Date: Wed, 19 Jul 2006 10:05:54 -0400 (EDT) Subject: [jboss-user] [JBossWS] - asynchronous webservice posible with jboss ? Message-ID: <26729274.1153317954601.JavaMail.jboss@colo-br-02.atl.jboss.com> is it possible to make asynchronous call to webservice deployed in jboss? since jboss implementing jbossWS other than Axis in jboss-4.0.4.GA. can we implement axis2 instead of using jbossWS to support asynchrous? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959148#3959148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959148 From do-not-reply at jboss.com Wed Jul 19 10:06:08 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 10:06:08 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: the warning after configuring the jms to the same databa Message-ID: <14430875.1153317968333.JavaMail.jboss@colo-br-02.atl.jboss.com> In our oracle_ds file, We set the value of the tag to true, if we change that to false, the warning is gone. I think that is a small bug of jboss, which did not close the result set when excuting the jms database query during the jboss start up Thanks. Jack View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959149#3959149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959149 From do-not-reply at jboss.com Wed Jul 19 10:08:54 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 10:08:54 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: issue to configure the default database DefaultDS to ora Message-ID: <15477352.1153318134877.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry I can't give you a more complete answer as this isn't really a clustering question, but suggest you have a look in the uuid-key-generator.sar/META-INF/jboss-service.xml -- that's the service that's failing and maybe you'll see something there that will get you on the right path. The EJB 2.x user forums may be a better place to look for help, as I believe this service is mostly used there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959150#3959150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959150 From do-not-reply at jboss.com Wed Jul 19 10:11:19 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 19 Jul 2006 10:11:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Creating task instances Message-ID: <22615138.1153318279546.JavaMail.jboss@colo-br-02.atl.jboss.com> As i understand task instances are created when token enters task node, but only for the first time. Is it possible to create task instance every time when token enters task node ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959151#3959151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959151 From do-not-reply at jboss.com Wed Jul 19 10:12:59 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 10:12:59 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: the warning after configuring the jms to the same databa Message-ID: <32496118.1153318379860.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for pointing this out :). If it's still an issue in JBoss 4.0.4, please raise a JIRA or post this on the JMS forum where someone who is familiar with the code and can fix any issue will see it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959152#3959152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959152 From do-not-reply at jboss.com Wed Jul 19 10:15:18 2006 From: do-not-reply at jboss.com (znbailey) Date: Wed, 19 Jul 2006 10:15:18 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <23686848.1153318518260.JavaMail.jboss@colo-br-02.atl.jboss.com> Rob, I have that view open but it I don't have the option to expand anything in the bottom pane like you do. Is this because I don't have anything deployed to the server via JBossIDE? I am doing a manual deployment outside of Eclipse using Ant. Is there an option I am missing somewhere? I have tried double clicking, exploring all the menu options, etc. but still can't seem to get mine to look like yours. Here is what mine looks like: [img]http://www.flickr.com/photos/87094692 at N00/193384008/[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959153#3959153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959153 From do-not-reply at jboss.com Wed Jul 19 10:16:37 2006 From: do-not-reply at jboss.com (jjvangils) Date: Wed, 19 Jul 2006 10:16:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: log4j WARN No appenders ... logger (org.jboss.security.S Message-ID: <4366284.1153318597081.JavaMail.jboss@colo-br-02.atl.jboss.com> I got exactly the same problem when moving from 4.0.2 to 4.0.4. Did anybody get it to work using the link provided by Scott? It seems the issue is not really related to the contents of the log4j.xml or log4j.properties, but rather to a failure to reach the contents of the file(s) when your application is deployed. It seems that part of the deployed application is appenderless. I'm deploying separate JAR and WAR files. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959154#3959154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959154 From do-not-reply at jboss.com Wed Jul 19 10:20:18 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Wed, 19 Jul 2006 10:20:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Stateless search to stateful conversation Message-ID: <2469230.1153318818855.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a seam component "FindDocumentAction" (a stateless EJB) which is responsible for the search functionality of the application. The user is able to search for documents by entering a reference number. The outcome of a search can be one of two things: 1) When multiple documents are returned, the search results page is displayed, with a link to display each document (viewdocument page) 2) When a single document is returned from the search (singleton search), we send the user straight on to the viewdocument page for the document. The viewing of the document is the start of a conversation, handled by a stateful seam component (stateful session bean - viewDocumentAction). In the first case (multiple search results returned), I generate a link in the results page as follows, which passes in a request parameter containing the document identifier (documentId): | | | | | This link invokes the selectDocument() method of the viewDocumentAction component (the conversational scoped stateful session bean) - which is annotated with the @Begin tag - and a new conversation is begun: | @Stateful | @Name("viewDocumentAction") | @Scope(ScopeType.CONVERSATION) | public class ViewDocumentAction implements ViewDocument { | | @PersistenceContext(type=PersistenceContextType.EXTENDED) | private EntityManager em; | | @Out | private Document document; | | @RequestParameter("documentId") | private Integer documentId; | | @Begin | public String selectDocument() { | | document = (Document)em.createQuery( | "from Document d where d.id = :documentId") | .setParameter("documentId", documentId) | .getSingleResult(); | | return "viewDocument"; | } | } | The second case is what is troubling me. I've tried the following approaches with mixed results: 1) Forward straight to the viewDocument page, and create an entry in the pages.xml file: | | ... which invokes the selectDocument() method. This also necessitates a change from using the s:link tag mentioned above to using a simple link to the page - as we don't want to invoke the action selectDocument() twice. The request parameter does not seem to be present when the event is generated. 2) In the case of the singleton search result, lookup the stateful bean from the stateless session beans find method: | | if (documentSearchResults.size() == 1) { | // lookup viewDocumentAction | ViewDocument viewDocumentAction = .... | | Document singleDocument = documentSearchResults.get(0); | return viewDocumentAction.selectDocument(singleDocument); | } | | thus invoking a new method on the stateful bean which is also used to start the conversation: | @Begin | public String selectDocument(Document doc) { | | document = em.merge(doc); | return "viewDocument"; | } | Since I am in a stateless component, I don't want to inject a stateful bean using the @EJB tag, as the stateless bean could potentially be shared by multiple clients. The lookup is thus scoped to the method, manual and therefore ugly (jndi name may vary depending on type of deployment etc). (BTW Should I be asking seam to resolve the named stateful component or should I just do a ejb context lookup and rely on seam to intercept?) What I'm effectively trying to achieve is to start a conversation (by invoking a components @Begin method) with a request parameter present but this is proving tricky to to programatically. Perhaps I should redirect the client with the request parameter (as per the RESTful example) in the case of a singleton search - but how do I ensure that the conversation is begun when I hit the viewDocument page? Any pointers would be appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959155#3959155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959155 From do-not-reply at jboss.com Wed Jul 19 10:21:00 2006 From: do-not-reply at jboss.com (opepin) Date: Wed, 19 Jul 2006 10:21:00 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WStools; Parameter names (Newbie question) Message-ID: <12041444.1153318860214.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Do you have a JIRA ticket attached to this task ? - Olivier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959156#3959156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959156 From do-not-reply at jboss.com Wed Jul 19 10:26:45 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 10:26:45 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Which connection I should use in ejb clustered environment Message-ID: <23151063.1153319205565.JavaMail.jboss@colo-br-02.atl.jboss.com> My application use EJB in cluster environment. I have one oracle database. my existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving. I think TXConnection fits to use for the distributed database. So I should change our DAO layer to use only Connection. Is that true? Need help. Thanks. Jack View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959157#3959157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959157 From do-not-reply at jboss.com Wed Jul 19 10:28:28 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 10:28:28 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - how to configure the jboss default database DefaultDS to ora Message-ID: <10428260.1153319308687.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to configure the default database DefaultDS to oracle 9i in the clustered environment. The step I did is in the following: 1. delete the hsqldb.xml. 2. configure DefaultDS datasource to oracle in the oracle-ds.xml 3. change login-config.xml, oracle-jdbc2-service.xml and oracle-jdbc-state-service.xml file to use DefaultDS. When I start the jboss, the exception occur in the jboss console. When I check the database, I found 5 tables created in order to use the JMS feature, I can not found the HILOSequence table which supposed to create in the database. I really appreciate some one help. Thanks. Jack The error message is in the following: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959158#3959158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959158 From do-not-reply at jboss.com Wed Jul 19 10:42:20 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 10:42:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM 3.1.2 Unresolved issues? Message-ID: <114295.1153320140053.JavaMail.jboss@colo-br-02.atl.jboss.com> According to the release notes here http://sourceforge.net/project/shownotes.php?release_id=433036&group_id=70542 [JBPM-593] - suspend() and resume() failing in JBPM 3.1 and [JBPM-696] - Field Instanciator problems are changes in 3.1.2. However, if you look at the JIRA http://jira.jboss.com/jira/browse/JBPM?report=com.atlassian.jira.plugin.system.project:roadmap-panel These two items are still unresolved. Are these actually fixed, or are they still floating out there? (Not that I think #593 is an issue anyway, as it 'works for me') I just wanted to make someone aware of a potential mis-match. Also, is there a change log/release notes for the GPD changes anywhere? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959160#3959160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959160 From do-not-reply at jboss.com Wed Jul 19 10:43:49 2006 From: do-not-reply at jboss.com (niesar) Date: Wed, 19 Jul 2006 10:43:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelets: Parameters to custom tags Message-ID: <27044992.1153320229804.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, next try ;) Let me see if I understand your problem now... | | | | | | | | | You are basically iterating through #{leistungsschein.kontozeilen.gefilterteListe} and you say kontoname.xhtml is doing what you are expecting, is that right? You know, what I don't catch yet is what you want to do now with "konto" aka "kontozeile_Iter". In kontoname.xhtml you are able to access it as "konto". In the code snipplet above, you can use it with name "kontozeile_iter". And after you are leaving "kontozeile_iter" is undefined (and makes no sense any more since that was the iterator for the table rows - but the table is complete now). Do you need the last "kontozeile_iter" to know which was the last displayed line or something like that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959162#3959162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959162 From do-not-reply at jboss.com Wed Jul 19 10:50:48 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 10:50:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <33117344.1153320648475.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm ok yes, Im not sure how that got messed up, fixed that part, but still getting another failure that I was getting sometimes yesterday as well. http://www.falazar.com/ut/Screenshot-4.png junit.framework.AssertionFailedError: The greeting variable should not exist at junit.framework.Assert.fail(Assert.java:47) at junit.framework.Assert.assertTrue(Assert.java:20) at junit.framework.Assert.assertNotNull(Assert.java:220) at com.jbay.action.HelloTest.testActionHandler(HelloTest.java:46) 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 junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) 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:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959163#3959163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959163 From do-not-reply at jboss.com Wed Jul 19 10:50:55 2006 From: do-not-reply at jboss.com (adam.stortz) Date: Wed, 19 Jul 2006 10:50:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam Logging Configuration Message-ID: <23535193.1153320655876.JavaMail.jboss@colo-br-02.atl.jboss.com> All, I am using Seam for the first time, and I really like how easy it is to write logging code with Seam. The piece I am missing is how to configure logging. I really like Log4j and I am missing that level of flexibility here. I looked through the docs and the forums extensively, and have not seen anything that would suggest that this even exists. Am I missing something here? Or am I required to edit the jboss/server//conf/log4j.xml to produced the desired behaviour? Any help would be greatly appreciated. Regards, Stortz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959164#3959164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959164 From do-not-reply at jboss.com Wed Jul 19 10:55:13 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 10:55:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Document about TAGLIB Message-ID: <32378852.1153320913696.JavaMail.jboss@colo-br-02.atl.jboss.com> On that note, one thing, I dont believe google is indexing the wiki pages unfortunatly. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959165#3959165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959165 From do-not-reply at jboss.com Wed Jul 19 11:02:25 2006 From: do-not-reply at jboss.com (be082032) Date: Wed, 19 Jul 2006 11:02:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - seam annotations in components called from a jbpm process Message-ID: <10535488.1153321345152.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using seam 1.0.1 GA and jboss 4.0.4 GA. When I build a seam javaBean component that has methods with jbpm annotations (@StartTask @EndTask) and the component is called from a JSF page, all works well (the @EndTask gives a signal that the task is ended and the jbpm process goes on. If I call such a component from a jbpm Process using the expression language (like in the JSF page) , I get errors. Are such seam components not to be called from a jbpm process? jBPM snippet: action expression="#{metadataIngesterJavaBean.executeTask}" Component code: @StartTask @EndTask public void executeTask() { log.info("executeTask, context = "+jbpmContext+ " jbpm="+ jbpm); try { businessProcessContext.set("aap","na de taak"); } catch (Exception e) { e.printStackTrace(); } log.info("task ended!!"); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959166#3959166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959166 From do-not-reply at jboss.com Wed Jul 19 11:02:59 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:02:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <33436209.1153321379050.JavaMail.jboss@colo-br-02.atl.jboss.com> What do you consider an expert? Have you got it installed and just need a full demo? We have got it working here in Austin, tx University of Texas, with the default database, and now an Oracle DB, and have setup successfully a few of the features, and some processes defined. We have tested the timers and they work fine, but were having some troubles with the group task assignment, as that does not seem fully fledged out in the 3.1.1 version. I have been told this is to be updated greatly in the 3.2 CVS head, and am currently trying to put that together. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959167#3959167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959167 From do-not-reply at jboss.com Wed Jul 19 11:05:35 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Wed, 19 Jul 2006 11:05:35 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: configuration for sslservlet Message-ID: <4839012.1153321535644.JavaMail.jboss@colo-br-02.atl.jboss.com> Right. If you use the sslservlet on the server side and the server.xml for tomcat has both 8080 and 8443, then client can select which it wants to connect to. I am pretty sure you can even use the sslservlet on the client without setting the ssl properties and will work fine connecting to the sslservlet on the sever, just need to use port 8080. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959168#3959168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959168 From do-not-reply at jboss.com Wed Jul 19 11:07:46 2006 From: do-not-reply at jboss.com (kristi2006) Date: Wed, 19 Jul 2006 11:07:46 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Problem with BLOB and Oracle 10g Message-ID: <27097884.1153321666889.JavaMail.jboss@colo-br-02.atl.jboss.com> With jboss 4.0.4 RC1 default config we could not save Datatype BLOB bigger than 2000 bytes to a Oracle10g via EJB 3. We do not get any errors nor any java exceptions from jboss. We tried a reconfigured jboss config using set JAVA_OPTS= -Dhibernate.jdbc.use_streams_for_binary=true in start script for jboss. Now it is possible to save blobs bigger than 2000 Bytes to database in case of holding not more than a special number of objects in jboss (We estimate about 500 objects). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959169#3959169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959169 From do-not-reply at jboss.com Wed Jul 19 11:09:58 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:09:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: HelloTest NullPointer Exception Message-ID: <17613314.1153321798972.JavaMail.jboss@colo-br-02.atl.jboss.com> I had the same problem on that step (and many problems on the other steps) and just wound up using the fully qualified path from root, and ti was happy with that. Holler if you run into tht rest fo the problems :} There is another thread open with my chapter 4 problems. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=87003 James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959170#3959170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959170 From do-not-reply at jboss.com Wed Jul 19 11:10:28 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Wed, 19 Jul 2006 11:10:28 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: java.lang.ClassNotFoundException Message-ID: <27741356.1153321828578.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem is that you are trying to setup your target server to also be your callback server (client.addListener(handler, locator);). If you want "push" callbacks, meaning when callback generated it will be sent at that point in time to the callback listener, will need to create a callback server within the client. Can reference following link to sample callback client that shows how to setup callback for both push and pull callbacks. http://viewcvs.labs.jboss.com/cgi-bin/viewcvs.cgi/JBossRemoting/src/main/org/jboss/remoting/samples/callback/CallbackClient.java?rev=1.7&content-type=text/vnd.viewcvs-markup View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959171#3959171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959171 From do-not-reply at jboss.com Wed Jul 19 11:11:56 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 11:11:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How can i implement themes in my application like in Jbo Message-ID: <7655154.1153321916993.JavaMail.jboss@colo-br-02.atl.jboss.com> See the JBoss Portal Reference Guide (part of the download), sections 3.1 and 3.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959172#3959172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959172 From do-not-reply at jboss.com Wed Jul 19 11:15:24 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:15:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Strange message Message-ID: <32114284.1153322124922.JavaMail.jboss@colo-br-02.atl.jboss.com> I noticed this as well wen using a fork for more than one user, or for using groups. This is fixed in the 3.2 version however? For the webapp? James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959173#3959173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959173 From do-not-reply at jboss.com Wed Jul 19 11:19:52 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:19:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Configuring jBPM runtime in gpd 3.0.11 Message-ID: <15131903.1153322392579.JavaMail.jboss@colo-br-02.atl.jboss.com> One of you mentioned that you were going to pack up the 3.2 version for a starter kit by the end fo the month. Is that still the plan, and do you have any def date for that? It would be really helpful for our project here, as we have to decide on which workflow program to use, and so far this one is the best, but I would like to clear up a few of the issues I have been having, which it appears 3.2 may do. And if there is anything I can do to help, let me know. I am attempting to build the 3.2 version, but having a few problems. (as noteed in other posts) We potentially will be using this for the entire lab here of about 500+ people. Thanks, James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959174#3959174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959174 From do-not-reply at jboss.com Wed Jul 19 11:25:47 2006 From: do-not-reply at jboss.com (hamptont) Date: Wed, 19 Jul 2006 11:25:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <21920445.1153322747203.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a number of other applications (CGI/Perl, PHP, etc.) running on my apache web servers and use ModJk to loadbalance/forward certain URLs to my JBoss app servers. I have URL's like the following http://my.host.com/cgi_program | http://my.host.com/php_program | http://my.host.com/portal/myportal (this is what I want anyway) I have ModJk configurations like this JkMount /portal | JkMount /portal/* This is to forward/loadbalance the portal request from apache servers to my jboss servers for scalability and failover. If I change the context root to "/" instead of "/portal" then that works fine for page URLs, but action urls such as the ones in the UserPortlet don't work. Apache isn't forwarding those request to the jboss server because the "/portal" context root is gone. Look at the URL for the "Standard Login" link in UserPortlet. If the context root is "/portal" (the default) this link looks like this. http://localhost/portal/auth/index.html....... If you change the context root to "/" then that link looks like this. http://localhost/auth/index.html....... Notice that the "/portal" appears nowhere. If I put port 8080 in my url explicitly and don't forward through apache it works, but I can't do that in production. The problem is that I have to have a context root to base my ModJk redirects on. I can't use a ModJK config that looks like this because that would redirect all URLs to the app servers and my other applications won't work. JkMount / | JkMount /* My first thought was, "fine I'll just put /auth in the ModJk config" but that's not going to work either because /auth isn't the only URL. Look at the "create one" link in the UserPortlet. With context root /portal this is the URL http://localhost/portal/index.html...... | With context root / this is the URL http://localhost/index.html...... If I don't have a context root then I can't do anything with this URL. It just doesn't work without a context root if I'm forwarding from apache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959175#3959175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959175 From do-not-reply at jboss.com Wed Jul 19 11:27:01 2006 From: do-not-reply at jboss.com (timfox) Date: Wed, 19 Jul 2006 11:27:01 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Using ServiceBindingManager with Messaging Message-ID: <22330308.1153322821090.JavaMail.jboss@colo-br-02.atl.jboss.com> ok I have added a task for this: http://jira.jboss.com/jira/browse/JBMESSAGING-438 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959177#3959177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959177 From do-not-reply at jboss.com Wed Jul 19 11:27:48 2006 From: do-not-reply at jboss.com (triathlon98) Date: Wed, 19 Jul 2006 11:27:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role Message-ID: <2711468.1153322868541.JavaMail.jboss@colo-br-02.atl.jboss.com> The entitymanager is declared using @PersistenceContext private EntityManager entityManager; and is automatically injected. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959178#3959178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959178 From do-not-reply at jboss.com Wed Jul 19 11:28:26 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:28:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Forum Funcational Error Issues.... Message-ID: <2403835.1153322906761.JavaMail.jboss@colo-br-02.atl.jboss.com> I have noticed a few forum issues, one trivial, and one bothersome. I have logged in and none of the 'new post' brown icons show up, I only see white ones, even though since yesterday there were two pages of new posts.. So I cant easily tell which ones I need to read. Also, in many of the posts, it gets the "Page" numbers at the bottom wrong, sometimes saying "Page 0" or Page 1 of 0, some strange numbering stuff like that. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959180#3959180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959180 From do-not-reply at jboss.com Wed Jul 19 11:29:41 2006 From: do-not-reply at jboss.com (hamptont) Date: Wed, 19 Jul 2006 11:29:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <29439565.1153322981461.JavaMail.jboss@colo-br-02.atl.jboss.com> On a separate but related thought..... Why don't you use a different context root for the CMS instead of mangling the URLs ? http://localhost/portal/.... http://localhost/cms/.... Just a thought. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959181#3959181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959181 From do-not-reply at jboss.com Wed Jul 19 11:30:41 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 11:30:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Forum Funcational Error Issues.... Message-ID: <301503.1153323041813.JavaMail.jboss@colo-br-02.atl.jboss.com> forgot, I tested this on both machines, linux firefox, and winxp IE, so its not just a browser or cache issue or something like that. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959182#3959182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959182 From do-not-reply at jboss.com Wed Jul 19 11:32:40 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 11:32:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS behind a firewall Message-ID: <9483461.1153323160589.JavaMail.jboss@colo-br-02.atl.jboss.com> It appears that your client is using JNDI to look up something on the server, and JNDI uses ports 1099, 1098, 4444 and 4445. At least, those are the ports I had to open in my firewall to allow outside client access. You will want to either open those ports in the firewall, or assign different ports which are open. Actually, now that I think about it a little longer, I was also attempting to access MBeans, so some of those ports might be JMX related. I was going to be lazy and not look it up, but curiosity overwhelmed be, so here is what I found: * 1098 and 1099 are JNDI-related * 4444 and 4445 are RMI-related (for accessing JMX, EJBs, etc) I assume that in your client when you get the base naming context that you are using a url other than http://the-server:1098. I'm not sure how you convince the jbossclient code to use other values for the other ports. (Hmm, sounds like a research topic to me. Or as one of my professors liked to say, the solution is obvious and is left as an exercise for the student. :-)) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959183#3959183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959183 From do-not-reply at jboss.com Wed Jul 19 11:35:03 2006 From: do-not-reply at jboss.com (hamptont) Date: Wed, 19 Jul 2006 11:35:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <1400683.1153323303738.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry to keep going on, but... Why is the CMS part of the portal ? It should be a completely separate product and not part of the portal. Content Management is a completely different thing from a Portlet Server. I don't see any value in coupling these two products. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959184#3959184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959184 From do-not-reply at jboss.com Wed Jul 19 11:35:41 2006 From: do-not-reply at jboss.com (sandipan.biswas@gmail.com) Date: Wed, 19 Jul 2006 11:35:41 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Regarding MBean Exception Message-ID: <3005119.1153323341181.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi when I am going to install jboss,this MBean exception is coming .can any one help me.I am giving the log In jboss 4.0.2 it's comming like this 17/07/2006 01:06 09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp 09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/ 09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/ 09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml 09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)... 09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] 09:20:16,284 DEBUG [Server] Failed to start java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315) at org.jboss.Main.boot(Main.java:195) at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:566) Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200) ... 8 more Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean at javax.management.modelmbean.ModelMBeanInfoSupport.get View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959185#3959185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959185 From do-not-reply at jboss.com Wed Jul 19 11:37:10 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 11:37:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - GPD 3.0.11 and Eclipse 3.1.2 Message-ID: <23505521.1153323431012.JavaMail.jboss@colo-br-02.atl.jboss.com> Since I've been using GPD 3.0.9.2 with Eclipse 3.1.2, I wanted to run GPD 3.0.11 with the same Eclipse version. I created a new folder with a fresh install of Eclipse 3.1.2 from the zip. I then downloaded the jbpm-gpd-feature-3.0.11.zip, and extracted it into the eclipse directory as I did previously. Starting up Eclipse 3.1.2, there was no JBoss jBPM selection in the preferences to configure a jBPM runtime. I then used the jBPM 3.1.2 starters' kit and use the ant task to extract eclipse and 'install' the GPD plugin. Exact same thing happened. So I downloaded Eclipse 3.2, and did the ant install with that, and it works. So, my fear is that the new GPD 3.0.11 does not work on Eclipse 3.1.2 Anyone have any other experiences with this? Also, another side note about the GPD ant installer. It will attempt to download eclipse to install. However, if you already point your build.properties file to an existing .zip on your file system, it STILL tries to download Eclipse. There's no conditional file check to see if it already exists before a download (which would be easy as anything to fix) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959186#3959186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959186 From do-not-reply at jboss.com Wed Jul 19 11:37:44 2006 From: do-not-reply at jboss.com (alex.ramirez) Date: Wed, 19 Jul 2006 11:37:44 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - How to password protect Message-ID: <2889149.1153323464521.JavaMail.jboss@colo-br-02.atl.jboss.com> First time using JBoss, i was able to use run.bat (using a window$ box) to start jboss. But i am not sure on how to set passwords or even get to a gui to manage the server JBOSS. Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959187#3959187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959187 From do-not-reply at jboss.com Wed Jul 19 11:39:03 2006 From: do-not-reply at jboss.com (matiz) Date: Wed, 19 Jul 2006 11:39:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - I wonder which IDE people use for developing portlets. Message-ID: <17860996.1153323543444.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I just started leaning the portlet last week. I got Jboss-portlet-plugin 1.1.2 for eclipse. It works well for creating a very simple portlets. But I wonder that the plugin can support more complex portlets. So, please let me know which IDE people use to develop portlets. Thanks, Matiz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959188#3959188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959188 From do-not-reply at jboss.com Wed Jul 19 11:41:04 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Wed, 19 Jul 2006 11:41:04 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Persisting Cache Message-ID: <21462324.1153323664470.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Every one, I wanted to know if we can use JDBC Cache Loader to persist the Treecache? Are there any restrictions, can we persist any object types in the tree to a database or they need to be an object of the type String. Any help will be appreciable. Thanks in advance. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959189#3959189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959189 From do-not-reply at jboss.com Wed Jul 19 11:43:08 2006 From: do-not-reply at jboss.com (sandipan.biswas@gmail.com) Date: Wed, 19 Jul 2006 11:43:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - MBean Message-ID: <17850830.1153323788670.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am getting MBean Exception. can anyone help me.I add the log Arindam In jboss 4.0.2 it's comming like this 17/07/2006 01:06 09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp 09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/ 09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/ 09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml 09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)... 09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] 09:20:16,284 DEBUG [Server] Failed to start java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315) at org.jboss.Main.boot(Main.java:195) at org.jboss.Main$1.run(Main.java:463) at java.lang.Thread.run(Thread.java:566) Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate at b64435)] at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200) ... 8 more Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean at javax.management.modelmbean.ModelMBeanInfoSupport.get View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959190#3959190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959190 From do-not-reply at jboss.com Wed Jul 19 11:43:46 2006 From: do-not-reply at jboss.com (ynprasad) Date: Wed, 19 Jul 2006 11:43:46 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss-4.0.4-GA and Hibernate-3.1.3 Message-ID: <29306059.1153323826544.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also having a similar issue wih the same environment and as ShanR said it worked on JBoss 4.0.0 and Hibernate 2.0 earlier. We use WebDav for the files section, and when I try to upload a file, this SQL exception Already closed comes up. INFO [STDOUT] org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - WARNING - java.sql.SQLException: Already closed ERROR [STDERR] java.sql.SQLException: Already closed at org.jboss.resource.adapter.jdbc.WrappedResultSet.close(WrappedResultSet.java:178) ERROR [STDERR] at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.close(StandardRDBMSAdapter.java:1383) ERROR [STDERR] at org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.createRevisionDescriptors(StandardRDBMSAdapter.java:976) Any suggestions please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959191#3959191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959191 From do-not-reply at jboss.com Wed Jul 19 11:51:13 2006 From: do-not-reply at jboss.com (niesar) Date: Wed, 19 Jul 2006 11:51:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly Message-ID: <19574014.1153324273787.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, this is an intermediate information for everybody who is interested how this story is developing. Well, I actually didn't want to work on this during my trip, but it was itching too much. After updating JBoss on my notebook, I was kind of successful (Yipppieee!!!) - partly at least. The problem seems to be ClassE. If I do the following changes, everything works just fine: @Embeddable | public class ClassE | implements java.io.Serializable { | | private int classEVar; // --> private String classEVar | | public ClassE() { | } | | public ClassE(int classEContents) { // --> public ClassE(String classEContents) | this.classEVar = classEContents; | } | | public int getClassEVar() { // --> public String getClassEVar() | return classEVar; | } | | public void setClassEVar(int classEVar) { // --> public void setClassEVar(String classEVar) | this.classEVar = classEVar; | } And now variable access with #{classAInst.classEInst.classEVar}works without errors. Input, output, everything works fine like this, no problems at all. Don't ask me, right now I've no clue why it makes such a difference if I use a String instead of an integer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959192#3959192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959192 From do-not-reply at jboss.com Wed Jul 19 11:53:35 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 11:53:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Persisting Cache Message-ID: <29428501.1153324415277.JavaMail.jboss@colo-br-02.atl.jboss.com> The only requirement is the objects and the FQNs need to be Serializable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959193#3959193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959193 From do-not-reply at jboss.com Wed Jul 19 11:56:17 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 11:56:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <14394182.1153324577163.JavaMail.jboss@colo-br-02.atl.jboss.com> The jbpm-gpd-feature-3.0.11.zip does not have this issue. I was able to install the feature zip into Eclipse 3.2 without an issue (3.1.2 doesn't work though, but that's another thread) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959194#3959194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959194 From do-not-reply at jboss.com Wed Jul 19 12:00:57 2006 From: do-not-reply at jboss.com (timfox) Date: Wed, 19 Jul 2006 12:00:57 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <26186234.1153324857923.JavaMail.jboss@colo-br-02.atl.jboss.com> The exceptions mean that for some reason the server thinks the message is already acknowledged - which shouldn't be the case. I have seen something similar before and believe it is solved but the latest refactoring I have done, although I can't be sure unless I can replicate it here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959195#3959195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959195 From do-not-reply at jboss.com Wed Jul 19 12:01:58 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 12:01:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <16602948.1153324918750.JavaMail.jboss@colo-br-02.atl.jboss.com> I cannot make anything out of the screenshot.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959196#3959196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959196 From do-not-reply at jboss.com Wed Jul 19 12:02:22 2006 From: do-not-reply at jboss.com (petrilla) Date: Wed, 19 Jul 2006 12:02:22 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Maybe a bug on EntityManager.createNativeQuery(String) Message-ID: <10498189.1153324942275.JavaMail.jboss@colo-br-02.atl.jboss.com> I need to do some sql native query (to a data base Oracle 9i) from an EJB session Bean. I use Jboss in version 4.0.4 G.A. patch 1 My simple code : public List doNativeQueryMultiple(String sqlQuery) { List list = manager.createNativeQuery(sqlQuery).getResultList(); return list; } This is some exemple for understand the probleme. SELECT 'OUI' val FROM dual union SELECT 'NON' FROM dual Order BY 1 asc Response is : O,N SELECT 'TOTO' val FROM dual union SELECT 'NON' FROM dual Order BY 1 asc Response is : TOTO,NON SELECT 'TOT' val FROM dual union SELECT 'NON' FROM dual Order BY 1 asc Response is : T,N SELECT 'OUI' val FROM dual union SELECT 'abc' FROM dual Order BY 1 asc Response is : O,a SELECT 'OUI' val FROM dual union SELECT 'abcd' FROM dual Order BY 1 asc Response is : OUI,abcd SELECT 'OUI' val FROM dual union SELECT 'NON' FROM dual union SELECT 'TOT' FROM dual Order BY 1 asc Response is : O,N,T SELECT 'OUI' val FROM dual union SELECT 'NON' FROM dual union SELECT 'TOTO' FROM dual Order BY 1 asc Response is : OUI,NON,TOTO When the response of the request is correct, the return class type is java.lang.String And when is incorrect , the return class type is java.lang.Charactere, and the response contain the first letter. The bug is when the size of all of the selected string have the same length. The test done by Jboss for determine the class return type maybe is wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959197#3959197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959197 From do-not-reply at jboss.com Wed Jul 19 12:02:28 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 12:02:28 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to password protect Message-ID: <3690744.1153324948060.JavaMail.jboss@colo-br-02.atl.jboss.com> For security, see http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch8.chapter.html Management of JBoss is done by editing XML files. JBoss is JMX-based (at leats until 5.0 comes out) and all of the MBeans are configured using XML. To read more about this, look at http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html. Also, when you run JBoss, point your browser to http://localhost:8080 and the home page shows. There is a link to the web console (might work, might not, it has had a few problems lately) and the jmx-console, which provides a generic view of the MBeans on the system. Warning: any changes you make via these tools will disappear when you reboot JBoss - the only way to change things permanently is to edit the XML configuration files. Deploying applications is easy - just copy the war/ear/jar file to the server/xxx/deploy directory (where 'xxx' is the cofiguration, usually 'default'). The quickstart guide will help you get started: http://docs.jboss.org/jbossas/getting_started/v5/html/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959198#3959198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959198 From do-not-reply at jboss.com Wed Jul 19 12:02:52 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Wed, 19 Jul 2006 12:02:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Configuring jBPM runtime in gpd 3.0.11 Message-ID: <30982701.1153324972335.JavaMail.jboss@colo-br-02.atl.jboss.com> James, The plan is still to have an alpha release for jBPM 3.2 by the end of the month. If we will manage to do it is another cup of tea... So no def date yet. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959199#3959199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959199 From do-not-reply at jboss.com Wed Jul 19 12:05:47 2006 From: do-not-reply at jboss.com (jmota) Date: Wed, 19 Jul 2006 12:05:47 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: Unable to do a lookup for a Context in Sun One from with Message-ID: <10179150.1153325147246.JavaMail.jboss@colo-br-02.atl.jboss.com> Found out that if i use Hashtable env = new Hashtable() it works and i get the correct InitialContext. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959200#3959200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959200 From do-not-reply at jboss.com Wed Jul 19 12:08:02 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 12:08:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <2191003.1153325282613.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry bout that, dont know how that happened. Heres correct one: http://www.falazar.com/ut/Screenshot-5.png James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959201#3959201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959201 From do-not-reply at jboss.com Wed Jul 19 12:08:26 2006 From: do-not-reply at jboss.com (armorris007) Date: Wed, 19 Jul 2006 12:08:26 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Cluster-wide Session Access Message-ID: <27320674.1153325306103.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm currently trying to find a way to gain access to a cluster-wide list of active Tomcat Sessions. This is proving very difficult. I've looked at the possibility of using the HttpSessionListener interface but unfortunately that won't suffice - as it's not fail-safe when it comes to a node in a cluster unexpectedly going away. The problem I'm trying to tackle is that of implementing a session-tracking licencing engine for our J2EE product. Essentially - I want to be able to read an attribute (that is set at login) from a session and count how many sessions have that attribute set. Having scoured the JMX console for ways that existing JMX components get this information, it would appear that such information is available to: The MBEAN registered under the jboss.web domain: host=localhost,path=/myapplication,type=Manager however, I can't for the life of me work out how to do a JNDI lookup to get access to that MBEAN - it doesn't appear to be registered in JNDI (when using the JNDIView component). However - the jmx-console itself can see the component fine - and can execute calls on it. Can anyone help? Or advise an alternative solution to cluster-wide session access? Many thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959202#3959202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959202 From do-not-reply at jboss.com Wed Jul 19 12:09:15 2006 From: do-not-reply at jboss.com (joed@world.std.com) Date: Wed, 19 Jul 2006 12:09:15 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <1720967.1153325355541.JavaMail.jboss@colo-br-02.atl.jboss.com> I found this in the XDoclet reference: http://xdoclet.sourceforge.net/xdoclet/tags/jboss-tags.html If you look for transaction-timeout, it seems to indicate that the change only applies if the method starts the transaction. Since that's never the case with MDB using REQUIRED, perhaps if you change it to REQUIRES_NEW you might get what you want. I've got the same issue, and I'm going to try this change soon. I'll post my results once I get a chance to try it out, but I thought I'd pass this guess along first, since you seemed desperate :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959203#3959203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959203 From do-not-reply at jboss.com Wed Jul 19 12:09:22 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 12:09:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <28232536.1153325362168.JavaMail.jboss@colo-br-02.atl.jboss.com> and I was able to install the 3.0.11 SITE in Eclipse 3.2. What version are you using cormierjf? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959204#3959204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959204 From do-not-reply at jboss.com Wed Jul 19 12:10:36 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 12:10:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Creating task instances Message-ID: <23029409.1153325436669.JavaMail.jboss@colo-br-02.atl.jboss.com> it does that, at least in my testcase View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959205#3959205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959205 From do-not-reply at jboss.com Wed Jul 19 12:11:40 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 12:11:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <1597580.1153325500016.JavaMail.jboss@colo-br-02.atl.jboss.com> In Explorer, under Tools | Folder Options, in the View tab, is 'Restore previous folder windows at logon' checked? Could you be a little more specific on what you are seeing? My response above is based on the assumption that you are seeing an Explorer window opening at the JBoss home directory. It would help to have a more thorough description of the window in question (i.e., window title text, text within window, buttons displayed, etc.). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959206#3959206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959206 From do-not-reply at jboss.com Wed Jul 19 12:15:09 2006 From: do-not-reply at jboss.com (modjoe23) Date: Wed, 19 Jul 2006 12:15:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <31968373.1153325709998.JavaMail.jboss@colo-br-02.atl.jboss.com> Joed, Thank you for that. I must have missed it. I will try that as soon as I can and post my results as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959208#3959208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959208 From do-not-reply at jboss.com Wed Jul 19 12:15:21 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Wed, 19 Jul 2006 12:15:21 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <30203549.1153325721049.JavaMail.jboss@colo-br-02.atl.jboss.com> I've looked into it and, no, this isn't your problem. It's mine again. A simple boolean error. I'm terribly sorry. I basically defaulted all the categories to NOT show the first time, and since I hadn't yet made the preference page that allows you to re-enable categories, you get to sit there and see nothing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959209#3959209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959209 From do-not-reply at jboss.com Wed Jul 19 12:16:47 2006 From: do-not-reply at jboss.com (bluetrade) Date: Wed, 19 Jul 2006 12:16:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @Begin and @End Message-ID: <30092552.1153325807356.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi , I have a question regardint conversation propagation. I am passing around a User throughout the application but I don't know how much information of the user I really need. Now, the user might reference to more than 100 other objects, and I don't want to do an eager retrieval of the data, since maybe only 2 objects are needed. So right now I use a @Begin(join=true) on almost every page and have the @End tag only when the user enters the logOut method. I can see how this can be problamatic, but what solutions are there if I don't want to run into LIEs (lazy init...)? Does anyone have any hints on this? Can I maybe optimize this somehow? Thanks Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959210#3959210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959210 From do-not-reply at jboss.com Wed Jul 19 12:18:08 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 12:18:08 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cluster-wide Session Access Message-ID: <8447844.1153325888171.JavaMail.jboss@colo-br-02.atl.jboss.com> You have to look up the MBEan via the MBean Server, which you look up in JNDI. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84303 for a full example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959211#3959211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959211 From do-not-reply at jboss.com Wed Jul 19 12:20:18 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 12:20:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial Message-ID: <26348101.1153326018264.JavaMail.jboss@colo-br-02.atl.jboss.com> can you post the processdefinition as well and the corresponding classes? I can not tell from the screendumpo al;one what might be wrong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959212#3959212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959212 From do-not-reply at jboss.com Wed Jul 19 12:21:38 2006 From: do-not-reply at jboss.com (kinlunwong) Date: Wed, 19 Jul 2006 12:21:38 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: MDBs don't work after jms recovery Message-ID: <18530508.1153326098262.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually I don't know what the fix is. My test case is very simple: 1. write an mdb for a jms topic, process message in onMessage() 2. write a sender for the topic 3. deploy 4. sender send messages, see that onMessages() got messages via print out in onMessages() 5. touch the jboss jms service.xml file, this causes the jms destinations to be rebound again 6. send messages again (no errors or exceptions) 7. don't see any onMessage() printout at all from the MDBs anymore I don't see why this is not supported? given that if you are not using MDBs, you can have a jms receiver that catch jms exceptions and then reconnect. I thought MDBs should have handled any jms recovery automatically ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959214#3959214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959214 From do-not-reply at jboss.com Wed Jul 19 12:21:49 2006 From: do-not-reply at jboss.com (znbailey) Date: Wed, 19 Jul 2006 12:21:49 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <13084714.1153326109377.JavaMail.jboss@colo-br-02.atl.jboss.com> "rob.stryker at jboss.com" wrote : I've looked into it and, no, this isn't your problem. It's mine again. | | A simple boolean error. I'm terribly sorry. I basically defaulted all the categories to NOT show the first time, and since I hadn't yet made the preference page that allows you to re-enable categories, you get to sit there and see nothing. Rob, No worries, glad we could get it worked out. It is an alpha build after all ;-). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959215#3959215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959215 From do-not-reply at jboss.com Wed Jul 19 12:22:28 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Wed, 19 Jul 2006 12:22:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <9619773.1153326148275.JavaMail.jboss@colo-br-02.atl.jboss.com> How do you deploy this app standalone? I am not deploying the jbpm server, as provided in the starters kit. I did look at the starters-kit. Is it jbpm-starters-kit-3.1.1\jbpm-server\server\jbpm\deploy\jmx-console.war If so, then how do you start it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959216#3959216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959216 From do-not-reply at jboss.com Wed Jul 19 12:22:59 2006 From: do-not-reply at jboss.com (jduty) Date: Wed, 19 Jul 2006 12:22:59 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released Message-ID: <22361850.1153326179806.JavaMail.jboss@colo-br-02.atl.jboss.com> We really wanted to try out EJB3, but the fact that it has been over a month since people noticed the misssing jars and we have to go googling for them really makes me think this project is not ready. I have to admit, a reply from Scott or someone would have been nice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959217#3959217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959217 From do-not-reply at jboss.com Wed Jul 19 12:23:17 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 12:23:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <6468234.1153326197464.JavaMail.jboss@colo-br-02.atl.jboss.com> no it is not, it is jbpm.war View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959218#3959218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959218 From do-not-reply at jboss.com Wed Jul 19 12:23:56 2006 From: do-not-reply at jboss.com (ezraepstein) Date: Wed, 19 Jul 2006 12:23:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <5984794.1153326236125.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, we're writing out own management portlet to have a different l&f and to support finer-grained access control. Creating new pages is supported (or will be) and hence the question about PageContainer. On the subject of source, I re-pulled the jboss-portal-2.2 branch and I wonder whether it was correctly tagged in CVS: what I see is the code that was merged into the 2.4 mainline branch. I.e., the re-pulled 2.2 code shows PageContainer and many other classes that don't exist in the 2.2 libraries. I pulled from Eclipse's built-in "New > Project... > CVS > Checkout Projects from CVS" feature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959219#3959219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959219 From do-not-reply at jboss.com Wed Jul 19 12:27:10 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Wed, 19 Jul 2006 12:27:10 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <691471.1153326430092.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes but this still doesnt help me figure out whats wrong with your server startup ;) I had added all sorts of event logging so that when another server startup / shutdown problem came, you'd have all sorts of information to give me =P Now my silly boolean error has prevented me from actually researching the startup / shutdown issue. Mind if I ask you some other question? You've said you're using jboss3.2.7 but you've named it 4.x TRUNK. Which jboss version are you actually trying to use? =P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959221#3959221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959221 From do-not-reply at jboss.com Wed Jul 19 12:29:30 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 12:29:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Creating task instances Message-ID: <16168627.1153326570734.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, I just tested a loop of 3 task-nodes (each with a task) and the 3rd goes back to the first. New task instances get created for every entry into the task-node (using default task-node settings, jbpm 3.1.1) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959222#3959222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959222 From do-not-reply at jboss.com Wed Jul 19 12:31:00 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Wed, 19 Jul 2006 12:31:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <13166767.1153326660903.JavaMail.jboss@colo-br-02.atl.jboss.com> But what does it startup? Could you please provide some more details into starting up just the console. As I had mentioned earlier, I am running jbpm in my own standalone java app, which does not have a web container. Given this, what are the steps I need to take to start the console app, so that I can monitor the process instances? Any help is greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959223#3959223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959223 From do-not-reply at jboss.com Wed Jul 19 12:34:07 2006 From: do-not-reply at jboss.com (Plukh) Date: Wed, 19 Jul 2006 12:34:07 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <23003814.1153326847633.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Is the principal used as identity (ie username) in web-app#2 during BASIC authentication in your database? No, its not - I understand that it tries to find the principal in the database and fails. Unfortunately, its not possible to store users of app#1 and app#2 in the same place - so I have to use different auth schemes. Before I implemented BASIC auth in the app#2, I was getting "isufficient method permissions" (IIRC), because principal was null. This was solved by adding "unauthenticatedIdentity" option in login-config. Mind you, it didn't try to access the DB then. As soon as I added BASIC auth, it started to try to access the DB. So, the question is why is it doing it, when the method is marked as unchecked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959224#3959224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959224 From do-not-reply at jboss.com Wed Jul 19 12:52:05 2006 From: do-not-reply at jboss.com (qqchuck) Date: Wed, 19 Jul 2006 12:52:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <2526703.1153327925682.JavaMail.jboss@colo-br-02.atl.jboss.com> I think my question to you James is: Are you using jBPM in a production environment to do more than just a trivial workflow process? And, if so, were you the person who made it do so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959225#3959225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959225 From do-not-reply at jboss.com Wed Jul 19 12:58:41 2006 From: do-not-reply at jboss.com (bluetrade) Date: Wed, 19 Jul 2006 12:58:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - How does the datamodel get populated Message-ID: <29780435.1153328321356.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was wondering how the datamodel gets populated. Are all entries retrieved right away? I display information page-wise, and sometimes there could be 30-40 pages of data, so is the actual object only loaded into memory when I access it or is everything that's in the datamodel in memory? Should I manually use limit-queries (which I didn't think were supported [i.e. limit (20,80)] ) or is it feasible to always use the subList? I have right now the following private List everything; @DataModel List subset; initially I populate the list everything with the em.query("from stuff")... when the next() is called I do public void() { subset = everything.subList(pos,pos+size); } Is there anything wrong with that approach? Anything I could improve? The reason why I am asking is that sometimes I have high response times, which I have yet to understand.. Thanks, joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959226#3959226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959226 From do-not-reply at jboss.com Wed Jul 19 13:05:13 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:05:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Creating task instances Message-ID: <5627687.1153328713122.JavaMail.jboss@colo-br-02.atl.jboss.com> I just did the same on 3.2 and the behaviour is identical View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959227#3959227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959227 From do-not-reply at jboss.com Wed Jul 19 13:05:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:05:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Creating task instances Message-ID: <11970457.1153328728793.JavaMail.jboss@colo-br-02.atl.jboss.com> I mean, they get created each time View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959228#3959228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959228 From do-not-reply at jboss.com Wed Jul 19 13:05:42 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 13:05:42 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <23728898.1153328742811.JavaMail.jboss@colo-br-02.atl.jboss.com> Victor, It is doing what you have configured it to do. Webapp#2 is secured using the "other" security domain. So when a user attempts to access a secured resource (i.e. your servlet), the conatainer performs BASIC authentication via the UsersRolesLoginModule. Thus you have set some principal username, and string password in the x.properties files that is referenced by the URLM. This is successfully, and a principal is established. Well call this principal "admin". The servlet then tries to access ModerEJB. This bean is secured via the "db_store" security domain. So the databaseServerLoginModule is used to authenticate "admin". However, "admin" is not in the database so an LoginException is being thrown. The method is marked unchecked, but see Q 1 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959229#3959229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959229 From do-not-reply at jboss.com Wed Jul 19 13:06:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:06:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <14473498.1153328788253.JavaMail.jboss@colo-br-02.atl.jboss.com> IT IS A WEBAPP. if you do not know how to access (startup) that, well........ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959230#3959230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959230 From do-not-reply at jboss.com Wed Jul 19 13:07:21 2006 From: do-not-reply at jboss.com (metaman) Date: Wed, 19 Jul 2006 13:07:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Getting the Update part of CRUD to work Message-ID: <10758861.1153328841331.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there. I am currently evaluating the use of JBoss Seam for my organization. After getting a Seam skeleton app to successfully start (generated with SeamGen), I implemented the create, read and delete parts of a very simple and primtive CRUD use case for a single entity bean. But now I am struck, because I cant find a way to update an entity bean with new values. After looking at the code which is generated by the hibernate reverse engineering tool, I took my inspiration from the EntitySelector pattern (if I may call it so). It works like this: Ingredients: Entity listEntityAction stateful session bean editEntityAction stateful session bean EntitySelector stateless session bean 1.) An listEntity.xhtml page is backed by the listEntityAction SFSB. The Data is displayed in a DataTable, and after selecting something from the data table, a button on the editEntity page, has to be pressed. 2.) Pressing the button calls a method of the EntitySelector, which mediates between the two SFSB. It has references injected for listEntityAction and editEntityAction. Right now all that the EntitySelector has to do, is ask the listEntityAction.getSelection() and pass it over to editEntityAction.initEdit() 3.) Then editEntity.xhtml is displayed with the contents of the selected entity, the user can change the values, and after pressing a button, the backing editEntityAction merges the entity back to the persistence layer. Below is the code. Sadly, it just does not work, because the EntitySelector SLSB can`t seem to call a method from the injected SFSB`s. (My guess is that somehow the injection does not work.) It would be really great if somebody could tell me why my code does not work, or if there is an easier pattern to achive the whole CRUD work. (after all, I am not the only person wanting to write this code manually.) My Entity is called "Ware.java": | import java.io.Serializable; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.Lob; | | import org.hibernate.validator.Length; | import org.hibernate.validator.NotNull; | import org.hibernate.validator.Range; | import org.jboss.seam.annotations.Name; | | @Entity | @Name("ware") | public class Ware implements Serializable{ | | private Long id; | private String name; | private String beschreibung; | private int bewertung; | private float gewicht; | | public Ware() {} | | @Id @GeneratedValue | public Long getId() | { | return id; | } | public void setId(Long id) | { | this.id = id; | } | | @NotNull | @Lob | public String getBeschreibung() { | return beschreibung; | } | public void setBeschreibung(String beschreibung) { | this.beschreibung = beschreibung; | } | | @NotNull | @Range(min=1, max=5) | public int getBewertung() { | return bewertung; | } | public void setBewertung(int bewertung) { | this.bewertung = bewertung; | } | | @NotNull | public float getGewicht() { | return gewicht; | } | public void setGewicht(float gewicht) { | this.gewicht = gewicht; | } | | @NotNull | @Length(min=0, max=40) | public String getName() { | return name; | } | public void setName(String name) { | this.name = name; | } | | public String toString() | { | return "Ware( Id: " + id + " )"; | } | } | The listWaren local interface: | import javax.ejb.Local; | | @Local | public interface ListWaren | { | public String deleteWare(); | public void findWare(); | public void refresh(); | public Ware getSelection(); | public void destroy(); | } | This is the listWarenAction statefull session bean: | import static javax.persistence.PersistenceContextType.EXTENDED; | import static org.jboss.seam.ScopeType.SESSION; | import java.io.Serializable; | import java.util.List; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.datamodel.DataModel; | import org.jboss.seam.annotations.datamodel.DataModelSelection; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.log.Log; | | @Stateful | @Scope(SESSION) | @Name("listWaren") | public class ListWarenAction implements ListWaren, Serializable | { | | @Logger private Log log; | @PersistenceContext(type=EXTENDED) | private EntityManager em; | | @In(create=true) | EditWaren editWaren; | | @DataModel | private List allWaren; | | @DataModelSelection | @In(required=false) @Out(required=false) | | private Ware oneWare; | | @Factory("allWaren") | public void findWare() | { | executeQuery(); | } | | public void refresh() | { | executeQuery(); | } | | private void executeQuery() | { | allWaren = em.createQuery("from Ware e").getResultList(); | } | | public String deleteWare() | { | allWaren.remove(oneWare); | em.remove(oneWare); | oneWare=null; | return "Usecase-Manager.seam"; | } | | | | public Ware getSelection() | { | return em.merge(oneWare); | } | | @Remove @Destroy | public void destroy() {} | } | The editWaren local interface: | import javax.ejb.Local; | @Local | public interface EditWaren | { | public boolean isNew(); | public void setNew(boolean isNew); | public void initCreate(); | public String createWare(); | public void initEdit(Ware editThisWare); | public String editWare(); | public void destroy(); | } | Then there is the editWarenAction statefull session bean: | import static javax.persistence.PersistenceContextType.EXTENDED; | import static org.jboss.seam.ScopeType.SESSION; | import java.io.Serializable; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.log.Log; | | @Stateful | @Scope(SESSION) | @Name("editWaren") | public class EditWarenAction implements EditWaren, Serializable | { | @Logger private Log log; | | @PersistenceContext(type=EXTENDED) | private EntityManager em; | | @In | private Ware ware; | | @In(required = false) | private transient ListWaren listWaren; | | private boolean isNew; | public boolean isNew() { | return isNew; | } | public void setNew(boolean isNew) { | this.isNew = isNew; | } | | public void initCreate() | { | isNew = true; | ware = new Ware(); | } | | public String createWare() | { | em.persist(ware); | listWaren.refresh(); | return "/listWare.seam"; | } | | public void initEdit(Ware editThisWare) | { | isNew = false; | ware = editThisWare; | } | | public String editWare() | { | em.merge(ware); | listWaren.refresh(); | return "/listWare.seam"; | } | | @Remove @Destroy | public void destroy() {} | } | And finaly the WarenSelector stateless session bean and its local interface: | import javax.ejb.Local; | | @Local | public interface WarenSelector { | public String callCreate(); | public String callEdit(); | } | | import static org.jboss.seam.ScopeType.SESSION; | import javax.ejb.Remove; | import javax.ejb.Stateless; | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | @Stateless | @Scope(SESSION) | @Name("warenSelector") | | public class DefaultWarenSelector implements WarenSelector { | @In(create=true) | private transient EditWaren editWaren; | | @In(create=true) | private transient ListWaren listWaren; | | public String callCreate() | { | editWaren.initCreate(); | return "/editWaren.jsp"; | } | | public String callEdit() | { | editWaren.initEdit(listWaren.getSelection()); | return "/editWaren.jsp"; | } | | @Remove @Destroy | public void destroy() {} | | } | Here are the two xhtml Pages: listWare.xhtml: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And editWare.xhtml: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
    ID
    Name
    Beschreibung
    Bewertung | | | |
    Gewicht | | | |
    | | | | |
    |
    | | | | | If the configuration files are necessary, then I will post them as well. Thanks for any help, in advance ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959231#3959231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959231 From do-not-reply at jboss.com Wed Jul 19 13:08:11 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:08:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <10277283.1153328891090.JavaMail.jboss@colo-br-02.atl.jboss.com> My question would then be: What is your definition of trivial? I've created some processes that others would call difficult/non-trival but I think the're trivial. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959232#3959232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959232 From do-not-reply at jboss.com Wed Jul 19 13:08:55 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:08:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <30317929.1153328935578.JavaMail.jboss@colo-br-02.atl.jboss.com> My question would then be: What is your definition of trivial? I've created some processes that others would call difficult/non-trival but I think the're trivial. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959233#3959233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959233 From do-not-reply at jboss.com Wed Jul 19 13:14:41 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 13:14:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <151389.1153329281938.JavaMail.jboss@colo-br-02.atl.jboss.com> "hamptont" wrote : Why is the CMS part of the portal ? It should be a completely separate product and not part of the portal. | | Content Management is a completely different thing from a Portlet Server. | | I don't see any value in coupling these two products. You are in the minority. The addition of the CMS to the portal was made, so people don't download a blank portal server and have nothing to see and interact with. A CMS is also a natural complement to a portal server, providing the ability to manage and serve content from a RDBM or FS. If you don't want the CMS in your portal, then you can unplug it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959234#3959234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959234 From do-not-reply at jboss.com Wed Jul 19 13:14:46 2006 From: do-not-reply at jboss.com (jpremji) Date: Wed, 19 Jul 2006 13:14:46 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Hibernate Code Generation with Oracle Message-ID: <11886813.1153329286369.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using the hibernate code generation with a reverse engineering xml file and would like to generate the sequences for the tables. I am generating EJB3 annotations entity beans. Is there any way of performing this task. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959235#3959235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959235 From do-not-reply at jboss.com Wed Jul 19 13:16:30 2006 From: do-not-reply at jboss.com (blandahl) Date: Wed, 19 Jul 2006 13:16:30 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portal environment differences Message-ID: <20282313.1153329390269.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a pointer as to what feature(s) in JBoss AS 4.03 is required to support Portal 2.2? Using Portal 2.2 (+) under JBoss AS 4.02 leads to errors such as: ....... org.jboss.util.NestedRuntimeException: Error creating MBeanProxy: portal:mapper=PrefixDelegating; - nested throwable: (javax.management.InstanceNotFoundException: portal:mapper=PrefixDelegating is not registered.) at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:78) at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:342) ...... Caused by: javax.management.InstanceNotFoundException: portal:mapper=PrefixDelegating is not registered. at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509) at org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:651) at org.jboss.mx.util.MBeanProxyExt.(MBeanProxyExt.java:70) ...... I'm stuck at 4.02 for a while, so checking out Portal 2.0 (which does run). But, I would like to understand the constraints, so pointers as to where to begin studying will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959236#3959236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959236 From do-not-reply at jboss.com Wed Jul 19 13:17:34 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 13:17:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal environment differences Message-ID: <8044655.1153329454954.JavaMail.jboss@colo-br-02.atl.jboss.com> Portal 2.2 must be deployed in 4.0.3SP1 or higher. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959237#3959237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959237 From do-not-reply at jboss.com Wed Jul 19 13:18:59 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 13:18:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <33061294.1153329539410.JavaMail.jboss@colo-br-02.atl.jboss.com> Why are you rewriting the management portlet? Why not add to the current one and contribute it back for the community to benefit? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959238#3959238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959238 From do-not-reply at jboss.com Wed Jul 19 13:20:45 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 13:20:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1 SP3 released Message-ID: <16980557.1153329645713.JavaMail.jboss@colo-br-02.atl.jboss.com> That was very perceptive. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959240#3959240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959240 From do-not-reply at jboss.com Wed Jul 19 13:20:55 2006 From: do-not-reply at jboss.com (ezraepstein) Date: Wed, 19 Jul 2006 13:20:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <1632605.1153329655199.JavaMail.jboss@colo-br-02.atl.jboss.com> We may well do that. We're currently writing it with Tapestry, however. We find JSF problematic on many levels (I could go into details, but would rather do that offline). Will JBoss community accept Tapestry-dependent portlets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959241#3959241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959241 From do-not-reply at jboss.com Wed Jul 19 13:23:21 2006 From: do-not-reply at jboss.com (blandahl) Date: Wed, 19 Jul 2006 13:23:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal environment differences Message-ID: <3168733.1153329801542.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, that was clearly documented and in fact worked well in a (test) JBoss installation. I'm looking to get a better understanding of how JBoss AS & Portal work together. As such, I'm looking for a place to start to in order see why 4.03SP1 is required. May any sense? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959243#3959243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959243 From do-not-reply at jboss.com Wed Jul 19 13:25:31 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 13:25:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <2232983.1153329931148.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem here is that many people get the impression that the sample webapp is the console. They think it is the way to do it, and it is responsible for managing jBPM. It's a SAMPLE webapp, giving EXAMPLES on how to monitor/etc. I think something needs to be done (no clue what) about people getting the wrong impression. Many just think it is jBPM itself, and that's how you use it. Crack the webapp code open, look at what it is doing, and copy/modify/paste into your non-web application. Learning the jBPM API allows you to do anything without relying on the example webapp. Write your own monitoring tool how you want, and you'll be set. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959245#3959245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959245 From do-not-reply at jboss.com Wed Jul 19 13:27:20 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 13:27:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <7299338.1153330040237.JavaMail.jboss@colo-br-02.atl.jboss.com> Is a jBPM expert needed for just designing process definitions (workflows)? Or are you looking for someone who understands the jBPM API, the nuances with the GPD plugin, the jPDL xml schema itself, the database structure, etc? If I was close by, I'd be banging on your door :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959246#3959246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959246 From do-not-reply at jboss.com Wed Jul 19 13:31:08 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 13:31:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal environment differences Message-ID: <16318030.1153330268491.JavaMail.jboss@colo-br-02.atl.jboss.com> As far as 2.2 goes, if I can remember correctly, it had to do with changes in Hibernate. Honestly, I can't remember exactly what dependencies with Hibernate we had that we had to make the jump. I believe 4.0.3SP1 has hib3 and 4.0.2 had hib 2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959247#3959247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959247 From do-not-reply at jboss.com Wed Jul 19 13:33:46 2006 From: do-not-reply at jboss.com (hosierdm) Date: Wed, 19 Jul 2006 13:33:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <19023466.1153330426455.JavaMail.jboss@colo-br-02.atl.jboss.com> Right, I made a mention of this in another thread. Many people have the misconception that the webapp is either the only way to interact with jBPM or that the webapp is inextricably (sp?) tied to jBPM. Like you say, it is just an example really...like a reference implementation. At my company, we've completely developed our own entire web application to interact with jBPM processes, as I'm sure many others have done. I suggested in that other thread that something be written up in a Wiki or added to a sticky thread on this forum. A sticky thread dispelling some misconceptions would be nice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959248#3959248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959248 From do-not-reply at jboss.com Wed Jul 19 13:36:37 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 13:36:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Add/Edit Page Message-ID: <20354805.1153330597301.JavaMail.jboss@colo-br-02.atl.jboss.com> You would have to use merge() instead of persist(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959249#3959249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959249 From do-not-reply at jboss.com Wed Jul 19 13:37:05 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:37:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <23733116.1153330625493.JavaMail.jboss@colo-br-02.atl.jboss.com> back in the line cpob ;-) we were first. Hey, I even offered an unnamed US univ free expertise, well free..... just a flight from europe and small hotel for two weeks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959250#3959250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959250 From do-not-reply at jboss.com Wed Jul 19 13:39:42 2006 From: do-not-reply at jboss.com (davidgeary) Date: Wed, 19 Jul 2006 13:39:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Maven Archetype for Seam? Message-ID: <28687383.1153330782785.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a Maven archetype for Seam? Seam is great, but I've spent way too much time configuring a simple app to run embedded in Tomcat. If I could create a starter app with a maven archetype, I'd have a lot more time to actually write code. A Maven archetype for Seam would further close the productivity gap between Rails and JEE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959252#3959252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959252 From do-not-reply at jboss.com Wed Jul 19 13:40:42 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 13:40:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <31581704.1153330842114.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I second the sticky thread, something like "About the jBPM Sample Webapp" or something similar. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959253#3959253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959253 From do-not-reply at jboss.com Wed Jul 19 13:41:34 2006 From: do-not-reply at jboss.com (blandahl) Date: Wed, 19 Jul 2006 13:41:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal environment differences Message-ID: <32807261.1153330894403.JavaMail.jboss@colo-br-02.atl.jboss.com> Got it! I appreciate the quick response. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959254#3959254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959254 From do-not-reply at jboss.com Wed Jul 19 13:44:53 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:44:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <15954900.1153331093930.JavaMail.jboss@colo-br-02.atl.jboss.com> OK good suggestion. I'll try to add something to the faq (could someone make a jira issue for this so I do not forget, or do it themselves ;-)) A sticky thread with 'read the faq) would be enough then. Besides that David, could you start a thread in the design forum about the (missing?) functionality in the webapp, what you developed yourself, why (e.g. jsf vs. struts).. the webapp has to grow to a real console, but also a UI for executing processes, at least during RAD, resulting in jsf components that can be used in other pages etc...etc...etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959255#3959255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959255 From do-not-reply at jboss.com Wed Jul 19 13:46:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 13:46:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <10775696.1153331176441.JavaMail.jboss@colo-br-02.atl.jboss.com> hmmm.. not the 'about jbpm sample webapp' it is to specific. There are more questions like these. I'd propose the FAQ wiki page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959256#3959256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959256 From do-not-reply at jboss.com Wed Jul 19 13:47:15 2006 From: do-not-reply at jboss.com (balamg) Date: Wed, 19 Jul 2006 13:47:15 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - data partitioning Message-ID: <27231757.1153331235680.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to partition user data based on certain criteria, to acheive data partitioning/isolation. (lets say based on their orgianizations) One way I can think of is to route users from x.org to a datasource DS1 and from y.org to a datasource DS2 (datasource based partitioning) Another approach I can think of is to route users from x.org to a URL such as x.mycomp.com and from y.org to y.mycomp.com Any ideas / pointers how to go about acheiving the same ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959257#3959257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959257 From do-not-reply at jboss.com Wed Jul 19 13:47:35 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 13:47:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <26629676.1153331255868.JavaMail.jboss@colo-br-02.atl.jboss.com> Please just take a look at how s:validateAll is used in the registration example. I'm sure you will be happy with what you find there: http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#registration-example View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959258#3959258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959258 From do-not-reply at jboss.com Wed Jul 19 13:52:50 2006 From: do-not-reply at jboss.com (ayz) Date: Wed, 19 Jul 2006 13:52:50 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Control over WSDL generation with JSR-181 EJB Message-ID: <26275723.1153331570086.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I wonder if it is possible to be able to have control over how WSDLs are generated for JSR-181 EJB3 endpoints ? The problem is that although the automatically generated WSDLs look fine, the client (StrikeIron) does not generate proper SOAP requests unless minor changes are made to WSDLs. Of course it is possible to save the WSDLs, edit them and refer from @WebService, this is what I am currently doing. However, I'd like to be able not to do this every time something is changed in endpoints, i.e. new method added. Is there an editable template JBossWS uses to generate WSDLs at deployment ? Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959259#3959259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959259 From do-not-reply at jboss.com Wed Jul 19 13:55:45 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 13:55:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SEAM and JavaScript Message-ID: <21016702.1153331745178.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | | | Though I don't see how your action will be called if you do this. Better to make it a page action. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959260#3959260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959260 From do-not-reply at jboss.com Wed Jul 19 13:56:13 2006 From: do-not-reply at jboss.com (cormierjf) Date: Wed, 19 Jul 2006 13:56:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <17020429.1153331773096.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using a fresh install of Eclipse Version: 3.1.1 Build id: M20050929-0840 Here is an example of the exception i get when intalling the site: !ENTRY org.eclipse.update.core 4 0 2006-07-19 09:39:22.292 | !MESSAGE Unable to retrieve remote reference "jar:file:J:/17050_Information_Technology_Application_Development/17050_4_Application_Development_Tools/jbpm/jbpm-gpd-site-3.0.11.zip!/plugins/org.eclipse.jem.util_1.2.0.v20060530-RC2.jar". [JAR entry plugins/org.eclipse.jem.util_1.2.0.v20060530-RC2.jar not found in J:\17050_Information_Technology_Application_Development\17050_4_Application_Development_Tools\jbpm\jbpm-gpd-site-3.0.11.zip] | !STACK 0 | java.io.FileNotFoundException: JAR entry plugins/org.eclipse.jem.util_1.2.0.v20060530-RC2.jar not found in J:\17050_Information_Technology_Application_Development\17050_4_Application_Development_Tools\jbpm\jbpm-gpd-site-3.0.11.zip | at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) | at sun.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source) | at org.eclipse.update.internal.core.OtherResponse.getInputStream(OtherResponse.java:34) | at org.eclipse.update.core.ContentReference.getInputStream(ContentReference.java:146) | at org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentProvider.java:250) | at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPluginEntryArchiveReferences(FeaturePackagedContentProvider.java:165) | at org.eclipse.update.internal.operations.UpdateUtils.downloadFeatureContent(UpdateUtils.java:627) | at org.eclipse.update.internal.ui.wizards.InstallWizard2.download(InstallWizard2.java:405) | at org.eclipse.update.internal.ui.wizards.InstallWizard2.access$3(InstallWizard2.java:394) | at org.eclipse.update.internal.ui.wizards.InstallWizard2$4.run(InstallWizard2.java:350) | at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) As you can see it's looking for the file with the "-RC2" but in the zip file the file has "_RC2" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959261#3959261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959261 From do-not-reply at jboss.com Wed Jul 19 13:59:00 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 13:59:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless search to stateful conversation Message-ID: <10865255.1153331940207.JavaMail.jboss@colo-br-02.atl.jboss.com> You should use a redirect combined with a page action. This is the usual pattern for all these kinds of things. You _need_ the redirect, because you want to allow bookmarking of the item detail page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959262#3959262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959262 From do-not-reply at jboss.com Wed Jul 19 14:00:25 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:00:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Logging Configuration Message-ID: <19562833.1153332025794.JavaMail.jboss@colo-br-02.atl.jboss.com> Seam logging delegates to commons logging which (in JBoss) delegats to log4j. So you just configure log4j as you would usually configure it in JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959263#3959263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959263 From do-not-reply at jboss.com Wed Jul 19 14:02:53 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:02:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam annotations in components called from a jbpm proces Message-ID: <14329177.1153332173725.JavaMail.jboss@colo-br-02.atl.jboss.com> (1) You complain about errors but you don't show a stack trace? (2) I can't understand why you would want to do this ... it does not seem at all like a "clean" usage of jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959264#3959264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959264 From do-not-reply at jboss.com Wed Jul 19 14:10:03 2006 From: do-not-reply at jboss.com (vulee) Date: Wed, 19 Jul 2006 14:10:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Dependency Injection of an Message Driven POJO into a SS Message-ID: <24996961.1153332603441.JavaMail.jboss@colo-br-02.atl.jboss.com> I had the same issue which resolved when I used @EJB(mappedName). I wonder why using just @EJB did not work in my case for I had seen a few places where @EJB worked correctly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959266#3959266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959266 From do-not-reply at jboss.com Wed Jul 19 14:13:51 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:13:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <11265819.1153332831184.JavaMail.jboss@colo-br-02.atl.jboss.com> If you really _have_ to have transparent lazy fetching of data off of the user, combined with caching of that data then create a session-scoped managed persistence context. There are a couple of ways to do this, but the easiest is to use Seam 1.1 CVS build and throw the following in components.xml: | java:/myEntityManagerFactory | Alternatively, an approach I prefer is to only store the userId in session scope, and create a conversation-scoped manager component for the actual User, ie: @Scope(CONVERSATION) | @Name("user") | public class ManagedUser | { | @In(create=true) | private EntityManager myDatabase; | | @In String userId; | | @Unwrap | public User getUser() | { | return myDatabase.find(User.class, userId); | } | } Now, of course you won't get caching of the 100 dependent objects in the session scope, but they do at least get cached in the conversation scope. You will never experience LIEs, as long as you always refer to the dependent objects by injecting the User and then navigating. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959267#3959267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959267 From do-not-reply at jboss.com Wed Jul 19 14:14:19 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:14:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <14318335.1153332859823.JavaMail.jboss@colo-br-02.atl.jboss.com> P.S. Note that it is never OK to have a conversation that spans an entire login session. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959268#3959268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959268 From do-not-reply at jboss.com Wed Jul 19 14:17:03 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:17:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How does the datamodel get populated Message-ID: <32051955.1153333023971.JavaMail.jboss@colo-br-02.atl.jboss.com> You should use setMaxResults() / setFirstResult(), don't suck up the entire result list in one Hibernate query. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959269#3959269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959269 From do-not-reply at jboss.com Wed Jul 19 14:17:53 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:17:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <29856921.1153333073156.JavaMail.jboss@colo-br-02.atl.jboss.com> P.P.S. I've seen a couple of people ask about this - would someone please be so kind as to write these solutions up for the Wiki? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959270#3959270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959270 From do-not-reply at jboss.com Wed Jul 19 14:18:59 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Wed, 19 Jul 2006 14:18:59 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Persisting Cache JDBC Cache Loader Message-ID: <17427263.1153333139237.JavaMail.jboss@colo-br-02.atl.jboss.com> It would be really of great help if some can please post an example for the use of JDBC Cache Loader class. One more thing is that JDBC Config info should it be in an XML file (the main Config xml file) or does it need to be in another properties file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959271#3959271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959271 From do-not-reply at jboss.com Wed Jul 19 14:20:00 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:20:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <17811007.1153333200063.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately I don't know anything about Maven, so we would need some nice volunteer to contribute this :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959273#3959273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959273 From do-not-reply at jboss.com Wed Jul 19 14:23:48 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 19 Jul 2006 14:23:48 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <31277689.1153333428414.JavaMail.jboss@colo-br-02.atl.jboss.com> i don't understand the question... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959274#3959274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959274 From do-not-reply at jboss.com Wed Jul 19 14:24:47 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 14:24:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <712702.1153333487178.JavaMail.jboss@colo-br-02.atl.jboss.com> As I said I have got it working with a few number of things, but nothing greatly complicated, I have used the timers, and the decision task nodes and groups and such, forked and joined some workflow processes. We are not using it in production, I am holding out to see what the 3.2 version is going to look like, and whether it cleans up the webapp interface, and how much we are going to need to work on it after that. We were using a different product, but it was very buggy, and just was not goign to meet our needs. If your ASAP is not so immediate, I would say holding out for a couple weeks would let us have a much more complete usage of the JBPM process down... Can you say here, or in email what exactly you are using the system for? - email falazar at yahoo.com James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959275#3959275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959275 From do-not-reply at jboss.com Wed Jul 19 14:27:20 2006 From: do-not-reply at jboss.com (yantriki) Date: Wed, 19 Jul 2006 14:27:20 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: java.lang.ClassNotFoundException Message-ID: <14683818.1153333640370.JavaMail.jboss@colo-br-02.atl.jboss.com> Tom thanks for your reply. After I added a ServerCallBackHandler on the server side, the ClassNotFoundException was gone. I changed the code as per your suggestion, to create a Connector on the client to receive a push call. However the following code gets executed on the jboss server itself, which is where my remoting server resides as service. public void pingClients() { | if (m_listeners.size() > 0) { | Object data = "ping"; | Callback c = new Callback(data); | Set errorSet = new HashSet(); | for (InvokerCallbackHandler h : m_listeners) { | try { | h.handleCallback(c); | } catch (HandleCallbackException e) { | errorSet.add(h); | } | } | logger.info("Failed ping for " + errorSet.size() + " clients..."); | for (InvokerCallbackHandler h : errorSet) { | m_listeners.remove(h); | } | } | } | The client never receives the ping message. Consequently once the client is added and exits without removing Listener from the server, I don't know how to remove it from the list of listeners. Here is my client call back handler: public class ClientCallbackHandler implements InvokerCallbackHandler, Serializable { | | public void handleCallback(Callback callback) throws HandleCallbackException { | Object obj = callback.getParameter(); | System.out.println("The server sent: "+obj); | } | | } | The client is able to call invoke of the server. This works fine, however in my code I create client connector and register the client handler based on the return value from this invoke (for push callback). | int i = (Integer) client.invoke("acquire"); | if (i >= 0) { | String callbackLocatorURI = transport + "://" + serverName + ":" + (port + 1); | InvokerLocator callbackLocator = new InvokerLocator(callbackLocatorURI); | setupServer(callbackLocator); | client.addListener(handler, locator); | } | appreciate your help. regards, vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959276#3959276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959276 From do-not-reply at jboss.com Wed Jul 19 14:30:07 2006 From: do-not-reply at jboss.com (falazar) Date: Wed, 19 Jul 2006 14:30:07 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <5672482.1153333807250.JavaMail.jboss@colo-br-02.atl.jboss.com> A full detailed wiki page please.... Also, how goes the DEV work on the console web app, it was mentioned that it is going to useing faces. Is that working now? We believe we will be using the webapp, and then adding a bit more on top of it to support our users in a nice simple UI. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959278#3959278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959278 From do-not-reply at jboss.com Wed Jul 19 14:31:25 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 14:31:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <22509869.1153333885652.JavaMail.jboss@colo-br-02.atl.jboss.com> I re-read Koens announcement and saw there that 3.0.10 was for 3.1.x and 3.0.11 was for 3.2. So it could be that 3.0.11 does not work with 3.1.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959280#3959280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959280 From do-not-reply at jboss.com Wed Jul 19 14:32:58 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:32:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <20643192.1153333978315.JavaMail.jboss@colo-br-02.atl.jboss.com> Note: I just updated the post to reflect that the manager component need only be EVENT scoped, not CONVERSATION-scoped as I originally wrote. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959281#3959281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959281 From do-not-reply at jboss.com Wed Jul 19 14:33:41 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 14:33:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <2932526.1153334021059.JavaMail.jboss@colo-br-02.atl.jboss.com> A full detailed wiki page takes a lot of time. So if someone wants to contribute, fine, otherise it will start with a small faq entry and maybe afterwards a more complete page. And yes, the 3.2 webapp is using faces View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959282#3959282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959282 From do-not-reply at jboss.com Wed Jul 19 14:34:41 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 14:34:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: The JBoss jBPM console web application Message-ID: <7506902.1153334081987.JavaMail.jboss@colo-br-02.atl.jboss.com> A full detailed wiki page takes a lot of time. So if someone wants to contribute, fine, otherise it will start with a small faq entry and maybe afterwards a more complete page. And yes, the 3.2 webapp is using faces View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959283#3959283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959283 From do-not-reply at jboss.com Wed Jul 19 14:36:53 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Wed, 19 Jul 2006 14:36:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Self-referencing foreign keys Message-ID: <7731932.1153334213352.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for flooding the forum reactivating this topic, but I really wanted to know if anyone has a clue on how I could make this work. Thanks folks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959284#3959284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959284 From do-not-reply at jboss.com Wed Jul 19 14:40:26 2006 From: do-not-reply at jboss.com (jactor) Date: Wed, 19 Jul 2006 14:40:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy Message-ID: <29939297.1153334426224.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been going through lots of documents on EJB3 and discovered that EJB3 has evolved quite a bit since the 4.0.3SP1 release. I still need to know how to get jboss 4.0.4.GA to run with EJB3 embedded. How? Since the implementation of EJB3 has changed, where can I dowload the latest jar files needed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959285#3959285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959285 From do-not-reply at jboss.com Wed Jul 19 14:40:40 2006 From: do-not-reply at jboss.com (hamptont) Date: Wed, 19 Jul 2006 14:40:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <13389466.1153334440460.JavaMail.jboss@colo-br-02.atl.jboss.com> Julian, I would love to hear your thoughts on this ? I agree that it is useful to use a CMS along with a Portlet Server. I just don't see the need for the two to be the same product. The CMS should be a service that can be used to implenent Portlets to manage the CMS. Why do those CMS management portlets need to be coupled to the Portlet Server to do that. I think an architecture that decouples the CMS from the portal server but provides a set of CMS Management portlets would be better. Why is it necessary to couple the CMS with the Portlet Server ? What extra functionality can you provide that couldn't otherwise be achieved ? And if the CMS is so integral to the portal server why do you need a separate namespace for it. /context/portal vs. /context/cms. That looks like separate apps to me. I don't care so much if the CMS is in the portal or not, since I'm not going to use it anyway. But I do care that the portal URLs are being mangled to get it there and that is causing me issues with a production system. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959286#3959286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959286 From do-not-reply at jboss.com Wed Jul 19 14:45:03 2006 From: do-not-reply at jboss.com (joed@world.std.com) Date: Wed, 19 Jul 2006 14:45:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <28612218.1153334703677.JavaMail.jboss@colo-br-02.atl.jboss.com> Sigh. It didn't work. If I had thought before trying I would have realized it couldn't. I imagine that the container has its own transaction for the queue, which is timing out because the onMessage() method is taking a long time, even though *my* transaction has a longer time out. I think I'm going to just spawn a thread in the onMessage() to handle the work, and return immediately. I lose all opportunity for resends, but c'est la vie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959288#3959288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959288 From do-not-reply at jboss.com Wed Jul 19 14:45:17 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Wed, 19 Jul 2006 14:45:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelets: Parameters to custom tags Message-ID: <30065444.1153334717619.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes ... and no ... :-) Nearly everything you wrote is correct. Only one problem: kontozeile.xhtml is only doing part of what I want. Remember the first "outputText" element in the kontozeile. It works perfect. But it's only there for debugging purposes. I was wondering: is there a local variable named konto inside of kontozeile? outputText proves: there is. As I excpected. But what I really want is not this first outputText. The second one is it. The call to method getWert() of the corresponding Seam Bean (named kontoname, class Kontoname - look at my very first posting). I try to inject that obviously existing variable named "konto" into that bean. But it doesn't arrive there. In other words: the variable does exist, but it is uninjectable. Why???? Thank you very much for your patience so far! Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959289#3959289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959289 From do-not-reply at jboss.com Wed Jul 19 14:46:10 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 14:46:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <32848247.1153334770011.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmmmm, I just created a generic ManagedEntity component. Kinda cool, possibly useful. You use it like this: [core] com.myapp.User #{myEntityManager} #{userId} [/core] Or even like this: [core] com.myapp.BlogEntry #{myEntityManager} #{params['blogEntryId']} [/core] And then, whenever the id of the object is available in a context variable or request parameter, we can just inject the correct instance. Kinda cool, I think.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959290#3959290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959290 From do-not-reply at jboss.com Wed Jul 19 14:55:05 2006 From: do-not-reply at jboss.com (modjoe23) Date: Wed, 19 Jul 2006 14:55:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <16981191.1153335305650.JavaMail.jboss@colo-br-02.atl.jboss.com> That's exactly why I tried to a handle to that transaction and increase it's timeout myself, but that didn't work. There has to be a way to do it! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959292#3959292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959292 From do-not-reply at jboss.com Wed Jul 19 15:02:29 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 15:02:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <14527437.1153335749207.JavaMail.jboss@colo-br-02.atl.jboss.com> Koen's Announcement wrote : Both GPD releases are build and tested against Eclipse 3.2 and WTP 1.5. Says nothing about 3.0.10 for 3.1.x, anyway, I tried 3.0.10 for Eclipse 3.1.2 and it still didn't work :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959293#3959293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959293 From do-not-reply at jboss.com Wed Jul 19 15:04:59 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 15:04:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Portlet preferences not persisted Message-ID: <29602441.1153335899328.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to update the portlet preferences within my code, but the preferences are not being persisted. I have based my code on what I found in the WeatherPortlet. I even added debugging to the WeatherPortlet to see how it was doing things. Here is the code: public void processAction(ActionRequest request, ActionResponse response) throws PortletException { | String newZip = request.getParameter("newzip"); | log.debug("newZip=" + newZip); | if(null != newZip) { | PortletPreferences prefs = request.getPreferences(); | try { | prefs.setValue("RssXml", RSS_URL_PREFIX + newZip); | prefs.store(); | String xxx = prefs.getValue("RssXml", null); | log.debug("RssXml=" + xxx); | } catch(Exception e) { | e.printStackTrace(); | } | } | response.setRenderParameter("newzip", RSS_URL_PREFIX + newZip); | response.setPortletMode(PortletMode.VIEW); | } And here is what shows up on the log file (sans leading junk): newZip=92691 | RssXml=http://xml.weather.yahoo.com/forecastrss?p=33145 The 33145 zip is what is configured in portal.xml. So immediately after setting the preference and storing it, it disappears and reverts back to the original setting. Should I open a JIRA issue? Using: JBoss 4.0.4-GA, JBoss Portal 2.4.0-CR1, JDK 5.0 Standard disclaimer: I searched through the forum, JIRA, and even did a general google and could not find anything on this topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959294#3959294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959294 From do-not-reply at jboss.com Wed Jul 19 15:13:46 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 15:13:46 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - how to configure the default database DefaultDS to oracle in Message-ID: <18258893.1153336426210.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to configure the default database DefaultDS to oracle 9i in the clustered environment. The step I did is in the following: 1. delete the hsqldb.xml. 2. configure DefaultDS datasource to oracle in the oracle-ds.xml 3. change login-config.xml, oracle-jdbc2-service.xml and oracle-jdbc-state-service.xml file to use DefaultDS. When I start the jboss, the exception occur in the jboss console. When I check the database, I found 5 tables created in order to use the JMS feature, I can not found the HILOSequence table which supposed to create in the database. I really appreciate some one help. Thanks. Jack The error message is in the following: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: java.sql.SQLException: ORA-00942: table or view does not exist I Depend On: jboss:service=TransactionManager jboss.jca:name=DefaultDS,service=DataSourceBinding View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959295#3959295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959295 From do-not-reply at jboss.com Wed Jul 19 15:15:17 2006 From: do-not-reply at jboss.com (jack0501) Date: Wed, 19 Jul 2006 15:15:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - which connection I should use Message-ID: <23288182.1153336517229.JavaMail.jboss@colo-br-02.atl.jboss.com> My application use EJB in cluster environment. I have one oracle database. my existed system use TXConnection(transactional connection) for the data insert, update and delete. Using the Connection for the data retriving. I think TXConnection fits to use for the distributed database. So I should change my DAO layer to use only Connection. Is that true? Need help. Thanks. Jack View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959296#3959296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959296 From do-not-reply at jboss.com Wed Jul 19 15:18:52 2006 From: do-not-reply at jboss.com (suryad) Date: Wed, 19 Jul 2006 15:18:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Any tutorials, samples, etc on writing a jboss.xml file? Message-ID: <11538711.1153336732730.JavaMail.jboss@colo-br-02.atl.jboss.com> Title says it all. First time user of JBoss and first time poster. Any help would be appreciated. I am trying to deploy EJBs because I am a student learning about EJBs. I really wanted to give JBoss a shot. I am using Eclipse 3.2 and as such cannot use JBoss IDE. But does JBoss IDE automatically configure deployment to JBoss? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959297#3959297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959297 From do-not-reply at jboss.com Wed Jul 19 15:24:41 2006 From: do-not-reply at jboss.com (adamw) Date: Wed, 19 Jul 2006 15:24:41 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration Message-ID: <9434240.1153337081410.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have read the three pages (the first two I have already read before), but they didn't bring any help. I added | | | | to log4j.xml but still I don't see any logging. Also, I noticed that when I invoke my servlet through https I get "HTTP Status 401 - Cannot authenticate with the provided credentials", and when I invoke it through http I get "HTTP Status 400 - No client certificate chain in this request". I'm still not sure what certificates should be where - files, that is. I assume that server.keystore should contain both server and authorized clients certificates? And that file should be in /serfer/all/conf? -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959298#3959298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959298 From do-not-reply at jboss.com Wed Jul 19 15:25:26 2006 From: do-not-reply at jboss.com (ibrandt) Date: Wed, 19 Jul 2006 15:25:26 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Cannot create debug-configuration Message-ID: <12982279.1153337126578.JavaMail.jboss@colo-br-02.atl.jboss.com> "beamer908" wrote : Was anybody able to get this to work on a Mac? So far I have not been able to get a "Servers" category in my list of Views after trying to install it some 3 times on a fresh Eclipse 3.2 each time. I can add a server via the JBoss Servers or the plain Servers views on my Mac, but I can't actually debug anything. Anytime I hit a breakpoint Eclipse goes into a fast infinite loop. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959299#3959299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959299 From do-not-reply at jboss.com Wed Jul 19 15:32:55 2006 From: do-not-reply at jboss.com (cormierjf) Date: Wed, 19 Jul 2006 15:32:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <1972313.1153337575505.JavaMail.jboss@colo-br-02.atl.jboss.com> You are currect, google helped me find this: http://jboss.org/jbossBlog/blog/kaers/2006/07/19/JBoss_jBPM_3_1_2_and_3_0_4_Released.txt So it looks like people that cannot upgrade to eclipse 3.2 are out of luck for the site intall. I did manage to install it using the feature zip, but the site zip install is prefered around here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959300#3959300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959300 From do-not-reply at jboss.com Wed Jul 19 15:34:50 2006 From: do-not-reply at jboss.com (yantriki) Date: Wed, 19 Jul 2006 15:34:50 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: java.lang.ClassNotFoundException Message-ID: <14614400.1153337690068.JavaMail.jboss@colo-br-02.atl.jboss.com> When I remove Serializable interface from the ClientCallbackHandler then I get the following error: | socket://localhost:6034 | Starting remoting server with locator uri of: InvokerLocator [socket://127.0.0.1:6035/] | java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is: | java.io.NotSerializableException: org.vss.service.license.client.ClientCallbackHandler | at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) | at org.jboss.remoting.Client.invoke(Client.java:525) | at org.jboss.remoting.Client.invoke(Client.java:488) | at org.jboss.remoting.Client.addListener(Client.java:714) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959301#3959301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959301 From do-not-reply at jboss.com Wed Jul 19 15:35:56 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 15:35:56 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Any tutorials, samples, etc on writing a jboss.xml file? Message-ID: <13556185.1153337756043.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you want to use EJB 2.1 or EJB 3? As a first timer, I would recommend EJB 3, its is simpler and saner. In that case, look at the EJB3TrailBlazer at http://trailblazer.demo.jboss.com/EJB3Trail/. It will have you running EJBs in no time. If you want to use the old EJB 2.1, you might want to look into XDoclet because it makes EJB 2.1 easier and writes the jboss.xml file for you. The book JBoss at Work by Marrs and Davis has some good example of building EJBs using XDoclet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959302#3959302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959302 From do-not-reply at jboss.com Wed Jul 19 15:36:47 2006 From: do-not-reply at jboss.com (ibrandt) Date: Wed, 19 Jul 2006 15:36:47 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - [2.0.0.Alpha1a] Can't edit launch configuration properties. Message-ID: <7913003.1153337807482.JavaMail.jboss@colo-br-02.atl.jboss.com> Eclipse 3.2 with JBoss IDE 2.0.0.Alpha1a on Mac OS X 10.4.7 w/ Java build 1.5.0_06-111. - Right click on the JBoss 3.2.7 server I created in the JBoss Servers View. - Click Open - Under General click "Open launch configuration" I can edit the VM arguments, but I can't edit the program arguments. The message "You may not change the configuration directory or the host in this fashion." is displayed. I'm trying to remove the --host=localhost argument. Is there another way to edit the launch arguments? Thanks, Ian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959303#3959303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959303 From do-not-reply at jboss.com Wed Jul 19 15:38:25 2006 From: do-not-reply at jboss.com (yantriki) Date: Wed, 19 Jul 2006 15:38:25 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: java.lang.ClassNotFoundException Message-ID: <22530340.1153337905733.JavaMail.jboss@colo-br-02.atl.jboss.com> Ignore questions. I was adding listener using server locator and not callback locator. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959304#3959304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959304 From do-not-reply at jboss.com Wed Jul 19 15:41:54 2006 From: do-not-reply at jboss.com (Plukh) Date: Wed, 19 Jul 2006 15:41:54 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <16380862.1153338114742.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm. I must've read the FAQ about 20 times, and still hadn't thought about this :-(((. So, I must somehow fake unauthenticated access to the bean (so that it will use its unauthenticatedIdentity identity to grant access to an unchecked method). Good starting point, time to read on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959305#3959305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959305 From do-not-reply at jboss.com Wed Jul 19 15:43:10 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Wed, 19 Jul 2006 15:43:10 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: [2.0.0.Alpha1a] Can't edit launch configuration properti Message-ID: <31557131.1153338190235.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a restriction I put in on purpose. I did not want the user changing the host or the configuration. In order to use a different host or configuration, create a new server with the same server home, and the newly desired host or configuration names. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959306#3959306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959306 From do-not-reply at jboss.com Wed Jul 19 15:52:33 2006 From: do-not-reply at jboss.com (sellerjd) Date: Wed, 19 Jul 2006 15:52:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB3 and Filter Annotation Message-ID: <31695393.1153338753464.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm wondering if EJB3 has, or will have, support for the Filter annotation as in Hibernate (@Filter). Reason: I'm looking for a non-hibernate specific solution to the following problem: FooTable -- fooName -- fooType -- fooActive_Y_N I'd like every query of the FooTable to filter results and only return those records that have fooActive_Y_N == Y. I'd like this to take place throughout the system and not build the criteria with this Restriction every time, nor use QueryByExample with the property set. I'd like the DAO to know nothing about this except in cases where non-active records are requested. I believe I can implement an interceptor to accomplish this, but was wondering if there was a way to do the same with a simple annotation in EJB3, as there is in Hibernate. Thanks much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959308#3959308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959308 From do-not-reply at jboss.com Wed Jul 19 16:04:16 2006 From: do-not-reply at jboss.com (adam.stortz) Date: Wed, 19 Jul 2006 16:04:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Logging Configuration Message-ID: <6262592.1153339456474.JavaMail.jboss@colo-br-02.atl.jboss.com> In a web application I would drop my log4j.xml file in the WEB-INF/classes directory. In a Seam/EJB3 app, I am not sure where to put that file. Can anyone give me any direction View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959309#3959309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959309 From do-not-reply at jboss.com Wed Jul 19 16:06:31 2006 From: do-not-reply at jboss.com (tushardesai22) Date: Wed, 19 Jul 2006 16:06:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven2 and JBoss Seam DVD Store demo Message-ID: <28568824.1153339591705.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to run the DVD Store example from my web-browser. http://localhost:8080/seam-dvd I am using Eclipse 3.12 + JBossIDE-200607141757-nightly-ALL + jboss-seam-1.0.0.CR3, + jboss-4.0.4.GA but I get the following error by Apache Tomcat/5.5.17 which is not even started. I am trying to run the dvde application through JBoss AS but not sure why I keep getting the error HTTP Status 404 - /seam-dvd type Status report message /seam-dvd description The requested resource (/seam-dvd) is not available. Apache Tomcat/5.5.17 Please advice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959311#3959311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959311 From do-not-reply at jboss.com Wed Jul 19 16:07:03 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 16:07:03 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <21625521.1153339623678.JavaMail.jboss@colo-br-02.atl.jboss.com> Victor, There are many options you can try. 1.) combine the "other" and "db_store" domains into one and use for webapp#1, webapp#2, and ejb. Thus if a user is not authenticated by DBSLM, the URLM will. 2.) Use a run-as role with the servlet 3.) Use EJB3.0. The ability to assign a security domain to a method of a bean is very usefull. Then you could have two accessors, one for each security domain. 4.)etc, etc, etc... I learned a long time ago, if I hit a brick wall trying to do something in JBoss, it is usually because it was the wrong way of doing it. enjoy, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959312#3959312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959312 From do-not-reply at jboss.com Wed Jul 19 16:12:28 2006 From: do-not-reply at jboss.com (bsmithjj) Date: Wed, 19 Jul 2006 16:12:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <29808660.1153339948621.JavaMail.jboss@colo-br-02.atl.jboss.com> I managed to successfully create a Maven 2 archetype for a Seam App. My app style was EJB3 entities, Hibernate SessionFactory (as entity manager), Facelets, and pure POJO's for application actions. Thus, my layout would work for an app that is packaged as a .war and based on a similar approach. If there is interest, I can clean this up and share it a bit. Regards Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959313#3959313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959313 From do-not-reply at jboss.com Wed Jul 19 16:13:55 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Wed, 19 Jul 2006 16:13:55 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <17330249.1153340035344.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, #3 is poppy-cock. I am still learning EJB3.0 spec and Jboss extensions. But I think it can be done with multiple interfaces. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959314#3959314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959314 From do-not-reply at jboss.com Wed Jul 19 16:15:39 2006 From: do-not-reply at jboss.com (bsmithjj) Date: Wed, 19 Jul 2006 16:15:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <23053205.1153340139037.JavaMail.jboss@colo-br-02.atl.jboss.com> One other thing... my biggest pain points were the figuring out the initial configuration of the pieces to make my Seam app. After I had a working configuration and build, it was extremely easy to add in additional features to my app. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959315#3959315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959315 From do-not-reply at jboss.com Wed Jul 19 16:16:58 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 16:16:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <18411591.1153340218371.JavaMail.jboss@colo-br-02.atl.jboss.com> It worked for you on Eclipse 3.1.1 w/ the 3.0.11.feature zip? Hmm, I wonder if eclipse 3.1.1 vs 3.1.2 could have differences? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959316#3959316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959316 From do-not-reply at jboss.com Wed Jul 19 16:20:20 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Wed, 19 Jul 2006 16:20:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: application-defined resources for MDBs Message-ID: <28006754.1153340420853.JavaMail.jboss@colo-br-02.atl.jboss.com> Am i making any sense? ill try to rephrase a bit... This is my interpretation: most application servers uses a server specific deployment descriptor (or annotation) element that maps the logical JNDI name as used by the module (EJB,WAR) to the deployment environment JNDI name. This descriptor is defined and packaged in the module, not in the application (EAR). Let's assume I have packaged and tested a set of modules which will be exposed as reusable modules from (for example) a maven repository. I pick appropriate modules to be assembled in applications. I have a hard time understanding how modules containing MDBs can be packaged in multiple applications (deployed in the same server) and still avoid "deployment environment jndi name" conflicts. Servlet context can be bound using application.xml. Deployment environment JNDI names for SLSBs can be generated depending on what application it was deployed in (JBoss works this way?). I think persitence.xml can be packaged in the application and modules can use logical names to reference "application-defined" datasources? All of these approches avoid conflicts by binding the logical name when assembling the application, not when assembling the module. But, for MDBs i have not found any similar way of "lately" bind the logical name of a queue to the deployment environment JNDI name? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959317#3959317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959317 From do-not-reply at jboss.com Wed Jul 19 16:20:28 2006 From: do-not-reply at jboss.com (tushardesai22) Date: Wed, 19 Jul 2006 16:20:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven2 and JBoss Seam DVD Store demo Message-ID: <3148862.1153340428355.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems that 'seam-booking' example is working but 'seam-dvd' example is giving error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959319#3959319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959319 From do-not-reply at jboss.com Wed Jul 19 16:20:32 2006 From: do-not-reply at jboss.com (bezdomny) Date: Wed, 19 Jul 2006 16:20:32 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Where is the destination url stored? Message-ID: <15932307.1153340432195.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an issue, similar to others here, where my default page is sometimes my login.html page. If this is the case, when I log into the web app, I get the 400 Invalid direct reference message because to j_security_check, the destination page is also the log in page. Here is my login-config section of web.xml FORM blah /common/login.html /common/loginerror.jsp Where does JBoss store the URL it uses after a successful login? I want to check this to see it is set, in the case of someone bookmarking the login.html page, and if it is set to the login.html page explicitly. Can anyone help here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959320#3959320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959320 From do-not-reply at jboss.com Wed Jul 19 16:24:29 2006 From: do-not-reply at jboss.com (bezdomny) Date: Wed, 19 Jul 2006 16:24:29 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Where is the destination url stored? Message-ID: <22508676.1153340669226.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, I'm using a custom DatabaseServerLoginModule. Is this best solution to just override the behavior and force my loginmodule to only redirect users to one place? Thanks! B View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959323#3959323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959323 From do-not-reply at jboss.com Wed Jul 19 16:25:14 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Wed, 19 Jul 2006 16:25:14 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <3909761.1153340714921.JavaMail.jboss@colo-br-02.atl.jboss.com> Dragging up a bit of an old thread here I know, but... I've just started evaluating various caching strategies for use with Hibernate. I guess this question originally came from reading a table such as the one near the bottom of this page http://www.devx.com/dbzone/Article/29685. Judging by the definition of the various caching strategies on that page, and the claim that JBossCache does not support read/write or nonstrict-read/write strategies, it would suggest that it only supports a read strategy. This doesn't really make sense to me, as I don't see any point in having a transactional read-only cache, so I assume this is incorrect? The above post does seem to suggest that JBossCache does provide read/write caching. Can someone just confirm that please? As an aside, I think this confusion might have originated from section 14.4.5 of the Hibernate manual (http://www.hibernate.org/hib_docs/reference/en/html/performance.html), which isn't particularly clear about what is and isn't provide. I guess the idea was perhaps to imply that by being transactional, JBossCache does implicitly provide read/write caching... Anyway, any clarification much appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959324#3959324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959324 From do-not-reply at jboss.com Wed Jul 19 16:29:16 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 16:29:16 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <33083099.1153340956921.JavaMail.jboss@colo-br-02.atl.jboss.com> Yep, it's a bit unclear :). The meaning there of "transactional" is "read/write + support of transactions". JBoss Cache is definitely a read/write cache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959325#3959325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959325 From do-not-reply at jboss.com Wed Jul 19 16:31:05 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 19 Jul 2006 16:31:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <9080264.1153341065692.JavaMail.jboss@colo-br-02.atl.jboss.com> I hate resurrecting old threads, but this is relevant to what I just found. If you have a process with 5 task nodes (one after another). You get half way through, and you suspend the process instance... it will suspend ALL TASKS. That's ok, I guess, until you resume the process instance. Then it resumes every task instance... which includes setting isOpen = true. So... it's re-opening every single task that has already been closed. It should be checking the END timestamp on the task instance, and if there is a date, don't re-open it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959326#3959326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959326 From do-not-reply at jboss.com Wed Jul 19 16:32:55 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 16:32:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Portlet preferences not persisted Message-ID: <21510060.1153341175968.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, wrong forum. Though for sure I clicked on JBoss Portal forum before posting this. Oh well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959327#3959327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959327 From do-not-reply at jboss.com Wed Jul 19 16:34:08 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 16:34:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - how to stop unknown user from seeing a page Message-ID: <22642513.1153341248674.JavaMail.jboss@colo-br-02.atl.jboss.com> What's the right way to stop a page from ever being created if a condition isn't met? (Is there a way?) In the booking example, there's the @LoggedIn interceptor, but that seems to me to just stop the submission of a page if the user isn't logged in, but not the initial creation (e.g. http://seam.demo.jboss.com/password.seam ). I imagine it should just be a matter of specifying another class for @Around, but I'm still on the learning path for Seam... I did try creating an attribute on a bean annotated with @LoggedIn and getting some text to display using that attribute, but to no avail, it just took the text without triggering the interceptor. Thanks in advance. As always, apologies if I've missed something already posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959328#3959328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959328 From do-not-reply at jboss.com Wed Jul 19 16:34:45 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 16:34:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Unable to persist preferences. Message-ID: <7875529.1153341285304.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to update the portlet preferences within my code, but the preferences are not being persisted. I have based my code on what I found in the WeatherPortlet. I even added debugging to the WeatherPortlet to see how it was doing things. Here is the code: public void processAction(ActionRequest request, ActionResponse response) throws PortletException { | String newZip = request.getParameter("newzip"); | log.debug("newZip=" + newZip); | if(null != newZip) { | PortletPreferences prefs = request.getPreferences(); | try { | prefs.setValue("RssXml", RSS_URL_PREFIX + newZip); | prefs.store(); | String xxx = prefs.getValue("RssXml", null); | log.debug("RssXml=" + xxx); | } catch(Exception e) { | e.printStackTrace(); | } | } | response.setRenderParameter("newzip", RSS_URL_PREFIX + newZip); | response.setPortletMode(PortletMode.VIEW); | } And here is what shows up on the log file (sans leading junk): newZip=92691 | RssXml=http://xml.weather.yahoo.com/forecastrss?p=33145 The 33145 zip is what is configured in portal.xml. So immediately after setting the preference and storing it, it disappears and reverts back to the original setting. Should I open a JIRA issue? Using: JBoss 4.0.4-GA, JBoss Portal 2.4.0-CR1, JDK 5.0 Standard disclaimer: I searched through the forum, JIRA, and even did a general google and could not find anything on this topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959329#3959329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959329 From do-not-reply at jboss.com Wed Jul 19 16:34:51 2006 From: do-not-reply at jboss.com (drbarela) Date: Wed, 19 Jul 2006 16:34:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Changing default InvokerLocator port (ejb3-deployer) Message-ID: <28141914.1153341291283.JavaMail.jboss@colo-br-02.atl.jboss.com> I also have this same problem. Is there any updates about how to get around this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959330#3959330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959330 From do-not-reply at jboss.com Wed Jul 19 16:35:03 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Wed, 19 Jul 2006 16:35:03 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <12544421.1153341304036.JavaMail.jboss@colo-br-02.atl.jboss.com> Brilliant, thanks Brian! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959331#3959331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959331 From do-not-reply at jboss.com Wed Jul 19 16:36:30 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 16:36:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <412295.1153341390917.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry, I indeed mis re-read the blog. Shame on me try searching on google for the rc2 thing. Maybe it is 'know' in other eclipse projects View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959332#3959332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959332 From do-not-reply at jboss.com Wed Jul 19 16:40:59 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 16:40:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <3521589.1153341659745.JavaMail.jboss@colo-br-02.atl.jboss.com> If things appear again, reopening old threads is (imo) no problem) Where in the source did you find this? Then I'll have a look. Please include version of jBPM as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959334#3959334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959334 From do-not-reply at jboss.com Wed Jul 19 16:41:27 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 16:41:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <11161715.1153341687778.JavaMail.jboss@colo-br-02.atl.jboss.com> oh, and it would certainly be cool to be able to put something in faces messages about having redirected from the original URL... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959335#3959335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959335 From do-not-reply at jboss.com Wed Jul 19 16:44:52 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 16:44:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <2826715.1153341892986.JavaMail.jboss@colo-br-02.atl.jboss.com> if there is/was a jira issue for it, please re-open it or add the info to it. If not, please create one. A patch added would be even better and to make it complete, a testcase is best ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959336#3959336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959336 From do-not-reply at jboss.com Wed Jul 19 16:45:08 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Wed, 19 Jul 2006 16:45:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <20428752.1153341908930.JavaMail.jboss@colo-br-02.atl.jboss.com> Eclipse compatibility is a real pain. We simply have not the resources to keep the plug-in backward compatible across Eclipse versions... If it works, we are lucky, but in this case (as it is an upgrade from Eclipse 3.1.x /WTP 1.0 to Eclipse 3.2 /WTP 1.5) there are so much changes that this is highly unlikely. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959337#3959337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959337 From do-not-reply at jboss.com Wed Jul 19 16:47:08 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 16:47:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <24992143.1153342028125.JavaMail.jboss@colo-br-02.atl.jboss.com> So can we state that eclipse 3.2 is required for at least 3.0.11 and if 3.0.10 works you with 3.1.x you are lucky. otherwise upgrade? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959338#3959338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959338 From do-not-reply at jboss.com Wed Jul 19 16:51:27 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Wed, 19 Jul 2006 16:51:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <32571098.1153342287747.JavaMail.jboss@colo-br-02.atl.jboss.com> No, it is as I said... GPD 3.0.10 was build against some release candidate of the so-called Eclipse Callisto release (which is SDK 3.2, WTP 1.5) and GPD 3.0.11 was build against the final release of Callisto. If either of these works with Eclipse 3.1.x you are very lucky... Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959340#3959340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959340 From do-not-reply at jboss.com Wed Jul 19 16:53:18 2006 From: do-not-reply at jboss.com (bviveiros) Date: Wed, 19 Jul 2006 16:53:18 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Two JBoss instances - one JMS table set Message-ID: <12817192.1153342398773.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you manage to find a solution to this? I have the same setup as you: - 2 servers being load balanced, but hitting one database where the JMS tables reside. - if one server crashes, the other is still available. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959341#3959341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959341 From do-not-reply at jboss.com Wed Jul 19 16:56:45 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 16:56:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <859734.1153342605402.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks (I already switched fully to 3.2), now waiting for the exadel or myeclipse jsf editors. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959342#3959342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959342 From do-not-reply at jboss.com Wed Jul 19 17:08:10 2006 From: do-not-reply at jboss.com (tomkooo) Date: Wed, 19 Jul 2006 17:08:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - MDB deployment problem "Unable to create activation spec ra= Message-ID: <370300.1153343290563.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, im using JBOSS 4.0.4GA server version. I tried to make some basic MDB bean. This is my code for MDB: | package beans; | | import javax.ejb.ActivationConfigProperty; | import javax.ejb.MessageDriven; | import javax.ejb.TransactionManagement; | import javax.ejb.TransactionManagementType; | import javax.jms.Message; | import javax.jms.MessageListener; | | @MessageDriven(activationConfig= { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"), | @ActivationConfigProperty(propertyName="destination", propertyValue="topic/testTopic"), | @ActivationConfigProperty(propertyName="acknowledgeMode", propertyValue="AUTO_ACKNOWLEDGE"), | }) | @TransactionManagement(value=TransactionManagementType.BEAN) | public class TestBean implements MessageListener { | | public void onMessage(Message arg0) { | System.out.println( arg0.toString() ); | } | | } | this is content of my bean.jar file | META-INF/ | META-INF/MANIFEST.MF | META-INF/ejb-jar.xml | beans/ | beans/TestBean.class | this is my ejb-jar.xml | | | | | MDB | beans.TestBean | Container | | | | after deploying beans.jar to JBOSS i get following error | 22:57:51,077 WARN [ServiceController] Problem starting service jboss.j2ee:jar=Beans.jar,name=MDB,service=EJB3 | org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={acknowledgeMode=ActivationConfigProperty(acknowledgeMode=AUTO_ACKNOWLEDGE), destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - nested throwable: (javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195) | at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279) | at org.jboss.ejb3.mdb.MDB.start(MDB.java:218) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy50.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) | at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy34.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305) | ... 101 more | can anybody help me solve this problem ?? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959344#3959344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959344 From do-not-reply at jboss.com Wed Jul 19 17:16:11 2006 From: do-not-reply at jboss.com (osterday) Date: Wed, 19 Jul 2006 17:16:11 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Quartz Job scheduling Message-ID: <7180483.1153343771497.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm still trying to figure out the way 4.0.4GA (EJB3 deployment) is using Quartz, but I was running into problems too. The problem that I think most people will have is that JBoss uses the same instance name that the default config from the Quartz distribution uses. Depending on how the service is deployed, sometimes our Quartz was used and persisted in our MySQL database but if the JBoss instance was used the jobs were created in the RAMJobStore and lost if we restarted JBoss! So far the solution for me was to change our quartz-service.xml config instanceName value from the default of DefaultQuartzScheduler to something else. org.quartz.scheduler.instanceName = DefaultQuartzScheduler Also, since JBoss already includes the quartz-all-1.5.2.jar file in the lib directory, you don't need to put that in the deploy directory anymore and the following line (or similar) can be removed from the quartz-service.xml file: This seems to be working for us so far, but I only just got it going so it hasn't been tested too much. If someone has a better way to create a persistance job store using Quartz in JBoss, please let me know! -Pat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959345#3959345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959345 From do-not-reply at jboss.com Wed Jul 19 17:18:40 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 17:18:40 -0400 (EDT) Subject: [jboss-user] [JBossCache] - PojoCache Weblogic 91 and JConsole issue!! Message-ID: <27810481.1153343920941.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi , I am using Pojo cache on weblogic 9.1 server with a clustered domain. When I try to check the operations through JConsole (Sun) it throws a classcast exception on the server . Kindly throw some light on this behavior. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959346#3959346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959346 From do-not-reply at jboss.com Wed Jul 19 17:20:38 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 17:20:38 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <11668045.1153344038512.JavaMail.jboss@colo-br-02.atl.jboss.com> You're going to need to provide more details; e.g. a stack trace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959347#3959347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959347 From do-not-reply at jboss.com Wed Jul 19 17:26:13 2006 From: do-not-reply at jboss.com (javajedi) Date: Wed, 19 Jul 2006 17:26:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam + Facelets + JBoss Portal = IllegalStateException Message-ID: <8532419.1153344373757.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to build a portlet for JBoss Portal 2.4.0-CR2 that uses Seam 1.0.0 and Facelets 1.1.5. I started with the "portal" example from Seam, which works fine, and tried to plug in a facelet. I made the following changes to the example app: Added the following to web.xml: | Seam Redirect Filter | org.jboss.seam.servlet.SeamRedirectFilter | | | Seam Redirect Filter | *.seam | | | Seam Exception Filter | org.jboss.seam.servlet.SeamExceptionFilter | | | Seam Exception Filter | *.seam | | | org.jboss.seam.core.manager.conversationTimeout | 120000 | | | org.jboss.seam.core.init.jndiPattern | toolkit-1.0-SNAPSHOT/#{ejbName}/local | | | org.jboss.seam.core.init.debug | true | | | Seam Remoting | org.jboss.seam.remoting.SeamRemotingServlet | | | Seam Remoting | /seam/remoting/* | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | javax.faces.STATE_SAVING_METHOD | client | | | facelets.DEVELOPMENT | true | | | facelets.LIBRARIES | /WEB-INF/tomahawk.taglib.xml | | | com.sun.faces.validateXml | true | | | com.sun.faces.verifyObjects | true | | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | Faces Servlet | *.seam | | | Added the following to faces-config.xml: | com.sun.facelets.FaceletViewHandler | Modified index.html to go to myPage.seam instead of home.jsf, and added myPage.xhtml. The app deploys fine, but when I try to load the page, I get the following exception: 2006-07-19 12:18:28,059 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active session context | at org.jboss.seam.Seam.isSessionInvalid(Seam.java:156) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:225) | at org.jboss.seam.jsf.SeamPortletPhaseListener.afterPhase(SeamPortletPhaseListener.java:87) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener.afterPhase(SeamExtendedManagedPersistencePortletPhaseListener.java:53) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:138) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124) | at sun.reflect.GeneratedMethodAccessor213.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:196) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:109) | at sun.reflect.GeneratedMethodAccessor212.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 $Proxy58.invoke(Unknown Source) | at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:181) | at sun.reflect.GeneratedMethodAccessor211.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 $Proxy60.invoke(Unknown Source) | at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:134) | at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:159) | at sun.reflect.GeneratedMethodAccessor210.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 $Proxy62.invoke(Unknown Source) | at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83) | at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:138) | at sun.reflect.GeneratedMethodAccessor204.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 $Proxy45.invoke(Unknown Source) | at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:261) | at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:121) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91) | at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148) | at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:437) | at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76) | at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:314) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78) | at org.jboss.portal.core.CoreController.handle(CoreController.java:126) | at sun.reflect.GeneratedMethodAccessor345.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.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) | at $Proxy184.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | 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:275) | 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:37) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171) | at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294) | at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Any suggestions as to what I might be piecing together incorrectly? Has anyone tried to put these 3 pieces together before? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959348#3959348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959348 From do-not-reply at jboss.com Wed Jul 19 17:27:29 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 17:27:29 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <12671544.1153344449322.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there any logging from the 1st server showing the SSO being established and the cookie being issued? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959349#3959349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959349 From do-not-reply at jboss.com Wed Jul 19 17:40:08 2006 From: do-not-reply at jboss.com (javajedi) Date: Wed, 19 Jul 2006 17:40:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam + Facelets + JBoss Portal = IllegalStateException Message-ID: <29770838.1153345208770.JavaMail.jboss@colo-br-02.atl.jboss.com> Got it working (mostly). I had to make a couple changes: 1: Use FaceletPortletViewHandler instead of FaceletViewHandler. 2: Comment out org.apache.myfaces.webapp.StartupServletContextListener in web.xml. This causes an error when I deploy the app: 2006-07-19 14:37:04,734 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-hibernate]] Servlet /seam-hibernate threw load() exception | java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions! | If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml. | A typical config looks like this; | | org.apache.myfaces.webapp.StartupServletContextListener | | but it seems to work anyway... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959352#3959352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959352 From do-not-reply at jboss.com Wed Jul 19 17:40:29 2006 From: do-not-reply at jboss.com (newbie007) Date: Wed, 19 Jul 2006 17:40:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <29819669.1153345229823.JavaMail.jboss@colo-br-02.atl.jboss.com> This is hapenning in jbpm 3.1.1 and the same code is in 3.1.2 also Here is the flow: ProcessInstance.resume() -> rootToken.resume() -> Token.resume() -> resumeTaskInstances() -> TaskMgmtInstance.resume() -> TaskInstance.resume() and this is the final method which sets these two flags: isSuspended = false; isOpen = true; Which actually opens the task. Since resume of Token class is called recursively, it applies to all the tasks. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959353#3959353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959353 From do-not-reply at jboss.com Wed Jul 19 17:41:46 2006 From: do-not-reply at jboss.com (aheld) Date: Wed, 19 Jul 2006 17:41:46 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Any help for url mapping? Message-ID: <786207.1153345306711.JavaMail.jboss@colo-br-02.atl.jboss.com> I've gotten spoiled with the django (Python) method of mapping controllers to url's based on regular expressions. I'm looking for something similar for a coming webapp (on jboss 4) and I'm waffling between a filter and a custom webwork Action Mapper (Class to map request to "action bean") I'm not so concerned about mapping actions back to URL's. Again django taught me to add a getAbsoluteUrl method to each "content" object. Any pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959355#3959355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959355 From do-not-reply at jboss.com Wed Jul 19 17:45:12 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 17:45:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <28986884.1153345512532.JavaMail.jboss@colo-br-02.atl.jboss.com> Use a page action. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959356#3959356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959356 From do-not-reply at jboss.com Wed Jul 19 17:45:16 2006 From: do-not-reply at jboss.com (sappenin) Date: Wed, 19 Jul 2006 17:45:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB 3.0 RC8 Preview - FD Missing Client Files Message-ID: <12076363.1153345516464.JavaMail.jboss@colo-br-02.atl.jboss.com> Can someone at JBoss please address this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84310&postdays=0&postorder=asc&start=10 The EJB3 RC8 download is missing all of the client zip files (and perhaps more), and nothing has been done in over a month (not even a comment)! Is RC9 coming soon, or can we get a valid RC8 somewhere on sourceforge? Thanks! David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959357#3959357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959357 From do-not-reply at jboss.com Wed Jul 19 17:57:06 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 19 Jul 2006 17:57:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <26709945.1153346226117.JavaMail.jboss@colo-br-02.atl.jboss.com> AAAAAAAAHHHHHHHHHHHHH d*mn heat overhere. I should have JUST READ THE THREAD..... AGAIN.... sorry guys View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959358#3959358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959358 From do-not-reply at jboss.com Wed Jul 19 18:05:41 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Wed, 19 Jul 2006 18:05:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to persist preferences. Message-ID: <22099941.1153346741650.JavaMail.jboss@colo-br-02.atl.jboss.com> This is working in CVS Head, so I'm thinking its probably fixed in CR2. I have modified the zip in the weatherportlet when logged in, and now it shows the weather in ATL... after login. I have modified the newsportlet as well (http://finance.yahoo.com/rss/headline?s=MCD) and it shows me mcdonalds news when logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959359#3959359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959359 From do-not-reply at jboss.com Wed Jul 19 18:06:31 2006 From: do-not-reply at jboss.com (Thierry R.) Date: Wed, 19 Jul 2006 18:06:31 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JBOSSRULES: migration from drools 2.X to drools 3.X Message-ID: <5920021.1153346791148.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have been using drools 2.x (before it becomes part of jboss) for about 1 year and I'm trying now to migrate my scripts to jbossrules 3.0.1. I have made the necessary rewriting (XML => plain DRL). Unfortunatly my rules don't compile any more. I'm wondering if there are a few regression issues : - a function call within another function is illegal - reduced conditional expression is illegal in the consequence part (RHS) : LV = (C)?V1:V2 I know there are work-around for these issues (helper class in the first case and if/else in the second) but I don't understand why valid java constructions don't compile anymore. The problem occurs for sure with the janino compiler and maybe with the eclipse compiler. Thank you for your answers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959360#3959360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959360 From do-not-reply at jboss.com Wed Jul 19 18:14:20 2006 From: do-not-reply at jboss.com (chris.laprun@jboss.com) Date: Wed, 19 Jul 2006 18:14:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <9602190.1153347260995.JavaMail.jboss@colo-br-02.atl.jboss.com> Which steps did you follow to change the context? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959361#3959361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959361 From do-not-reply at jboss.com Wed Jul 19 18:14:34 2006 From: do-not-reply at jboss.com (jainer) Date: Wed, 19 Jul 2006 18:14:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - problems integrating jbpm console with another application Message-ID: <14505511.1153347274490.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i've been integrating an application with the jbpm console; and i've jumped the step of login and home pages until to the task.jsp, for the users from my application go directly to task.jsp. i've used code from UserBean.java for the login(): | UserBean userBean = new UserBean(); | userBean.setUserName("edison acosta"); | session.setAttribute("userBean",userBean); | | userBean.login(); | and code from HomeBean.java for to load an task instance(selectTaskInstance()) if exists the process, or to load a process(startProcessInstance) if is the first time that the user starts the process. also i use code from a script that produces home.jsp |
    | | | | | | | |
    | my problem is when i try to submitt the "Save and Close" button, then throws an exception: | 16:33:13,502 ERROR [LazyInitializationException] could not initialize proxy - the owning Session was closed | org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:56) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133) | at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$6582bdd4.setVariable() | at org.jbpm.webapp.bean.TaskBean.save(TaskBean.java:159) | at org.jbpm.webapp.bean.TaskBean.saveAndClose(TaskBean.java:180) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:271) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) | at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) | at java.lang.Thread.run(Thread.java:595) | i hope that you understand me fine!!! thanx!! regards ______________ jainer e. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959362#3959362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959362 From do-not-reply at jboss.com Wed Jul 19 18:15:49 2006 From: do-not-reply at jboss.com (rajsoni) Date: Wed, 19 Jul 2006 18:15:49 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss has a plugin for IPlanet?? Message-ID: <29936506.1153347349380.JavaMail.jboss@colo-br-02.atl.jboss.com> Am trying to migrate an application deployed on a cluster application(weblogic) server to which the calls are routed from IPlanet web server. Does JBoss have the IPlanet plugin?? Was contemplating if it would be possible to replicate the current architecture,after replacing Weblogic with JBoss as the application server. ie would it be possible to have an IPlanet webserver,that would have some static content deployed on it,and route the calls from IPlanet to JBoss application server cluster underneath? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959363#3959363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959363 From do-not-reply at jboss.com Wed Jul 19 18:24:54 2006 From: do-not-reply at jboss.com (bezdomny) Date: Wed, 19 Jul 2006 18:24:54 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Where is the destination url stored? Message-ID: <16094730.1153347894621.JavaMail.jboss@colo-br-02.atl.jboss.com> Never mind. I wrote some code to dump all the request attributes and headers and found it: javax.servlet.forward.request_uri javax.servlet.forward.context_path javax.servlet.forward.servlet.path I now see the problem. My site is secured on roles that correspond to directories. If the user just bookmarks my login.jsp or login.html page, I would have to have a way to know what their role is even if I could alter these request attributes. The real solution will be to dump them to an intermediate page that makes them click on a link appropriate from their role. Then the container should have no problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959365#3959365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959365 From do-not-reply at jboss.com Wed Jul 19 18:32:53 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 19 Jul 2006 18:32:53 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss has a plugin for IPlanet?? Message-ID: <16143229.1153348373391.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure how up-to-date it is, but the nsapi-redirect.dll plugin to iPlanet/SunONE is meant to communicate with Tomcat (and thus JBoss) using the same AJP 1.3 protocol used by mod_jk. Here's a link to some old docs from the Tomcat site: http://tomcat.apache.org/connectors-doc-archive/jk2/jk/neshowto.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959367#3959367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959367 From do-not-reply at jboss.com Wed Jul 19 18:34:32 2006 From: do-not-reply at jboss.com (hosierdm) Date: Wed, 19 Jul 2006 18:34:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems integrating jbpm console with another applicati Message-ID: <5265835.1153348472103.JavaMail.jboss@colo-br-02.atl.jboss.com> I think I had this same problem when I tried to store references to jBPM objects. Due to the way Hibernate works I guess (I don't know much about HIbernate), you cannot store references to jBPM objects and try to use them later. When you obtain one of these objects, you can only use it in the same context in which it was obtained (i.e. in the same method call). I believe that's how it goes. I'm sure others can provide more detail. Are you storing references and trying to use them later? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959368#3959368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959368 From do-not-reply at jboss.com Wed Jul 19 18:35:05 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 18:35:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to persist preferences. Message-ID: <23682291.1153348505575.JavaMail.jboss@colo-br-02.atl.jboss.com> I didn't say that the weather portlet was not working. I can see the local weather with it just fine. But the reason that it works is that the processAction methods sets "newZip" in the response parameters and then redirects to the view. The view then uses the "newZip" parameter, and not the value from the preferences. If there is no "newZip" parameter, then the weather in Miami shows, which is what is set in portlet.xml. I have been digging through the code and have come to the conclusion that this problem is all related to a configuration setting. That is, if the portlet is configured to treat preferences as read-only, it will ignore all changes. Code in PortletPreferencesImpl.sotre(): if (prefs.isReadOnly() == false) | { | PropertyChange[] changes = (PropertyChange[])updates.values().toArray(new PropertyChange[updates.size()]); | prefs.update(changes); | } But I have not yet found where the "isReadOnly()" value of "prefs" originates. Seems that every class is getting it from somewhere else. Someone someplace must be setting the original value, but I haven't tracked it down yet. This is not to be confused with the user not having write privileges on the preferences, in which case an exception gets thrown when the PortletPreferences.setvalue() method is called (such as when you are not logged into the portal). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959369#3959369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959369 From do-not-reply at jboss.com Wed Jul 19 18:52:25 2006 From: do-not-reply at jboss.com (newbie007) Date: Wed, 19 Jul 2006 18:52:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems integrating jbpm console with another applicati Message-ID: <14235680.1153349545328.JavaMail.jboss@colo-br-02.atl.jboss.com> The LazyInitializationException normally appears when your hibernate session is closed and you are trying to use a property or calling a getter on that detached object. Try initializing the object using Hibernate.initialize method or close the session (some how) after rendering the JSP. Here is the definition of the exception: http://www.hibernate.org/hib_docs/v3/api/org/hibernate/LazyInitializationException.html Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959370#3959370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959370 From do-not-reply at jboss.com Wed Jul 19 18:52:36 2006 From: do-not-reply at jboss.com (bluetrade) Date: Wed, 19 Jul 2006 18:52:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <33436268.1153349556077.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, thanks for your help. Just one last question, is it ok to still keep the user in every (I need it in almost every bean) around via @In @Out User user - I will always then have an @End around the "last"-logic steps... Is there a way to "profile"/"monitor" a seam application to see directly what is in memory and how the transactions are handled? That would be useful for me to understand the whole scenario... THANK YOU SOOO MUCH GAVIN!!!! Seam is great Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959371#3959371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959371 From do-not-reply at jboss.com Wed Jul 19 19:00:32 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 19 Jul 2006 19:00:32 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - How do I lock an Entity bean? Message-ID: <15462512.1153350032516.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am running EJB3 with JBoss 4.0.4 and I am trying to lock an Entity bean while I am accessing/updating it. However, I don't seem to be able to lock the bean. My system consists of: A JMS queue; a MDB listening to the queue and an Entity bean for persistence. The client places an update for an instance of the entity bean on the JMS queue. A MDB removes the data; checks that the relevant instance of the entity bean is available; performs some processing on the data and persists the data in the entity bean. The client may send multiple updates for the same instance of the entity bean but the processing must occur in isolation. So the MDB needs to lock the Entity while it is processing and release it when it has persisted the data. I have tried various combinations of the following but multiple MDB instances manage to access the same Entity instance: 1. Annotate MDB.onMessage() with @TransactionAttribute(TransactionAttributeType.REQUIRED). 2. Set the type of the EntityManagers @PersistentContext to PersistenceContextType.TRANSACTION. 3. Adding @ActivationConfigProperty(propertyName = "Transacted", propertyValue = "true"), @ActivationConfigProperty(propertyName = "Xa", propertyValue = "true") to the MDB's activation config. 4. Calling EntityManager.lock(Entity, LockModeType.READ). Can anyone tell me how to pessimistically lock the Entity instance? What have I missed? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959372#3959372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959372 From do-not-reply at jboss.com Wed Jul 19 19:01:34 2006 From: do-not-reply at jboss.com (db__) Date: Wed, 19 Jul 2006 19:01:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - getting testNG to work with cvs jboss-seam export as project Message-ID: <32221849.1153350094462.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I wonder how to get it work. I added examples/dvdstore/resource to my sourcefolder build seam and dvdstore. and tried a few tests in examples/dvdstore/src/test but without success. Can somebody give me a hint/ or verify how to create a project using CVS checkout of jboss-seam with eclipse testNG working? I'm stuck. regards, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959373#3959373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959373 From do-not-reply at jboss.com Wed Jul 19 19:10:51 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 19 Jul 2006 19:10:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to persist preferences. Message-ID: <8965097.1153350651591.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded jboss-portal-2.4 from CVS, built and deployed it, and then deployed my modified weather portlet, and now the log shows the proper data: [url]newZip=92691 RssXml=http://xml.weather.yahoo.com/forecastrss?p=92691[/url] So you are correct, Roy, it is fixed in CR2. Thanks for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959374#3959374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959374 From do-not-reply at jboss.com Wed Jul 19 19:13:15 2006 From: do-not-reply at jboss.com (db__) Date: Wed, 19 Jul 2006 19:13:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: getting testNG to work with cvs jboss-seam export as pro Message-ID: <10732445.1153350795367.JavaMail.jboss@colo-br-02.atl.jboss.com> 01:09:05,156 INFO [LocalTxDataSource] Bound datasource to JNDI name 'java:/DefaultDS' java.lang.RuntimeException: java.util.zip.ZipException: Das System kann den angegebenen Pfad nicht finden at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:55) the exception is localized. it does mean "Path could not be found" I debugged the path it's the output/classes path in my workspace which does contains the classfiles and so on. But no .jar files. --- thanks dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959375#3959375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959375 From do-not-reply at jboss.com Wed Jul 19 19:24:38 2006 From: do-not-reply at jboss.com (casphar) Date: Wed, 19 Jul 2006 19:24:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Themes/Layouts Message-ID: <22735090.1153351478243.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all I don't have a technical problem however I am looking to use the portal for a possible business venture and I am having differculty in finding web designers/developers to do the themes/layouts. Can anyone suggest a company or person that can create good looking themes/layouts? I'm looking for more of a designer than a developer as the development side of things is taken care of and it's just the presentation that I want to work on. If people can respond with company websites or links to sites they have worked on if offering personal services then it would be greatly appreciated. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959376#3959376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959376 From do-not-reply at jboss.com Wed Jul 19 19:29:43 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 19:29:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <28462449.1153351783762.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : is it ok to still keep the user in every (I need it in almost every bean) around via @In @Out User user I don't quite understand. With this mechanism you never need @Out. You can do @In(create=true) User user as much as you like. anonymous wrote : Is there a way to "profile"/"monitor" a seam application to see directly what is in memory and how the transactions are handled? That would be useful for me to understand the whole scenario... There is the Seam debug page, but that does not tell you anything about transactions... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959377#3959377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959377 From do-not-reply at jboss.com Wed Jul 19 19:35:02 2006 From: do-not-reply at jboss.com (tushardesai22) Date: Wed, 19 Jul 2006 19:35:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <14938318.1153352102027.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting following error. Can you please tell me what should I update in my file to get it resolved? 18:27:08,046 ERROR [[/seamapp]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jn diPattern or use @JndiName: eventFinder at org.jboss.seam.Component.getJndiName(Component.java:251) at org.jboss.seam.Component.(Component.java:175) at org.jboss.seam.Component.(Component.java:151) at org.jboss.seam.Component.(Component.java:146) at org.jboss.seam.Component.(Component.java:141) at org.jboss.seam.init.Initialization.addComponent(Initialization.java:2 90) at org.jboss.seam.init.Initialization.addComponents(Initialization.java: 252) at org.jboss.seam.init.Initialization.init(Initialization.java:109) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.j ava:32) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3729) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4 187) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73 9) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) 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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java: 503) 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:51 16) 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.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java: 503) 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.tc5.TomcatDeployer.performDeployInternal(TomcatD eployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer. java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(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.GeneratedMethodAccessor6.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 $Proxy39.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.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto rServiceMBeanSupport.java:238) at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java: 117) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce ptor.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy40.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor14.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.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.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:1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959378#3959378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959378 From do-not-reply at jboss.com Wed Jul 19 19:38:48 2006 From: do-not-reply at jboss.com (hamptont) Date: Wed, 19 Jul 2006 19:38:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <25230503.1153352328829.JavaMail.jboss@colo-br-02.atl.jboss.com> I did 2 things. 1) Changed deploy\jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml file to change the value of the from /portal to / 2) Removed the deploy\jbossweb-tomcat55.sar\ROOT.war directory. Now #2 really shouldn't affect my config because I'm running apache in front of JBoss and forwarding the /portal/* URLs to JBoss so Apache handles all other request. The problem is that I need the context root, which is the first /portal to configure apache. It's the second /portal that is causing problems, that's the new part and isn't consitently used. The links inside the UserPortlet don't have this second /portal but the page urls do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959379#3959379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959379 From do-not-reply at jboss.com Wed Jul 19 19:40:07 2006 From: do-not-reply at jboss.com (poswald) Date: Wed, 19 Jul 2006 19:40:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: The wiki is misleading... Message-ID: <15586443.1153352407248.JavaMail.jboss@colo-br-02.atl.jboss.com> Whoops... i meant to include a link to the wiki article, not the jira. http://trailblazer.demo.jboss.com/EJB3Trail/background/install/index.html Also, I should add (for anyone else stumbling through here) that there seems to be a guide on how to add ejb3 to a default config: http://docs.jboss.com/ejb3/app-server/tutorial/installing.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959380#3959380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959380 From do-not-reply at jboss.com Wed Jul 19 19:46:24 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 19:46:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <25662881.1153352784237.JavaMail.jboss@colo-br-02.atl.jboss.com> Is EventFinder a session bean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959381#3959381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959381 From do-not-reply at jboss.com Wed Jul 19 19:56:24 2006 From: do-not-reply at jboss.com (davidgeary) Date: Wed, 19 Jul 2006 19:56:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <31010582.1153353384606.JavaMail.jboss@colo-br-02.atl.jboss.com> My pain points also were (and continue to be) configuring the application. Archetypes, of course, would eliminate that frustration completely by giving us an analog to the 'rails' script. Amen. Personally, I'd like to see a minimal CRUD app with various archetypes for different configurations under both Tomcat and JBoss. btw, Gavin, creating a Maven archetype takes no more than 10 mins, even if you know nothing about Maven. See http://maven.apache.org/guides/mini/guide-creating-archetypes.html for details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959382#3959382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959382 From do-not-reply at jboss.com Wed Jul 19 20:08:22 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 20:08:22 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Weblogic 91 and POJO Cache Message-ID: <20430487.1153354102927.JavaMail.jboss@colo-br-02.atl.jboss.com> oops , never got notified about your reply any way jboss-minimal.jar is the one which did the trick Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959383#3959383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959383 From do-not-reply at jboss.com Wed Jul 19 20:14:47 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 20:14:47 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <26340586.1153354487494.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Thanks for your reply, Here is what I get on the weblogic server. I was getting errors on the jconsole side also which are not coming now after I started it with the following set up, Let me know what more information I need to provide. I am using spring to export the pojo cache as mbean to weblogic mbean server. jconsole -J-classpath -JC:\bea91\weblogic91\server\lib\wljmxclient. jar;C:\bea91\jdk150_04\lib\jconsole.jar;C:\jboss-cache\JBossCache-1.3.0.SP2\lib-50\jboss-ca che-jdk50.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959384#3959384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959384 From do-not-reply at jboss.com Wed Jul 19 20:28:31 2006 From: do-not-reply at jboss.com (qqchuck) Date: Wed, 19 Jul 2006 20:28:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <22595206.1153355311671.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry if I'm being unclear, but I also understand how unclear things can be in a technical world! (As an aside, I've been doing Java for 9 years solid now, so I'm fairly experienced, but just need help with this particular engine) "My question would then be: What is your definition of trivial? I've created some processes that others would call difficult/non-trival but I think the're trivial." Think of it as: 1. The example "Hello world" type project offered by the tutorial developers. 2. Add timers, forks, joins, and say... at least 10 total nodes. 3. Add experience troubleshooting and using in a production environment under at least a minimum load of say... 3-4 users. 4. A "nice to have" feature of a developer would be using jBPM without having used it inside JBoss, but that's not required. (I'm working on getting them to JBoss, and this project should help, but for now, we have to use another container - which you shouldn't have to worry about too much -- I can tie them together.) The rest of any questions and convo could be handled in a 5-10 minute phone convo, so if anyone would like me to contact them about this engagement, like I said above, convince me in the first 3-6 sentences of your email that you've got some of the above, and I'll respond to you and we'll get on the phone and quickly figure out if were a potential match or not. I won't waste your time. Email me here: qqchuck-site at yahoo dot com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959385#3959385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959385 From do-not-reply at jboss.com Wed Jul 19 20:31:35 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 19 Jul 2006 20:31:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Problem starting converstaion and setting state from HTTP GE Message-ID: <9436367.1153355495336.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a simple page using the standard login form using j_security_check. JBoss is configured to authenticate against an LDAP server. Once authenticated the is rendered and it simply does this... When index.jsf is rendered I need some data retrieved from the database so I can display it immeditately. That's where I have a problem. I can't get the data loaded from the database and displayed in my page. I've tried all recommendations in Section 3.3 of the SEAM documentation. Nothing works. I'm sure I'm doing something wrong. Any ideas. Here's the code... | @Stateful | @Name("package") | public class PackageAction implements Package { | | @DataModel | private List packages = null; | | @PersistenceContext(unitName="DC") | private EntityManager em; | | | public PackageAction() {} | | @Begin(join=true) @Create | public void load() { | packages = em.createQuery("from PackageEntity").getResultList(); | } | | @Destroy @Remove | public void destroy() {} | } | I even added a pages.xml file like so... | | | | and that doesn't work either. Here's the web page... | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... | | | | | | Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959386#3959386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959386 From do-not-reply at jboss.com Wed Jul 19 20:32:31 2006 From: do-not-reply at jboss.com (lhoriman) Date: Wed, 19 Jul 2006 20:32:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Is Map allowed as @CollectionOfElements? Message-ID: <14764744.1153355551228.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to have a @CollectionOfElements which is a Map? Using JBoss 4.0.4.GA: @CollectionOfElements | @JoinColumn(name="blahId") | @MapKey(name="foo") | Map things; | | (Thing is @Embeddable) Gives me: org.hibernate.AnnotationException: Associated class not found: com.kink.heart.entity.Thing | at org.hibernate.cfg.annotations.MapBinder.bindKeyFromAssociationTable(MapBinder.java:95) | at org.hibernate.cfg.annotations.MapBinder.access$000(MapBinder.java:55) | at org.hibernate.cfg.annotations.MapBinder$1.secondPass(MapBinder.java:78) | at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) | ... If I change the collection type to Set, everything works. Is Map not supported? Will it be in the future? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959387#3959387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959387 From do-not-reply at jboss.com Wed Jul 19 20:35:42 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Wed, 19 Jul 2006 20:35:42 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <17299383.1153355742349.JavaMail.jboss@colo-br-02.atl.jboss.com> The definition is actually from Hibernate's perspective. I remember Steve has explained to me briefly but it doesn't click now. I will ask him if he can comment on this since many people would be interested. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959389#3959389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959389 From do-not-reply at jboss.com Wed Jul 19 20:37:57 2006 From: do-not-reply at jboss.com (tushardesai22) Date: Wed, 19 Jul 2006 20:37:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <19422443.1153355877103.JavaMail.jboss@colo-br-02.atl.jboss.com> Galvin I have following files for Event sessions. EventEditor.java EventEditorBean.java EventFinder.java EventFinderBean.java EventSelector.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959391#3959391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959391 From do-not-reply at jboss.com Wed Jul 19 20:45:58 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Wed, 19 Jul 2006 20:45:58 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <23506279.1153356358342.JavaMail.jboss@colo-br-02.atl.jboss.com> Seems to me you are trying to serialize the whole cache instance somehow? PojoCache itself has corresponding MBean that you should be able to view it from jconsole though so why do via Spring? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959392#3959392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959392 From do-not-reply at jboss.com Wed Jul 19 21:05:47 2006 From: do-not-reply at jboss.com (eltonk) Date: Wed, 19 Jul 2006 21:05:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: CGLIB ERROR: ClassCastExcepion in my Bean Message-ID: <5034367.1153357547452.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry... wrong room View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959393#3959393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959393 From do-not-reply at jboss.com Wed Jul 19 21:06:09 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 19 Jul 2006 21:06:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <3348452.1153357569064.JavaMail.jboss@colo-br-02.atl.jboss.com> dumming down the question...i really need to do this when the pages loads and without the user doing anything public void load() { packages = em.createQuery("from PackageEntity").getResultList(); } then display the result of the query in a dataTable. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959394#3959394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959394 From do-not-reply at jboss.com Wed Jul 19 21:22:07 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 21:22:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <7668133.1153358527307.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmm, I just tried this. How does one do it correctly? A simple implementation of that falls into an infinite loop between the browser and Seam/Faces: There's a "login.xhtml" page associated with a "login" action and a "groups.xhtml" page associated with a "groups" action. After a successful login, the application should take you to the groups page. The very first time the groups page is invoked, it detects that the user is not logged in and correctly redirects to the login page. However, after the successful login, it seems that the page action and the faces navigation just bounce back and forth with the browser. pages.xml: | | | | faces-config.xml snippet: | | login | /login.xhtml | | | | groups | /groups.xhtml | | | snippet of the group manager bean: | @Stateful | @Name("groupManager") | @Scope(SESSION) | @LoggedIn | public class GroupManagerBean implements GroupManager, Serializable { | ... | public String forceLogin() { | String forcedAction; | if ( LoggedInInterceptor.isLoggedIn() ) { | forcedAction = "groups"; | } | else { | forcedAction = "login"; | facesMessages.add("#{messages.infoLoginRequired}"); | } | System.out.println("GroupManagerBean.forceLogin() returning "+forcedAction); | return forcedAction; | } | ... | } | LoggedInInterceptor.java snippet | @Around({BijectionInterceptor.class, ValidationInterceptor.class, | ConversationInterceptor.class, BusinessProcessInterceptor.class}) | @Within(RemoveInterceptor.class) | public class LoggedInInterceptor { | | ... | | public static boolean isLoggedIn() { | boolean isLoggedInNow = Contexts.getSessionContext().get("loggedIn")!=null; | System.out.println("LoggedInInterceptor.isLoggedIn() returning "+isLoggedInNow); | return isLoggedInNow; | } | | } | console output: | 17:59:44,976 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning false | 18:00:07,210 INFO [STDOUT] LoginAction.login() returning groups | 18:00:07,226 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,226 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,226 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,242 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,242 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,242 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,257 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,257 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,257 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,273 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,288 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,288 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | 18:00:07,304 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,304 INFO [STDOUT] LoggedInInterceptor.isLoggedIn() returning true | 18:00:07,304 INFO [STDOUT] GroupManagerBean.forceLogin() returning groups | . | . | . | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959395#3959395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959395 From do-not-reply at jboss.com Wed Jul 19 21:25:02 2006 From: do-not-reply at jboss.com (hchafi) Date: Wed, 19 Jul 2006 21:25:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation Message-ID: <29909020.1153358702019.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply, I appreciate all the hard work. BTW, your javaone presentation was extremely entertaining. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959396#3959396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959396 From do-not-reply at jboss.com Wed Jul 19 21:43:18 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 21:43:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation Message-ID: <933695.1153359798964.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959397#3959397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959397 From do-not-reply at jboss.com Wed Jul 19 21:43:46 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 19 Jul 2006 21:43:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - I have come to the conclusion that Page Actions do not work Message-ID: <16408441.1153359826341.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone else with the same experience...and how did you work around this to get the behavior that page actions are supposed to give. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959398#3959398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959398 From do-not-reply at jboss.com Wed Jul 19 22:00:26 2006 From: do-not-reply at jboss.com (seemap) Date: Wed, 19 Jul 2006 22:00:26 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <26767454.1153360826303.JavaMail.jboss@colo-br-02.atl.jboss.com> The output of jar -tf day05_signon.jar is META-INF/ META-INF/MANIFEST.MF day05/ day05/InvalidLoginException.class day05/SignOn.class day05/SignOnEJB.class day05/SignOnHome.class META-INF/ejb-jar.xml META-INF/jboss.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959399#3959399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959399 From do-not-reply at jboss.com Wed Jul 19 22:08:41 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 22:08:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - how to configure a session bean managing entity beans with @ Message-ID: <1293342.1153361321159.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to have a web page where a user can manage "groups" that he or she belongs to. There are entity beans for users and groups, which have a @ManyToMany relationship (where I've set the user as the owning side). The MessageManagerBean class in the examples seemed very similar to what I need, so I started with that and made a "groupManager" stateful session bean; the user is injected from having logged in and the @DataModel is a list of the groups that the user belongs to. The user entity bean has a collection of groups and the group entity bean has a collection of users, with appropriate EJB3 annotations. When I try to bring up the group management page that references the group manager bean, I get: | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.orgmob.member.User.groups, no session or session was closed | I looked at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85894&start=0, which seems to suggest using eager fetching for this, but since there's a many-to-many relationship, I'd have the risk of pulling the entire user and group tables into memory, wouldn't I? What's the right approach for this? Thanks in advance and apologies if I've missed previously posted discussion or documentation or am misunderstanding eager fetching. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959400#3959400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959400 From do-not-reply at jboss.com Wed Jul 19 22:09:28 2006 From: do-not-reply at jboss.com (chanyungwan) Date: Wed, 19 Jul 2006 22:09:28 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Singleton Failover Message-ID: <13392752.1153361368401.JavaMail.jboss@colo-br-02.atl.jboss.com> There are totally 3 singletons. Make it simple, may be we use 1 singleton to illustrate the scenario. What I mean the "long" time for launching it in 2nd case is that the singleton almost needs 2 - 3 minutes for being completion of running its constructor and "startSingleton" method defined in jboss-service.xml, then finally the new cluster view is built. You can see the following log in 2nd node once I quit the master node using "Ctrl-C": : : : 10:02:17,628 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 10:02:18,030 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 10:02:18,143 INFO [JkMain] Jk running ID=0 time=0/249 config=null 10:03:20,704 INFO [STDOUT] calling singleton constructor 10:05:21,489 INFO [STDOUT] starting singleton... 10:07:21,572 INFO [ServiceModule] Registration is not done -> stop 10:07:21,641 INFO [EmmgClusterPartition] New cluster view (id: 2, delta: -1) : [192.168.10.231:1099] 10:07:21,642 INFO [EmmgClusterPartition:ReplicantManager] Dead members: 1 Since there are 3 singletons in my case, so the total time for "completing" their activation is about 10 minutes. It's really a big problem for us!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959401#3959401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959401 From do-not-reply at jboss.com Wed Jul 19 22:09:55 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 22:09:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <20484498.1153361395818.JavaMail.jboss@colo-br-02.atl.jboss.com> title truncated: should have ended: ... at ManyToMany View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959402#3959402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959402 From do-not-reply at jboss.com Wed Jul 19 22:17:47 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 19 Jul 2006 22:17:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <5257084.1153361867338.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't use the session-scoped user for updating admin data. Load a different User instance into the conversation scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959403#3959403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959403 From do-not-reply at jboss.com Wed Jul 19 22:27:37 2006 From: do-not-reply at jboss.com (djroger_nc) Date: Wed, 19 Jul 2006 22:27:37 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Transaction is not active Message-ID: <1786304.1153362457356.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey Sumonwai, Did you get any luck resolving the issue. I am running into a similar error, and I am out of ideas. My log says: 2006-07-19 17:13:13,703 ERROR [JMS SessionPool Worker-4] Could not create a session: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=SERVER1/114429, BranchQual=, localId=114429] javax.jms.JMSException: Could not create a session: javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=SERVER1/114429, BranchQual=, localId=114429] at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392) at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) at MyAppEJBUtils.MyAppEJBUtils.sendMessage(MyAppEJBUtils.java:190) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959404#3959404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959404 From do-not-reply at jboss.com Wed Jul 19 22:35:35 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 22:35:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <29277786.1153362935373.JavaMail.jboss@colo-br-02.atl.jboss.com> Spring is exporting the PojoCache(TreeCacheAop) to the Weblogic MBean Server , All the JMX opertations like registration of mbeans are handled by spring, The PojoCache is also running on the weblogic server itself and not stand alone. Did I answer your question ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959405#3959405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959405 From do-not-reply at jboss.com Wed Jul 19 22:38:39 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 22:38:39 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <5926069.1153363119142.JavaMail.jboss@colo-br-02.atl.jboss.com> This is the actual configuration I am using for spring weblogic weblogic weblogic.management.remote View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959406#3959406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959406 From do-not-reply at jboss.com Wed Jul 19 22:41:16 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Wed, 19 Jul 2006 22:41:16 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <16348653.1153363276749.JavaMail.jboss@colo-br-02.atl.jboss.com> opps ..how do i post a xml ..wanted to post the spring xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959407#3959407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959407 From do-not-reply at jboss.com Wed Jul 19 23:04:22 2006 From: do-not-reply at jboss.com (yantriki) Date: Wed, 19 Jul 2006 23:04:22 -0400 (EDT) Subject: [jboss-user] [Remoting] - InvokerLocator binding? Message-ID: <4140986.1153364662200.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems like when I create an invoker locator using "localhost", only clients on the same machine can connect to it. When I bind using hostname, only clients connecting using hostname can connect to it and if a local client uses "localhost" n the InvokerLocator URI, it fails to bind. If suppose I am running jboss on a machine with multiple IP address and I want to invoker proxy to bind to all the network interfaces. Should I be able to use the jboss server default binding value of "0.0.0.0" to bind to all interfaces? Will this work with a jboss remoting server running outside of jboss? Appreciate your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959408#3959408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959408 From do-not-reply at jboss.com Wed Jul 19 23:06:39 2006 From: do-not-reply at jboss.com (kgrjb) Date: Wed, 19 Jul 2006 23:06:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB injection gives null Message-ID: <16656296.1153364799518.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks for reply. if you mean package of the classes then my classes have not changed package. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959409#3959409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959409 From do-not-reply at jboss.com Wed Jul 19 23:12:51 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 19 Jul 2006 23:12:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <33136579.1153365171703.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the prompt response, Gavin. I'll try something with the @Role annotation as suggested by the "Components with multiple roles" section of the reference. It's late enough here that I think I'll try tomorrow morning so as not to inflict unintended damage. :-) [semi-non-sequitur:] I am still stumped with suggestion to use page actions for stopping unlogged-in users from seeing pages, since it gave me an infinite server/browser redirect loop (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87118)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959410#3959410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959410 From do-not-reply at jboss.com Wed Jul 19 23:21:22 2006 From: do-not-reply at jboss.com (bluetrade) Date: Wed, 19 Jul 2006 23:21:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <19706571.1153365682609.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, sorry, of course Out won't be used... Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959411#3959411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959411 From do-not-reply at jboss.com Wed Jul 19 23:24:16 2006 From: do-not-reply at jboss.com (bluetrade) Date: Wed, 19 Jul 2006 23:24:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - s:link & class Message-ID: <23941329.1153365856664.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, is there any way to alter the s:link output to include a custom "class" attribute? Or if that doesn't work, to use a custom id attribute, if I add the id attribute seam always prepends it... Thanks joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959412#3959412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959412 From do-not-reply at jboss.com Wed Jul 19 23:38:55 2006 From: do-not-reply at jboss.com (markfrench) Date: Wed, 19 Jul 2006 23:38:55 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - HASingleton Services on 4.0.4 not working Message-ID: <1309851.1153366735827.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a number of schedulable services which need to run as HA Singletons. I have added the following line to their service descriptors: jboss.ha:service=HASingletonDeployer,type=Barrier When I fire up jboss they are created but never scheduled at all. Removing the above attribute and they run as expected. The following are the service descriptors: | | | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.FrequencyEventSchedulable | NOW | -1 | 60000 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.MetricEventSchedulable | NOW | -1 | 60000 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.DurationEventSchedulable | NOW | -1 | 60000 | eventmanager:service=initialisation | | | | jboss.ha:service=HASingletonDeployer,type=Barrier | true | com.transtoll.modules.eventmanager.schedulables.jboss.MetricPersistenceSchedulable | NOW | -1 | 60000 | eventmanager:service=initialisation | | Any thoughts as to what I'm doing wrong? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959413#3959413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959413 From do-not-reply at jboss.com Wed Jul 19 23:39:11 2006 From: do-not-reply at jboss.com (snau2005) Date: Wed, 19 Jul 2006 23:39:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - How engine extract s Generic Type on runtime Message-ID: <5730480.1153366751427.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm wondering how EJB engine extracts on runtime Class information from List, as I know such info is erased on runtime (Generics rules Java 5), in given example how to get SomeClass.class ?! @OneToMany(mappedBy = ?someField?) | public List someClasses; | Or I'm wrong and this is possible (How?)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959414#3959414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959414 From do-not-reply at jboss.com Wed Jul 19 23:58:26 2006 From: do-not-reply at jboss.com (gus888) Date: Wed, 19 Jul 2006 23:58:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - broken column mapping exception on @OneToOne mapping Message-ID: <33031432.1153367906760.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I got an exception on my entity mappings. The codes are as follows:table test ( | id | name | ) | | table deleted_test ( | test_id | person_id | deleted_date | ) | | @Embeddable | class PK { | int test_id; | int person_id; | ... | } | | @Entity | @Table(name="deleted_test") | class DeletedTest { | PK pk; | Test test; | Person person; | ... | @EmbeddedId | public PK getPk(){ | return pk; | } | ...setPk... | | @OneToOne(cascade=CascadeType.ALL,fetch=FetchType.EAGER) | @JoinColumn(name="Test_ID", nullable = false, insertable = false, updatable = false) | public Test getTest() { | return test; | } | public void setTest(Test Test) { | this.test = test; | } | | @ManyToOne | @JoinColumn(name="PERSON_ID", nullable=false, insertable = false, updatable = false) | public Person getPerson() { | return person; | } | | public void setPerson(Person person) { | this.person = person; | } | ... | } When I run it on JBoss4.0.4GA and EJB3 RC8, I always got the following exceptions: org.hibernate.MappingException: broken column mapping for: test.id of: DeletedTest | at org.hibernate.persister.entity.AbstractPropertyMapping.initPropertyPaths(AbstractPropertyMapping.java:122) | at org.hibernate.persister.entity.AbstractPropertyMapping.initIdentifierPropertyPaths(AbstractPropertyMapping.java:176) | at org.hibernate.persister.entity.AbstractPropertyMapping.initPropertyPaths(AbstractPropertyMapping.java:160) | at org.hibernate.persister.entity.AbstractEntityPersister.initOrdinaryPropertyPaths(AbstractEntityPersister.java:1628) | at org.hibernate.persister.entity.AbstractEntityPersister.initPropertyPaths(AbstractEntityPersister.java:1656) | at org.hibernate.persister.entity.AbstractEntityPersister.postConstruct(AbstractEntityPersister.java:2699) | at org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:386) | at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:223) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | 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) | However,if I changed the test mapping to ManyToOne from OneToOne, no exceptions occured. I want to know the OneToOne mapping here is wrong or not. I appreciate any directions. Thank you in advance. GUS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959415#3959415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959415 From do-not-reply at jboss.com Thu Jul 20 00:03:07 2006 From: do-not-reply at jboss.com (steve.ebersole@jboss.com) Date: Thu, 20 Jul 2006 00:03:07 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <20878347.1153368187597.JavaMail.jboss@colo-br-02.atl.jboss.com> Hence the reason I javadoc'ed most of this terminology :) http://fisheye.jboss.com/viewrep/Hibernate/trunk/Hibernate3/src/org/hibernate/cache/CacheConcurrencyStrategy.java?r=9247 >From our understanding, the problem with using JBoss Cache in conjunction with either a read-write or non-strict-read-write concurrency strategy is the need to interact with the cache during afterCompletion callbacks especially in the case of using JTA. Thus the supported concurrency strategies for use with JBossCache are read-only or transactional. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959416#3959416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959416 From do-not-reply at jboss.com Thu Jul 20 00:16:43 2006 From: do-not-reply at jboss.com (Basel) Date: Thu, 20 Jul 2006 00:16:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Any luck with JSF 1.2_01(jsf-1.2_01-b04-FCS) RI? Message-ID: <21462921.1153369003799.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an application that works just fine with JSF 1.2 RI. However, updating to the new release, jsf-1.2_01-b04-FCS, caused problems with some pages. The pages are rendered but with no data. JBoss console does not show any error messages so I am not sure what the problem is. Please let me know if you want me to post any code excerpts or specific entries from JBoss log file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959417#3959417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959417 From do-not-reply at jboss.com Thu Jul 20 00:19:48 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Thu, 20 Jul 2006 00:19:48 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: InvokerLocator binding? Message-ID: <30457631.1153369188845.JavaMail.jboss@colo-br-02.atl.jboss.com> If you use 0.0.0.0 as the bind address, the server invoker will bind to it (meaning 0.0.0.0 will show as the address for specified port in use via netstat). However, which pysical network interface that is used is "random" in that a network interface that is local will be choosen from the PCB table. http://www.cs.rutgers.edu/~pxk/rutgers/notes/pdf/02r-sockets.pdf explains this in detail. Using 0.0.0.0 is the same inside or outside or jbossas (i.e. remoting stand alone). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959418#3959418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959418 From do-not-reply at jboss.com Thu Jul 20 00:31:40 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Thu, 20 Jul 2006 00:31:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless search to stateful conversation Message-ID: <9181516.1153369900802.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've tried this. When the page action is executed, the request parameter is not present yet. A simple example: ViewDocument: | @Local | public interface ViewDocument { | void selectDocument(); | void destroy(); | } | ViewDocumentAction: | @Stateful | @Name("viewDocumentAction") | @Scope(ScopeType.CONVERSATION) | public class ViewDocumentAction implements ViewDocument { | | @RequestParameter | private Integer documentId; | | @Begin | public void selectDocument() { | System.out.println("documentId [" + documentId + "]"); | if (documentId == null) { | throw new IllegalStateException("DocumentId is null"); | } | } | | @Remove @Destroy @End | public void destroy() { | | } | | } | Invoked from: | | | | | pages.xml | | | | 06:26:49,735 INFO [STDOUT] documentId [null] 06:26:49,735 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.el.EvaluationException: Exception while invoking expression #{viewDocumentAction.selectDocument} .... Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: DocumentId is null at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.ja va:69) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959419#3959419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959419 From do-not-reply at jboss.com Thu Jul 20 00:37:30 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Thu, 20 Jul 2006 00:37:30 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <338351.1153370250982.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using jboss-messaging-1.0.1.CR3. Does it include the refactoring you have mentioned? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959420#3959420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959420 From do-not-reply at jboss.com Thu Jul 20 00:41:08 2006 From: do-not-reply at jboss.com (ThorntonD) Date: Thu, 20 Jul 2006 00:41:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portal Forums Release For Portal 2.4 Message-ID: <12111407.1153370468180.JavaMail.jboss@colo-br-02.atl.jboss.com> To make it easier for people to download and test both the portal and the forums, can someone provide a forums release with each portal 2.4 release. http://labs.jboss.com/portal/jbossportal/download/index.html I built and deployed the latest forums from CVS but it did not work with the 2.4 CR2 release. It will be a few days before I have time to dig into the details. Danny http://www.soamodeling.org View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959421#3959421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959421 From do-not-reply at jboss.com Thu Jul 20 00:44:04 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Thu, 20 Jul 2006 00:44:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w Message-ID: <32154255.1153370644812.JavaMail.jboss@colo-br-02.atl.jboss.com> Well - if you give us some ideas (i.e. 'working' code) that illustrates your concerns we may be able to help out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959422#3959422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959422 From do-not-reply at jboss.com Thu Jul 20 01:05:16 2006 From: do-not-reply at jboss.com (Holger Prause) Date: Thu, 20 Jul 2006 01:05:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <24734963.1153371916506.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : If you really _have_ to have transparent lazy fetching of data off of the user, combined with caching of that data then create a session-scoped managed persistence context. | | There are a couple of ways to do this, but the easiest is to use Seam 1.1 CVS build and throw the following in components.xml: | | | | java:/myEntityManagerFactory | | | | | | Hello, i want to use the approache mentionend above but i have some questions regarding this. | | 1) | What does "myEntityManagerFactory" means in this context, is that the value of the "jboss.entity.manager.factory.jndi.name" property described in my persistence.xml ? | | | | java:/myEntityManagerFactory | | | | 2) how can i use this(java side)? | | Should i use | | @PersistenceContext | private EntityManager em; | | or (adepting your example nr1) | | @In(create=true) | private EntityManager userDatabase; | | | Thank u very much, | | Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959423#3959423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959423 From do-not-reply at jboss.com Thu Jul 20 01:39:05 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Thu, 20 Jul 2006 01:39:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Logging Configuration Message-ID: <19329255.1153373945557.JavaMail.jboss@colo-br-02.atl.jboss.com> JBOSS_HOME/server/[server-name]/conf Look at the log4j.xml file that is already present and configure as required. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959424#3959424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959424 From do-not-reply at jboss.com Thu Jul 20 01:42:30 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 20 Jul 2006 01:42:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Inject EL Results Message-ID: <3092793.1153374150277.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, okok, perhaps my yesterday's post was a little bit confusing. I'll give it another try with totally other words. In Facelets, you can use the ui:include tag to embed components, and you can use ui:param to pass arguments to that components. Inside the included component, the arguments are accessible via EL without any problem, but they are not injectable to seam components. So I suppose that there is some kind of local variable storage in Facelets, which is not accessible from Seam. I can imagine several solutions for this: - I am perfectly wrong and there is just a mistake I made somewhere - Modify Seam so that it can access to that local variable storage - Add a custom tag which allows to store an EL result in a context variable (so that I can copy them over to something which is visible for Seam) - Add something else so that I can inject the result of an EL expression What do you think? Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959425#3959425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959425 From do-not-reply at jboss.com Thu Jul 20 01:46:06 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Thu, 20 Jul 2006 01:46:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Logging Configuration Message-ID: <25407908.1153374366601.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959426#3959426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959426 From do-not-reply at jboss.com Thu Jul 20 01:53:07 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 20 Jul 2006 01:53:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <19946430.1153374787096.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks right to me. Right before groups.xhtml is rendered the page action is triggered, the result of the page action sends you back to groups.xhtml and triggers the page action, which sends you back... Try having your page action return "login" if you need a login and null if not. I think that'll work better. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959427#3959427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959427 From do-not-reply at jboss.com Thu Jul 20 01:54:57 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Thu, 20 Jul 2006 01:54:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <24100626.1153374897522.JavaMail.jboss@colo-br-02.atl.jboss.com> "PeterJ" wrote : In Explorer, under Tools | Folder Options, in the View tab, is 'Restore previous folder windows at logon' checked? No, it's not checked. "PeterJ" wrote : ...that you are seeing an Explorer window opening at the JBoss home directory. You are right, this is precisely the problem. "PeterJ" wrote : It would help to have a more thorough description of the window in question (i.e., window title text, text within window, buttons displayed, etc.). explorer window title: C:\Program View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959428#3959428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959428 From do-not-reply at jboss.com Thu Jul 20 02:13:03 2006 From: do-not-reply at jboss.com (kulk_anand) Date: Thu, 20 Jul 2006 02:13:03 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Could not start JBoss 4.0.4 Message-ID: <9151274.1153375983057.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I downloaded JBoss4.0.4 as jboss-4.0.4.GA.zip file. I extracted it on c:\ Now I want to start JBoss, hence I set JAVA_HOME env and run the run.bat file from C:\jboss-4.0.4.GA\bin When I run the run.bat file, it gives me lots of errors. Mainly gives me 2 errors 1) comp not found 2) Port 8080 is already in use I could start JBoss3.0.8 vesion but JBoss4.0.4 is giving me errors. Can somebody tell me how to start JBoss4.0.4? regards, Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959430#3959430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959430 From do-not-reply at jboss.com Thu Jul 20 02:13:13 2006 From: do-not-reply at jboss.com (jwiesmann) Date: Thu, 20 Jul 2006 02:13:13 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Strange java.lang.ClassCastException: org.jboss.axis.Message Message-ID: <24934004.1153375993337.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, i searched the whole forum, but i was not able to find a problem like this. Maybe anybody can help me finding a solution. I want to use a webservice to get some information from a iis server. I am using jboss 4.0.2. If i write a main method and just let my source run, everything works fine. If i trie to do the same with jboss, i will get a class cast exception. The error is the following: My "local - console" class is: org.apache.axis.Message if i start the server, it uses: org.jboss.axis.Message and tries to set the message @ the apache.axis.MessageContext, which ends with a class cast exception. If i replace jboss-saaj.jar and jboss-jarprc.jar with saaj.jar and jarpc.jar from apache.org it all works fine. But i do not know what happends to the rest of my jboss installation, if i just replace those two jar files... but just let some code show u what i mean: in a console / eclipse (right click, run as java application) | Service service = new Service(); | Call call = (Call) service.createCall(); | call.setPassword(password); | call.setUsername(userName); | call.setTargetEndpointAddress(new java.net.URL(endPointUrl)); System.out.println(call.getMessageContext()); // org.apache.axis.MessageContext System.out.println(msg.getClass().getName());// org.apache.axis.Message | call.getMessageContext().setMessage(msg); | call.invoke(); | at my application server it looks like that: | Service service = new Service(); | Call call = (Call) service.createCall(); | call.setPassword(password); | call.setUsername(userName); | call.setTargetEndpointAddress(new java.net.URL(endPointUrl)); System.out.println(call.getMessageContext());//org.apache.axis.MessageContext System.out.println(msg.getClass().getName());//org.jboss.axis.Message | call.getMessageContext().setMessage(msg); // <-- classCastException | call.invoke(); | You see the differents ? It ones uses jboss and the othertime apache. Why is that so? I copied saaj.jar and jarpc.jar to my lib folder. any idea or hints for me ? Thx ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959431#3959431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959431 From do-not-reply at jboss.com Thu Jul 20 02:17:43 2006 From: do-not-reply at jboss.com (jijisv) Date: Thu, 20 Jul 2006 02:17:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Configuration to remove key Server from HTTP header Message-ID: <4545313.1153376263407.JavaMail.jboss@colo-br-02.atl.jboss.com> Ya.. I removed that from the header. I want to remove the Server also. I put a Valve in the request/reponse processing pipeline and tried to change value of the key Server. but wat i got is the key Server got added twice in the header. HTTP/1.1 200 OK | Server: Apache-Coyote/1.1 | Set-Cookie: JSESSIONID=BAEB56FBC19BEE1B1C5FECBBBEBA5C80; Path=/; Secure | | Stored cookie 192.168.3.156 443 / nonpermanent 1 Thu Jan 1 05:29:59 1970 | JSESSIONID BAEB56FBC19BEE1B1C5FECBBBEBA5C80 | Server: My Server | Content-Type: text/html | Content-Length: 0 | Date: Thu, 20 Jul 2006 08:25:34 GMT | Connection: keep-alive ...and my Source code is import javax.servlet.http.HttpServletResponse; | import java.io.IOException; | import javax.servlet.ServletException; | import org.apache.catalina.connector.Request; | import org.apache.catalina.connector.Response; | import org.apache.commons.logging.Log; | import org.apache.catalina.valves.ValveBase; | | public class KnHttpRequestFilterValve extends ValveBase { | | private static final String info = KnHttpRequestFilterValve.class.getName() + "/1.0"; | | public String getInfo() { | return info; | } | | public void invoke(Request request, Response response) | throws IOException, ServletException { | | Log log = container.getLogger(); | // process request | log.debug("Processing Request..."); | processRequest(request, response); | | // call next valve | getNext().invoke(request, response); | | // process response | log.debug("Processing Responses..."); | processResponse(request, response); | } | | private void processRequest(Request request, Response response) | throws IOException, ServletException { | } | | private void processResponse(Request request, Response response) | throws IOException, ServletException { | | if (response instanceof HttpServletResponse) { | ((HttpServletResponse)response).setHeader("Server", "My Server"); | } | } | } | ... and the valve configuration is | | | ....... | ....... I feel like the key Server is put in the last stage of response processing pipeline. Any idea to remove this ?? Thanks, Jiji View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959432#3959432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959432 From do-not-reply at jboss.com Thu Jul 20 02:18:08 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Thu, 20 Jul 2006 02:18:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <17041644.1153376288111.JavaMail.jboss@colo-br-02.atl.jboss.com> If an archetype means writing the pom, then it is planned (unfortunately i won't have the time before next week). It will take me much more that 10 minutes to define all the dependencies (and creating the pom files for them) without forgetting any, trust me ;) But if you can do it in 10 min i will be happy to include it to our Maven repository.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959433#3959433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959433 From do-not-reply at jboss.com Thu Jul 20 02:24:06 2006 From: do-not-reply at jboss.com (kulk_anand) Date: Thu, 20 Jul 2006 02:24:06 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - How to start JBoss 4.0.4 ? Message-ID: <15998053.1153376646355.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I downloaded JBoss4.0.4 as jboss-4.0.4.GA.zip file. I extracted it on c:\ Now I want to start JBoss, hence I set JAVA_HOME env and run the run.bat file from C:\jboss-4.0.4.GA\bin When I run the run.bat file, it gives me lots of errors. Mainly gives me 2 errors 1) comp not found 2) Port 8080 is already in use I could start JBoss3.0.8 vesion but JBoss4.0.4 is giving me errors. Can somebody tell me how to start JBoss4.0.4? regards, Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959435#3959435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959435 From do-not-reply at jboss.com Thu Jul 20 02:26:04 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Thu, 20 Jul 2006 02:26:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <11678473.1153376764857.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Check that port is already used by any other process. If so, stop that process and restart the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959437#3959437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959437 From do-not-reply at jboss.com Thu Jul 20 02:31:49 2006 From: do-not-reply at jboss.com (kulk_anand) Date: Thu, 20 Jul 2006 02:31:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <28827416.1153377109324.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am dam sure that the port 8080 is not in use. Also I tried to override the port to 8090 etc.. but it gives me the same error. Is there any change to be made in the configuration files before starting JBoss4.0.4 server? Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959438#3959438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959438 From do-not-reply at jboss.com Thu Jul 20 02:34:35 2006 From: do-not-reply at jboss.com (roberto) Date: Thu, 20 Jul 2006 02:34:35 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <16004214.1153377275107.JavaMail.jboss@colo-br-02.atl.jboss.com> Please tell me how to turn on log for that kind of informations. It's enought log for ContainerBase? This is the only one that I add to the standard log4j At this moment, in my log related to SSO i found only: | ... | 2006-07-19 16:08:17,140 DEBUG [org.jboss.web.tomcat.tc5.sso.TreeCacheSSOClusterManager] Successfully integrated with cache service jboss.cache:service=TomcatClusteringCache | ... | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for '/now/Main.jsp' | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Checking for cached principal for 5FA6BEF297272CD734130D4DAC707A4B | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Found cached principal 'user2' with auth type 'FORM' | 2006-07-19 16:35:17,578 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Associate sso id 5FA6BEF297272CD734130D4DAC707A4B with session SessionBasedClusteredSession[id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 lastAccessedTime: 1153319717328 version: 3 lastOutdated: 0] | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 jvmRoute: node1 | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id g+2eoqxmkoLfW7IYqRpxWQ**.node1 | 2006-07-19 16:35:17,578 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 3 and replicate. | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for '/now/ABSMenuIndex.jsp' | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Checking for cached principal for 5FA6BEF297272CD734130D4DAC707A4B | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Found cached principal 'user2' with auth type 'FORM' | 2006-07-19 16:35:17,703 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Associate sso id 5FA6BEF297272CD734130D4DAC707A4B with session SessionBasedClusteredSession[id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 lastAccessedTime: 1153319717578 version: 4 lastOutdated: 0] | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.JvmRouteValve] checkJvmRoute(): check if need to re-route based on JvmRoute. Session id: g+2eoqxmkoLfW7IYqRpxWQ**.node1 jvmRoute: node1 | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.JBossCacheManager] check to see if needs to store and replicate session with id g+2eoqxmkoLfW7IYqRpxWQ**.node1 | 2006-07-19 16:35:17,703 DEBUG [org.jboss.web.tomcat.tc5.session.ClusteredSession] processSessionRepl(): session is dirty. Will increment version from: 4 and replicate. | 200 | ..... | I hope this is useful Thanks Roberto View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959439#3959439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959439 From do-not-reply at jboss.com Thu Jul 20 02:40:42 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Thu, 20 Jul 2006 02:40:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <30593563.1153377642540.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, No other extra configuration is needed. Makesure no other JBoss instance is running, while starting the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959440#3959440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959440 From do-not-reply at jboss.com Thu Jul 20 02:44:21 2006 From: do-not-reply at jboss.com (szgrick) Date: Thu, 20 Jul 2006 02:44:21 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <14444473.1153377861416.JavaMail.jboss@colo-br-02.atl.jboss.com> I have some quesstion that i use hibernate code generation with oracle, type of INTEGER in oracle will be changed type of BigDecimal in generate coed.How to slove this quesstion.I want type of BigDecimal is int. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959441#3959441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959441 From do-not-reply at jboss.com Thu Jul 20 02:52:05 2006 From: do-not-reply at jboss.com (stephenlim) Date: Thu, 20 Jul 2006 02:52:05 -0400 (EDT) Subject: [jboss-user] [JBossWS] - How to retrieve client IP address? Message-ID: <9553943.1153378325948.JavaMail.jboss@colo-br-02.atl.jboss.com> I am currently using JBoss 4.0.4 GA Patch 1, where Axis Web Services is replaced by JBoss Web Services now. Previously i can use Axis's MessageContext class to retrieve client remote IP address, but not anymore in JBoss Web Services. Is anyone know the way to get the client remote IP address when they invoke the Web Services? Thanks in advance. Regards, StephenLim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959443#3959443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959443 From do-not-reply at jboss.com Thu Jul 20 02:53:51 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 20 Jul 2006 02:53:51 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <31545975.1153378431277.JavaMail.jboss@colo-br-02.atl.jboss.com> that is because the INTEGER type is bigger (or at least reported to be by the driver) than a java int. Setup your reveng.xml to map the type/column to whatever type you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959444#3959444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959444 From do-not-reply at jboss.com Thu Jul 20 02:56:26 2006 From: do-not-reply at jboss.com (mehulvyas) Date: Thu, 20 Jul 2006 02:56:26 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Add new attribute in jboss-service.xml. Plz help Message-ID: <24634786.1153378586529.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am already having a schedulable instance of MBean running on my JBoss. The jboss-service.xml is as follows: true :name=OrderPlacer perform( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME ) NOW 300000 -1 dd/MM/yyyy HH:mm Now I want to add a new attribute in the above. Can anyone please let me know how shall I go about it. I want a new attribute in xml above and use its value specified in my implementation class. Can anyone help me in this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959445#3959445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959445 From do-not-reply at jboss.com Thu Jul 20 02:59:17 2006 From: do-not-reply at jboss.com (mehulvyas) Date: Thu, 20 Jul 2006 02:59:17 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Adding new attribute to JBoss-Service.xml Message-ID: <8788540.1153378757546.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am having JBoss-service.xml as follows: | | | true | :name=OrderPlacer | perform( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME ) | NOW | 300000 | -1 | dd/MM/yyyy HH:mm | TLOG_EXPORT | I want to use this new attribute EXPORT_TYPE and its value in my implementation class. Can anyone suggest me how to go about it ? I already have a getter and setter in my MBean. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959446#3959446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959446 From do-not-reply at jboss.com Thu Jul 20 03:04:47 2006 From: do-not-reply at jboss.com (KickMeToAndy) Date: Thu, 20 Jul 2006 03:04:47 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Transaction Required Exception in EJB Client Message-ID: <27969601.1153379087286.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i am getting a javax.transaction.TransactionRequiredException: Transaction Required when i try to access (finder method call) my ejb cmp beans from a ejb client. In my client i am using the UserTransction to handle transactions : tx = (UserTransaction) jndiContext.lookup("UserTransaction"); | tx.begin(); | ..... | acces to my cmp bean | .... | tx.commit(); This works fine, when i access my cmp beans on a single jboss. however if my cmp beans are deployed in a jboss cluster im a getting the Exception above, accessing my cmp beans. The transaction type for my cmp beans is "Mandatory", i am using jboss 3.2.7. What can be the cause of my problem ? Is it possible that it has something to do with distributed transactions ? any ideas ? thanks in advance, Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959447#3959447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959447 From do-not-reply at jboss.com Thu Jul 20 03:08:41 2006 From: do-not-reply at jboss.com (samirgalsod) Date: Thu, 20 Jul 2006 03:08:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w Message-ID: <28776437.1153379321253.JavaMail.jboss@colo-br-02.atl.jboss.com> Eric, I had the same experience with previous versions of seam, but with 1.0.1.GA it works nice. In pages.xml (web-root/web/WEB-INF) | | | | In the backing bean: | @Name("orderBinding") | @Scope(EVENT) | public class OrderBindingBean { | | public String doIt() { | System.out.println("****************"); | System.out.println("* it works********"); | System.out.println("****************"); | return null; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959448#3959448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959448 From do-not-reply at jboss.com Thu Jul 20 03:10:55 2006 From: do-not-reply at jboss.com (be082032) Date: Thu, 20 Jul 2006 03:10:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam annotations in components called from a jbpm proces Message-ID: <19120245.1153379455392.JavaMail.jboss@colo-br-02.atl.jboss.com> (2) Why do I want to do this: Most of the participants in our workflow process are computers, not humans. The process is about ingesting video on demand movies, having them encrypted on one machine, after this informing a middleware server on another machine, after this store the encrypted movie on a VOD server etc... This is an automatic process in which each step can take hours. We do not want to have to restart the encryption when something fails on the VOD server, we want to be able to resume the process from the last sucessfull step. We are using a system like this based on jbpm 2.0 (it is running in the field now for more than a year, with success). In this system, we had the participating computers poll jBPM to see if there were states in a process on which they had to act (just like humans would in a GUI). What I wanted to achieve now, is replace the polling mechanism by calling the computer participants from the jbpm process. (create a task for the computer system, assign it to that system and call the system to perform the task). If this is unproper, i will stick to the polling mechanism. Besides, I thing that there is another reason why I should stick to polling. As far as I can see, only tasks have priorities, and we should be able to give certain movie ingests priority over other ones. In the polling scenario, we can have the computer systems scan their task list and pick out the task with highest prio to start with. From what I understand , the jbpm process itself does not do much with the task priorities itself, am I correct in this? (1) There are 2 scenarios: a) The process is started by a seam componenent (metadataIngesterBean) that is called from a JSF page and the process calls this component from jbpm. In this case there is no stack trace, but the @EndTask is not executed. The process does not continue. b) The process calls another seam component (metadataIngesterBean2 , not the one that is called from the JSF page) and then I get a stack trace Here is the trace of the whole web request): 2006-07-20 08:40:56,554 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request 2006-07-20 08:40:56,554 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1124805{ url=null ,addedOrder=0} 2006-07-20 08:40:56,554 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 13641d6{ url=null ,addedOrder=0} 2006-07-20 08:40:56,570 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 11c5bb0{ url=null ,addedOrder=0} 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.core.Manager] No stored conversation 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.pageflow 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2) 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: metadataIngesterJavaBean 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.process 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.Component] instantiating Seam component: metadataIngesterJavaBean 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: taskInstance 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,570 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 13a694b{ url=null ,addedOrder=0} 2006-07-20 08:40:56,570 DEBUG [org.jboss.seam.Component] instantiating Seam component: jbpmContext 2006-07-20 08:40:56,586 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' 2006-07-20 08:40:56,586 DEBUG [org.jbpm.JbpmContext] creating JbpmContext 2006-07-20 08:40:56,586 DEBUG [org.jbpm.configuration.JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' 2006-07-20 08:40:56,586 DEBUG [org.jbpm.JbpmContext] creating JbpmContext 2006-07-20 08:40:56,586 DEBUG [org.jbpm.JbpmContext] closing JbpmContext 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.core.ManagedJbpmContext] created seam managed jBPM context 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,586 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1d6e289{ url=null ,addedOrder=0} 2006-07-20 08:40:56,586 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at b2abfc{ url=null ,addedOrder=0} 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.jbpm 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: businessProcessContext 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: processInstance 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.Component] instantiating Seam component: interpolator 2006-07-20 08:40:56,586 INFO [com.siemens.mcc.actor.metadataingester.MetadataIngesterJavaBean] Created process ? 2006-07-20 08:40:56,586 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,586 DEBUG [org.jbpm.persistence.db.DbPersistenceServiceFactory] creating persistence service 2006-07-20 08:40:56,586 DEBUG [org.jbpm.persistence.db.DbPersistenceService] creating hibernate session 2006-07-20 08:40:56,586 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 454bc7{ url=null ,addedOrder=0} 2006-07-20 08:40:56,586 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1721ae2{ url=null ,addedOrder=0} 2006-07-20 08:40:56,586 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 430af2{ url=null ,addedOrder=0} 2006-07-20 08:40:56,601 DEBUG [org.jbpm.graph.def.GraphElement] event 'process-start' on 'ProcessDefinition(mcc-ingest)' for 'Token(/)' 2006-07-20 08:40:56,601 DEBUG [org.jbpm.svc.Services] executing default save operations 2006-07-20 08:40:56,601 DEBUG [org.jbpm.svc.save.HibernateSaveOperation] saving process instance 2006-07-20 08:40:56,617 DEBUG [org.jbpm.svc.save.SaveLogsOperation] flushing logs to logging service. 2006-07-20 08:40:56,617 DEBUG [org.jbpm.svc.save.CascadeSaveOperation] cascading save of 'org.jbpm.graph.exe.ProcessInstance at 127b0d2' 2006-07-20 08:40:56,617 DEBUG [org.jbpm.graph.def.GraphElement] event 'before-signal' on 'StartState(start)' for 'Token(/)' 2006-07-20 08:40:56,617 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-leave' on 'StartState(start)' for 'Token(/)' 2006-07-20 08:40:56,617 DEBUG [org.jbpm.graph.def.GraphElement] event 'transition' on 'Transition(tr2)' for 'Token(/)' 2006-07-20 08:40:56,632 DEBUG [org.jbpm.graph.def.GraphElement] event 'node-enter' on 'TaskNode(task1)' for 'Token(/)' 2006-07-20 08:40:56,632 WARN [org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode - this operation breaks == 2006-07-20 08:40:56,632 DEBUG [org.jbpm.graph.def.GraphElement] event 'task-create' on 'Task(todo)' for 'Token(/)' 2006-07-20 08:40:56,664 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 14f02fb{ url=null ,addedOrder=0} 2006-07-20 08:40:56,664 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 4cc70e{ url=null ,addedOrder=0} 2006-07-20 08:40:56,679 DEBUG [org.jbpm.graph.def.GraphElement] event 'task-assign' on 'Task(todo)' for 'Token(/)' 2006-07-20 08:40:56,679 DEBUG [org.jbpm.graph.def.GraphElement] executing action '#{metadataIngesterJavaBean2.executeTask}' 2006-07-20 08:40:56,679 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1621a25{ url=null ,addedOrder=0} 2006-07-20 08:40:56,679 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,679 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2006-07-20 08:40:56,679 DEBUG [org.jboss.seam.Component] instantiating Seam component: metadataIngesterJavaBean2 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 910539{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at ee1aeb{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 295b9a{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 13d0493{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at f7757c{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 42299e{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1ba5edf{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 17a0b4d{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 4654f6{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 174202a{ url=null ,addedOrder=0} 2006-07-20 08:40:56,695 DEBUG [org.jbpm.jpdl.el.impl.BeanMethod] invoking expression method 'executeTask' 2006-07-20 08:40:56,711 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 16ea337{ url=null ,addedOrder=0} 2006-07-20 08:40:56,726 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 796a61{ url=null ,addedOrder=0} 2006-07-20 08:40:56,726 ERROR [org.jbpm.graph.def.GraphElement] action threw exception: couldn't evaluate expression '#{metadataIngesterJavaBean2.executeTask}' org.jbpm.JbpmException: couldn't evaluate expression '#{metadataIngesterJavaBean2.executeTask}' at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:37) at org.jbpm.graph.def.Action.execute(Action.java:119) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:289) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:263) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentActorIdExpr(TaskMgmtInstance.java:232) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:196) at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:199) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:148) at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:167) at org.jbpm.graph.def.Node.enter(Node.java:316) 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.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) at org.jbpm.graph.def.Node_$$_javassist_454.enter(Node_$$_javassist_454.java) at org.jbpm.graph.def.Transition.take(Transition.java:119) at org.jbpm.graph.def.Node.leave(Node.java:382) 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:585) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) at org.jbpm.graph.def.Node_$$_javassist_454.leave(Node_$$_javassist_454.java) at org.jbpm.graph.exe.Token.signal(Token.java:174) at org.jbpm.graph.exe.Token.signal(Token.java:123) at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) at org.jboss.seam.interceptors.BusinessProcessInterceptor.createProcess(BusinessProcessInterceptor.java:144) at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:107) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) at com.siemens.mcc.actor.metadataingester.MetadataIngesterJavaBean$$EnhancerByCGLIB$$86d897ab.startJbpmprocess() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.jbpm.jpdl.el.ELException: An error occurred while invoking method "executeTask" on an instance of class com.siemens.mcc.actor.metadataingester.MetadataIngesterJavaBean2$$EnhancerByCGLIB$$e66dc537 at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:485) at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:589) at org.jbpm.jpdl.el.impl.ArraySuffix.evaluate(ArraySuffix.java:290) at org.jbpm.jpdl.el.impl.ComplexValue.evaluate(ComplexValue.java:146) at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:264) at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191) at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34) ... 95 more 2006-07-20 08:40:56,742 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at a09a08, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 15321f0{ url=null ,addedOrder=0} 2006-07-20 08:40:56,742 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-todo].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.FacesException: Error calling action method of component with id _id0:_id1 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{metadataIngesterJavaBean.startJbpmprocess} at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 27 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:585) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) at org.jbpm.graph.def.Node_$$_javassist_454.leave(Node_$$_javassist_454.java) at org.jbpm.graph.exe.Token.signal(Token.java:174) at org.jbpm.graph.exe.Token.signal(Token.java:123) at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) at org.jboss.seam.interceptors.BusinessProcessInterceptor.createProcess(BusinessProcessInterceptor.java:144) at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:107) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) 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.seam.util.Reflections.invoke(Reflections.java:13) at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51) at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39) at com.siemens.mcc.actor.metadataingester.MetadataIngesterJavaBean$$EnhancerByCGLIB$$86d897ab.startJbpmprocess() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) ... 28 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:585) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) at org.jbpm.graph.def.Node_$$_javassist_454.enter(Node_$$_javassist_454.java) at org.jbpm.graph.def.Transition.take(Transition.java:119) at org.jbpm.graph.def.Node.leave(Node.java:382) at org.jbpm.graph.node.StartState.leave(StartState.java:70) ... 73 more Caused by: org.jbpm.graph.def.DelegationException at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:208) at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:199) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:148) at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:167) at org.jbpm.graph.def.Node.enter(Node.java:316) ... 82 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:585) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) at org.jbpm.graph.node.TaskNode_$$_javassist_425.raiseException(TaskNode_$$_javassist_425.java) at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:248) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:289) at org.jbpm.taskmgmt.exe.TaskInstance.setActorId(TaskInstance.java:263) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentActorIdExpr(TaskMgmtInstance.java:232) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:196) ... 86 more Caused by: org.jbpm.graph.def.DelegationException at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) ... 101 more Caused by: org.jbpm.JbpmException: couldn't evaluate expression '#{metadataIngesterJavaBean2.executeTask}' at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:37) at org.jbpm.graph.def.Action.execute(Action.java:119) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235) ... 93 more Caused by: org.jbpm.jpdl.el.ELException: An error occurred while invoking method "executeTask" on an instance of class com.siemens.mcc.actor.metadataingester.MetadataIngesterJavaBean2$$EnhancerByCGLIB$$e66dc537 at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:485) at org.jbpm.jpdl.el.impl.Logger.logError(Logger.java:589) at org.jbpm.jpdl.el.impl.ArraySuffix.evaluate(ArraySuffix.java:290) at org.jbpm.jpdl.el.impl.ComplexValue.evaluate(ComplexValue.java:146) at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:264) at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191) at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34) ... 95 more 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin call 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End call 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin call 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context 2006-07-20 08:41:33,790 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End call 2006-07-20 08:45:56,566 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=bez0971c/33, BranchQual=, localId=33] timed out. status=STATUS_ACTIVE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959449#3959449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959449 From do-not-reply at jboss.com Thu Jul 20 03:21:56 2006 From: do-not-reply at jboss.com (dlipski) Date: Thu, 20 Jul 2006 03:21:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Creating task instances Message-ID: <4827614.1153380116840.JavaMail.jboss@colo-br-02.atl.jboss.com> My mistake, sorry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959450#3959450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959450 From do-not-reply at jboss.com Thu Jul 20 03:30:06 2006 From: do-not-reply at jboss.com (jpremji) Date: Thu, 20 Jul 2006 03:30:06 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <21500958.1153380606710.JavaMail.jboss@colo-br-02.atl.jboss.com> With regard to the integer, yes that was a problem and i have added the following to the reveng.xml file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959451#3959451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959451 From do-not-reply at jboss.com Thu Jul 20 03:33:15 2006 From: do-not-reply at jboss.com (jpremji) Date: Thu, 20 Jul 2006 03:33:15 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <9889369.1153380795949.JavaMail.jboss@colo-br-02.atl.jboss.com> The question i am asking is if there is any way to change the reveng.xml file to include the generation of the @SequenceGenerator(name="TABLE_ID_SEQ",sequenceName="TABLE_ID_SEQ",allocationSize=1) annotation for each table and the @GeneratedValue(generator="TABLE_ID_SEQ") annotation or a template example that i can use to generate these items. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959453#3959453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959453 From do-not-reply at jboss.com Thu Jul 20 03:34:19 2006 From: do-not-reply at jboss.com (ottran75@yahoo.co.in) Date: Thu, 20 Jul 2006 03:34:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - To check for the unclosed connections and transaction termin Message-ID: <31365388.1153380859836.JavaMail.jboss@colo-br-02.atl.jboss.com> I have done the following in the server.xml and also uncommented the dependent in the jboss-service.xml. The question is how do i check for the unclosed connection will it be shown in the console or how???? Please help.... I am doing this since we are frequently getting No ManagedConnection problem.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959454#3959454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959454 From do-not-reply at jboss.com Thu Jul 20 03:41:33 2006 From: do-not-reply at jboss.com (doankhoavy) Date: Thu, 20 Jul 2006 03:41:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - the wstools from Ant task problem Message-ID: <21554928.1153381293958.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All I?m researching the Jbpm BPEL and tring to deloy the hello example in the user guide but I has have a problem at Ant task generate-service :process.template.xml:126:java.lang.ClassCastException: org.jbpm.graph.def. ProcessDefinition so that I switch to use the wstools I?m using Ant task to generate the webservices.xml, wsdl and jaxrpc-mapping.xml in the jdk1.5 enviroment.Tool to develop is Eclipse but I has have a following problem: wsdl: [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). [wstools] log4j:WARN Please initialize the log4j system properly. [wstools] org.jboss.xb.binding.JBossXBRuntimeException: Failed to get parser's XMLReader [wstools] at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:35) [wstools] at org.jboss.ws.tools.config.ToolsSchemaConfigReader.readConfig(ToolsSchemaConfigReader.java:131) [wstools] at org.jboss.ws.tools.WSTools.readToolsConfiguration(WSTools.java:139) [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:79) [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [wstools] at org.apache.tools.ant.Task.perform(Task.java:364) [wstools] at org.apache.tools.ant.Target.execute(Target.java:341) [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369) [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [wstools] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [wstools] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [wstools] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) [wstools] Caused by: org.jboss.xb.binding.JBossXBException: Failed to get parser's XMLReader [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.setFeature(SaxJBossXBParser.java:112) [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:71) [wstools] at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:46) [wstools] at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:31) [wstools] ... 15 more [wstools] Caused by: org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/schema [wstools] at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:204) [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.setFeature(SaxJBossXBParser.java:108) [wstools] ... 18 more BUILD FAILED D:\JBoss jBPM\mers-spring-wsdl\build.xml:658: Error running jbossws: And my config is wstools-config.xml: Would you like to help me this problem ? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959455#3959455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959455 From do-not-reply at jboss.com Thu Jul 20 03:42:41 2006 From: do-not-reply at jboss.com (dmrzh) Date: Thu, 20 Jul 2006 03:42:41 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Cant write blob >2000 byte Message-ID: <8571643.1153381361062.JavaMail.jboss@colo-br-02.atl.jboss.com> He I have problem. I deploy application. If data in blob > 2000 byte (2001 for example) then blob not write in db(null). This Happend when many data in database. With almost empty database all work ok. Set startup parameters not solve problem -Dhibernate.jdbc.use_streams_for_binary=true -Dhibernate.jdbc.batch_size=0 JBoss 4, Oracle 10g (10.2.0.1), EJB3. Dmitry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959456#3959456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959456 From do-not-reply at jboss.com Thu Jul 20 03:42:46 2006 From: do-not-reply at jboss.com (Knuffer) Date: Thu, 20 Jul 2006 03:42:46 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Restarting JBoss is deleting the server.log Message-ID: <22856632.1153381366501.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, the topic sais it all. Can this be avoided? A DailyRollingFileAppender is used... does someone have a hint where the problem might be? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959457#3959457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959457 From do-not-reply at jboss.com Thu Jul 20 03:46:59 2006 From: do-not-reply at jboss.com (regi.qwerty) Date: Thu, 20 Jul 2006 03:46:59 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Deployment Problem Message-ID: <25226907.1153381619827.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Everybody. I'm a Student and I'm trying to migrate my WSs from Tmcat+Axis to JBoss+JBossWS (for the WS-S implementation) I have read the user guide but I'm still having problems with the basic deploy operation. In Axis if I wanted to deploy a basic class like package miopackage; | public class SalutoWS { | public String saluto(String nome) { | return "Ciao "+nome+"!"; | } | } I create the WSDD file and i start the deployment. But how can i do in JBossWS? I follow the tutorial but I think that I'm making a sistematic mistake in the process... Somone can help me? (I'm only a student, excuseme for the stupid question :p ) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959458#3959458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959458 From do-not-reply at jboss.com Thu Jul 20 03:49:58 2006 From: do-not-reply at jboss.com (niesar) Date: Thu, 20 Jul 2006 03:49:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelets: Parameters to custom tags Message-ID: <31972333.1153381798755.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmm, still not sure if I really understand your problem exactly. However, I don't think it's possible to inject a temporary variable, which is created by JSF, into an arbitrary bean. But can't you do it the "usual" way? Let's keep the class name I invented before for a moment, namely "Kontozeile" for "kontozeile_iter" aka "konto" within kontoname.xhtml. if class Kontozeile has this method "public String getWert()" you showed in your first post, there should be no need to inject "konto" or "kontozeile_iter" anywhere. In that case you should be able to invoke that method with "#{konto.wert}" in kontoname.xhtml. ... or this way? again: "kontozeile_iter"/"konto" is of Class Kontozeile public class Kontozeile { | private Kontoname kontoname; | ... | //don't forget getters (and setters if required) for JSF public class Kontoname { | | public String getWert() { | return "this is what I really need"; | } If you can do it like that, you can access it with #{konto.kontoname.wert} within kontoname.xhtml. Is that no option for you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959459#3959459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959459 From do-not-reply at jboss.com Thu Jul 20 03:56:00 2006 From: do-not-reply at jboss.com (chris702) Date: Thu, 20 Jul 2006 03:56:00 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - no ejbXXX method calls on rollback for a BMP bean Message-ID: <19722710.1153382161006.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a question regarding the the ejbXXX method calls on rollback. In our BMP ? Beans, resources (DB-Connection) are closed within ejbLoad, ejbStore or ejbPassivate methods. If an rollback occurs due to an exception in a business method, none of the ejbXXX methods is called by the JBOSS container. Weblogic is calling ejbLoad and than ejbPassivate if a rollback occurs. It seems that the JBOSS container is not returning a bean instance to pool in the rollback case. Is this true? Is there a setting where I can changes the handling of the ejbXXX methods? THX for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959460#3959460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959460 From do-not-reply at jboss.com Thu Jul 20 03:56:41 2006 From: do-not-reply at jboss.com (dgutil) Date: Thu, 20 Jul 2006 03:56:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Cant get jBPM to work with oracle - please help Message-ID: <10013416.1153382201667.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello sameer_pa, I've had the same problem with the same version of the starter kit. First, if you have a look at the build.xml in the jbpm-db folder, you will find the target called "db.scripts". Now count the number of arguments passed to the org.jbpm.db.JbpmSchema java class. In my case there 5 arguments passed to it. | | | | | | | | | | | Second, open the org.jbpm.db.JbpmSchema java class in the jbpm\src\java.jbpm\org\jbpm\db folder and please have a look at the main method. You notice that it only deals with 1 or 3 arguments whereas the build.xml file passes 5 arguments to it. I simply added this test in the main method: else if ( (args!=null) | && (args.length>3) | && ("scripts".equalsIgnoreCase(args[0])) ) { | new JbpmSchema(JbpmSessionFactory.createConfiguration()).saveSqlScripts(args[1], args[2]); | | } Then I ran "ant mysql.scripts" and it worked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959461#3959461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959461 From do-not-reply at jboss.com Thu Jul 20 04:12:39 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 20 Jul 2006 04:12:39 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <12428544.1153383159211.JavaMail.jboss@colo-br-02.atl.jboss.com> you can use reveng.xml to configure the id generator for your tables. if that is not flexible enough for you then try and implement the logic in a custom revengstrategy impl or simply tweak the hbm.ftl templates. Note that i'm not sure if the annotation generation does ths correctly; so we might need to fix that. let me know if you bump into problems there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959465#3959465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959465 From do-not-reply at jboss.com Thu Jul 20 04:17:11 2006 From: do-not-reply at jboss.com (jwiesmann) Date: Thu, 20 Jul 2006 04:17:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Strange java.lang.ClassCastException: org.jboss.axis.Mes Message-ID: <28983384.1153383431328.JavaMail.jboss@colo-br-02.atl.jboss.com> It works, if i do it like that: | String systemPropMsgFactory = System.getProperty ("javax.xml.soap.MessageFactory"); | System.setProperty("javax.xml.soap.MessageFactory", "org.apache.axis.soap.MessageFactoryImpl"); | MessageFactory mf = MessageFactory.newInstance(); | System.setProperty("javax.xml.soap.MessageFactory", systemPropMsgFactory); | System.out.println("create msg: " + mf.getClass().getName()); | SOAPMessage msg = mf.createMessage(); | System.out.println("create msg: " + msg.getClass().getName()); | But i still do not get what exactly i am doing here.... :-/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959466#3959466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959466 From do-not-reply at jboss.com Thu Jul 20 04:18:50 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 04:18:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <3157028.1153383530457.JavaMail.jboss@colo-br-02.atl.jboss.com> Perhaps "c_eric_ray" wrote : | | @Stateful | | @Name("package") | | public class PackageAction implements Package { | | | | @DataModel | | private List packages; | | | | @PersistenceContext(unitName="DC") | | private EntityManager em; | | | | public PackageAction() {} | | | | // @Begin(join=true) @Create | | @Factory("packages") | | // @Begin(join=true) // if you want AS Well | | public void load() { | | packages = em.createQuery("from PackageEntity").getResultList(); | | } | | | | @Destroy @Remove | | public void destroy() {} | | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959467#3959467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959467 From do-not-reply at jboss.com Thu Jul 20 04:19:44 2006 From: do-not-reply at jboss.com (doankhoavy) Date: Thu, 20 Jul 2006 04:19:44 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: [jBPM-BPEL] Ant error Message-ID: <28272933.1153383584962.JavaMail.jboss@colo-br-02.atl.jboss.com> I also had this problem.You just need put the that file inside root path of the process archive that problem is resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959468#3959468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959468 From do-not-reply at jboss.com Thu Jul 20 04:25:29 2006 From: do-not-reply at jboss.com (Renji) Date: Thu, 20 Jul 2006 04:25:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - how to add portlet in my current web application Message-ID: <5981571.1153383929034.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently i have a web application deployed in JBoss. Can i integrate the portlets in my web application instead of deploying them in the Jboss portal? is tat possible to do so? if so, how would i do tat? any example to refer? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959469#3959469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959469 From do-not-reply at jboss.com Thu Jul 20 04:27:34 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 04:27:34 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Restarting JBoss is deleting the server.log Message-ID: <6403703.1153384054113.JavaMail.jboss@colo-br-02.atl.jboss.com> Set the "Append" attribute of the appender to "true". Here's an example: | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959470#3959470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959470 From do-not-reply at jboss.com Thu Jul 20 04:28:41 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 04:28:41 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to start JBoss 4.0.4 ? Message-ID: <20014216.1153384121817.JavaMail.jboss@colo-br-02.atl.jboss.com> Post the exception stacktrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959471#3959471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959471 From do-not-reply at jboss.com Thu Jul 20 04:30:18 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 04:30:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: To check for the unclosed connections and transaction te Message-ID: <15389359.1153384218526.JavaMail.jboss@colo-br-02.atl.jboss.com> Which version of JBoss are you using? The logs will be directed to server.log file. Also, see if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=CanJBossTellMeWhenIDontCloseAConnection View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959472#3959472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959472 From do-not-reply at jboss.com Thu Jul 20 04:30:45 2006 From: do-not-reply at jboss.com (Knuffer) Date: Thu, 20 Jul 2006 04:30:45 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Restarting JBoss is deleting the server.log Message-ID: <4558386.1153384245606.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm, I thought I tried that and was wondering why it didn't work... I'll test again, maybe I just made a mistake. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959473#3959473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959473 From do-not-reply at jboss.com Thu Jul 20 04:32:27 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 04:32:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <11178537.1153384347646.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : 2) Port 8080 is already in use Check out: http://wiki.jboss.org/wiki/Wiki.jsp?page=DebugBindException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959474#3959474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959474 From do-not-reply at jboss.com Thu Jul 20 04:35:23 2006 From: do-not-reply at jboss.com (ottran75@yahoo.co.in) Date: Thu, 20 Jul 2006 04:35:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: To check for the unclosed connections and transaction te Message-ID: <20206417.1153384523049.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using - jboss-4.0.3SP1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959475#3959475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959475 From do-not-reply at jboss.com Thu Jul 20 04:36:08 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 20 Jul 2006 04:36:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Getting the Update part of CRUD to work Message-ID: <29147380.1153384568550.JavaMail.jboss@colo-br-02.atl.jboss.com> Your navigation outcomes contain *.seam and *.jsp, but it should be *.xhtml. But I don't know if this is the problem. Well, in my opinion it's not that nice to have a selector. I prefer injecting the list directly into the edit bean and unpacking it in an action method. But that's something you can argue about ;). However, something else: In the edit bean the ware needs to be outjected, too. Otherwise you cannot access the ware in your edit jsf page. Or am I off the track here? PS: When reading posts like yours I'd really like to write in our native language since that would be easier ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959476#3959476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959476 From do-not-reply at jboss.com Thu Jul 20 04:41:12 2006 From: do-not-reply at jboss.com (petersî) Date: Thu, 20 Jul 2006 04:41:12 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Problems to integrate CustomLoginModule Message-ID: <5672561.1153384872921.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we would like to use our own login module to authenticate consumers and providers with our SOA-based infrastructure and I have the impression that Jboss totally ignores the custom login modules and instead uses it own Im using by the way JBoss 4.0.4. RC1 with JDK 1.5 I have set up following sbb-login-config-xml | | | | | | | | | auth-id-password | JBOSS | ldap://localhost:389/ou=DataAuthenticationTSP,o=SOPware | | | | | | | | auth-principal | ldap://localhost:389/ou=DataAuthenticationTSP,o=SOPware | | | | | | | | auth-token-password | JBOSS | true | ldap://localhost:389/ou=DataAuthenticationTSP,o=SOPware | | | | | | Im using this service.xml to startup the config sbb-login-config.xml jboss.security:service=XMLLoginConfig jboss.security:service=JaasSecurityManager The Jar file for the login module is in the server/lib. Is this the best way to put it ? Or do i need to put it in a jar file ? It seems that on startup the jar file can be accessed and is loaded. The security domain is set in the relevant DDs . According to the log is seems to be able to read my login-config file and reads out the security domains. But somehow its now able to use it and I dont get any error message because of it . by the way Im using it own server side and not on client side not als client login module but this is also something we consider . Any hints and tips ? Thx and rgds, Iris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959477#3959477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959477 From do-not-reply at jboss.com Thu Jul 20 04:42:00 2006 From: do-not-reply at jboss.com (JbossUser75) Date: Thu, 20 Jul 2006 04:42:00 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - deployment options in JBoss Message-ID: <5618077.1153384920418.JavaMail.jboss@colo-br-02.atl.jboss.com> can someone assist me in understanding and/or finding what are the deployment options in JBoss? for example: what are the tree levels of JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959478#3959478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959478 From do-not-reply at jboss.com Thu Jul 20 04:46:54 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 20 Jul 2006 04:46:54 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <10466658.1153385214312.JavaMail.jboss@colo-br-02.atl.jboss.com> No, it will be in the next release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959479#3959479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959479 From do-not-reply at jboss.com Thu Jul 20 04:49:51 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 20 Jul 2006 04:49:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - begin method invoked from a long running conversation, try u Message-ID: <6085958.1153385391648.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, these are still my first steps with MyFaces, Facelets an Seam, but the problems really overwhelm me. Here is another one: | begin method invoked from a long running conversation, try using @Begin(join=true) | I don't understand anything. I'm using a stateful session bean annotated like this: | @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("leistungsschein") | It has a method | public @Create @Begin void init() { | kontozeilen_vorbereiten(); | } | There is no other method annotated "@Begin". And, as expected, the init() method is called exactly once. Which "begin method" is meant by the error message? There is none ... Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959480#3959480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959480 From do-not-reply at jboss.com Thu Jul 20 05:03:31 2006 From: do-not-reply at jboss.com (nax32) Date: Thu, 20 Jul 2006 05:03:31 -0400 (EDT) Subject: [jboss-user] [JBossWS] - A class as a parameter in a webservice Message-ID: <24590620.1153386211070.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! i have this bean that is a webservice: // standard JSR181 annotations | @WebService(name = "EndpointInterface", targetNamespace = "http://org.jboss.ws/samples/jsr181ejb", serviceName = "EJB3Service") | // @SOAPBinding(style = SOAPBinding.Style.RPC) | | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, | use = SOAPBinding.Use.LITERAL , | parameterStyle=SOAPBinding.ParameterStyle.BARE) | | | // standard EJB3 annotations | @Remote(EJB3RemoteInterface.class) | // @RolesAllowed("friend") | @Stateless | | // jboss propriatary annotations | @RemoteBinding(jndiBinding = "/ejb3/EJB3EndpointInterface") | @PortComponent(authMethod="BASIC", transportGuarantee="NONE") | @SecurityDomain("JBossWS") | public class EJB3Bean01 implements EJB3RemoteInterface | { | | @WebMethod | public String echo(@WebParam( name="elLibro" )libro input) | { | return "Lo que recib? es " + input; | } | } As you can see, the parameter is not a standard type. i have the class "libro" like this: public class libro { | | String Nombre; | String Autor; | int edicion; | String[] compradores; | | public libro () { | } | } i want to generate the wsdl file, but when i do it, the class "libro" is not specified: | | what sould i do to obtain something like this? | | | | ... | | THANKS!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959482#3959482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959482 From do-not-reply at jboss.com Thu Jul 20 05:09:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 05:09:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: To check for the unclosed connections and transaction te Message-ID: <24866772.1153386560691.JavaMail.jboss@colo-br-02.atl.jboss.com> I just tried this out myself by uncommenting the settings in server.xml and jboss-service.xml. I created a connection in jsp and intentionally left it open. Here's what i found in the server.log(and even on the console): 2006-07-20 14:35:45,015 INFO [org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection at 14c7deb | java.lang.Throwable: STACKTRACE | at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:333) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:482) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.apache.jsp.testSMTPAppender_jsp._jspService(org.apache.jsp.testSMTPAppender_jsp:58) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959483#3959483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959483 From do-not-reply at jboss.com Thu Jul 20 05:14:39 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 20 Jul 2006 05:14:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Add/Edit Page Message-ID: <17154023.1153386879837.JavaMail.jboss@colo-br-02.atl.jboss.com> Whow... I always thought one should use persist() for new entities and merge() for existing edited entities. Now I know that all you need is merge(). Thanks Gavin ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959484#3959484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959484 From do-not-reply at jboss.com Thu Jul 20 05:17:59 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Thu, 20 Jul 2006 05:17:59 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: deployment options in JBoss Message-ID: <908342.1153387079584.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Tree structure of EAR, WAR and JAR (deployment files) are shown below. Ear file consists of, | META-INF/application.xml | | | Under Jar file, | META-INF/ejb-jar.xml | META-INF/jboss.xml | / | Under war file, | | WEB-INF/web.xml | WEB-INF/jboss-web.xml | WEB-INF/lib/ | WEB-INF/classes/ | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959485#3959485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959485 From do-not-reply at jboss.com Thu Jul 20 05:18:25 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Thu, 20 Jul 2006 05:18:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <15236354.1153387105020.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes. It is great idea to perform validation before actual assignment. I have examined sources. But I still can not catch one thing. -Look. Simple case. I have two inputs for two numbers and I want that one be greater than another. -Or if one value greater than 18 then another value must be not null. May be in this cases I should think about JBoss Rules? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959486#3959486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959486 From do-not-reply at jboss.com Thu Jul 20 05:19:15 2006 From: do-not-reply at jboss.com (Thierry R.) Date: Thu, 20 Jul 2006 05:19:15 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBOSSRULES: migration from drools 2.X to drools 3.X Message-ID: <28553558.1153387155088.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi again, The problem occurs too with the eclipse compiler : | PackageBuilderConfiguration conf = new PackageBuilderConfiguration(); | conf.setCompiler( PackageBuilderConfiguration.ECLIPSE ); | PackageBuilder builder = new PackageBuilder(conf); | When a function call another function the compiler makes this output : Function Compilation error Maybe it's worth opening a JIRA bug ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959487#3959487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959487 From do-not-reply at jboss.com Thu Jul 20 05:21:18 2006 From: do-not-reply at jboss.com (fengrux) Date: Thu, 20 Jul 2006 05:21:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Suffering from the bad performance of Graphical Process Desi Message-ID: <13900274.1153387278068.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not sure any one else have encountered the same problem as me. When I edit the 'processdefinition.xml' with the Graphical Process Designer, every 'save' operation even adding a node would cause the cpu usage to run up to 100%, and the process of which would last about 10 minutes. While I edit the same 'processdefinition.xml' with text editor or xml editor, everything is so smooth. I also tried to start eclipse with argument' -vmargs -Xmx1024m -Xms512m', but it do no good. The problem keeps. Plz give me some suggestion. The problem slow down my job greatly. THX:) My notbook's configuration is as below: CPU, Intel Pentium 1.73GHZ, memory,1.5G. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959488#3959488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959488 From do-not-reply at jboss.com Thu Jul 20 05:22:37 2006 From: do-not-reply at jboss.com (baz) Date: Thu, 20 Jul 2006 05:22:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <15861157.1153387357933.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : And then, whenever the id of the object is available in a context variable or request parameter, we can just inject the correct instance. Hi Gavin, i have tried your approach with a ManagedHibernateEntity. i must learn what the word 'whenever' means: if the id is not available i get an exception 11:03:13,156 DEBUG org.jboss.seam.Component: instantiating Seam component: bazProject | 11:03:13,156 DEBUG org.jboss.seam.Component: initializing new instance of: bazProject | 11:03:13,218 DEBUG org.jboss.seam.Component: seam component not found: bazProjectID | 11:03:13,234 DEBUG org.hibernate.jdbc.JDBCContext: successfully registered Synchronization | java.lang.IllegalArgumentException: id to load is required for loading | at org.hibernate.event.LoadEvent.(LoadEvent.java:51) | at org.hibernate.event.LoadEvent.(LoadEvent.java:33) | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:796) | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:792) | at org.jboss.seam.core.ManagedHibernateEntity.getInstance(ManagedHibernateEntity.java:52) | Does it make sense to you to write getInstance in this way? @Unwrap | public Object getInstance() throws ClassNotFoundException | { | Class clazz = Class.forName(entityClass); | if (id==null) return null; | return session.get(clazz, id); | } | Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959489#3959489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959489 From do-not-reply at jboss.com Thu Jul 20 05:35:08 2006 From: do-not-reply at jboss.com (jijisv) Date: Thu, 20 Jul 2006 05:35:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Configuration to remove key Message-ID: <24957959.1153388108408.JavaMail.jboss@colo-br-02.atl.jboss.com> I got the solution... We can change value of key Server by configuring it in the Connector configuration in "server.xml". ...... | ...... | | ...... | ...... Now the response is HTTP/1.1 200 OK | Set-Cookie: JSESSIONID=9C46D0475D0626A7CDC622410D5F3B4A; Path=/ | | Stored cookie 192.168.1.58 8080 / nonpermanent 0 Thu Jan 1 05:29:59 1970 | JSESSIONID 9C46D0475D0626A7CDC622410D5F3B4A | Content-Type: text/html;charset=ISO-8859-1 | Content-Length: 450 | Date: Thu, 20 Jul 2006 09:14:15 GMT | Connection: keep-alive | Server: My Server ~Jiji :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959492#3959492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959492 From do-not-reply at jboss.com Thu Jul 20 05:43:17 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 05:43:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - MYSQL database connection within JBoss application(using JSF Message-ID: <12287969.1153388597909.JavaMail.jboss@colo-br-02.atl.jboss.com> I hope i am writing this question into the correct place. I am trying to make an application with JBoss. I have to establish connection with MYSQL database.I found some articles about how to connect to MYSQL database and i believe that i did everything correct. But this error message is shown on the web browser after i ran the program. Exception : javax.servlet.ServletException : Cannot get value for expression '#{homeBean.taskInstances}' javax.faces.webapp.FacesServlet.service(FacesServlet.java:109) org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) root cause: javax.faces.facesException: Cannot get value for expression '#{homeBean.taskInstances}' org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) org.apache.myfaces.application.jsp.JspViewhandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) javax.faces.webapp.FacesServlet.service(facesServlet.java:95) <brZorg.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959495#3959495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959495 From do-not-reply at jboss.com Thu Jul 20 05:44:51 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 05:44:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Same error different solutions ?? Message-ID: <27000315.1153388691667.JavaMail.jboss@colo-br-02.atl.jboss.com> I have seen a message with the same error message in this forum, but my goal is different from that. I think that the problem in my code occurs while connecting to MYSQL database. I would be gratefull if anybody helps me. I must be careless at some point but i couldn't make it out. I really need a different opinion. Thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959496#3959496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959496 From do-not-reply at jboss.com Thu Jul 20 05:45:25 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 20 Jul 2006 05:45:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: begin method invoked from a long running conversation, t Message-ID: <18554569.1153388725429.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallihallo Marcus ;) It seems as if there is already a conversation running. Maybe there's a @Begin method in another bean that has been invoked before. And when Seam encouters the method you quoted then Seam complains that there is already a conversation. So there are two possibilities: - @Begin(join=true) to "take part" in the currently running conversation - @Begin(nested=true) to start a "sub-conversation" in the currently running conversation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959497#3959497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959497 From do-not-reply at jboss.com Thu Jul 20 05:46:53 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Thu, 20 Jul 2006 05:46:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <24592001.1153388813796.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : there's the @LoggedIn interceptor, but that seems to me to just stop the submission of a page if the user isn't logged in No. @LoggedIn prevents execution of any method on your bean through JSF and redirects you to login page, if you are not logged in. Just clean up your forceLogin() method. For instance, make it empty. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959498#3959498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959498 From do-not-reply at jboss.com Thu Jul 20 05:47:38 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 05:47:38 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - MYSQL database connection within JBoss application(using JSF Message-ID: <25317983.1153388858938.JavaMail.jboss@colo-br-02.atl.jboss.com> I hope i am writing this question into the correct place. I am trying to make an application with JBoss. I have to establish connection with MYSQL database.I found some articles about how to connect to MYSQL database and i believe that i did everything correct. But this error message is shown on the web browser after i ran the program. Exception : javax.servlet.ServletException : Cannot get value for expression '#{homeBean.taskInstances}' javax.faces.webapp.FacesServlet.service(FacesServlet.java:109) org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) root cause: javax.faces.facesException: Cannot get value for expression '#{homeBean.taskInstances}' org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) org.apache.myfaces.application.jsp.JspViewhandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) javax.faces.webapp.FacesServlet.service(facesServlet.java:95) <brZorg.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55) org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83) org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959499#3959499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959499 From do-not-reply at jboss.com Thu Jul 20 05:49:06 2006 From: do-not-reply at jboss.com (regi.qwerty) Date: Thu, 20 Jul 2006 05:49:06 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Deployment Problem Message-ID: <1013140.1153388946855.JavaMail.jboss@colo-br-02.atl.jboss.com> Errata Corrige[:/b] "regi.qwerty" wrote : | ...I'm trying to migrate my WSs from Tmcat+Axis to Tomcat+JBossWS (for the WS-S implementation) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959501#3959501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959501 From do-not-reply at jboss.com Thu Jul 20 05:51:27 2006 From: do-not-reply at jboss.com (rish_pilgaon) Date: Thu, 20 Jul 2006 05:51:27 -0400 (EDT) Subject: [jboss-user] [Remoting] - Deploying JBoss Apps behind firewall Message-ID: <9180437.1153389087358.JavaMail.jboss@colo-br-02.atl.jboss.com> Can anyone help me out to configure and deploy JBoss 4.0.2 J2EE-Web application behind firewall. We use JBossMQ for client-server communication. JMS clients connect to whereas we deploy our app on Waiting for reply... Thanks and regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959502#3959502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959502 From do-not-reply at jboss.com Thu Jul 20 05:53:11 2006 From: do-not-reply at jboss.com (armorris007) Date: Thu, 20 Jul 2006 05:53:11 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cluster-wide Session Access Message-ID: <6619121.1153389191127.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Peter, Many thanks! Very useful! I do however have one major problem, the MBean "MANAGER" for my application no longer seems to be auto registering itself with the MBeanServer - and I don't know why. See JMX console entries: host=localhost,path=/myapp,type=Cache host=localhost,path=/web-console,type=Cache host=localhost,path=/web-console,type=Manager The following is missing: host=localhost,path=/myapp,type=Manager I have a Cache MBean but no Manager MBean for 'myapp'. I can't recall changing any particular configuration for that application which would do this? Which component is responsible for registering "Manager MBeans" against deployed web applications? Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959503#3959503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959503 From do-not-reply at jboss.com Thu Jul 20 06:03:57 2006 From: do-not-reply at jboss.com (fengrux) Date: Thu, 20 Jul 2006 06:03:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Suffering from the bad performance of Graphical Process Message-ID: <6025972.1153389837795.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, I have finnally find out my stupid ignorance. You should install the Graphical Process Designer plug-in into a isolate folder , but not just copy them into the default eclipse plug-in folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959504#3959504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959504 From do-not-reply at jboss.com Thu Jul 20 06:08:28 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 06:08:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <3207969.1153390108357.JavaMail.jboss@colo-br-02.atl.jboss.com> JSF validation is great for ensuring an isolated field is valid (e.g. Postcode, Bank Account No, National Insurance No). I haven't used it to do 'contextual validation'. I don't think you can use the Hibernate Validator in the JSF validation phase in such a way - @AssertTrue and @AssertFalse might be useful but as the JSF validation phase is before the model update phase the model won't have been updated with new values. I'm not sure what the best solution is, I would suggest in the action method BUT that would require you to rollback parts of the entity if invalid values are entered. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959505#3959505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959505 From do-not-reply at jboss.com Thu Jul 20 06:09:33 2006 From: do-not-reply at jboss.com (ottran75@yahoo.co.in) Date: Thu, 20 Jul 2006 06:09:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: To check for the unclosed connections and transaction te Message-ID: <19679049.1153390173388.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Coincidently i also found out. Thanks for your help. Now I have to see what are the other ways by which no managedconnections can be avoided. It seems in our application everybody is closing the application properly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959506#3959506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959506 From do-not-reply at jboss.com Thu Jul 20 06:14:27 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Thu, 20 Jul 2006 06:14:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <14835231.1153390467700.JavaMail.jboss@colo-br-02.atl.jboss.com> You are digging in the wrong direction. Try to design your application in different way. You are trying to couple presentation and business. I assure you that you do not really need this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959507#3959507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959507 From do-not-reply at jboss.com Thu Jul 20 06:17:42 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Thu, 20 Jul 2006 06:17:42 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <33310822.1153390662197.JavaMail.jboss@colo-br-02.atl.jboss.com> So, if the fix for the problem will be available in the next release, I'll better wait to try it before nagging you again, probably it will do the job. Keep up with the excellent work! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959508#3959508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959508 From do-not-reply at jboss.com Thu Jul 20 06:23:10 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Thu, 20 Jul 2006 06:23:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Clustering without J2EE App Server? Message-ID: <13089701.1153390990508.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to have a clustered cache without using an application server? In particular, we're looking to have a set of Java services deployed to a number of regional servers. These services will be exposed as SOAP services, but will not sit within an app server (J2EE or otherwise). The services will use Hibernate, and we're looking for a second level cache which will allow clustering between the caches. Can JBoss Cache handle its own clustering, or does it require an application server to deal with the clustering? Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959509#3959509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959509 From do-not-reply at jboss.com Thu Jul 20 06:25:44 2006 From: do-not-reply at jboss.com (trouby) Date: Thu, 20 Jul 2006 06:25:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <26549333.1153391144141.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, back to this, When I try to use it, I get the following error message generated by JSF: "Validation Error: Value is not valid" What is I think is that JSF verifies that selected items are members of collection returned by f:selectItems tag. So after conversion of the bean value JSF probably calls equals on every element of the collection and the converted. Anyway, as it seems. The loaded entity by EntityConverter does not match the items within the collection of selectItems tag, Is that possible? or maybe it is something else? I can't make it work anyway :-/ Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959510#3959510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959510 From do-not-reply at jboss.com Thu Jul 20 06:26:50 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 20 Jul 2006 06:26:50 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <9390219.1153391210839.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your continued interest :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959511#3959511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959511 From do-not-reply at jboss.com Thu Jul 20 06:42:55 2006 From: do-not-reply at jboss.com (armorris007) Date: Thu, 20 Jul 2006 06:42:55 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Cluster-wide Session Access Message-ID: <16931503.1153392175826.JavaMail.jboss@colo-br-02.atl.jboss.com> To answer my own question - it appears that having "" set in the application's web.xml causes the Manager to not register. Cheers, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959513#3959513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959513 From do-not-reply at jboss.com Thu Jul 20 06:44:39 2006 From: do-not-reply at jboss.com (metelka) Date: Thu, 20 Jul 2006 06:44:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: MDB deployment problem Message-ID: <17099037.1153392279694.JavaMail.jboss@colo-br-02.atl.jboss.com> I forgot to mention that if I remove message-driven section from ejb-jar.xml, everything works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959514#3959514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959514 From do-not-reply at jboss.com Thu Jul 20 06:45:25 2006 From: do-not-reply at jboss.com (Smilidon) Date: Thu, 20 Jul 2006 06:45:25 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - How to get MBean domains? Message-ID: <15563390.1153392325903.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want to browse the jmx-mbean domains, like jboss.security, jboss.net and so on. I'm doing that from a remote application. I use JBoss 3.2.3 and with the JNDI I dont see that stuff: InitialContext ic = new InitialContext(properties); | | RMIAdaptor server = (RMIAdaptor) ic.lookup("jmx/invoker/RMIAdaptor"); | ObjectName name = new ObjectName("jboss:service=JNDIView"); | | MBeanInfo info = server.getMBeanInfo(name); | | System.out.println("JNDIView Class: " + info.getClassName()); | | | | String[] sig = {"boolean"}; | Object[] opArgs = {Boolean.TRUE}; | Object result = server.invoke(name, "list", opArgs, sig); | | | System.out.println("JNDIView.list(true) output:\n"+result); | shows me:

    Global JNDI Namespace

    |
      |   +- SyncService (proxy: $Proxy129 implements interface de.ard.sad.fesad.orderProcessing.interfaces.SyncServiceHome,interface javax.ejb.Handle)
      |   +- OIL2ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
      |   +- QueueConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef)
      |   +- LocatorManager (proxy: $Proxy85 implements interface de.ard.sad.fesad.cataloging.locator.interfaces.LocatorManagerHome,interface javax.ejb.Handle)
      |   +- MediumManager (proxy: $Proxy82 implements interface de.ard.sad.fesad.cataloging.medium.interfaces.MediumManagerHome,interface javax.ejb.Handle)
      |   +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
      |   +- Dictionary (proxy: $Proxy98 implements interface de.ard.sad.fesad.dictionary.interfaces.DictionaryHome,interface javax.ejb.Handle)
      |   +- queue (class: org.jnp.interfaces.NamingContext)
      | 
      | ...
    
    Can somebody help please how to see the domains?
    
    thanks in advance and regards
    
    
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959515#3959515
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959515
    
    
    From do-not-reply at jboss.com  Thu Jul 20 06:50:48 2006
    From: do-not-reply at jboss.com (ottran75@yahoo.co.in)
    Date: Thu, 20 Jul 2006 06:50:48 -0400 (EDT)
    Subject: [jboss-user] [JCA/JBoss] - Regarding the No ManagedConnection error
    	in jboss-4.0.3SP1
    Message-ID: <4240945.1153392648340.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    We are developing a application using Oracle 9i, Linux Environment , 
    Jboss-4.0.3SP1
    
    We are frequently getting the no managedconnection error.
    We have closed all the connection etc properly and not only that we are monitoring the server to see for any open connection .
    Please advise/ suggest ways by which we can rectify this error.
    Your help will be highly useful for us.
    
    Thanks
    Ottran
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959516#3959516
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959516
    
    
    From do-not-reply at jboss.com  Thu Jul 20 06:55:38 2006
    From: do-not-reply at jboss.com (MSchmidke)
    Date: Thu, 20 Jul 2006 06:55:38 -0400 (EDT)
    Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results
    Message-ID: <2351134.1153392938651.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    Maybe wrong direction ... but the last idea I had.
    
    Mixing business and presentation is bad, agreed. But even in Facelets there should be a possibility to write Java code to compute output text.
    
    And in this case, this Java code needs two parameters, no way around. So there's no possibility to write a simple getter to be accessed from EL.
    
    I also tried user defined EL functions. I spent half a day on it, but everything I do is completely ignored. JSTL functions - no problem. User defined functions - no way. Don't know.
    
    So what is the right way to call a Java function and give it the parameters which are available in the component?
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959517#3959517
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959517
    
    
    From do-not-reply at jboss.com  Thu Jul 20 07:05:11 2006
    From: do-not-reply at jboss.com (MSchmidke)
    Date: Thu, 20 Jul 2006 07:05:11 -0400 (EDT)
    Subject: [jboss-user] [JBoss Seam] - Re: begin method invoked from a long
    	running conversation, t
    Message-ID: <29234854.1153393511815.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    Hallo bfo81 [mein Englisch scheint wirklich furchtbar zu sein :-)],
    
    no, there is absolutely no second @Begin in the whole application.
    
    Trying nested isn't what I want. So I tried join, but this only leads to a lot of other error messages:
    
      | org.hibernate.exception.GenericJDBCException: Cannot open connection
      | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=WPIT0174/15, BranchQual=, localId=15]; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=WPIT0174/15, BranchQual=, localId=15])
      | javax.ejb.EJBTransactionRolledbackException: javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: ak5u-xp76gl-epuxyl69-1-epuxzz2s-8
      | 
    
    All those errors occur since I've coded the absolutely very first inputText JSF element in my life. I'm building my first page for a few days now. Until now I only had outputText and so on. Just to see something.
    
    Next step is turning the outputText into inputText - and - crash.
    
    By the way, the page is rendered anyway. Looks fine, even with all those error messages in STDERR. But the next request gives an Tomcat error report.
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959518#3959518
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959518
    
    
    From do-not-reply at jboss.com  Thu Jul 20 07:08:10 2006
    From: do-not-reply at jboss.com (petemuir)
    Date: Thu, 20 Jul 2006 07:08:10 -0400 (EDT)
    Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many
    	relationships and SEAM
    Message-ID: <702178.1153393690698.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    Yes you are right. See http://java.sun.com/javaee/javaserverfaces/1.1_01/docs/api/javax/faces/component/UISelectOne.html for example.
    
    I hadn't come across it as I always override the equals methods of entities to compare on id equality (if the object is set, otherwise fallback on object equality). 
    
    A drawback the EntityConverter for which I can see no work around (you get the Entities from two different EntityManager instances [1]). So, you could either add an equals method (as on the example ClientType) or you could look at the alternive index or String strategies.  Or wait for someone to come up with a @SelectItemsSelection annotation.
    
    [1] I couldn't get them from the SeamManaged Persistence Context as it caused entities to become detached when using Container Managed Transactions.
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959519#3959519
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959519
    
    
    From do-not-reply at jboss.com  Thu Jul 20 07:12:18 2006
    From: do-not-reply at jboss.com (petemuir)
    Date: Thu, 20 Jul 2006 07:12:18 -0400 (EDT)
    Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results
    Message-ID: <14077218.1153393938582.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    You could preprocess the output [1].  User defined functions (as you mention) are another option.  If you have problems with them probably best to post on the facelets user mailing list (they do work as described in the manual).
    
    [1] http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86324
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959520#3959520
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959520
    
    
    From do-not-reply at jboss.com  Thu Jul 20 07:14:00 2006
    From: do-not-reply at jboss.com (petemuir)
    Date: Thu, 20 Jul 2006 07:14:00 -0400 (EDT)
    Subject: [jboss-user] [JBoss Seam] - Re: begin method invoked from a long
    	running conversation, t
    Message-ID: <1673991.1153394040054.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    Can you simplyfy the SFSB and view code as much as possible and post them.
    
    View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959521#3959521
    
    Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959521
    
    
    From do-not-reply at jboss.com  Thu Jul 20 07:18:24 2006
    From: do-not-reply at jboss.com (grdzeli_kaci)
    Date: Thu, 20 Jul 2006 07:18:24 -0400 (EDT)
    Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF and JBOSS
    Message-ID: <30267194.1153394304930.JavaMail.jboss@colo-br-02.atl.jboss.com>
    
    i want run jsf application on jboss-4.0.4.GA
    but i get an error 
    
    
      | 15:02:04,843 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      | javax.servlet.jsp.JspException: Cannot find FacesContext
      | 	at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:405)
      | 	at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:71)
      | 	at org.apache.jsp.pages.studreg_jsp._jspx_meth_f_view_0(studreg_jsp.java:85)
      | 	at org.apache.jsp.pages.studreg_jsp._jspService(studreg_jsp.java:60)
      | 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
      | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      | 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
      | 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      | 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      | 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      | 
    
    there is my project files :
    1.web.xml 
    
    
      | 
      | 
      |  test1
      |  
      |   javax.faces.STATE_SAVING_METHOD
      |   server
      |  
      |  
      |   com.sun.faces.config.ConfigureListener
      |  
      |  
      |  
      |   Faces Servlet
      |   javax.faces.webapp.FacesServlet
      |   1
      |  
      |  
      |  
      |   Faces Servlet
      |   *.faces
      |  
      |  
      |   BASIC
      |  
      | 
      | 
    
    
    2.faces-config.xml
    
    
      | 
      | 
      | 
      |  
      |   studentBean
      |   com.magti.common.ejb3Beans.StudentBean
      |   request
      |   
      |    age
      |    java.math.BigDecimal
      |    
      |   
      |   
      |    groupid
      |    java.math.BigDecimal
      |    
      |   
      |   
      |    id
      |    java.lang.Integer
      |    
      |   
      |   
      |    name
      |    java.lang.String
      |    
      |   
      |   
      |    surname
      |    java.lang.String
      |    
      |   
      |  
      |  
      |   /index.jsp
      |   
      |    studreg
      |    /pages/studreg.jsp
      |   
      |  
      | 
      | 
    
    
    3.index.jsp
    
    
      | 
      | 
      | 
      | 	
      | 		
      | 	
      | 
      | 
    
    4.studreg.jsp
    
      | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
      | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
      | 
      | 	
      | 		
      | 	
      | 	
      | 		
      | 		

    asdfsdfsm,fnsm,dnfm,sdnfm,sdf

    |
    | | | | please help me ............ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959522#3959522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959522 From do-not-reply at jboss.com Thu Jul 20 07:33:57 2006 From: do-not-reply at jboss.com (Luffy) Date: Thu, 20 Jul 2006 07:33:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - pb with tasklist and pooled tasklist Message-ID: <16250236.1153395237865.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am new to seam and jbpm and i would like to know how to get a tasklist and a pooledtasklist to display all when one of my user login. I ve been through without any success except there : http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82755 But it's not detailed enough. How can I get the list I am looking for and store it in a java list. Thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959523#3959523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959523 From do-not-reply at jboss.com Thu Jul 20 07:57:22 2006 From: do-not-reply at jboss.com (ikazarno) Date: Thu, 20 Jul 2006 07:57:22 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - how can I temporary block a portal user? Message-ID: <31856951.1153396642674.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, how can I temporary block a portal user? I thought I can achieve this if I set enabled attribute of the User object to false. But the user still can log in. Is there an other way? Thanks in advance Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959524#3959524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959524 From do-not-reply at jboss.com Thu Jul 20 07:59:58 2006 From: do-not-reply at jboss.com (free1000) Date: Thu, 20 Jul 2006 07:59:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Best practice for resource URLs Message-ID: <28506394.1153396798787.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to use images in the portlet I am creating, but can't find any examples of how best to form the URLs for this. I initially thought that URLs should just be relative to the web-app that wraps the portlet, but these don't appear to work as I have coded them. The web-app has the a folder called images and content image.jsp warfile structure portlet.war | images | image.jsp | jsp | view.jsp | META-INF | WEB-INF | classes | ImagePortlet.class | portlet.xml | portlet-instances.xml | portlet-object.xml | web.xml In view.jsp I want to insert an image tag which displays images/image.jsp does not display. I expect that I need to do more work on the URL to achieve this. Can someone provide me with a sample, or point me to the docs where this is described because I can't locate this information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959525#3959525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959525 From do-not-reply at jboss.com Thu Jul 20 08:01:33 2006 From: do-not-reply at jboss.com (jpremji) Date: Thu, 20 Jul 2006 08:01:33 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <5457195.1153396893297.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reponse. Is there any example of settting the reveng.xml file to generate the sequence. I am a newbie to java development. Any other pointers to information to help will be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959526#3959526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959526 From do-not-reply at jboss.com Thu Jul 20 08:01:54 2006 From: do-not-reply at jboss.com (phicorp) Date: Thu, 20 Jul 2006 08:01:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Can be used with facelets compositions? Message-ID: <12688394.1153396914792.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All, If I create a custom facelets tag such as the following tag which uses the following custom facelets composition then using with the custom tag will result in a runtime exception thrown by . Does anyone know whether or not this issue is being addressed, as I would like to use if the issue is resolved? Many thanks, Bruce. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959527#3959527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959527 From do-not-reply at jboss.com Thu Jul 20 08:02:13 2006 From: do-not-reply at jboss.com (andydale) Date: Thu, 20 Jul 2006 08:02:13 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - sar will not deploy with LoadTimeWeaving (javaagent:pluggabl Message-ID: <30494379.1153396933423.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have load time weaving working on my local machine no problem, i also want to set it up on another team member's computer but when i do so, a .sar file fails to deploy correctly on startup of jboss. The current set of exceptions we are getting on start up are as follows: anonymous wrote : org.jboss.deployment.DeploymentException: Unexpected error during load of: de.comsoft.cadas_ims.Parser.MessageParserImpl, msg=Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: de.comsoft.cadas_ims.Parser.MessageParserImpl, msg=Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor15.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.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: de.comsoft.cadas_ims.Parser.MessageParserImpl, msg=Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:550) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1204) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | ... 82 more | Caused by: java.lang.ClassFormatError: Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672) | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517) | ... 90 more Then at the end of the server startup: anonymous wrote : --- Incompletely deployed packages --- | org.jboss.deployment.DeploymentInfo at 88127130 { url=file:/usr/local/jboss-4.0.4.GA/server/default/deploy/CADAS-IMS.ear } | deployer: org.jboss.deployment.EARDeployer at 134eb84 | status: Deployment FAILED reason: Unexpected error during load of: de.comsoft.cadas_ims.Parser.MessageParserImpl, msg=Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: de.comsoft.cadas_ims.Parser.MessageParserImpl, msg=Code attribute in native or abstract methods in class file de/comsoft/cadas_ims/Parser/MessageParserImpl) | state: FAILED | watch: file:/usr/local/jboss-4.0.4.GA/server/default/deploy/CADAS-IMS.ear | altDD: null | lastDeployed: 1153395039856 | lastModified: 1153395039000 | mbeans: | The only thing that is special about this sar is that some of the classes bridge to a native (with System.load()), and my feeling is that this could be responsible for the error. I have posted this to the AOP forum as it is a direct result of enabling load time weaving with the javaagent option, if it should of been posted to another forum i apologise. If anyone can provide me with help/advice i would appreciate it. Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959528#3959528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959528 From do-not-reply at jboss.com Thu Jul 20 08:04:26 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Thu, 20 Jul 2006 08:04:26 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Code Generation with Oracle Message-ID: <864082.1153397066033.JavaMail.jboss@colo-br-02.atl.jboss.com> the docs are a good place to start :) http://www.hibernate.org/hib_docs/tools/reference/en/html_single/ look for Justin, Thank you for the reply. I have read the wiki article you posted, and I have used JBOSS_HOME/server/[server-name]/conf/log4j.xml, but i want to have a self contained deployment that does not depend on the app server for logging. I have my own log4j.xml on the classpath for the application, but it is very clearly not being used. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959530#3959530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959530 From do-not-reply at jboss.com Thu Jul 20 08:13:47 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 08:13:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: pb with tasklist and pooled tasklist Message-ID: <15210581.1153397627892.JavaMail.jboss@colo-br-02.atl.jboss.com> http://docs.jboss.com/seam/1.0.1.GA/reference/en/html/jbpm.html#d0e3646 looks like a good starting point View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959531#3959531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959531 From do-not-reply at jboss.com Thu Jul 20 08:15:57 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 20 Jul 2006 08:15:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Wanna create Id-safe DataModelSelection Message-ID: <7066724.1153397757105.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello As the @DataModel and @DataModelSelection have problems when you have multiple list screens I want to extend them and create an Id-safe version. This one shouldn't use 0,1,2,... as row index but the real Id's. So I had a look at the code and had an approach in mind. But there's just one question I have. When using in a JSF datatable... where do those numbers 0,1,2,... in the URLs (e.g. .../theList.seam?action=theEditor.selectEntity&dataModelSelection=entities[0]) come from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959532#3959532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959532 From do-not-reply at jboss.com Thu Jul 20 08:21:00 2006 From: do-not-reply at jboss.com (gcoleman) Date: Thu, 20 Jul 2006 08:21:00 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Information about JBoss Queue Message-ID: <9738558.1153398060775.JavaMail.jboss@colo-br-02.atl.jboss.com> Google for "JMS" or "Java messaging". JMS is part of J2EE and not JBoss-specific. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959533#3959533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959533 From do-not-reply at jboss.com Thu Jul 20 08:24:22 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 08:24:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <7120244.1153398262103.JavaMail.jboss@colo-br-02.atl.jboss.com> I've raised this before and there didn't seem to be much interest in fixing it. I modified the ModelValidator class to take a property attribute. If the property attribute is supplied it is used instead of the value attribute. I also use the 'property' as the key for localised labels for fields and as an id for attaching messages. E.g. | | | | | | | | See http://jroller.com/page/pmuir?entry=modelvalidator View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959534#3959534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959534 From do-not-reply at jboss.com Thu Jul 20 08:24:52 2006 From: do-not-reply at jboss.com (vickyk) Date: Thu, 20 Jul 2006 08:24:52 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Expecting ClassCastException ....... Message-ID: <29997074.1153398292316.JavaMail.jboss@colo-br-02.atl.jboss.com> Considering the scenario where D1 and D2 are deployments 1) D1 will contain A,B and C classes 2) D2 will A and D classes 3) Deployment Ordering is D1 and D2 , assuming the UCL1 and UCL2 getting created for D1 and D2 4) Now the UCL2(D2) needs to load A it will delegate the loading to ULR , the classcache does not contain the A , so the packageMap will be looked for getting the UCL?s which can load A . For this scenario the UCL2 will find that UCL1 and UCL2 can load class A , since the D1 is deployed first so UCL1 will have to load the A and then store in the classcache. 5)Now the A loaded in the classcache comes from the UCL1 . 6)So the A used in the UCL2 are loaded from UCL1 , both UCL1 and UCL2 are siblings .. So should step 6 not cause ClassCastException ? Regards Vicky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959535#3959535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959535 From do-not-reply at jboss.com Thu Jul 20 08:26:42 2006 From: do-not-reply at jboss.com (Luffy) Date: Thu, 20 Jul 2006 08:26:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: pb with tasklist and pooled tasklist Message-ID: <13561391.1153398402365.JavaMail.jboss@colo-br-02.atl.jboss.com> If you had a look at jbpm forum you'd see that groups are not properly managed by jbpm core. But it s working in the dvdstore example and i can t work out why, so please give me some advice I already read the manual and found nothing useful for my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959536#3959536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959536 From do-not-reply at jboss.com Thu Jul 20 08:31:35 2006 From: do-not-reply at jboss.com (rajeshchande) Date: Thu, 20 Jul 2006 08:31:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <29659277.1153398695098.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Alex, I read the INSTALL.html, but as mentioned earlier, i have my instances configured and running from "default". Is it MANDATORY for ejb3 that the jboss "all" server is used? can i make ejb3 running on "default" instance of jboss 4.0.4? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959538#3959538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959538 From do-not-reply at jboss.com Thu Jul 20 08:33:47 2006 From: do-not-reply at jboss.com (petersî) Date: Thu, 20 Jul 2006 08:33:47 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <22608086.1153398827723.JavaMail.jboss@colo-br-02.atl.jboss.com> Just change the server.xml in the jbossweb-tomcat55.sar. Rgds, Iris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959539#3959539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959539 From do-not-reply at jboss.com Thu Jul 20 08:34:43 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 08:34:43 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: How to get MBean domains? Message-ID: <4874779.1153398883096.JavaMail.jboss@colo-br-02.atl.jboss.com> Is this what you want: RMIAdaptor server = (RMIAdaptor) ic.lookup("jmx/invoker/RMIAdaptor"); | String domains[] = server.getDomains(); | for (int i=0;i hello everybody and thanks for the great job you have done! i have an application running on jboss 4.0.4.GA with seam 1.0.0.GA and myfaces 1.1.3. i've been working on this application for a while, i'm in the test phase now. i use many converation scoped session beans as actions for the pages and some session scoped sesson beans to encapsulate business logic which are used by the action beans. now i noticed a problem: when a action component and the business component it uses get invoked and the app is not used for a while i get strange errors. when i try to use a component after about 10 minutes idle time an error occurs. after 30 minutes of idle time the same error happens when the container tries to destroy the components. here are the exceptions (boconfirmation is the business component, loaddata is the action component): | 30 minutes idle: | | 11:41:37,062 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getContains(StatefulBeanContext.java:92) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getDelegate(ProxiedStatefulBeanContext.java:70) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getInstance(ProxiedStatefulBeanContext.java:217) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | 11:41:37,062 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 11:41:37,078 ERROR [STDERR] at $Proxy227.destroy(Unknown Source) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | 11:41:37,078 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 11:41:37,078 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | 11:41:37,078 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | 11:41:37,078 ERROR [STDERR] ... 37 more | 11:41:37,078 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,078 ERROR [STDERR] ... 51 more | 11:41:37,078 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,078 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,078 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,078 ERROR [STDERR] ... 56 more | 11:41:37,078 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,109 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,109 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,109 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,109 ERROR [STDERR] ... 69 more | 11:41:37,109 ERROR [STDERR] Caused by: java.lang.ClassCastException: java.util.ArrayList | 11:41:37,109 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,109 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,109 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,109 ERROR [STDERR] ... 74 more | 11:41:37,109 WARN [Contexts] Could not destroy component: boconfirmation | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getContains(StatefulBeanContext.java:92) | at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getDelegate(ProxiedStatefulBeanContext.java:70) | at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getInstance(ProxiedStatefulBeanContext.java:217) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy227.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | at java.lang.Thread.run(Thread.java:595) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 37 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 51 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 56 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 69 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 74 more | 11:41:37,171 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 11:41:37,187 ERROR [STDERR] at $Proxy228.destroy(Unknown Source) | 11:41:37,187 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,187 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,187 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,187 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | 11:41:37,187 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 11:41:37,187 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | 11:41:37,187 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | 11:41:37,187 ERROR [STDERR] ... 35 more | 11:41:37,187 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,203 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | 11:41:37,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,203 ERROR [STDERR] ... 49 more | 11:41:37,203 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,218 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,218 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,218 ERROR [STDERR] ... 53 more | 11:41:37,218 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,218 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | 11:41:37,218 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,218 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,218 ERROR [STDERR] ... 66 more | 11:41:37,218 ERROR [STDERR] Caused by: java.lang.ClassCastException: java.util.ArrayList | 11:41:37,218 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,218 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,218 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,218 ERROR [STDERR] ... 70 more | 11:41:37,218 WARN [Contexts] Could not destroy component: loaddata | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy228.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | at java.lang.Thread.run(Thread.java:595) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 35 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 49 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 53 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 66 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 70 more | | | | 10 minutes idle and trying to use component after that: | | | | 12:00:58,796 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id confirmationForm:_tagId8 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: /confirmationST.xhtml @33,116 action="#{loaddata.loadData}": java.lang.RuntimeException: java.io.IOException | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 25 more | Caused by: java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:75) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy228.loadData(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:585) | at com.sun.el.parser.AstValue.invoke(AstValue.java:130) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | ... 26 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 46 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 60 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 65 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 78 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 83 more | | i don't really know whats wrong. there seems to be aproblem with arraylists i use, but without the idle time everything is well. please help me! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959541#3959541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959541 From do-not-reply at jboss.com Thu Jul 20 08:35:44 2006 From: do-not-reply at jboss.com (free1000) Date: Thu, 20 Jul 2006 08:35:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Best practice for resource URLs Message-ID: <27742877.1153398944522.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, problem solved, I've found the encodeURL method of portletResponse API doc http://docs.jboss.org/jbportal/spec/docs/javax/portlet/PortletResponse.html#encodeURL(java.lang.String) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959542#3959542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959542 From do-not-reply at jboss.com Thu Jul 20 08:36:46 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 08:36:46 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: How to get MBean domains? Message-ID: <8592551.1153399006303.JavaMail.jboss@colo-br-02.atl.jboss.com> I meant: RMIAdaptor server = (RMIAdaptor) ic.lookup("jmx/invoker/RMIAdaptor"); | String domains[] = server.getDomains(); | for (int i=0;i @Begin(join=true) m1() { some code here; m2 } @Begin(nested=true) m2() { some code here; create component here that belongs to nested conversation; } does not create nested conversation, should it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959544#3959544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959544 From do-not-reply at jboss.com Thu Jul 20 08:38:45 2006 From: do-not-reply at jboss.com (jbaruchs) Date: Thu, 20 Jul 2006 08:38:45 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <10412090.1153399125118.JavaMail.jboss@colo-br-02.atl.jboss.com> BTW, any time estimates? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959545#3959545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959545 From do-not-reply at jboss.com Thu Jul 20 08:39:11 2006 From: do-not-reply at jboss.com (JXerXes) Date: Thu, 20 Jul 2006 08:39:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problem with ArrayLists in SessionBeans and idle time Message-ID: <6901020.1153399151424.JavaMail.jboss@colo-br-02.atl.jboss.com> hello everybody and thanks for the great job you have done! i have an application running on jboss 4.0.4.GA with seam 1.0.0.GA and myfaces 1.1.3. i've been working on this application for a while, i'm in the test phase now. i use many converation scoped session beans as actions for the pages and some session scoped sesson beans to encapsulate business logic which are used by the action beans. now i noticed a problem: when a action component and the business component it uses get invoked and the app is not used for a while i get strange errors. when i try to use a component after about 10 minutes idle time an error occurs. after 30 minutes of idle time the same error happens when the container tries to destroy the components. here are the exceptions (boconfirmation is the business component, loaddata is the action component): | 30 minutes idle: | | 11:41:37,062 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getContains(StatefulBeanContext.java:92) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getDelegate(ProxiedStatefulBeanContext.java:70) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getInstance(ProxiedStatefulBeanContext.java:217) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | 11:41:37,062 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | 11:41:37,062 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 11:41:37,078 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 11:41:37,078 ERROR [STDERR] at $Proxy227.destroy(Unknown Source) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | 11:41:37,078 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,078 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | 11:41:37,078 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 11:41:37,078 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | 11:41:37,078 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | 11:41:37,078 ERROR [STDERR] ... 37 more | 11:41:37,078 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,078 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,078 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,078 ERROR [STDERR] ... 51 more | 11:41:37,078 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,078 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,078 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,078 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,078 ERROR [STDERR] ... 56 more | 11:41:37,078 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,078 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,109 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,109 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,109 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,109 ERROR [STDERR] ... 69 more | 11:41:37,109 ERROR [STDERR] Caused by: java.lang.ClassCastException: java.util.ArrayList | 11:41:37,109 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,109 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,109 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,109 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,109 ERROR [STDERR] ... 74 more | 11:41:37,109 WARN [Contexts] Could not destroy component: boconfirmation | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getContains(StatefulBeanContext.java:92) | at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getDelegate(ProxiedStatefulBeanContext.java:70) | at org.jboss.ejb3.stateful.ProxiedStatefulBeanContext.getInstance(ProxiedStatefulBeanContext.java:217) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy227.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | at java.lang.Thread.run(Thread.java:595) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 37 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 51 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 56 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 69 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 74 more | 11:41:37,171 ERROR [STDERR] java.lang.RuntimeException: java.io.IOException | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | 11:41:37,171 ERROR [STDERR] at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 11:41:37,187 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 11:41:37,187 ERROR [STDERR] at $Proxy228.destroy(Unknown Source) | 11:41:37,187 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 11:41:37,187 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 11:41:37,187 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,187 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | 11:41:37,187 ERROR [STDERR] at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | 11:41:37,187 ERROR [STDERR] at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | 11:41:37,187 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 11:41:37,187 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | 11:41:37,187 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,187 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 11:41:37,187 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | 11:41:37,187 ERROR [STDERR] ... 35 more | 11:41:37,187 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,203 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | 11:41:37,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,203 ERROR [STDERR] ... 49 more | 11:41:37,203 ERROR [STDERR] Caused by: java.io.IOException | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,203 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,218 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,218 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,218 ERROR [STDERR] ... 53 more | 11:41:37,218 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException | 11:41:37,218 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | 11:41:37,218 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 11:41:37,218 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | 11:41:37,218 ERROR [STDERR] ... 66 more | 11:41:37,218 ERROR [STDERR] Caused by: java.lang.ClassCastException: java.util.ArrayList | 11:41:37,218 ERROR [STDERR] at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 11:41:37,218 ERROR [STDERR] at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | 11:41:37,218 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 11:41:37,218 ERROR [STDERR] at java.util.ArrayList.readObject(ArrayList.java:592) | 11:41:37,218 ERROR [STDERR] ... 70 more | 11:41:37,218 WARN [Contexts] Could not destroy component: loaddata | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy228.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:185) | at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | at java.lang.Thread.run(Thread.java:595) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 35 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 49 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 53 more | Caused by: java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 66 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 70 more | | | | 10 minutes idle and trying to use component after that: | | | | 12:00:58,796 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id confirmationForm:_tagId8 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: /confirmationST.xhtml @33,116 action="#{loaddata.loadData}": java.lang.RuntimeException: java.io.IOException | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 25 more | Caused by: java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:75) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy228.loadData(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:585) | at com.sun.el.parser.AstValue.invoke(AstValue.java:130) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | ... 26 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 46 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 60 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 65 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:585) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 78 more | Caused by: java.lang.ClassCastException: java.util.ArrayList | at org.jboss.ejb3.stateful.NestedStatefulBeanContext.readExternal(NestedStatefulBeanContext.java:60) | at org.jboss.serial.persister.ExternalizePersister.readData(ExternalizePersister.java:72) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | at java.util.ArrayList.readObject(ArrayList.java:592) | ... 83 more | | i don't really know whats wrong. there seems to be aproblem with arraylists i use, but without the idle time everything is well. please help me! (i posted this in the seam forum too, but i think its more ejb stuff) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959546#3959546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959546 From do-not-reply at jboss.com Thu Jul 20 08:42:36 2006 From: do-not-reply at jboss.com (trouby) Date: Thu, 20 Jul 2006 08:42:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <25188092.1153399356232.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, Yeah, I understand.... Well, I added to the entity the following method: | @Override | public boolean equals(Object obj) { | if (!(obj != null && obj instanceof TargetSystem)) | return false; | TargetSystem ent = (TargetSystem) obj; | if (this.targetSystemId.equals(ent)) | return true; | return false; | } | Still getting the 'Validation Error: Value is not valid ' message.... Am I missing anything? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959547#3959547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959547 From do-not-reply at jboss.com Thu Jul 20 08:44:22 2006 From: do-not-reply at jboss.com (legolas) Date: Thu, 20 Jul 2006 08:44:22 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <6605845.1153399462878.JavaMail.jboss@colo-br-02.atl.jboss.com> I think it is a similar problem, so not exactly the same. I have a couple of pojo's inserted in Lists, these lists are added to the cache. One of these pojo's have a state implemented using the GoF state pattern, hence as pojo's theirselves. Now when I change the state into a different state using state = bindingFileState; I get the following stack: java.lang.RuntimeException: PojoCache.putObject(): fqn: /product/java/jboss/AMF/BindingManager/BindingFiles/0/state | at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:478) | at org.jboss.cache.aop.CacheInterceptor.invoke(CacheInterceptor.java:115) | at org.jboss.aop.joinpoint.FieldWriteInvocation.invokeNext(FieldWriteInvocation.java:51) | at org.epo.product.jboss.nodeagent.bindingmanager.BindingFile.state_w_$aop(BindingFile.java) | at org.epo.product.jboss.nodeagent.bindingmanager.BindingFile.setState(BindingFile.java:42) | at org.epo.product.jboss.nodeagent.bindingmanager.ApplicationPackage.releaseBindingfile(ApplicationPackage.java:143) | at org.epo.product.jboss.nodeagent.bindingmanager.BindingManager.releaseBindingFile(BindingManager.java:296) | at org.epo.product.jboss.nodeagent.bindingmanager.BindingManagerTest.testReleaseBindingFile(BindingManagerTest.java:239) | 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 junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: java.lang.IllegalStateException: AOPInstance.incrementRefCount(): source fqn: /product/java/jboss/AMF/BindingManager/BindingFiles/0/state/appPackage is already present. | at org.jboss.cache.aop.AOPInstance.incrementRefCount(AOPInstance.java:92) | at org.jboss.cache.aop.InternalDelegate.incrementRefCount(InternalDelegate.java:98) | at org.jboss.cache.aop.ObjectGraphHandler.incrementRefCount(ObjectGraphHandler.java:212) | at org.jboss.cache.aop.ObjectGraphHandler.setupRefCounting(ObjectGraphHandler.java:192) | at org.jboss.cache.aop.ObjectGraphHandler.objectGraphPut(ObjectGraphHandler.java:88) | at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:197) | at org.jboss.cache.aop.TreeCacheAopDelegate._regularPutObject(TreeCacheAopDelegate.java:462) | at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:202) | at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:731) | at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:462) | ... 22 more | | I have changed my code to | if (!state.equals(bindingFileState)) { | state = bindingFileState; | } else { | System.out.println("It's equal"); | } | Which circumvents the problem, but I expected that an assignment, whether or not with the same object would not case this stack trace. Kind regards, Marcel Dullaart View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959548#3959548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959548 From do-not-reply at jboss.com Thu Jul 20 08:45:12 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 20 Jul 2006 08:45:12 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <26305948.1153399512339.JavaMail.jboss@colo-br-02.atl.jboss.com> Your application packaging is correct. Looking at the exception stacktrace, i believe that in your C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/ deploy folder there is a META-INF folder which contains ejb-jar.xml and jboss.xml files. If thats the case, delete the META-INF folder and its contents and start jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959549#3959549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959549 From do-not-reply at jboss.com Thu Jul 20 08:45:46 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 20 Jul 2006 08:45:46 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Message-ID: <5122582.1153399546988.JavaMail.jboss@colo-br-02.atl.jboss.com> Not sure at this point, but we will keep you posted when we come up with a date. Hopefully won't be too long though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959550#3959550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959550 From do-not-reply at jboss.com Thu Jul 20 08:46:27 2006 From: do-not-reply at jboss.com (bernd.koecke) Date: Thu, 20 Jul 2006 08:46:27 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Lookup Failure with HA-JNDI Message-ID: <18672742.1153399587058.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we get intermittent NameNotFound-Exceptions when a client makes a lookup against our JBoss-4.0.2-Cluster. The client uses the HA-JNDI-Ports. When he uses the non HA-JNDI-Ports we don't see the exceptions. At the same time another client can make lookups without any problems. When the client gets the first exception a high number of following lookups fail too. Sometimes, after a non predictable time, the client has successful lookups again, sometimes not. Has anybody seen this too and is there a solution known? Or in other words, is it ok to make a non-HA-JNDI-Call for getting clustered Session-Facades? Here are the details: We have a JBoss-4.0.2-Cluster with three nodes. The cluster has its own partition name and multicast address. The clients are a number of servers with a clustered webapplication. For short we can asume that there are only two client machines. The cluster-nodes and client machines are in the same subnet and see each others multicasts and broadcasts. We stripped the code on the clients and build a servlet which has the following code snipped: | | Hashtable env = new Hashtable(); | env.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | env.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); | env.put("java.naming.provider.url","jnp://server1:,jnp://server2:,jnp://server3:"); | | Context ctx = new InitialContext(env); | Object obj = ctx.lookup(); | | All variables are local, so no singleton with shared data between two servlet calls etc. We use non standard port numbers, so no default can affect the behaviour. The port number is the same on all cluster nodes. But there is another server in the subnet which uses the default ports. When the client fails, we get a NameNotFoundException in the lookup-line. We played around with the property for switching off the auto discovery (jnp.disableDiscovery), setting a connection timeout (jnp.timeout). But nothing changes. We called the servlet on two machines of the webclient cluster. Both used the HA-JNDI-Ports of the three JBoss-Nodes. After a few seconds one of the webclients got the above mentioned exception. After this a lot of following calls got the same exception. We made a tcpdump and saw that the network traffic on the JNDI-Ports stopped after the exception. At the same time the other webclient was able to make lookups. Sometimes the webclient with exceptions went back to normal, but not everytime. We used a small script on a third machine to call the two servlets. We inserted a sleep of 1 second between two calls to one webclient-node. Then we saw the described behaviour. If we run the script without 'sleep' both webclients got exceptions after a few seconds and mostly they don't went back to normal. The interesting point is, that we can't reproduce the problem when we make the jndi-calls from a development machine from a different network. Then the JBoss-Cluster answered all JNDI-Lookups without any exceptions. Another interesting point is that the exceptions on the webclients were gone when we changed the port in the provider URL to the non HA-JNDI-Port. This port is a non standard one too. We would like to use the HA-JNDI-Ports again, is there a known solution for this problem? Thanks for all your help! Bernd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959551#3959551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959551 From do-not-reply at jboss.com Thu Jul 20 08:55:32 2006 From: do-not-reply at jboss.com (trouby) Date: Thu, 20 Jul 2006 08:55:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <16618571.1153400132099.JavaMail.jboss@colo-br-02.atl.jboss.com> Nah, my mistake, I've compared an ID with an entity... That works, but anyway I was wondering, Is there going to be any standard of these? We alreayd have two types of SelectItems annotation.... What SEAM team is going to decide about this? Thanks guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959553#3959553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959553 From do-not-reply at jboss.com Thu Jul 20 08:59:47 2006 From: do-not-reply at jboss.com (hosierdm) Date: Thu, 20 Jul 2006 08:59:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Suffering from the bad performance of Graphical Process Message-ID: <33426850.1153400387782.JavaMail.jboss@colo-br-02.atl.jboss.com> Search this forum and you will see many posts regarding this issue. This is a problem with only one of the releases I believe. Try upgrading to 3.0.9.2 at least. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959554#3959554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959554 From do-not-reply at jboss.com Thu Jul 20 09:06:25 2006 From: do-not-reply at jboss.com (sbalmos) Date: Thu, 20 Jul 2006 09:06:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WStools; Parameter names (Newbie question) Message-ID: <25163480.1153400785812.JavaMail.jboss@colo-br-02.atl.jboss.com> I believe Jason and everyone are completely forgetting the usefulness of @WebParam here. See below: | @Remote @WebService @SOAPBinding(style = SOAPBinding.Style.RPC) | public interface CoreBackend | { | @WebMethod public String startSession(@WebParam(name = "clientID") long clientID); | @WebMethod public void endSession(@WebParam(name = "sessionToken") String sessionToken); | @WebMethod public boolean login(@WebParam(name = "sessionToken") String sessionToken, | @WebParam(name = "username") String username, | @WebParam(name = "password") String password); | @WebMethod public void logout(@WebParam(name = "sessionToken") String sessionToken); | } | --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959556#3959556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959556 From do-not-reply at jboss.com Thu Jul 20 09:11:10 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 20 Jul 2006 09:11:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Able to suspend a token that has ended Message-ID: <25205972.1153401070556.JavaMail.jboss@colo-br-02.atl.jboss.com> :) Yeah, I commented on the existing Jira already. Sounds like Ronald needs a break ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959557#3959557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959557 From do-not-reply at jboss.com Thu Jul 20 09:17:49 2006 From: do-not-reply at jboss.com (newbie007) Date: Thu, 20 Jul 2006 09:17:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <13070422.1153401469872.JavaMail.jboss@colo-br-02.atl.jboss.com> I used to get that message. Make sure that you have users in the jbpm_id_user table. Look at the console to see if hibernate is able to connect to your database etc. If users are not there then use following insert sqls for inserting into jbpm_id_user table (hopefully you didn't change jbpm tables) insert into JBPM_ID_USER (ID_, CLASS_, NAME_, EMAIL_, PASSWORD_) | values ('1', 'U', 'cookie monster', 'cookie.monster at sesamestreet.tv', 'crunchcrunch'); | insert into JBPM_ID_USER (ID_,CLASS_, NAME_, EMAIL_, PASSWORD_) | values ('2', 'U', 'ernie', 'ernie at sesamestreet.tv', 'canthereyoubert,theresabananainmyear'); | insert into JBPM_ID_USER (ID_,CLASS_, NAME_, EMAIL_, PASSWORD_) | values ('3', 'U', 'bert', 'bert at sesamestreet.tv', 'ernie,theresabananainyourear'); | insert into JBPM_ID_USER (ID_,CLASS_, NAME_, EMAIL_, PASSWORD_) | values ('4', 'U', 'grover', 'grover at sesamestreet.tv', 'mayday mayday'); Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959558#3959558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959558 From do-not-reply at jboss.com Thu Jul 20 09:25:53 2006 From: do-not-reply at jboss.com (Arsath) Date: Thu, 20 Jul 2006 09:25:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - How to integrate JMS/async dialogue services with jBPM Message-ID: <18019676.1153401953437.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have few dialog services built with Java Messaging Services. What are the possible approaches to integrate JMS/async dialogue services with jBPM. Thanks Arsath View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959560#3959560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959560 From do-not-reply at jboss.com Thu Jul 20 09:30:22 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 20 Jul 2006 09:30:22 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <10056760.1153402222437.JavaMail.jboss@colo-br-02.atl.jboss.com> Victor, I just want to further point out that the fine folks at jboss labs has a wonder EJB3.0 trial. I have not found any other info on the net to be quite so usefull. You can get to it at http://trailblazer.demo.jboss.com/EJB3Trail/ enjoy, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959561#3959561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959561 From do-not-reply at jboss.com Thu Jul 20 09:31:02 2006 From: do-not-reply at jboss.com (Viegas) Date: Thu, 20 Jul 2006 09:31:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - FacesContext Message-ID: <22884687.1153402262120.JavaMail.jboss@colo-br-02.atl.jboss.com> Im using the beans provided in the starters kit and Im getting a problem When the taskBean tries to get the "taskFormParameters" whith the command: "JsfHelper.getSessionAtribute("taskformParameters"); | the JsfHelper class tries to get the facesContext.getCurrentInstance and that returns null. Im not using beans. Can anyone help me please...thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959562#3959562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959562 From do-not-reply at jboss.com Thu Jul 20 09:33:12 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 20 Jul 2006 09:33:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: begin method invoked from a long running conversation, t Message-ID: <20147111.1153402392175.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems I'm doing something completely wrong. I discovered that the stateful session conversation context bean is created several times during rendering of the single request. Here the debug output: This is the first attempt to access the Seam Component named "leistungsschein". It isn't there, it is created, everything is fine. | 2006-07-20 15:14:32,177 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: leistungsschein | 2006-07-20 15:14:32,177 DEBUG [org.jboss.seam.Component] instantiating Seam component: leistungsschein | 2006-07-20 15:14:32,177 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-20 15:14:32,177 DEBUG [org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor] ++++ LongLivedSessionPropagationInterceptor | Afterwards, lots of successful lookups like this: | 2006-07-20 15:14:33,224 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: leistungsschein | 2006-07-20 15:14:33,224 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: leistungsschein | This all takes place during RENDER_RESPONSE and matches the EL calls to the Seam component in the page. But then, suddenly: | 2006-07-20 15:14:33,912 DEBUG [org.jboss.seam.interceptors.RemoveInterceptor] Stateful component was removed: leistungsschein | Seam intercepts that the container has decided to remove the bean. What follows is clear - Seam recreates the bean, runs into @Begin method and complains about the already begun conversation. But why does the container decide to remove the stateful bean?? I fear that it's an absolute beginner's error. But, in fact, I am an absolute beginner. Hope it's allowed to make some. Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959563#3959563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959563 From do-not-reply at jboss.com Thu Jul 20 09:35:26 2006 From: do-not-reply at jboss.com (gkestor) Date: Thu, 20 Jul 2006 09:35:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - how to has variable of task controller (in processdefinition Message-ID: <19482982.1153402526326.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new about jbpm. In processdefinition.xml, there are task instanaces. How can I obtaion controller that has multiple values? Like combobox in html. for example : task -> controller -> variable name = "color" variable color may has red,yellow,.... Thanks. G?k?en. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959564#3959564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959564 From do-not-reply at jboss.com Thu Jul 20 09:35:48 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 20 Jul 2006 09:35:48 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <1114723.1153402548369.JavaMail.jboss@colo-br-02.atl.jboss.com> The GPD should have more information about it. There's only the readme.txt in the .zip which is a basic 'how to install'. http://www.jboss.com/products/jbpm/downloads Doesn't have any notes for the GPD. Anything like release notes, or change logs, etc would be great :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959565#3959565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959565 From do-not-reply at jboss.com Thu Jul 20 09:35:58 2006 From: do-not-reply at jboss.com (petekol) Date: Thu, 20 Jul 2006 09:35:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a Message-ID: <3423084.1153402558235.JavaMail.jboss@colo-br-02.atl.jboss.com> the root of the problem i have is 1) why bean2 is created when the page is rendered first time indepandantly from rendered property 2) why click on m1 does not create conversation + nested conversation 3) i do not know how to instanciate new bean2 in nested conversation bean1: showBean2 = false; @Begin(join=true) m1() { some code here; showBean2 = true; m2(); } @Begin(nested=true) m2() { some code here; create bean2 here that belongs to nested conversation; } bean2: @Begin(join=true) m3() { some code here; } index.xhtml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959566#3959566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959566 From do-not-reply at jboss.com Thu Jul 20 09:39:22 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 09:39:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <21453882.1153402762192.JavaMail.jboss@colo-br-02.atl.jboss.com> OK i'll try that. Will be back with the results soon. Thank you so much for your attention... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959567#3959567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959567 From do-not-reply at jboss.com Thu Jul 20 09:41:29 2006 From: do-not-reply at jboss.com (newbie007) Date: Thu, 20 Jul 2006 09:41:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <10240483.1153402889209.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you modify web.xml of the webapp? Make sure you have following lines in the web.xml: org.apache.myfaces.webapp.StartupServletContextListener FacesServlet javax.faces.webapp.FacesServlet 1 FacesServlet /faces/* Another question is: In the beginning you said "Im using beans" and at the end you said "I am not using beans". What does that mean? Are you using default webapp or you changed the implementation? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959568#3959568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959568 From do-not-reply at jboss.com Thu Jul 20 09:45:19 2006 From: do-not-reply at jboss.com (Smilidon) Date: Thu, 20 Jul 2006 09:45:19 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: How to get MBean domains? Message-ID: <16891565.1153403119219.JavaMail.jboss@colo-br-02.atl.jboss.com> thank you, yes this is what i wont. but it looks like this function is not avaible in jboss 3.2.2/3.2.3. is there a similar in the older versions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959569#3959569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959569 From do-not-reply at jboss.com Thu Jul 20 09:45:30 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Thu, 20 Jul 2006 09:45:30 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - displaytag in my portal Message-ID: <8955121.1153403130470.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you give me a help about how to use displaytag in my portal? I'm having a problem with the URL created by the displaytag when i use the option pagesize. Here is the code: | | | | | | |
    |
    | | | | | | | | |
    | | | | | | | | |
    |
    |
    | This produces me the URL: http://localhost:8080/bem/ActionList.jsp?d-49489-p=2 who isn't correct. The URL for this portlet is: | http://localhost:8080/portal/auth/portal/sigo/Accoes | I've also tried with requestURI: | | but it doesn't work. Any help? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959570#3959570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959570 From do-not-reply at jboss.com Thu Jul 20 09:46:23 2006 From: do-not-reply at jboss.com (khp) Date: Thu, 20 Jul 2006 09:46:23 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - jboss look and feel problem Message-ID: <8310356.1153403183932.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using struts and jsp to design the web-pages. The radio buttons are not lined up with the text, they are on separate lines. This was not so when we used websphere and tomcat application servers. After migrating to JBoss this is observed. Please help ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959571#3959571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959571 From do-not-reply at jboss.com Thu Jul 20 09:49:28 2006 From: do-not-reply at jboss.com (rfidler1978) Date: Thu, 20 Jul 2006 09:49:28 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: ERROR [javax.faces.webapp.UIComponentTag] Faces context Message-ID: <5338710.1153403368404.JavaMail.jboss@colo-br-02.atl.jboss.com> Just to dump in two cents.... I was receiving the same error when moving a webapp from Tomcat standalone to JBoss 4.0.4 GA. When looking at the existing web.xml I noticed that some properties that were set using net.sourceforge.myfaces. Recalling from some JBoss JSF documentation that the default JSF implementation was provided by Apache, I looked into which library Tomcat (embedded) was using - and behold it was Apache's implementation. Now I would think that having the net.sourceforge implementation in my WEB-INF would prompt Tomcat to use that impl, but it didn't. When I replaced the default Apache impl with the net.sourceforge everything was fine. How to change jsf impl: Section 9.9 of: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch9.chapt.html (thanks to a previous post for providing this URL) Afore mentioned tag lib issue might still be an issue but for me it was just the JSF implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959572#3959572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959572 From do-not-reply at jboss.com Thu Jul 20 09:49:34 2006 From: do-not-reply at jboss.com (Viegas) Date: Thu, 20 Jul 2006 09:49:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <20414075.1153403374983.JavaMail.jboss@colo-br-02.atl.jboss.com> Im am using the beans source, but I changed the webapp, Im using standart jsp. I have the classes included in the classpath and I use then in the servlet and java code thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959573#3959573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959573 From do-not-reply at jboss.com Thu Jul 20 09:49:42 2006 From: do-not-reply at jboss.com (Viegas) Date: Thu, 20 Jul 2006 09:49:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <31033923.1153403382416.JavaMail.jboss@colo-br-02.atl.jboss.com> Im am using the beans source, but I changed the webapp, Im using standart jsp. I have the classes included in the classpath and I use then in the servlet and java code thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959574#3959574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959574 From do-not-reply at jboss.com Thu Jul 20 09:59:07 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 09:59:07 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <22387868.1153403947876.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, messages like "Associate sso id 5FA6BEF297272CD734130D4DAC707A4B with session SessionBasedClusteredSession" are telling me the SSO has been established. I'm not really sure what to tell you; everything you are doing seems fine. All I can think of is to check your browser to make sure it has a JSESSIONIDSSO cookie and a jsessionid cookie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959575#3959575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959575 From do-not-reply at jboss.com Thu Jul 20 10:00:55 2006 From: do-not-reply at jboss.com (osterday) Date: Thu, 20 Jul 2006 10:00:55 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: missing scheduler-plugin.jar in JBOSS 4.0.4 GA (ejb3.0) Message-ID: <9962090.1153404055454.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm guessing this is because for the EJB 3.0 install, GA uses Quartz for scheduling. That's just a guess since I never used the JBoss scheduler, only Quartz. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959576#3959576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959576 From do-not-reply at jboss.com Thu Jul 20 10:03:06 2006 From: do-not-reply at jboss.com (osterday) Date: Thu, 20 Jul 2006 10:03:06 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: org.jboss.varia.scheduler.Schedulable Message-ID: <12853345.1153404186189.JavaMail.jboss@colo-br-02.atl.jboss.com> I just posted this to another topic regarding the same thing... I'm guessing this is because for the EJB 3.0 install, GA uses Quartz for scheduling. That's just a guess since I never used the JBoss scheduler, only Quartz. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959577#3959577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959577 From do-not-reply at jboss.com Thu Jul 20 10:04:10 2006 From: do-not-reply at jboss.com (tanked) Date: Thu, 20 Jul 2006 10:04:10 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: JNDI between 2 JBoss instances Message-ID: <13215907.1153404250835.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually, I've decided to go with an external context for the JMS server. That seems to work very well for my case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959578#3959578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959578 From do-not-reply at jboss.com Thu Jul 20 10:04:42 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 20 Jul 2006 10:04:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <7663475.1153404282052.JavaMail.jboss@colo-br-02.atl.jboss.com> Inside the starter kit for 3.1.2 it says: You'll need to download eclipse 3.1.2 separately from the jBPM starters-kit. and The designer plugin works with eclipse versions 3.1.2, 3.1.1, 3.1, 3.1M7, 3.1RC1 and 3.1RC2. and the solo download says: he described installation process has been tested with the 3.1 version of Eclipse. So that was rather confusing, I tried to install both on Eclipse 3.1.2, and neither worked. So I am now downloading the 3.2 Eclipse and trying it there. (I am running fedora 45 linux as well) James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959579#3959579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959579 From do-not-reply at jboss.com Thu Jul 20 10:08:25 2006 From: do-not-reply at jboss.com (newbie007) Date: Thu, 20 Jul 2006 10:08:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <3833248.1153404505288.JavaMail.jboss@colo-br-02.atl.jboss.com> If you changed the webapp, you still using JSF? If you are using your own servlet then why not prepare the form parameters list on your own and set it to the request or session (whatever feasiable) Preparing form parameter list is straight forward: List taskFormParameters = new ArrayList(); | TaskController taskController = taskInstance.getTask().getTaskController(); | if (taskController!=null) { | List variableAccesses = taskController.getVariableAccesses(); | Iterator iter = variableAccesses.iterator(); | while (iter.hasNext()) { | VariableAccess variableAccess = (VariableAccess) iter.next(); | String mappedName = variableAccess.getMappedName(); | Objec! value = taskInstance.getVariable(mappedName); | TaskFormParameter tfp = new TaskFormParameter(variableAccess, value); | taskFormParameters.add(tfp); | } Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959580#3959580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959580 From do-not-reply at jboss.com Thu Jul 20 10:08:30 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 10:08:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jboss Cache and Hibernate Secondary Caching Message-ID: <16079295.1153404510319.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, Steve -- that's very helpful :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959581#3959581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959581 From do-not-reply at jboss.com Thu Jul 20 10:10:56 2006 From: do-not-reply at jboss.com (lnuxguy) Date: Thu, 20 Jul 2006 10:10:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How to export/package a portlet with the Eclipse Plugin Message-ID: <3928995.1153404656338.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got the Portlet plugin for Eclipse, but don't know how to export it to a WAR so I can deploy it to Jboss portal. Does anyone have instructions on this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959582#3959582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959582 From do-not-reply at jboss.com Thu Jul 20 10:11:43 2006 From: do-not-reply at jboss.com (rajsoni) Date: Thu, 20 Jul 2006 10:11:43 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss has a plugin for IPlanet?? Message-ID: <24996773.1153404703170.JavaMail.jboss@colo-br-02.atl.jboss.com> will go through this. thanks a lot Brian!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959583#3959583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959583 From do-not-reply at jboss.com Thu Jul 20 10:14:32 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 20 Jul 2006 10:14:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Multiple Transitions to a fork Message-ID: <18286600.1153404872866.JavaMail.jboss@colo-br-02.atl.jboss.com> I was creating a sample workflow just to use, and I tried having two task-nodes go to the same fork. Once a fork already has one incoming transition, it will not allow me to add a second one. Example: I have a decision node that can go to one of two task-nodes. After either path, the flow will fork: | | | | | | | | | | | | | | | | | You can force it in XML, but sometimes that works in the GPD, but other times the GPD gets confused and has transitions floating out to nowhere. Is there some reason there should not be multiple transitions to the same fork? I realize you can just put a 'NO-OP' node between the fork and the two task-nodes, but that just clutters up the graph. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959584#3959584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959584 From do-not-reply at jboss.com Thu Jul 20 10:19:07 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 20 Jul 2006 10:19:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Exception in method called by EL isn't logged Message-ID: <24065270.1153405147726.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok. There it is. An exception in one of my methods which is called from EL. Ok, the exception is clearly my fault. But that it is completely hidden and is shown nowhere among the forest of followup exceptions, this is a really hard qualifying examination for beginners like me. May I now join the club of seam users? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959585#3959585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959585 From do-not-reply at jboss.com Thu Jul 20 10:22:23 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Thu, 20 Jul 2006 10:22:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w Message-ID: <19264835.1153405343631.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I agree. It works. It wasn't clear to me that the view-id property was the actual name of the file. I'm using facelets and was replacing the file extension with .jsf. I needed to leave it as .xhtml. Once I figured that out, it worked just fine. I though I needed to use the DEFAULT_SUFFIX in the view-id. I didn't. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959586#3959586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959586 From do-not-reply at jboss.com Thu Jul 20 10:27:06 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Thu, 20 Jul 2006 10:27:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <8486324.1153405626469.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolved this using Page Actions. Although, I might try what you suggest petemuir just to see what happens. My guess is that it won't work. I think the problem is the the Seam component "package" not "packages" is not being referenced in the web page so it never gets instantiated and the @Create method is never called. This particualr page only references the @DataModel "packages" property. Since the component is never instantiated I have to use a page action to get the behavior I need. This may not be acurate, but it appears to be what is happening. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959587#3959587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959587 From do-not-reply at jboss.com Thu Jul 20 10:27:10 2006 From: do-not-reply at jboss.com (norman.richards@jboss.com) Date: Thu, 20 Jul 2006 10:27:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Houston - July 20th Message-ID: <23695236.1153405630278.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for the short notice - I forgot to post in the forums. I'll be speaking on Seam tonight at the Houston JBoss Users Group. You need to register in advance: http://www.hjbug.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959588#3959588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959588 From do-not-reply at jboss.com Thu Jul 20 10:29:36 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Thu, 20 Jul 2006 10:29:36 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Clustering without J2EE App Server? Message-ID: <22631006.1153405776508.JavaMail.jboss@colo-br-02.atl.jboss.com> ...or alternatively, can Tomcat be used to provide clustering? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959589#3959589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959589 From do-not-reply at jboss.com Thu Jul 20 10:30:18 2006 From: do-not-reply at jboss.com (rajeshchande) Date: Thu, 20 Jul 2006 10:30:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - does ejb3 works only with Message-ID: <9649502.1153405818530.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Wherever I read the details are given how to make ejb3 running on JBoss 4.0.X - all configuration. Is it possible to make ejb3 running on the jboss with "default" configuration? Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959590#3959590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959590 From do-not-reply at jboss.com Thu Jul 20 10:30:51 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 10:30:51 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Clustering without J2EE App Server? Message-ID: <17263885.1153405851208.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Cache can function and cluster just fine outside of an app server. An example of how to start one programatically: | TreeCache tree=new TreeCache(); | PropertyConfigurator config=new PropertyConfigurator(); | config.configure(tree, "replAsync-service.xml"); // read in config file from classpath | tree.createService(); | tree.startService(); | All caches on the network which share a common JGroups protocol stack definition in their config file will see each other and cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959591#3959591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959591 From do-not-reply at jboss.com Thu Jul 20 10:31:23 2006 From: do-not-reply at jboss.com (amitguz) Date: Thu, 20 Jul 2006 10:31:23 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - cannot deploy applications with version 2.0.0.Alpha1a Message-ID: <22361812.1153405883757.JavaMail.jboss@colo-br-02.atl.jboss.com> now both options to deploy applications don't work: 1.) "Add and Remove projects" operation on a jboss server instance result in error: "there are no projects that can be added or removed from the server" 2.) the operation "run on server" is no longer available by opening a popup on a EAR file (it was in the previous version - 2.0.0.Alpha). Did I miss something? or is it a bug? tnx, amit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959592#3959592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959592 From do-not-reply at jboss.com Thu Jul 20 10:32:15 2006 From: do-not-reply at jboss.com (Jim_Cross) Date: Thu, 20 Jul 2006 10:32:15 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Clustering without J2EE App Server? Message-ID: <1775069.1153405935782.JavaMail.jboss@colo-br-02.atl.jboss.com> Great, thanks Brian. Also just found an example deployment in Tomcat :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959593#3959593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959593 From do-not-reply at jboss.com Thu Jul 20 10:33:06 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 10:33:06 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Clustering without J2EE App Server? Message-ID: <17291911.1153405986990.JavaMail.jboss@colo-br-02.atl.jboss.com> You can't use the cluster communication layer that comes with Tomcat to provide communication between JBoss Cache instances. But, you can run JBoss Cache inside Tomcat; the code I just posted will work fine inside a web tier component running in Tomcat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959594#3959594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959594 From do-not-reply at jboss.com Thu Jul 20 10:46:16 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 10:46:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <14117511.1153406776989.JavaMail.jboss@colo-br-02.atl.jboss.com> You have a variable packages (a datamodel) which you outject (using @DataModel) from PackageAction. You have a view which contains a datatable with a value #{packages}. Placing a Factory for "packages" on the on load() method will cause it to be run if the context variable packages is null (which I assume it is?). As the packages Factory method is part of the package seam component running it will cause the package component to be instantiated. I'm assuming you don't have seam naming conflicts going on. Try it and see ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959595#3959595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959595 From do-not-reply at jboss.com Thu Jul 20 10:53:21 2006 From: do-not-reply at jboss.com (trouby) Date: Thu, 20 Jul 2006 10:53:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <3998416.1153407201122.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, Btw, going a seocnd for the original subject of this post ;) Is there any example of using multiple selection tags such as: 'selectManyListbox' ? I'd like to see a collection set automatically and not a specific entity, As I understand, the SelectItems annotation and the entityconverter together supports multiple selections and set selected items directly into the list? Is there any example for this? I tried the following code: | | | | But I always get 'Validation Error: Value is not valid', also I can assure that EntityConverter does not even try to convert the values to objects... Thanks a lot, Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959599#3959599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959599 From do-not-reply at jboss.com Thu Jul 20 10:53:27 2006 From: do-not-reply at jboss.com (znbailey) Date: Thu, 20 Jul 2006 10:53:27 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <7243301.1153407207546.JavaMail.jboss@colo-br-02.atl.jboss.com> "rob.stryker at jboss.com" wrote : You've said you're using jboss3.2.7 but you've named it 4.x TRUNK. Which jboss version are you actually trying to use? =P The 4.x TRUNK refers to the version of the product that I work on being deployed, not the version of JBoss. If you look back a couple of messages you will see I posted the following: 11:47:57,734 INFO [Server] JBoss (MX MicroKernel) [3.2.7 (build: CVSTag=JBoss_3_2_7 date=200501280217)] Started in 56s:922ms Hope that answers your question :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959600#3959600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959600 From do-not-reply at jboss.com Thu Jul 20 10:53:40 2006 From: do-not-reply at jboss.com (Viegas) Date: Thu, 20 Jul 2006 10:53:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <15363150.1153407220951.JavaMail.jboss@colo-br-02.atl.jboss.com> Im not using JSF, I implemented the code you described asn it worked , but I tried to do the "same" to the set method and it failed(something i did wrong my code was: | TaskController taskController = taskInstance.getTask().getTaskController(); | if (taskController!=null) { | taskControler.submitParameters((TaskInstance) taskParameters); | } | | is this kind of code/API described with examples? | | thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959601#3959601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959601 From do-not-reply at jboss.com Thu Jul 20 10:57:50 2006 From: do-not-reply at jboss.com (annecotter) Date: Thu, 20 Jul 2006 10:57:50 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Does clustering require traffic over 1098 as well as 11800? Message-ID: <2357726.1153407470684.JavaMail.jboss@colo-br-02.atl.jboss.com> I apologize if this is a basic question, but I cannot find a clear answer in any of the documentation. I have JGroups configured to use TCP. I notice that when a new member joins the cluster, there seems to be traffic generated from port 1098, as well as the expected JGroups traffic on 11800. Is there an RMI call made when a new member joins the cluster? I'm suspecting this is how the new member registers itself with the existing member's HA partition? Any info would be much appreciated, thank you in advance. regards, Anne View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959602#3959602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959602 From do-not-reply at jboss.com Thu Jul 20 10:59:22 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 20 Jul 2006 10:59:22 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: jboss look and feel problem Message-ID: <29662431.1153407562655.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you post one of you JSPs that is exhibiting the problem? I assume you are using a stylesheet, are you sure that it is being attached? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959603#3959603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959603 From do-not-reply at jboss.com Thu Jul 20 11:00:19 2006 From: do-not-reply at jboss.com (liudan2005) Date: Thu, 20 Jul 2006 11:00:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Stateless not supported with List/Edit type applications Message-ID: <24887034.1153407619795.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a stateless ejb that has 2 methods: list() and edit(). list method populate a list so user can click on one of the items for editing. However, my edit() method is never triggered when user clicked on the items. Changing my ejb to Stateful would solve the problem. Is there any reason why Stateless ejb is not allowed for CRUD type applications? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959604#3959604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959604 From do-not-reply at jboss.com Thu Jul 20 11:06:49 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Thu, 20 Jul 2006 11:06:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - I have found a workaround Message-ID: <24477454.1153408009155.JavaMail.jboss@colo-br-02.atl.jboss.com> I have found a workaround but it still doesn't give me the locking semantics that I would like. I have added a version number to my entity bean and added the @Version annotation. This means that the MDBs can read dirty data but can't write after using it; this stops the symptoms but doesn't fix the cause. Does anyone know how I can completely lock an Entity within a transaction? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959606#3959606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959606 From do-not-reply at jboss.com Thu Jul 20 11:08:29 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 20 Jul 2006 11:08:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <31524205.1153408109736.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll double check and I'll try to write an example tonight or tomorrow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959607#3959607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959607 From do-not-reply at jboss.com Thu Jul 20 11:08:33 2006 From: do-not-reply at jboss.com (balakrishna_narla) Date: Thu, 20 Jul 2006 11:08:33 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Error 404 Message-ID: <25674041.1153408113376.JavaMail.jboss@colo-br-02.atl.jboss.com> "luc.texier at jboss.com" wrote : Try /fibo/Compute (C upper case, see url-pattern) I have tried changing the url-pattern to /fibo/Compute but still the same error. I have changed the value for this url-pattern in XDoclet tags for the ComputeServlet and it reflected in web.xml file but still the error persists. Please help me in this regard. I'm new to JBoss, XDoclet. Thanks, Balakrishna View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959608#3959608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959608 From do-not-reply at jboss.com Thu Jul 20 11:11:03 2006 From: do-not-reply at jboss.com (octoberdan) Date: Thu, 20 Jul 2006 11:11:03 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JSF 1.2 + Facelets = Exception? Message-ID: <14527956.1153408263623.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm currently running JBoss4 to which I am not allowed to make changes to. I have a set of JSF 1.2 components that I need to get working in this enviroment, but when I access any page I'm thrown an exception. (The full log is available at http://pastebin.ca/93520) The exception is: # java.lang.NoSuchMethodError: javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V # at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:100) # at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243) # at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113) # at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) # at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) # at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) # at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) # at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) # at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) # at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) # at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) # at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) # at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) # at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) # at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) # at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) # at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138) # at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) # at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) # at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) # at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) # at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) # at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) # at java.lang.Thread.run(Thread.java:595) This is an emergency! I need to get this working or I'm screwed :-(. Any help will be appreciated untill the end of time! Thank you! -OD View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959609#3959609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959609 From do-not-reply at jboss.com Thu Jul 20 11:17:13 2006 From: do-not-reply at jboss.com (bviveiros) Date: Thu, 20 Jul 2006 11:17:13 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Multiple JBoss Servers, One JMS Queue Message-ID: <4747837.1153408633448.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I combed through the forums and seen similar posts but couldn't find a posted solution. Is it possible to have 2 JBoss Servers Posting and Receiving messages to/from the same JMS queue? In my setup I have 2 JBoss servers being load balanced, but not clustered. The intention of the design is so that if one JBoss AS fails, the second server is still connected to the queue. JBoss 4.0.3SP1 MySql 5 for message persistance. MySql is replicating to a slave database. Here's the stack track: 2006-07-19 16:33:12,424 WARN (Thread: http-0.0.0.0-8080-3) [jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=IMP1-LAB.MTI.local/197, BranchQual=, localId=197] errorCode=XAER_RMERR | org.jboss.mq.SpyXAException: - nested throwable: (org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not store message: 3346 msg=16 hard NOT_STORED PERSISTENT queue=QUEUE.impInbox priority=10 lateClone=false hashCode=21561092; - nested throwable: (java.sql.SQLException: Duplicate entry '16-QUEUE.impInbox' for key 1))) | at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:134) | at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2192) | at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1642) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:329) | at org.jboss.tm.TxManager.commit(TxManager.java:224) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:126) | at com.mythum.imp.web.SMSReceiveServlet.doPost(SMSReceiveServlet.java:214) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.mq.SpyTransactionRolledBackException: Transaction was rolled back.; - nested throwable: (org.jboss.mq.SpyJMSException: Could not store message: 3346 msg=16 hard NOT_STORED PERSISTENT queue=QUEUE.impInbox priority=10 lateClone=false hashCode=21561092; - nested throwable: (java.sql.SQLException: Duplicate entry '16-QUEUE.impInbox' for key 1)) | at org.jboss.mq.server.JMSDestinationManager.transact(JMSDestinationManager.java:473) | at org.jboss.mq.server.JMSServerInvoker.transact(JMSServerInvoker.java:186) | at org.jboss.mq.il.jvm.JVMServerIL.transact(JVMServerIL.java:327) | at org.jboss.mq.Connection.send(Connection.java:1163) | at org.jboss.mq.SpyXAResourceManager.prepare(SpyXAResourceManager.java:207) | at org.jboss.mq.SpyXAResource.prepare(SpyXAResource.java:130) | ... 27 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959610#3959610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959610 From do-not-reply at jboss.com Thu Jul 20 11:22:32 2006 From: do-not-reply at jboss.com (octoberdan) Date: Thu, 20 Jul 2006 11:22:32 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JSF 1.2 + Facelets = Exception? Message-ID: <7305900.1153408952683.JavaMail.jboss@colo-br-02.atl.jboss.com> Fixed the problem! Here's how: created folder jsf-libs in \jboss\server\default\deploy\jbossweb-tomcat55.sar\ and put jstl.jar and jsf*.jars in there. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959612#3959612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959612 From do-not-reply at jboss.com Thu Jul 20 11:30:51 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Thu, 20 Jul 2006 11:30:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <20967404.1153409451360.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks petemuir. Worked like a charm. I though I could only use the @Factory if I was using jBPM. No I know better. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959613#3959613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959613 From do-not-reply at jboss.com Thu Jul 20 11:38:27 2006 From: do-not-reply at jboss.com (trouby) Date: Thu, 20 Jul 2006 11:38:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <5863236.1153409907492.JavaMail.jboss@colo-br-02.atl.jboss.com> Sure, At the moment I switched to multipleSelection, I've noticed that EntityConverter does not even try to load the entity... Will wait for some testings / examples :) Thanks a lot! Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959614#3959614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959614 From do-not-reply at jboss.com Thu Jul 20 11:38:37 2006 From: do-not-reply at jboss.com (k_bharat) Date: Thu, 20 Jul 2006 11:38:37 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Thread Zoombie Message-ID: <16087810.1153409917883.JavaMail.jboss@colo-br-02.atl.jboss.com> Were you able to fix the infinte thread generation? we are also facing the same problem. we get OutOfMemory error , could not create new thread.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959615#3959615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959615 From do-not-reply at jboss.com Thu Jul 20 11:41:41 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Thu, 20 Jul 2006 11:41:41 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Regarding the No ManagedConnection error in jboss-4.0.3S Message-ID: <28894930.1153410101877.JavaMail.jboss@colo-br-02.atl.jboss.com> Getting the NoManagedConnections error is not necessarily a bad thing. It really just says that the pool needs to probably be tuned. Please post your *-ds.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959616#3959616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959616 From do-not-reply at jboss.com Thu Jul 20 11:57:43 2006 From: do-not-reply at jboss.com (roberto) Date: Thu, 20 Jul 2006 11:57:43 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <31964388.1153411063974.JavaMail.jboss@colo-br-02.atl.jboss.com> Please , can you please tell me how check my browser to make sure that it has JSESSIONIDSSO and jsessionid cookies? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959620#3959620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959620 From do-not-reply at jboss.com Thu Jul 20 12:03:19 2006 From: do-not-reply at jboss.com (MarcReis) Date: Thu, 20 Jul 2006 12:03:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Hibernate 2nd lvl Cache for EJB3 Message-ID: <25678372.1153411399810.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have still not been able to solve the above Problem (In short: "EJB3.0 SFSB in a cluster --> error with the eviction in the cache") I tried it with CR2 and also with 1.4.0GA, results are the same. Are there any hints you can give, were I should/could step through to get behind this ?(my debug walks havent really brought any light into this). Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959622#3959622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959622 From do-not-reply at jboss.com Thu Jul 20 12:04:32 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 12:04:32 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <19828756.1153411472420.JavaMail.jboss@colo-br-02.atl.jboss.com> For Firefox, go into Tools -- Options -- Privacy -- Cookies and there is a View Cookies button. I don't recall how w/ IE, other than poking around in some subfolder of your folder in Documents and Settings and finding the file where they are stored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959623#3959623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959623 From do-not-reply at jboss.com Thu Jul 20 12:05:34 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Thu, 20 Jul 2006 12:05:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Please explain the Portal URL - /portal/portal Message-ID: <7466259.1153411534816.JavaMail.jboss@colo-br-02.atl.jboss.com> About the CMS integration with Portal. I agree with you that those are two separate concerns. However JBoss Portal as a *product* ships with a CMS. It is totally possible to remove the CMS and only keep the aggregation capabilities of the portal if you don't need CMS : 1/ delete portal-cms.war 2/ remove cms related stuff : portlets, instances and portlet windows If you look at jboss-service.xml you can even change how the URL decoding is performed : 1/ remove the PrefixDelegatingCommandMapper 2/ set the PortalObjectCommandMapper as the next of the DefaultPortalCommandMapper service this way you should have /a/b/c act the same as /portal/a/b/c View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959624#3959624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959624 From do-not-reply at jboss.com Thu Jul 20 12:06:11 2006 From: do-not-reply at jboss.com (MarcReis) Date: Thu, 20 Jul 2006 12:06:11 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: SFSB 3.0, replication trouble Message-ID: <11508197.1153411571016.JavaMail.jboss@colo-br-02.atl.jboss.com> In my case, rhe above issue still shows up. I tried with the 3.2.rc3 (using the hibernate3.jar as well as trying to integreate this in the build of a server). Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959625#3959625 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959625 From do-not-reply at jboss.com Thu Jul 20 12:07:41 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Thu, 20 Jul 2006 12:07:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: PageContainer in 2.2 source tree but not found in 2.2.1- Message-ID: <15151007.1153411661549.JavaMail.jboss@colo-br-02.atl.jboss.com> The thing is that we are going to rewrite the management portlets for the 2.6 release in order to have them more powerful and simple. We will probably continue to use JSF. What did you find wrong with JSF ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959626#3959626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959626 From do-not-reply at jboss.com Thu Jul 20 12:07:54 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Thu, 20 Jul 2006 12:07:54 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: application-defined resources for MDBs Message-ID: <33345074.1153411674216.JavaMail.jboss@colo-br-02.atl.jboss.com> If it is true that there could occur conflicts, then i guess the following documentation is not valid: Reading from "Development Roles" http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview6.html : "For example, in the application component development phase, an enterprise bean software developer delivers EJB JAR files. In the application assembly role, another developer combines these EJB JAR files into a J2EE application and saves it in an EAR file. In the application deployment role, a system administrator at the customer site uses the EAR file to install the J2EE application into a J2EE server." Because there is no way for the "application assembly role" to _freely_ pick EJB JAR files from the "enterprise bean software developer". He will be getting global conflicts if an EJB JAR is assembled inside two EARs and deployed in the same server. Do you see my point? Reusing EJB modules accross applications is not possible. Or have I misunderstood something obvious? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959627#3959627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959627 From do-not-reply at jboss.com Thu Jul 20 12:10:38 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Thu, 20 Jul 2006 12:10:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: how can I temporary block a portal user? Message-ID: <32394907.1153411838288.JavaMail.jboss@colo-br-02.atl.jboss.com> I think that we are missing the code today that looks at the enabled/disabled attribute. One way to do it would be to redirect the user to a well known page. It could be easily done as a ServerInterceptor and added in jboss-service.xml of jboss-portal.sar/META-INF/jboss-service.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959628#3959628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959628 From do-not-reply at jboss.com Thu Jul 20 12:19:52 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Thu, 20 Jul 2006 12:19:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm-gpd-site-3.0.11.zip from sourceforge download does Message-ID: <26271847.1153412392438.JavaMail.jboss@colo-br-02.atl.jboss.com> Guys, You are so right... There have been problems with the GPD release management because it was a module inside the core jbpm JIRA project. IT has notified me that they have created a GPD JIRA project. Please add all tasks like these that apply to the GPD to this project. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959629#3959629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959629 From do-not-reply at jboss.com Thu Jul 20 12:21:10 2006 From: do-not-reply at jboss.com (octoberdan) Date: Thu, 20 Jul 2006 12:21:10 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JSF 1.2 + Facelets = Exception? Message-ID: <9374234.1153412470461.JavaMail.jboss@colo-br-02.atl.jboss.com> I had to add the EL jars aswell View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959630#3959630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959630 From do-not-reply at jboss.com Thu Jul 20 12:23:27 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Thu, 20 Jul 2006 12:23:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Multiple Transitions to a fork Message-ID: <12988840.1153412607573.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIR it is explicitly stated in the docs that forks can have only 1 incoming transition... Am I wrong about this? Has this changed in the meantime? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959631#3959631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959631 From do-not-reply at jboss.com Thu Jul 20 12:28:03 2006 From: do-not-reply at jboss.com (emsa) Date: Thu, 20 Jul 2006 12:28:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam Managed Persitance problems Message-ID: <263835.1153412883791.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, after some time a have finally had the time to upgrade to jboss-4.0.4-Patch1 and seam-1.0.1.GA (after running old betas and cvs for some time). But I cannot deploy my app using seam managed persistance, this has worked flawlessly before. My seam.properties looks like this: | org.jboss.seam.core.init.managedPersistenceContexts em | em.persistenceUnitJndiName java:/EntityManagerFactories/myDatabase | And when I deploy I get this exception: | java.lang.IllegalArgumentException: no property for configuration setting: org.jboss.seam.core.init.managedPersistenceContexts | at org.jboss.seam.Component.initInitializers(Component.java:311) | at org.jboss.seam.Component.(Component.java:209) | at org.jboss.seam.Component.(Component.java:159) | at org.jboss.seam.Component.(Component.java:154) | at org.jboss.seam.Component.(Component.java:149) | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:381) | at org.jboss.seam.init.Initialization.addComponents(Initialization.java:255) | at org.jboss.seam.init.Initialization.init(Initialization.java:195) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) | at .... | | Caused by: java.beans.IntrospectionException: Method not found: isManagedPersistenceContexts | at java.beans.PropertyDescriptor.(PropertyDescriptor.java:89) | at java.beans.PropertyDescriptor.(PropertyDescriptor.java:53) | at org.jboss.seam.Component.initInitializers(Component.java:307) | ... 98 more | Deploying with an empty seam.properties do work. Have I missed someting - must I make any changes to code or configurations to make seam managed persistance work again? /Magnus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959632#3959632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959632 From do-not-reply at jboss.com Thu Jul 20 12:28:45 2006 From: do-not-reply at jboss.com (j1a2o) Date: Thu, 20 Jul 2006 12:28:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...} Message-ID: <708896.1153412925152.JavaMail.jboss@colo-br-02.atl.jboss.com> James, So is the solution at this time to replace the query in jbpm/src/java.jbpm/org/jbpm/db/hibernate.queries.hbm.xml like you suggested? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959633#3959633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959633 From do-not-reply at jboss.com Thu Jul 20 12:45:24 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 20 Jul 2006 12:45:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Multiple Transitions to a fork Message-ID: <1543105.1153413924670.JavaMail.jboss@colo-br-02.atl.jboss.com> According to the docs at http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#nodetypefork anonymous wrote : 9.3.5. Nodetype fork | | A fork splits one path of execution into multiple concurrent paths of execution. The default fork behaviour is to create a child token for each transition that leaves the fork, creating a parent-child relation between the token that arrives in the fork. I can't find anything else in the docs that says explicitly one incoming transition. Now, it says "splits one path of execution". I don't know if that means explicitly "can only have one incoming path". Because if you have two incoming paths, it will split each path. So it splits that path of execution. I force fed the xml the multiple transitions to the fork, and jBPM works properly when running the workflow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959634#3959634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959634 From do-not-reply at jboss.com Thu Jul 20 13:03:53 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Thu, 20 Jul 2006 13:03:53 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <8530231.1153415033126.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | | | | | weblogic | weblogic | | weblogic.management.remote | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959637#3959637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959637 From do-not-reply at jboss.com Thu Jul 20 13:06:06 2006 From: do-not-reply at jboss.com (lfaggioli) Date: Thu, 20 Jul 2006 13:06:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Configuring jBPM runtime in gpd 3.0.11 Message-ID: <28463171.1153415166672.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Koen, I saw your reply to Ronald regarding 3.2 support... I got the GPD 3.0.11 from the anonymous CVS (HEAD) and I have the same problem as Roland does: no way I can configure the runtime. What I did not get from your post is whether there's a workaround for that or if I'd better wait for the next release... One more question: I saw in a post some weeks ago that it will be possible to build more complex forms using the designer (not only input fields, but as well combos, radios and so on). Are these functionalities already included in the HEAD? Thanks a lot luca View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959638#3959638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959638 From do-not-reply at jboss.com Thu Jul 20 13:07:04 2006 From: do-not-reply at jboss.com (wolfc) Date: Thu, 20 Jul 2006 13:07:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: env-entry injection in a @Service EJB Message-ID: <3812361.1153415224918.JavaMail.jboss@colo-br-02.atl.jboss.com> Please try the following: | | | EnvEntry Tests | | | TestEnvEntry | | maxExceptions | java.lang.Integer | 15 | | | minExceptions | java.lang.Integer | 5 | | org.jboss.ejb3.test.enventry.TestEnvEntryBean | minExceptions | | | | org.jboss.ejb3.test.enventry.TestEnvEntryBean/numExceptions | java.lang.Integer | 10 | | | | | With the first one you need: @Resource(name="maxExceptions") private int maxExceptions; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959639#3959639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959639 From do-not-reply at jboss.com Thu Jul 20 13:08:34 2006 From: do-not-reply at jboss.com (wolfc) Date: Thu, 20 Jul 2006 13:08:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: deploy ear with embedded jboss Message-ID: <15218023.1153415314229.JavaMail.jboss@colo-br-02.atl.jboss.com> It is not possible to deploy an ear with embedded. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959640#3959640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959640 From do-not-reply at jboss.com Thu Jul 20 13:09:53 2006 From: do-not-reply at jboss.com (mjrother) Date: Thu, 20 Jul 2006 13:09:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB3 Session Facade TransactionRequiredException Message-ID: <6125665.1153415393461.JavaMail.jboss@colo-br-02.atl.jboss.com> I was wondering the best way the handle the following with EJB3. I have a EJB3 Session Bean which acts as a facade for business activities. In a method, I want to check for existing records and report the error prior to attempting to persist an business object. I am looking for the existance of a database record (say user table with a username field). If the record exists, I return an error that already exists. When I try to find the user record, if not there a EJB3TransactionRollbackException is raised with the cause a NoResultException. I trap the exception but when I try to continue and persist the new record, I get a TransactionRequiredException. User user = null; // pseudocode try { user = em.findById(username); // throw already exists exception } catch (RuntimeException) ex) { // test cause and try to continue... desired path } if (user == null) { User user = new User(username); em.persist(user); } It appears that once a exception is raised, you cannot continue. How can I perform the database check and still continue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959641#3959641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959641 From do-not-reply at jboss.com Thu Jul 20 13:17:07 2006 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Thu, 20 Jul 2006 13:17:07 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: cannot deploy applications with version 2.0.0.Alpha1a Message-ID: <6869145.1153415827521.JavaMail.jboss@colo-br-02.atl.jboss.com> What, exactly, do you mean the option is unavailable? Does an error message pop up upon choosing run on server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959642#3959642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959642 From do-not-reply at jboss.com Thu Jul 20 13:30:55 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:30:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Managed Persitance problems Message-ID: <3199643.1153416655733.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, please refer to the Seam documentation on how to configure Seam managed persistence in 1.0.x. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959645#3959645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959645 From do-not-reply at jboss.com Thu Jul 20 13:32:25 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:32:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <8707209.1153416745046.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : What does "myEntityManagerFactory" means in this context, is that the value of the "jboss.entity.manager.factory.jndi.name" property described in my persistence.xml ? Yes, ofcourse. anonymous wrote : 2) how can i use this(java side)? @In(create=true) | private EntityManager userDatabase; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959646#3959646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959646 From do-not-reply at jboss.com Thu Jul 20 13:32:58 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:32:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: s:link & class Message-ID: <14853538.1153416778745.JavaMail.jboss@colo-br-02.atl.jboss.com> Use styleClass or buttonClass View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959647#3959647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959647 From do-not-reply at jboss.com Thu Jul 20 13:38:54 2006 From: do-not-reply at jboss.com (falazar) Date: Thu, 20 Jul 2006 13:38:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...} Message-ID: <31834599.1153417134791.JavaMail.jboss@colo-br-02.atl.jboss.com> I have not tested it directly there, but that would seem to work, I was told they were performing several upgrades to the system and reworking entirely the test web app, so that should take care of most problems such as this in the 3.2 CVS dev version. I have not been able to compile it completely yet, but they are trying to get a starter kit ready by the end of the month for it. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959648#3959648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959648 From do-not-reply at jboss.com Thu Jul 20 13:39:05 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:39:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless search to stateful conversation Message-ID: <32372249.1153417145584.JavaMail.jboss@colo-br-02.atl.jboss.com> Recheck your code. This should work fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959649#3959649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959649 From do-not-reply at jboss.com Thu Jul 20 13:41:03 2006 From: do-not-reply at jboss.com (wolfc) Date: Thu, 20 Jul 2006 13:41:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with ArrayLists in SessionBeans and idle time Message-ID: <27493450.1153417263683.JavaMail.jboss@colo-br-02.atl.jboss.com> Bug is in at http://jira.jboss.com/jira/browse/EJBTHREE-657. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959650#3959650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959650 From do-not-reply at jboss.com Thu Jul 20 13:41:38 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:41:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <33194343.1153417298094.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : So I suppose that there is some kind of local variable storage in Facelets, which is not accessible from Seam. Yes, ofcourse. This is a definite Good Thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959651#3959651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959651 From do-not-reply at jboss.com Thu Jul 20 13:48:28 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:48:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception Message-ID: <18094510.1153417708935.JavaMail.jboss@colo-br-02.atl.jboss.com> JSF validation is not designed for cross-field validations. I would do these kind of validations in the action method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959652#3959652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959652 From do-not-reply at jboss.com Thu Jul 20 13:51:07 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:51:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <3579805.1153417867846.JavaMail.jboss@colo-br-02.atl.jboss.com> "baz" wrote : | Does it make sense to you to write getInstance in this way? | @Unwrap | | public Object getInstance() throws ClassNotFoundException | | { | | Class clazz = Class.forName(entityClass); | | if (id==null) return null; | | return session.get(clazz, id); | | } | | mmmmmm, do you really need it to work like that? It makes it unclear what "null" means ... does null mean "no id", or does it mean "no object for the id". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959653#3959653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959653 From do-not-reply at jboss.com Thu Jul 20 13:51:29 2006 From: do-not-reply at jboss.com (nagmca) Date: Thu, 20 Jul 2006 13:51:29 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Invalid namespace exception Message-ID: <25169925.1153417889099.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I installed Jboss4.0.4. As per the documentation, I placed jbossws14.sar and jbossws14-client.jar. I am using j2sdk1.4.2_11. I was getting the following exception when I execute the HelloWorld Example. Contacting webservice at http://localhost:8080 org.jboss.ws.metadata.wsdl.WSDLException: Invalid default namespace: http://www.w3.org/1999/xhtml at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:149) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:110) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) Any pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959654#3959654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959654 From do-not-reply at jboss.com Thu Jul 20 13:57:28 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:57:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Wanna create Id-safe DataModelSelection Message-ID: <24448575.1153418248868.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at HTMLLink. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959655#3959655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959655 From do-not-reply at jboss.com Thu Jul 20 13:58:21 2006 From: do-not-reply at jboss.com (emirc) Date: Thu, 20 Jul 2006 13:58:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released Message-ID: <24031653.1153418301809.JavaMail.jboss@colo-br-02.atl.jboss.com> I've also dowloaded the jboss-EJB-3.0_RC8-FD and there is no client directory and the client jars are missing from the download. I've bought the book by bill burke on EJB 3.0 (O'Reilly) and downloaded the workbook files for JBoss, wanted to work on the examples, but I had to download the jars from the location (http://fisheye.jboss.com/changelog/JBoss/repository.jboss.com/jboss/ejb3/1.0.0.CR8-jboss4/lib?todate=1150125432000 ) mentioned in previous comments on this topic to actually run the examples. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959656#3959656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959656 From do-not-reply at jboss.com Thu Jul 20 13:58:58 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 13:58:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ClassCastException - problem with session timeout? Message-ID: <9608276.1153418338138.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you set your SFSB timeouts longer than your HTTP session timeout? you need to do that View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959657#3959657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959657 From do-not-reply at jboss.com Thu Jul 20 14:00:32 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 14:00:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a Message-ID: <19559691.1153418432885.JavaMail.jboss@colo-br-02.atl.jboss.com> Conversations begin and end at request boundaries. You cannot create two new conversations during a single request. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959658#3959658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959658 From do-not-reply at jboss.com Thu Jul 20 14:01:56 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 14:01:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: I have come to the conclusion that Page Actions do not w Message-ID: <27847221.1153418516311.JavaMail.jboss@colo-br-02.atl.jboss.com> It is a JSF view-id, not a URL fragment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959659#3959659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959659 From do-not-reply at jboss.com Thu Jul 20 14:04:04 2006 From: do-not-reply at jboss.com (rene@xinit.org) Date: Thu, 20 Jul 2006 14:04:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: env-entry injection in a @Service EJB Message-ID: <26785708.1153418644826.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, when I try | | | | EnvEntry Tests | | | MyTestServiceBean | | maxExceptions | java.lang.Integer | 15 | | | | | together with: | @Service | public class MyTestServiceBean implements MyTestService { | | @Resource(name="maxExceptions") private int maxExceptions; | | public MyTestServiceBean() { | System.out.println("MAX_EXCPT: " + maxExceptions); | } | } | I'll get the following exception: | 19:48:30,715 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=openstam-core-1.0dev.jar | java.lang.ClassCastException: org.jboss.ejb3.dd.SessionEnterpriseBean | at org.jboss.ejb3.Ejb3DescriptorHandler.getServiceContainer(Ejb3DescriptorHandler.java:297) | at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:153) | at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:567) | at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:555) | at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:536) | at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:508) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:463) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | 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.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | at sun.reflect.GeneratedMethodAccessor4.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 $Proxy34.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:429) | 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.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74) | at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy35.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | I'm running jboss 4.0.4GA with EJB3 RC8. I didn't expected this to work, because the ejb-jar.xml "speaks" about a session bean and I have a @Service Bean, which is a jboss specific thing. Is this expected to work? Is this a bug? Or, is this simply not possible? Thanks, Ren? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959660#3959660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959660 From do-not-reply at jboss.com Thu Jul 20 14:06:40 2006 From: do-not-reply at jboss.com (scollins311) Date: Thu, 20 Jul 2006 14:06:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - SVG in portlet Message-ID: <1768641.1153418800280.JavaMail.jboss@colo-br-02.atl.jboss.com> Describe your environment: JBoss Portal Version 2.4.0 CR1 Did you get Portal from CVS? or download it? download JBoss AS Version 4.0.4 GA Database Vendor and Version enterprise db 8.1 JDBC Connector and Version EnterpriseDB Native Driver, version: EnterpriseDB 8.1.3.12 OS Platform windows xp sp2 Describe the problem: I have a portlet that contains an inline svg image. The rest of the portlet is displayed fine but the svg is ignored by the browser. The tags appear in the source. I can reproduce this in a regular page(not a portlet) by making the file .html instead of .xhtml. This has led me to believe that the portal is returning an .html file (I could be wrong). That would explain why the browser is ignoring the svg content. Is there a way to get the portal to return an xhtml page, or has anyone found a way to get inline svg to work? Thanks in advance, Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959661#3959661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959661 From do-not-reply at jboss.com Thu Jul 20 14:06:52 2006 From: do-not-reply at jboss.com (pfloyd) Date: Thu, 20 Jul 2006 14:06:52 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - DB2/AS400 select statements not getting generated properly Message-ID: <28371636.1153418812237.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using jboss 3.2.3, DB2 on AS400. I wrote a simple entity bean. I setup all the necessary xml files and I am able to connect to the database via jboss. When I invoke the findAll method (implemented by the container), I get an exception from the DB because the statement is not getting generated properly. If you notice, after the SELECT, there is two spaces. Shouldn't it be SELECT * .... instead. As soon as the DB sees the spaces, it thinks it has hit the end of statement. Any help is appreciated. Thanks Here is the exception, 2006-07-20 11:57:28,059 INFO [STDOUT] Thu Jul 20 11:57:28 MDT 2006 as400: PreparedStatement STMT0001 (20574010) : Preparing [SELECT FROM LKUP_ACCT_CLSS]. 2006-07-20 11:57:28,091 INFO [STDOUT] Thu Jul 20 11:57:28 MDT 2006 as400: static method Connection DEN9 (23370522) : Throwing exception, id: 1 error class: 1 return code: -104 reason: [SQL0104] Token was not valid. Valid tokens: , FROM INTO. Cause . . . . . : A syntax error was detected at token . Token is not a valid token. A partial list of valid tokens is , FROM INTO. This list assumes that the statement is correct up to the token. The error may be earlier in the statement, but the syntax of the statement appears to be valid up to this point. Recovery . . . : Do one or more of the following and try the request again: -- Verify the SQL statement in the area of the token . Correct the statement. The error could be a missing comma or quotation mark, it could be a misspelled word, or it could be related to the order of clauses. -- If the error token is , correct the SQL statement because it does not end with a valid clause. state: 42601.java.sql.SQLException: [SQL0104] Token was not valid. Valid tokens: , FROM INTO. Cause . . . . . : A syntax error was detected at token . Token is not a valid token. A partial list of valid tokens is , FROM INTO. This list assumes that the statement is correct up to the token. The error may be earlier in the statement, but the syntax of the statement appears to be valid up to this point. Recovery . . . : Do one or more of the following and try the request again: -- Verify the SQL statement in the area of the token . Correct the statement. The error could be a missing comma or quotation mark, it could be a misspelled word, or it could be related to the order of clauses. -- If the error token is , correct the SQL statement because it does not end with a valid clause. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959662#3959662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959662 From do-not-reply at jboss.com Thu Jul 20 14:08:22 2006 From: do-not-reply at jboss.com (jiehuan_li) Date: Thu, 20 Jul 2006 14:08:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <26702014.1153418902103.JavaMail.jboss@colo-br-02.atl.jboss.com> Any pointers would be appreciated! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959663#3959663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959663 From do-not-reply at jboss.com Thu Jul 20 14:20:39 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 20 Jul 2006 14:20:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <24336099.1153419639626.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, I went out to the download site and cvs a while ago -- by 3.2 did you actually mean 3.1.2? I don't see any version indication in the cvs tree, where can I find 3.2? Is it just simply what is sitting on HEAD in cvs, or is it the 3.1.2 distribution on the download site that was released a couple of days ago? Thanks! Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959664#3959664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959664 From do-not-reply at jboss.com Thu Jul 20 14:28:04 2006 From: do-not-reply at jboss.com (yantriki) Date: Thu, 20 Jul 2006 14:28:04 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: InvokerLocator binding? Message-ID: <31803884.1153420084560.JavaMail.jboss@colo-br-02.atl.jboss.com> Tom, thanks for your input. vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959665#3959665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959665 From do-not-reply at jboss.com Thu Jul 20 14:31:24 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 20 Jul 2006 14:31:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <27248597.1153420284126.JavaMail.jboss@colo-br-02.atl.jboss.com> I just reviewed the BPEL reader and it does not contain logic to parse 1.1 fault handlers, even tough the execution logic deals with them property. Please open a JIRA issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959666#3959666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959666 From do-not-reply at jboss.com Thu Jul 20 14:46:17 2006 From: do-not-reply at jboss.com (mwelch16) Date: Thu, 20 Jul 2006 14:46:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How do I change from session to request? Message-ID: <141251.1153421177639.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All, I am running the hello world faces portlet example using the MyFacesGenericPortlet class. I changed the scope for my bean to request and updated the concatenateNames() method to get the first and last name out of the context, but I am getting a class cast exception. This worked fine when it was in the session scope. I am using jboss-portal-2.2.1-SP2-bundled version of the portal. Please help. Thanks, Mark faces-config.xml setting: | request | jsp: | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> | | |
    | | | | | | | |
    | |
    |
    |
    | ConcatenateNames method: | public String concatenateNames() { | FacesContext context = FacesContext.getCurrentInstance(); | HttpServletRequest request = (HttpServletRequest) context.getExternalContext().getRequest(); | String firstNameConcat = request.getParameter("helloForm:firstName"); | String lastNameConcat = request.getParameter("helloForm:lastName"); | | setFullname(firstNameConcat + " " + lastNameConcat); | return "done"; | } | Exeption: | | avax.faces.FacesException: Error calling action method of component with id helloForm:jbp4641925_id3 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:221) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:129) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) | at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) | at org.jboss.portal.core.CoreController.handle(CoreController.java:190) | 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.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) | at $Proxy136.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | 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.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) | at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{user.concatenateNames} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 148 more | Caused by: java.lang.ClassCastException: org.jboss.portlet.JBossActionRequest | at com.nielsenmedia.foundations.faces.beans.User.concatenateNames(User.java:38) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 149 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959667#3959667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959667 From do-not-reply at jboss.com Thu Jul 20 14:49:59 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 14:49:59 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Persisting Cache Message-ID: <27398596.1153421399699.JavaMail.jboss@colo-br-02.atl.jboss.com> If you download a release there are sample XML files in etc/META-INF. There is one that shows you how to set up a JDBC cache loader. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959668#3959668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959668 From do-not-reply at jboss.com Thu Jul 20 14:52:33 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 14:52:33 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <25851610.1153421553668.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We just use bog-standard Log4J. Nothing special, no tricks here. :-) Make sure your log4j.xml file is in your classpath, I suppose. That would help. Perhaps WebLogic's class loader cannot find it? Is it in the same package as your application, e.g.,in the same EAR or WAR file? Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959669#3959669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959669 From do-not-reply at jboss.com Thu Jul 20 14:53:45 2006 From: do-not-reply at jboss.com (dweil) Date: Thu, 20 Jul 2006 14:53:45 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Cannot get my custom principal returned by sessioncontext.ge Message-ID: <8099366.1153421625943.JavaMail.jboss@colo-br-02.atl.jboss.com> We use a custom login module. It is not derived from UsersRolesLoginModule for various reasons. We try to register our custom principal as caller principal by creating a group called 'CallerPrincipal', adding our custom principal to it. Nevertheless getCallerPrincipal in EJBs returns the default principal of type org.jboss.security.SimplePrincipal. This is the code of the login module: | public boolean login() throws LoginException { | ... | this.subjectPrincipals = new HashSet(); | MyPrincipal myPrincipal = new MyPrincipal(principalName); | this.subjectPrincipals.add(myPrincipal); | | Group callerPrincipalGroup = new MyGroup("CallerPrincipal"); | callerPrincipalGroup.addMember(myPrincipal); | this.subjectPrincipals.add(callerPrincipalGroup); | | Group roles = new MyGroup("Roles"); | ... // Fill in roles | this.subjectPrincipals.add(roles); | ... | } | | public boolean commit() throws LoginException { | this.subject.getPrincipals().addAll(this.subjectPrincipals); | return true; | } | What is wrong? How can I get the principal created by new MyPrincipal(...) as return value of ejbContext.getCallerPrincipal()? Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959670#3959670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959670 From do-not-reply at jboss.com Thu Jul 20 14:53:49 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Thu, 20 Jul 2006 14:53:49 -0400 (EDT) Subject: [jboss-user] [JBossCache] - JDBCCacheLoader Message-ID: <10028539.1153421629269.JavaMail.jboss@colo-br-02.atl.jboss.com> Can any one please let me know a good example on the use of this class (JDBCCacheLoader). I am have some problems running this....and wanted to check on an example before i can go any futher. Thanks in advance. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959671#3959671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959671 From do-not-reply at jboss.com Thu Jul 20 14:56:48 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 14:56:48 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: [TreeCacheMarshaller140] Unknown Magic Number 49 Message-ID: <23741116.1153421808444.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, This has to do with the new marshaller in 1.4.0 not recognising an object that has been serialised as a part of an RPC call and not being able to unmarshal it. Could you post some more logs - say the last 20 lines or so before this happened? Also, could you describe what was going on at the time, if you can accurately recreate it? Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959672#3959672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959672 From do-not-reply at jboss.com Thu Jul 20 14:58:32 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 14:58:32 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Optimistic Locking and CacheException problems Message-ID: <6292271.1153421912282.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem you see is a manifestation of http://opensource.atlassian.com/projects/hibernate/browse/HHH-1796. The way Hibernate organised data in the cache was not very optimal for concurrent access. This will change with Hibernate 3.2.0 which has yet to be released. See the link above for details, as the fix should be available in 3.2.0.CR3 when it is released. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959673#3959673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959673 From do-not-reply at jboss.com Thu Jul 20 15:00:01 2006 From: do-not-reply at jboss.com (twittemb) Date: Thu, 20 Jul 2006 15:00:01 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always Message-ID: <18336862.1153422001760.JavaMail.jboss@colo-br-02.atl.jboss.com> hello all ... i'm facing exactely the same problem. I've developed my own clustered sso mecanism. I have an SSO Valve that gets the Principal from a distributed authentication cache (handle by JGroups) and call the request.setUserPrincipal() in order to authenticate it. But when the request is adress to a server on which the user has never been authenticated, although the SSOValve do its job, I have this NullPointerException that is raised. I assum that this is because the server's JBossSecurityMgrRealm roleMap does not map the principal with a JBossGenericPrincipal. I have tried to force the authenticate(string, string) method of the JBossSecurityMgrRealm .... but that gives ? Null Principal because there is no securityContext available thru JNDI !!! How can i do to force silent authentication in order to build a JBossGenericPrincipal that will be put in the roleMap ??? I Assume that the JBoss ClusteredSingleSignOn Valve work properly ... apparently it has a mecanism that is close to my own valve .... so what is the real difference ??? thanks a lot for your help scott. See ya ! PS : Sorry for my poor english ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959674#3959674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959674 From do-not-reply at jboss.com Thu Jul 20 15:00:43 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:00:43 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <5773567.1153422043921.JavaMail.jboss@colo-br-02.atl.jboss.com> A 2.0.0 of the IDE is in the works which is compatible with 1.3 and 1.4. The IDE team will probably have more comments on timescales though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959675#3959675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959675 From do-not-reply at jboss.com Thu Jul 20 15:02:52 2006 From: do-not-reply at jboss.com (gurkanerdogdu) Date: Thu, 20 Jul 2006 15:02:52 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <26676769.1153422172869.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi; In fact, I finished the development on JBoss Cache IDE 2.0 version that is fully compatible with the JBoss Cache 1.4.0. This new cache ide have lots of new functionality for example; cache editor with code completion, view statisitcs on the remote cache instance etc... This new release will be integrated into the JBoss Eclipse IDE 2.0 Beta version. But it could be downloaded from the eclipse ide cvs, and it can be used immediately without waiting for the release :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959676#3959676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959676 From do-not-reply at jboss.com Thu Jul 20 15:04:13 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:04:13 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JDBCCacheLoader Message-ID: <13103175.1153422253095.JavaMail.jboss@colo-br-02.atl.jboss.com> [url] http://fisheye.jboss.com/viewrep/~br=Branch_JBossCache_1_4_0/JBoss/JBossCache/etc/jdbcCacheLoader-service.xml [/url] Also packaged with the distributions in the /etc directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959677#3959677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959677 From do-not-reply at jboss.com Thu Jul 20 15:08:26 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:08:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Jgroups errors using TreeCache Message-ID: <28359956.1153422506046.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you have any other JGroups applications running on your network, perhaps with a different JGroups version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959678#3959678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959678 From do-not-reply at jboss.com Thu Jul 20 15:08:29 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 20 Jul 2006 15:08:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <15336392.1153422509125.JavaMail.jboss@colo-br-02.atl.jboss.com> I assume that you used the installer jar file to install JBoss and that you installed into the Program Files directory. Correct? Did you set up JBoss as a service? Download the Autoruns utilities from Sysinternals http://www.sysinternals.com/Utilities/Autoruns.html and run the command line version as follows: autorunsc -l >> autorun.txt (The option is a lower-case 'L', not the digit '1') Post the contents of the resulting autorun.txt file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959679#3959679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959679 From do-not-reply at jboss.com Thu Jul 20 15:11:43 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Thu, 20 Jul 2006 15:11:43 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always Message-ID: <23082377.1153422703744.JavaMail.jboss@colo-br-02.atl.jboss.com> twittemb- If you have a JAAS LoginModule setup that is doing the authentication, You can programatically extract the LoginContext from the environment and invoke the authenticate method on the Realm. You can also consider using a CustomAuthenticator that extends one of the four BASIC,FORM,CERT,etc depending on your Authentication method instead of a Valve Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959680#3959680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959680 From do-not-reply at jboss.com Thu Jul 20 15:15:50 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Thu, 20 Jul 2006 15:15:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: application-defined resources for MDBs Message-ID: <2843004.1153422950681.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess I continue my monolog :-) Let's take an example: A large organization uses ejb's to provide an infrastructure layer (messaging, persistence) to all of its products. Products which are realized as appliction ears. They might choose a buildning tool like Maven. Maven lets each project produce at most one artifact (good practice?), which could be an ejb, war, ear, jar etc. Artifacts are uploaded to a repository to be used by other projects. How can this infrastructure layer ever be realized if the specifics are bound to the module itself? Also, applications might have diffrent requirements on the infrastructure. Why not make it possible to let the application worry about assign global resources to logical names instead? Keep the comments coming :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959681#3959681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959681 From do-not-reply at jboss.com Thu Jul 20 15:16:12 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:16:12 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Isolation level in detail Message-ID: <17499579.1153422972102.JavaMail.jboss@colo-br-02.atl.jboss.com> I would just focus on the JBoss Cache sites: 1. The wiki - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCache 2. The official docs - http://labs.jboss.com/portal/jbosscache/docs/index.html 3. These forums 4. The source code! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959682#3959682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959682 From do-not-reply at jboss.com Thu Jul 20 15:18:30 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:18:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Configuring multiple roots within JBoss cache Message-ID: <30914609.1153423110801.JavaMail.jboss@colo-br-02.atl.jboss.com> You will end up with multiple instances with what you are doing, not necessarily what you want - especially if they form a cluster between themselves! Simply organise your Fqns to create 2 separate regions. E.g., /region1/stuff and /region2/stuff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959683#3959683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959683 From do-not-reply at jboss.com Thu Jul 20 15:19:55 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:19:55 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Global caching Message-ID: <16636246.1153423195366.JavaMail.jboss@colo-br-02.atl.jboss.com> Glad to know you got it working well for you. Thanks for the detailed info, will certainly look into the exception you posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959684#3959684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959684 From do-not-reply at jboss.com Thu Jul 20 15:22:17 2006 From: do-not-reply at jboss.com (heather) Date: Thu, 20 Jul 2006 15:22:17 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Implementing my own log4j.xml on jboss-4.0.3SP1 Message-ID: <24088815.1153423337522.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am trying to implement a RepositorySelector using my own log4j.xml contained in my WEB-INF/classes in the WAR. I have not changed anything in the EAR or added a jboss-app.xml with my own class loader. When I run the line: Thread.currentThread().getContextClassLoader().toString() - I find it is using the default WebappClassLoader and String log4jFile = "/WEB-INF/classes/log4j.xml"; InputStream log4JConfig = Thread.currentThread().getContextClassLoader().getResourceAsStream(log4jFile); does not find my file resource. Do I need to change other settings to use my own log4j.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959685#3959685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959685 From do-not-reply at jboss.com Thu Jul 20 15:22:25 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 20 Jul 2006 15:22:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Global caching Message-ID: <15784507.1153423345916.JavaMail.jboss@colo-br-02.atl.jboss.com> FYI - http://jira.jboss.com/jira/browse/JBCACHE-708 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959686#3959686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959686 From do-not-reply at jboss.com Thu Jul 20 15:48:07 2006 From: do-not-reply at jboss.com (dhinojosa) Date: Thu, 20 Jul 2006 15:48:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Building a JBoss Seam website in 2 hours for our JUG Message-ID: <2065874.1153424887992.JavaMail.jboss@colo-br-02.atl.jboss.com> I just want to invite anyone in the Albuquerque area to ABQJUG meeting on July 26th. We are going to try to create a JBoss Seam based Java Users Group app in 2 hours. It will show how quickly you can set up a website using Seam. This is unscripted, and will be loads of fun. For more info you can visit our currently crappy, non-seam website at http://www.abqjug.org ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959687#3959687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959687 From do-not-reply at jboss.com Thu Jul 20 15:51:53 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 15:51:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Building a JBoss Seam website in 2 hours for our JUG Message-ID: <16414133.1153425113804.JavaMail.jboss@colo-br-02.atl.jboss.com> cool :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959688#3959688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959688 From do-not-reply at jboss.com Thu Jul 20 16:07:32 2006 From: do-not-reply at jboss.com (mjrpain) Date: Thu, 20 Jul 2006 16:07:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Injection problem on form submit. Message-ID: <12561206.1153426052165.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a page that displays several select boxes whose content was acquired from an oracle datasource that was injected using @Resource(mappedName = "java:/myDatasource"). The submit button calls a different action class that is to instantiate the correct DAO, get the data and forward to the appropriate .xhtml. The submit button fragment is shown here. | | The method being called is simulated here. | @Name("reportList") | public class ReportListAction implements ReportListLocal { | | @Resource(mappedName = "java:/myDatasource") | private DataSource ds; | | private Connection conn = null; | | public String submit() { | // using ds here results in a nullpointer. Why? | conn = ds.getConnection(); | } | | // other setters to receive the form element values | | } | My problem though is that the datasource that was supposed to be injected into ReportListAction is null when I try to use it in the submit() method. The datasource is declared in the exact same manner as the other POJO that gets the data for the select boxes on the first page. What am I missing? BTW...I appreciate your help in telling me about the @Resource annotation in an earlier post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959689#3959689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959689 From do-not-reply at jboss.com Thu Jul 20 16:07:47 2006 From: do-not-reply at jboss.com (znbailey) Date: Thu, 20 Jul 2006 16:07:47 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent Message-ID: <4555941.1153426067188.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been starting the server in debug mode all day and I am happy to report that the server has not once cut out on me which is quite nice - there is still the small issue of it always reporting "starting..." even once it has started, though, but this is much more liveable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959690#3959690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959690 From do-not-reply at jboss.com Thu Jul 20 16:14:46 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 20 Jul 2006 16:14:46 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1 Message-ID: <10910413.1153426486184.JavaMail.jboss@colo-br-02.atl.jboss.com> Try this one change: String log4jFile = "log4j.xml"; The web application class loader looks in WEB-INF/classes automatically so you don't have to specify that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959691#3959691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959691 From do-not-reply at jboss.com Thu Jul 20 16:16:53 2006 From: do-not-reply at jboss.com (sbalmos) Date: Thu, 20 Jul 2006 16:16:53 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Type definition exception (bug?) Message-ID: <31942472.1153426613484.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, I believe this is an issue with how WSDL files are written by the JSR-181 deployer. I have a function that returns a class User, which is a subclass of class SecurityEntity. The deployer gives the following Exception: | 16:11:29,332 ERROR [JBossXSErrorHandler] JBossWS_soap.snx.simunex.com_jaws38822.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: Cannot resolve the name 'tns:SecurityEntity' to a(n) 'type definition' component. | 16:11:29,352 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: Cannot resolve the name 'tns:SecurityEntity' to a(n) 'type definition' component. | 16:11:29,362 ERROR [JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: Cannot resolve the name 'tns:SecurityEntity' to a(n) 'type definition' component. | ... | 16:11:35,140 ERROR [MainDeployer] Could not start deployment: file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp38818SimuNex-Backend.ear-contents/soap.jar | org.jboss.ws.WSException: Element securityEntityID found in jaxrpc-mapping but not in the schema: {http://soap.snx.simunex.com/jaws}User | But if you look in the WSDL file for the service, User is correctly defined as an extension of SecurityEntity, and SecurityEntity does have a securityEntityID field. It's just that SecurityEntity is defined *after* User. See below: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Is this a bug in the deployer or such? Thanks! --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959692#3959692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959692 From do-not-reply at jboss.com Thu Jul 20 16:17:24 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 16:17:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injection problem on form submit. Message-ID: <17078462.1153426644888.JavaMail.jboss@colo-br-02.atl.jboss.com> Your class does not have an @Stateless or @Stateful annotation, so it is not a session bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959693#3959693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959693 From do-not-reply at jboss.com Thu Jul 20 16:21:05 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 20 Jul 2006 16:21:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets? Message-ID: <28916549.1153426865276.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, Could you please give me a help on this? I spent several nights but failed to fix it. Since I want to keep myfaces/tiles in the project, I could not use the facelets. Thank you very much. Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959694#3959694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959694 From do-not-reply at jboss.com Thu Jul 20 16:24:24 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 20 Jul 2006 16:24:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <22940213.1153427064110.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : | Yes, ofcourse. This is a definite Good Thing. Sorry for my stupidity, but I don't understand. The backing bean is part of the view, in this case, and I do not understand why it is not a good idea when the Java part of the view has the same knowledge as the xhtml part of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959695#3959695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959695 From do-not-reply at jboss.com Thu Jul 20 16:30:11 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Thu, 20 Jul 2006 16:30:11 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Problem reusing an EJB infrastructure layer Message-ID: <21559618.1153427411858.JavaMail.jboss@colo-br-02.atl.jboss.com> Example: A large organization uses ejb's to provide an infrastructure layer (messaging, persistence) to all of its products. Products which are realized as appliction ears. They might choose a buildning tool like Maven. Maven lets each project produce at most one artifact (good practice?), which could be an ejb, war, ear, jar etc. Artifacts are uploaded to a repository to be used by other projects. JBoss uses a server specific deployment descriptor (or annotation) element that maps the logical JNDI name as used by the module (EJB,WAR) to a global JNDI name. This descriptor is defined and packaged in the module, not in the application (EAR). Since the binding of global names is done in the ejb-jar module there is no way to deploy an ejb module twice in the application server. Reading from "Development Roles" http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview6.html : "For example, in the application component development phase, an enterprise bean software developer delivers EJB JAR files. In the application assembly role, another developer combines these EJB JAR files into a J2EE application and saves it in an EAR file. In the application deployment role, a system administrator at the customer site uses the EAR file to install the J2EE application into a J2EE server." The above statement cannot be true because there is no way for the "application assembly role" to _freely_ pick EJB JAR files from the "enterprise bean software developer". He will be getting global JNDI conflicts if an EJB JAR is assembled inside two EARs and deployed in the same server. So how can a infrastructure layer ever be realized if the "resource specifics" are bound to the module itself? Also, applications might have diffrent requirements on the infrastructure which are not relevant from the module itself. Why not make it possible to let the application worry about assign global resources to logical names instead? I think that the approach of not being required to define a global JNDI name for a SLSB is great because it allows reuse of these modules across applications. Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959696#3959696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959696 From do-not-reply at jboss.com Thu Jul 20 16:36:01 2006 From: do-not-reply at jboss.com (twittemb) Date: Thu, 20 Jul 2006 16:36:01 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always Message-ID: <18643640.1153427761935.JavaMail.jboss@colo-br-02.atl.jboss.com> my authentiction methods are BASIC or FORM ... How a CustomAuthenticator would fix my problem ? have u an example of use ? thx for your answers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959697#3959697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959697 From do-not-reply at jboss.com Thu Jul 20 16:38:06 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 20 Jul 2006 16:38:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to stop unknown user from seeing a page Message-ID: <13918630.1153427886267.JavaMail.jboss@colo-br-02.atl.jboss.com> Having the forceLogin method return null if no redirection was required fixed the problem. Thanks, Captain! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959698#3959698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959698 From do-not-reply at jboss.com Thu Jul 20 16:46:46 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 16:46:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets? Message-ID: <26544277.1153428406273.JavaMail.jboss@colo-br-02.atl.jboss.com> Um, not much I can do to help, I have never used tiles, or the fileupload stuff in tomahawk. Perhaps someone else can help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959699#3959699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959699 From do-not-reply at jboss.com Thu Jul 20 16:52:56 2006 From: do-not-reply at jboss.com (jiehuan_li) Date: Thu, 20 Jul 2006 16:52:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to use faultVariable in fault handler? Message-ID: <23759582.1153428776934.JavaMail.jboss@colo-br-02.atl.jboss.com> Created BPEL-199. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959700#3959700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959700 From do-not-reply at jboss.com Thu Jul 20 16:53:54 2006 From: do-not-reply at jboss.com (jvandusen) Date: Thu, 20 Jul 2006 16:53:54 -0400 (EDT) Subject: [jboss-user] [JBoss.NET] - Strange problem with MessageContext Message-ID: <31304679.1153428834255.JavaMail.jboss@colo-br-02.atl.jboss.com> I've written a web service that makes calls out to another web service, and I'm having trouble getting it to work. I'm quite new to using JBoss.net so I'm kind of lost. The environment is JBoss 3.2.6 with a patch to fix a bug in JBoss.net. When I go to http://localhost/jboss-net/servlet/AxisServlet to view the deployed services, I get this in the log: 2006-07-20 15:45:30,984 ERROR [org.apache.axis.configuration.EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd | 2006-07-20 15:45:31,109 ERROR [org.jboss.web.localhost.Engine] StandardWrapperValve[JBossAxisServlet]: Servlet.service() for servlet JBossAxisServlet threw exception | java.lang.VerifyError: (class: org/jboss/net/jmx/server/MBeanProvider, method: invoke signature: (Lorg/apache/axis/MessageContext;)V) Incompatible argument to function | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:219) | at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176) | at java.security.AccessController.doPrivileged(Native Method) | at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) | at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) | at org.apache.axis.deployment.wsdd.providers.WSDDHandlerProvider.newProviderInstance(WSDDHandlerProvider.java:49) | at org.jboss.net.axis.ServiceClassLoaderAwareWSDDHandlerProvider.newProviderInstance(ServiceClassLoaderAwareWSDDHandlerProvider.java:50) | at org.apache.axis.deployment.wsdd.WSDDProvider.getInstance(WSDDProvider.java:170) | at org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:437) | at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274) | at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260) | at org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:427) | at org.jboss.net.axis.Deployment.oldGetService(Deployment.java:259) | at org.jboss.net.axis.Deployment.getService(Deployment.java:278) | at org.jboss.net.axis.Deployment.getDeployedServices(Deployment.java:231) | at org.apache.axis.configuration.FileProvider.getDeployedServices(FileProvider.java:296) | at org.apache.axis.transport.http.AxisServlet.reportAvailableServices(AxisServlet.java:482) | at org.jboss.net.axis.server.AxisServiceServlet.reportAvailableServices(AxisServiceServlet.java:99) | at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:260) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:158) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) | at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) | at java.lang.Thread.run(Thread.java:534) | Any thoughts on what could be causing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959701#3959701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959701 From do-not-reply at jboss.com Thu Jul 20 17:16:53 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 20 Jul 2006 17:16:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets? Message-ID: <8381311.1153430213482.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, Thank you for your reply. I want to try to integrate the tomahawk.jar in JBoss to see whether it works. I plan to copy the tomahawk.jar into "C:\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs", but I don't know how to modify the web.xml file in the "\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf". The modification seems to be similar to myfaces-impl.jar integration: web.xml: | ... | | MyFaces tlds | tagLibJar0 | jsf-libs/myfaces-impl.jar | | ... Could you please give me some guidance on web.xml, which seems like, perhaps: | Tomahawk tlds | ???? | jsf-libs/tomahawk.jar | Thank you so much. Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959702#3959702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959702 From do-not-reply at jboss.com Thu Jul 20 17:19:25 2006 From: do-not-reply at jboss.com (honest.length) Date: Thu, 20 Jul 2006 17:19:25 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - HA Singleton Schedulable not starting! Message-ID: <23436954.1153430365124.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm currently migrating to jboss 4.0.4 and have a number of singleton schedulables which where using the old method in the descriptors. I have added the new HASingletonDeployer barrier but the never run at all when this element is present! I am missing something? jboss.ha:service=HASingletonDeployer,type=Barrier true com.transtoll.modules.eventmanager.schedulables.jboss.FrequencyEventSchedulable NOW -1 60000 eventmanager:service=initialisation jboss.ha:service=HASingletonDeployer,type=Barrier true com.transtoll.modules.eventmanager.schedulables.jboss.MetricEventSchedulable NOW -1 60000 eventmanager:service=initialisation jboss.ha:service=HASingletonDeployer,type=Barrier true com.transtoll.modules.eventmanager.schedulables.jboss.DurationEventSchedulable NOW -1 60000 eventmanager:service=initialisation jboss.ha:service=HASingletonDeployer,type=Barrier true com.transtoll.modules.eventmanager.schedulables.jboss.MetricPersistenceSchedulable NOW -1 60000 eventmanager:service=initialisation Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959703#3959703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959703 From do-not-reply at jboss.com Thu Jul 20 17:23:28 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 20 Jul 2006 17:23:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Where is jBPM 3.2? Message-ID: <6940484.1153430608469.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am currently using jBPM 3.1.1. I have had jBPM 3.2 recommended to me, but I need some clarification on how to obtain 3.2. On the download link for jBPM, there is a 3.1.2 version that was released a couple of days ago. Is this 3.1.2 release actually the 3.2 version that has been recommended, or is there another? I took a look in the cvs repository for jBPM, and there's no particular tag or branch I'm seeing for 3.2, so is 3.2 on the cvs HEAD? Let me know! I would like to try jBPM 3.2, or 3.1.2, whichever one is the new one I'm looking for. Thanks a lot for your help. Cheers, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959704#3959704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959704 From do-not-reply at jboss.com Thu Jul 20 17:35:28 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Thu, 20 Jul 2006 17:35:28 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always Message-ID: <29913573.1153431328137.JavaMail.jboss@colo-br-02.atl.jboss.com> twittemb- Here is the CustomAuthenticator code that we use in the JBoss Federated SSO project. I am pasting the code for the FormAuthenticator | /* | * JBoss, Home of Professional Open Source | * Copyright 2005, JBoss Inc., and individual contributors as indicated | * by the @authors tag. See the copyright.txt in the distribution for a | * full listing of individual contributors. | * | * This is free software; you can redistribute it and/or modify it | * under the terms of the GNU Lesser General Public License as | * published by the Free Software Foundation; either version 2.1 of | * the License, or (at your option) any later version. | * | * This software is distributed in the hope that it will be useful, | * but WITHOUT ANY WARRANTY; without even the implied warranty of | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * Lesser General Public License for more details. | * | * You should have received a copy of the GNU Lesser General Public | * License along with this software; if not, write to the Free | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | */ | package org.jboss.security.authenticator; | | | //core java classes | import java.io.IOException; | import java.security.Principal; | | | //servlet classes | import javax.servlet.ServletException; | | | //core jboss specific classes | | | //core catalina classes for tomcat specific functions | import org.apache.catalina.connector.Request; | import org.apache.catalina.connector.Response; | import org.apache.catalina.deploy.LoginConfig; | import org.apache.catalina.authenticator.FormAuthenticator; | | | //JBoss-SSO Framework classes | //jboss-sso-saml library | import org.jboss.security.saml.SingleSignOn; | import org.jboss.security.saml.SSOException; | import org.jboss.security.valve.*; | | //jboss-identity-management classes | import org.jboss.security.idm.Identity; | import org.jboss.security.idm.IdentityManager; | import org.jboss.security.idm.IdentityProvider; | | //jboss-sso-common classes | import org.jboss.security.util.HTTPUtil; | import org.jboss.security.util.SSOUtil; | | | | /** | * @author Sohil Shah - sohil.shah at jboss.com | * | * The SSOAutoLogin Tomcat Form Authenticator intercepts requests and checks the presence of an SSOToken domain cookie. | * If a domain cookie is found it is processed and a Principal is generated resulting in AutoLogin | */ | public class SSOAutoLoginForm extends FormAuthenticator | { | | //----------------------------------------------------- Instance Variables | | /** | * Descriptive information about this implementation. | */ | private static final String info = "org.jboss.security.valve.SSOAutoLogin/1.0"; | | | // ------------------------------------------------------------- Properties | | | /** | * Return descriptive information about this Valve implementation. | */ | public String getInfo() | { | return (info); | } | | | /** | * | */ | public void invoke(Request request, Response response) | throws IOException, ServletException | { | try | { | boolean wasSSOPerformed = false; | boolean performSSO = false; | SSOSession activeSession = SSOSession.getSSOSession(request.getSession(true)); | | //check for the block on automatic sso login, if one is found, don't perform the automatic login | //without this, the user is never able to logout, because all dependent requests to "logout usecase", | //fire up the automatic sso login | if(activeSession.getTurnOff()==null) | { | performSSO = true; | } | | | if(performSSO) | { | wasSSOPerformed = this.performSSO(request,response); | } | | if(!wasSSOPerformed) | { | //if I get here then no SSO processing was done. perform the regular form based authentication | super.invoke(request,response); | if( | request.getSessionInternal(false)!=null && | request.getSessionInternal(false).getPrincipal()!=null && | SSOSession.getSSOSession(request.getSession()).getPrincipal()==null | ) | { | SSOSession.getSSOSession(request.getSession()). | setPrincipal( | request.getContextPath(), | request.getSessionInternal(false).getPrincipal()); | } | return; | } | | //this is only if SSO automated login happened on this request | this.getNext().invoke(request,response); | } | catch(SSOException ssoe) | { | ssoe.printStackTrace(); | throw new ServletException(ssoe); | } | catch(Exception e) | { | e.printStackTrace(); | throw new ServletException(e); | } | } | | | /** | * | * @param request | * @param response | * @return | */ | private boolean performSSO(Request request,Response response) throws IOException,SSOException,Exception | { | boolean wasSSOPerformed = false; | String ssoToken = null; | boolean ssoCookieFound = false; | | //find the SSOToken cookie and setup the proper state | ssoToken = HTTPUtil.getSSOToken(request,SingleSignOn.SSO_TOKEN); | if(ssoToken!=null && ssoToken.trim().length()>0) | { | ssoCookieFound = true; | } | | | if(ssoCookieFound) | { | Principal principal = request.getSessionInternal(true).getPrincipal(); | if(principal==null) | { | //perform auto login for this principal | LoginConfig config = this.context.getLoginConfig(); | String username = SSOUtil.getUsername(ssoToken); | String password = this.getPassword(username); | request.setAttribute(SingleSignOn.SSO_USERNAME,username); | request.setAttribute(SingleSignOn.SSO_PASSWORD,password); | | | boolean ssoLogin = this.ssoLogin(request,response,config); | if(ssoLogin) | { | String requestURI = request.getRequestURI(); | String contextPath = request.getContextPath(); | SSOSession ssoSession = SSOSession.getSSOSession(request.getSession()); | ssoSession.setPrincipal(contextPath, | request.getSessionInternal(true).getPrincipal()); | wasSSOPerformed = true; | } | } | } | return wasSSOPerformed; | } | | /** | * | * @param request | * @param response | * @param config | * @return | * @throws IOException | */ | private boolean ssoLogin(Request request,Response response,LoginConfig config) | throws IOException | { | boolean success = false; | | Principal principal = null; | | // Validate any credentials already included with this request | String username = (String)request.getAttribute(SingleSignOn.SSO_USERNAME); | String password = (String)request.getAttribute(SingleSignOn.SSO_PASSWORD); | principal = this.context.getRealm().authenticate(username, password); | if (principal != null) | { | register(request, response, principal,"FORM",username, password); | success = true; | } | return success; | } | | | /** | * | */ | private String getPassword(String username) throws Exception | { | String password = null; | | //perform check against JBoss' central identity data (stored in LDAP) | IdentityProvider provider = IdentityManager.findProvider(); | | if( | provider.exists(username) | ) | { | Identity identity = provider.read(username); | password = new String(identity.getPassword()); | } | | return password; | } | } | Hope this helps Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959707#3959707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959707 From do-not-reply at jboss.com Thu Jul 20 17:36:04 2006 From: do-not-reply at jboss.com (adarshgosu) Date: Thu, 20 Jul 2006 17:36:04 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Setting Priority on EJBs Message-ID: <20499761.1153431364681.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a requirement where i have to set different priorities for beans that are part of the same EAR file. Lets say i have EJB1 & EJB2 that is part of the same EAR file. I need to run EJB1 at priority 10 and EJB2 at priority 5 inside the container. Can this be accomplished in JBoss, if so can you please let me know how it is done? Thanks in advance for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959708#3959708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959708 From do-not-reply at jboss.com Thu Jul 20 17:37:35 2006 From: do-not-reply at jboss.com (adarshgosu) Date: Thu, 20 Jul 2006 17:37:35 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Setting different priorities on EJBs Message-ID: <1121446.1153431455846.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a requirement where i have to set different priorities for beans that are part of the same EAR file. Lets say i have EJB1 & EJB2 that is part of the same EAR file. I need to run EJB1 at priority 10 and EJB2 at priority 5 inside the container. Can this be accomplished in JBoss, if so can you please let me know how it is done? Thanks in advance for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959709#3959709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959709 From do-not-reply at jboss.com Thu Jul 20 17:38:31 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 17:38:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <15588297.1153431511590.JavaMail.jboss@colo-br-02.atl.jboss.com> Well...I examined my code according to the things @newbie007 has said and found out that i'm trying to get the data that contains nothing at the beginning. I have users and some abilities assigned to them. At the beginning no ability is assigned.I am sure that the program connects to the database correctly and users do exist.The problem appears while i'm trying to get users' abilities which are empty at the beginning. As i am not familiar to this environment, i dont know how to handle this exception.I must get this data at the beginning whether it is empty or not. What i need at this point is to handle this exception.I hope someone can help me. I am looking forward to any reply.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959710#3959710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959710 From do-not-reply at jboss.com Thu Jul 20 17:38:48 2006 From: do-not-reply at jboss.com (mjrpain) Date: Thu, 20 Jul 2006 17:38:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - $100.00 Message-ID: <9772725.1153431528369.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got $100 for the first person that writes a "JBoss Seam for Dummies" book. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959711#3959711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959711 From do-not-reply at jboss.com Thu Jul 20 17:55:06 2006 From: do-not-reply at jboss.com (lfaggioli) Date: Thu, 20 Jul 2006 17:55:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <19523607.1153432506416.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Brad, 3.2 and 3.1.2 are not the same thing: as a matter of fact 3.1.2 was released some days ago (and you can download it from the jboss site), whereas 3.2 is still alpha. I did have myself doubts on where to get the 3.2 version, but anyway it should be (Ronald, correct me if I'm wrong) the HEAD of the jbpm.3 module under :pserver:anonymous at anoncvs.forge.jboss.com:/cvsroot/jbpm ...at least after running Ant the directories created during the build are named "3.2.Alpha1-SNAPSHOT", which looks promising :-) bye luca View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959713#3959713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959713 From do-not-reply at jboss.com Thu Jul 20 18:02:51 2006 From: do-not-reply at jboss.com (nvanevski) Date: Thu, 20 Jul 2006 18:02:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Strange interpetation of a CSS link inside login page Message-ID: <1890232.1153432971348.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I ran into a pretty strange issue with CSS links inside the login page, using FORM authentication method. Take a look at this page header : | | | | Main login page | | | | --- rest of the page --- | This code works fine when the page is shown standalone, and elements are shown according to definitions in the css file. However, once I put this page in , following things happen : - Elements lose their properties, like the css is not included at all - After succesfull login, user is redirected to the css/main.css file, i.e. contents of the css file are shown in the browser (is this some shortcut for redirection to a specific file different from the welcome file?) If I remove the tag and put all css styles inside a "style" tag, everything is ok. However, I'd like to have the styles inside a css (normally) and page should be displayed accordingly. Is this a configuration issue or a bug? I repeat that if I get the page out of the tag in web.xml, it is displayed properly, and the user is normally redirected to index.jsp file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959714#3959714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959714 From do-not-reply at jboss.com Thu Jul 20 18:05:15 2006 From: do-not-reply at jboss.com (ngolovin) Date: Thu, 20 Jul 2006 18:05:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Double click handling Message-ID: <13130947.1153433115683.JavaMail.jboss@colo-br-02.atl.jboss.com> Are there any news on this issue? The JIRA entry http://jira.jboss.com/jira/browse/EJBTHREE-313 has been rejected, because concurrent calls on stateful session beans are not allowed by the EJB specification. The double click problem however stays. Has anybody found a good workaround for this? I haven't even been able to write a decent error page for the exception, because the behavior is hard to reproduce, and thus the error page is hard to test. Also, the exception which shloud be caught can be different, although the cause is always javax.ejb.EJBException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959715#3959715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959715 From do-not-reply at jboss.com Thu Jul 20 18:06:05 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 20 Jul 2006 18:06:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets? Message-ID: <28624113.1153433165991.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, I found a post in Seam forum (I remember I ever saw it, but could not find it before) about the integrating tomahawk.jar into JBoss, and modification to the conf/web.xml as follows: | MyFaces tlds | tagLibJar1 | | jsf-libs/tomahawk.jar | I will try it tonight to see whether it works. Thank you. Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959716#3959716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959716 From do-not-reply at jboss.com Thu Jul 20 18:08:43 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Thu, 20 Jul 2006 18:08:43 -0400 (EDT) Subject: [jboss-user] [JBossCache] - JDBCCacheLoader Problems Message-ID: <33354949.1153433323241.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to use the JDBC Cache Loader to persist TreeCache to DB, Here is how i do it.... public void configureCache(){ try { System.out.println("Inside configureCache"); Properties properties = new Properties(); try { properties.load(new FileInputStream("jdbc-cache.properties")); } catch (IOException e) { e.printStackTrace(); } PropertyConfigurator config = new PropertyConfigurator(); config.configure(cache,getConfigFile()); JDBCCacheLoader jdbcCacheLoader=new JDBCCacheLoader(); jdbcCacheLoader.setConfig(properties); jdbcCacheLoader.setCache(cache); jdbcCacheLoader.create(); jdbcCacheLoader.start(); Fqn fqn=new Fqn("PaymentCache"); System.out.println(cache.get(fqn));//I get NULL HERE } catch(Exception e) { e.printStackTrace(); } I am following the life cycle of Loader as described in API fo CacheLoader interface. But i do a get on TreeCache cache i get a null pointer, looks like the cache is not getting any thing from loader the data is avaliable on the DB i can directly do a get on jdbccacheloader and get the info. Where am i going wrong is this the right way to attach a loader to TreeCache.... Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959717#3959717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959717 From do-not-reply at jboss.com Thu Jul 20 18:13:27 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 18:13:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Double click handling Message-ID: <2400750.1153433607638.JavaMail.jboss@colo-br-02.atl.jboss.com> It should be very easy to write an errorpage. The root cause exception is always a ConcurrentAccessException. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959718#3959718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959718 From do-not-reply at jboss.com Thu Jul 20 18:13:37 2006 From: do-not-reply at jboss.com (magicmac) Date: Thu, 20 Jul 2006 18:13:37 -0400 (EDT) Subject: [jboss-user] [JBossCache] - TreeCache data integrity across cluster Message-ID: <12764049.1153433617982.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, These are my first steps with JBossCache, but it seems like I already face some basic problem Simple example: 2-node cluster, each with instance of treeCache. Out of AS. REPL_SYNC, locking PESSIMISTIC, state is replicated on startup. run the following algorithm on to machines concurrently: Machine A: for i=0..100 counter = tree.get(fqn,counter_key,counter_value); counter++; tree.set(fqn,counter_key); Machine B: exactly the same code The result: of course counter is <<200 since we lack synchronization of given get-put blocks. As I already found out there is no cluster-wide lock. The locks I can explicitly acquire on node are not broadcasted. It seems that I need transactions for that. Machine A: for i=0..100 beginDummyTransaction counter = tree.get(fqn,counter_key,counter_value); counter++; tree.put(fqn,counter_key); commitDummyTransaction Machine B: same as A. Unfortunatelly with such approach I get TimeoutExceptions as B for some reason cant aquire write-lock (or A). The commit is a 2PC and from logs it really seems to work sync. The lock-aquiring-problem occurs when the other transaction tries to commit. Is there any way of providing 100% integity of data when heavy updates occur in multiple cluster nodes? In my particular case, I need to buffer the stats of user buisness-logic operations of very-heavy accessed web portal. Such updates occur up to 100/sec per machine. Since there is no explicit cluster-wide locking how can I achieve it? Is there a way of aquiring write-lock at the begining of transaction (on read) and force other readers to wait till this lock is realesed on commit ? Or something like that/simulation of critical section. I may not express myself clearly here so if you need any more info let me know. Thanks for any light M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959719#3959719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959719 From do-not-reply at jboss.com Thu Jul 20 18:23:16 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 20 Jul 2006 18:23:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <13648150.1153434196160.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to follow all the instructions in the reference, but using the bean (see GroupManagerBean.create) causes a rollback/synchronization problem (which see at bottom of post) I wouldn't be surprised if there were issues in how the @Role stuff was done, but I couldn't find a single example of its usage anywhere in real code. I also hope I configured the managed persistence context right. Files and error: User.java | ... | @Entity | @Name("user") | // default scope is CONVERSATION | @Role(name="currentUser", scope=SESSION) | @Table(name="USERS") | public class User implements Serializable { | ... | private Set groups = new HashSet(); | | @ManyToMany | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | } | Group.java | @Entity | @Name("group") | // default scope is CONVERSATION | @Table(name="GROUPS") | public class Group implements Serializable { | ... | private Set users = new HashSet(); | | @ManyToMany(mappedBy="groups") | public Set getUsers() { | return users; | } | public void setUsers( Set users ) { | this.users = users; | } | } | GroupManagerBean.java | @Stateful | @Name("groupManager") | // default scope is CONVERSATION | @LoggedIn | public class GroupManagerBean implements GroupManager, Serializable { | ... | @DataModel | private List groupList; | | @DataModelSelection | @Out(required=false) | private Group group; | | @In | private User user; | | @PersistenceContext(type=EXTENDED) | private EntityManager orgmobDatabase; | | @Factory("groupList") | public void find() { | groupList = new ArrayList( user.getGroups() ); | } | | public void create() { | group = new Group(); | group.setGroupname( newGroupname() ); | user.getGroups().add( group ); | } | } | LoginAction.java | @Stateless | @Name("login") | public class LoginAction implements Login { | | @In @Out | private User currentUser; | | // COMMENTING OUT user JUST MOVES THE ROLLBACK/SYNCHRONIZATION | // PROBLEM TO OCCUR IN THE GROUP MANAGER | @Out | private User user; | | @PersistenceContext | private EntityManager orgmobDatabase; | | public String login() { | List results = orgmobDatabase.createQuery( | "from User where username=:username and password=:password") | .setParameter("username", currentUser.getUsername()) | .setParameter("password", currentUser.getPassword()) | .getResultList(); | String action; | if ( results.size()==0 ) { | FacesMessages.instance().add("#{messages.errorInvalidLogin}"); | action = "login"; | } | else { | // IS THIS HOW YOU USE COMPONENT WITH MULTIPLE ROLES? | // THERE ARE NO EXAMPLES OF @Role USAGE. | user = currentUser = results.get(0); | | Contexts.getSessionContext().set(LOGGED_IN, true); | FacesMessages.instance().add("#{messages.infoWelcome}"); | action = "groups"; | } | return action; | | } | } | faces-config.xml | | | | | | | ... | | | | | com.sun.facelets.FaceletViewHandler | | | org.jboss.seam.jsf.SeamNavigationHandler | org.jboss.seam.jsf.SeamStateManager | org.jboss.seam.jsf.SeamVariableResolver | | | | | | | | | | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener | | | | | components.xml | | | | true | member/#{ejbName}/local | | | | | | | | java:/EntityManagerFactories/orgmobData | | | | persistence.xml | | | org.hibernate.ejb.HibernatePersistence | java:/DefaultDS | | | | | | | rollback/synchronization exception: anonymous wrote : | 2006-07-20 14:54:06,226 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/member].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.el.EvaluationException: Exception while invoking expression #{groupManager.create} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.jboss.seam.core.Pages.callAction(Pages.java:212) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:127) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) | at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization | at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:273) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:89) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy850.create(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 29 more | Caused by: org.hibernate.TransactionException: Could not register synchronization | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159) | at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:59) | at org.jboss.ejb3.stateful.StatefulBeanContext.closeExtendedPCs(StatefulBeanContext.java:284) | at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:268) | ... 47 more | Caused by: javax.transaction.RollbackException: Already marked for rollback TransactionImpl:XidImpl[FormatId=257, GlobalId=diamond/9567, BranchQual=, localId=9567] | at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:635) | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156) | ... 50 more | Putting the user variable into LoginAction moves the rollback/synchronization problem there. Commenting it out delays the problem to usage of the group manager bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959722#3959722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959722 From do-not-reply at jboss.com Thu Jul 20 18:29:59 2006 From: do-not-reply at jboss.com (brado) Date: Thu, 20 Jul 2006 18:29:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <19798619.1153434599617.JavaMail.jboss@colo-br-02.atl.jboss.com> luca, Thanks for the reply -- do you happen to know if the same benefits mentioned in 3.2 (the date pickers working as Ronald mentioned) are available in 3.1.2? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959723#3959723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959723 From do-not-reply at jboss.com Thu Jul 20 18:33:12 2006 From: do-not-reply at jboss.com (phicorp) Date: Thu, 20 Jul 2006 18:33:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <5494836.1153434792230.JavaMail.jboss@colo-br-02.atl.jboss.com> Getting a permanent long-term solution into the Seam codebase is a great solution, but for me patches outside the Seam codebase are not a solution. Are we sure that there is no way around the problem without changing Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959724#3959724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959724 From do-not-reply at jboss.com Thu Jul 20 18:37:39 2006 From: do-not-reply at jboss.com (jasperbg) Date: Thu, 20 Jul 2006 18:37:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - "pageflow has not yet started" when starting a pageflow Message-ID: <28807331.1153435059256.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a pageflow with this as the first node: | | | | | I link to it from the homepage of my site with this: (/members/join.xhtml is the join form) The join form appears fine, but submitting it causes the exception "pageflow has not yet started". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959725#3959725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959725 From do-not-reply at jboss.com Thu Jul 20 18:52:21 2006 From: do-not-reply at jboss.com (lfaggioli) Date: Thu, 20 Jul 2006 18:52:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Web console failing Message-ID: <7479271.1153435941452.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Brad, actually I haven't tried the 3.1.2 yet, mainly beacuse, I guess, most of the new features will be only available with 3.2, therefore I'm waiting for the 3.2 I could be wrong, but I guess the date pickers will be in the new version as well, along with all the new form features. BTW Ronald, where can we get some examples regarding forms, like the one you posted some days ago, so we can start working with the alpha? ciao luca View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959728#3959728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959728 From do-not-reply at jboss.com Thu Jul 20 18:53:10 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 18:53:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Ability to choose from determined values Message-ID: <10965155.1153435990713.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to make a JBoss jBPM application.While forming the process, i came across a problem. All I want is to force program user to choose one of the determined values in a given list instead of asking program user to enter a text into a textbox. In order to make it more clear, let me give an example. Suppose that we have users that may request to go on holiday. Instead of asking the users to write down their reasons into a textbox I want to determine some possible reasons and want the users to choose one of these. It seemed easy to accomplish at first. But i couldn't find out how to do it. A little help will be very nice at this point. Thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959729#3959729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959729 From do-not-reply at jboss.com Thu Jul 20 18:59:21 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Thu, 20 Jul 2006 18:59:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: $100.00 Message-ID: <19470881.1153436361350.JavaMail.jboss@colo-br-02.atl.jboss.com> We are already well advanced on a Seam book (it is at the review process) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959730#3959730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959730 From do-not-reply at jboss.com Thu Jul 20 19:04:46 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 19:04:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <32555797.1153436686215.JavaMail.jboss@colo-br-02.atl.jboss.com> [quote =gkestor]I am new about jbpm. In processdefinition.xml, there are task instances. How can I obtain controller that has multiple values? Like combobox in html. for example : task -> controller -> variable name = "color" variable color may has red,yellow,.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959731#3959731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959731 From do-not-reply at jboss.com Thu Jul 20 19:07:03 2006 From: do-not-reply at jboss.com (ccelgun) Date: Thu, 20 Jul 2006 19:07:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <28777733.1153436823656.JavaMail.jboss@colo-br-02.atl.jboss.com> "gkestor" wrote : I am new about jbpm. In processdefinition.xml, there are task instances. How can I obtain controller that has multiple values? Like combobox in html. | | for example : | task -> controller -> variable name = "color" | | variable color may has red,yellow,.... I found out that the same question already exists but no answer yet. I hope i'll get a reply soon. Thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959733#3959733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959733 From do-not-reply at jboss.com Thu Jul 20 19:18:00 2006 From: do-not-reply at jboss.com (goose-dog) Date: Thu, 20 Jul 2006 19:18:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - My fun SEAM project Message-ID: <4522562.1153437480459.JavaMail.jboss@colo-br-02.atl.jboss.com> Just wanted to share my fun project. I've had an online community for about 5 years, first written in ASP, then .NET, then scriplet filled JSPs, then JSTL with some light weight framework.. now I'm rewriting it using SEAM with facelet, jsf, ejb3. Heavily under contruction. http://vnl-online.com I'll be using this forum to learn more about seam and adding to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959734#3959734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959734 From do-not-reply at jboss.com Thu Jul 20 19:20:56 2006 From: do-not-reply at jboss.com (aashishvora) Date: Thu, 20 Jul 2006 19:20:56 -0400 (EDT) Subject: [jboss-user] [JBossCache] - JBossCache with Hibernate Transaction Message-ID: <10828340.1153437656585.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am trying to develop an application with Hibernate for persistence, Spring for transaction demarcation. I am also using JBossCache for data replication across 2 members in a cluster. The requirement is that the data should not be replicated unless the transaction is completed. Hence JBossCache is configured to use transaction and it is working fine as long as JBoss JTA transaction is being used. With the change in requirement, we are being asked to use Hibernate's transaction management. I am not sure how to integrate JBossCache with Hibernate's TM. Is it possible to do so? Any help is greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959735#3959735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959735 From do-not-reply at jboss.com Thu Jul 20 19:23:03 2006 From: do-not-reply at jboss.com (ortimus) Date: Thu, 20 Jul 2006 19:23:03 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - AOP packaging for LoadTime weaving with EAR isolation Message-ID: <3791842.1153437783945.JavaMail.jboss@colo-br-02.atl.jboss.com> We have an issue with loadtime weaving due to EAR isolation. Our environment is: JBoss 4.0.3 + JBOSS AOP 1.5 GA Here's the scenario: We have a jar myaspects.aop with the following structure: myaspects.aop com |__aoptest |__aspects | |__ MyException |__interceptors | |__MyInterceptor |__META_INF |__jboss-aop.xml MyInterceptor is bound to the MyException constructor jboss-aop.xml: | | | | | We have say two EAR's - componentX & componentY - with EAR isolation turned on. Both componentX & componentY include myaspects.aop. componentXSession is a stateless session bean in componentX componentYSession is a stateless session bean in componentY componentXSession has a method fooX fooX(){ ... throw new com.aoptest.aspects.MyException(); ... } componentYSession has a method fooY fooY(){ ... throw new com.aoptest.aspects.MyException(); ... } If we call componentXSession.fooX or componentYSession.fooY() independently, the intercptor gets invoked correctly for each call. Now, say componentXSession has a method fooXY fooXY(){ ... fooX() ... componentYSession.fooY() ... } In this secnario, where we are calling a method on another sessiopn bean (in another EAR) the intercptor doesn't get invoked. So, from fooXY, MyException created by fooX() gets intercepted, but MyException created by componentYSession.fooY() doesn't get intercepted. Is this correct behavior with EAR isolation turned on? If we turn EAR isolation off for both the EARs, this cross-EAR call works (now we have the problem of multiple invocations on each call but that is another issue.) In our project we have decided to use EAR isolation ON, so we need guidance on how to make this work. Should I be using a different packaging scheme or configuration that will make this work? Any advice will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959736#3959736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959736 From do-not-reply at jboss.com Thu Jul 20 19:24:28 2006 From: do-not-reply at jboss.com (mjrpain) Date: Thu, 20 Jul 2006 19:24:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: $100.00 Message-ID: <3984245.1153437868571.JavaMail.jboss@colo-br-02.atl.jboss.com> I appreciate that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959737#3959737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959737 From do-not-reply at jboss.com Thu Jul 20 19:38:26 2006 From: do-not-reply at jboss.com (goose-dog) Date: Thu, 20 Jul 2006 19:38:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Book markability Message-ID: <3584478.1153438706552.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Seems like everything in seam(actually JSF to be exact) is a post. Is there a way to render the links on my application so that it is more search engine friendly ad bookmarkable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959738#3959738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959738 From do-not-reply at jboss.com Thu Jul 20 19:40:03 2006 From: do-not-reply at jboss.com (jasperbg) Date: Thu, 20 Jul 2006 19:40:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Message-ID: <19933543.1153438803428.JavaMail.jboss@colo-br-02.atl.jboss.com> This seems to have been solved by adding: to my pages.xml. Why is this necessary? Shouldn't the 'propagation="begin"' on the tag do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959739#3959739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959739 From do-not-reply at jboss.com Thu Jul 20 19:49:33 2006 From: do-not-reply at jboss.com (gcowsar) Date: Thu, 20 Jul 2006 19:49:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Refactoring Message-ID: <29048112.1153439373746.JavaMail.jboss@colo-br-02.atl.jboss.com> I modified the Seam Messages example to use mySQL. In the process discovered that "read" as a column name won't work with mySql, their not-so-smart parser has a long list of reserved keywords that can't be used for table or column names, so I changed the name from "read" to "messageRead" and the getter and setter appropriately using the Refactoring in eclipse. No problem so far. But, the name also has to be changed in the .jsp, and in theory it could be referenced in many .jsp files, and it could be referenced in .js files. It seems like the refactoring should change it everywhere, not just in .java files. In the case of this example, it also had to be changed in the import.sql (but this would normally only for a sample). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959740#3959740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959740 From do-not-reply at jboss.com Thu Jul 20 20:10:56 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 20:10:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <25827770.1153440656672.JavaMail.jboss@colo-br-02.atl.jboss.com> Step through your code. The error you see is hiding the real error (this is due to a fixed bug in EJB3) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959741#3959741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959741 From do-not-reply at jboss.com Thu Jul 20 20:12:12 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 20:12:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Message-ID: <96345.1153440732476.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please file a bug in JIRA and attack a very simple, runnable testcase. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959742#3959742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959742 From do-not-reply at jboss.com Thu Jul 20 20:14:13 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 20:14:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Message-ID: <10262779.1153440853298.JavaMail.jboss@colo-br-02.atl.jboss.com> Um. Before you do that, however, can you see what happens if you use instead of ? Thanks. (I feel that it should by rights be a , but lets just check if this is the cause.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959743#3959743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959743 From do-not-reply at jboss.com Thu Jul 20 20:17:39 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 20 Jul 2006 20:17:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Book markability Message-ID: <16367622.1153441059892.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at the blog example in the Seam download. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959744#3959744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959744 From do-not-reply at jboss.com Thu Jul 20 20:37:39 2006 From: do-not-reply at jboss.com (joff) Date: Thu, 20 Jul 2006 20:37:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Drools domain specific language files in Seam Message-ID: <1792895.1153442259035.JavaMail.jboss@colo-br-02.atl.jboss.com> I've managed to deploy JBoss Rules using Seam quite happily, going along with the docs, but as soon as I try and use a Domain Specific Langage file (.dsl) things come apart: My components.xml has this: | drools/myrules.drl | | | myRules | I deploy my application EAR with both files (myrules.drl and myrules.dsl) inside the drools dir, i.e. application.ear/drools/ The myrules.drl defines the DSL thus: package com.example.myapp | | expander myrules.dsl | | rule "My Rule" | ... etc etc It works fine in Eclipse, but when I try and use it in my app: public class MyActionImpl implements MyAction { | | @In(create=true) | WorkingMemory myWorkingMemory; | | public void doAction() { | .... | myWorkingMemory.assertObject(myObject); | myWorkingMemory.fireAllRules(); | .... | } I get the following exception: java.lang.IllegalArgumentException: Unable to use expander. Make sure a expander or dsl config is being passed to the parser. [ExpanderResolver was not set]. | | at org.drools.lang.RuleParser.expander(Unknown Source) | | at org.drools.lang.RuleParser.prolog(Unknown Source) | | at org.drools.lang.RuleParser.compilation_unit(Unknown Source) | | at org.drools.compiler.DrlParser.compile(Unknown Source) | | at org.drools.compiler.DrlParser.parse(Unknown Source) | | at org.drools.compiler.DrlParser.parse(Unknown Source) | | at org.jboss.seam.drools.RuleBase.compileRuleBase(RuleBase.java:38) | | 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.seam.util.Reflections.invoke(Reflections.java:16) | | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:35) | | at org.jboss.seam.Component.callComponentMethod(Component.java:1418) | | at org.jboss.seam.Component.callCreateMethod(Component.java:1406) | | at org.jboss.seam.Component.newInstance(Component.java:1396) | | at org.jboss.seam.Component.getInstance(Component.java:1311) | | at org.jboss.seam.Component.getInstance(Component.java:1294) etc Do I need to be including the .dsl file somehow in the components.xml ? Or does this just not work at this stage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959745#3959745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959745 From do-not-reply at jboss.com Thu Jul 20 20:37:45 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 20 Jul 2006 20:37:45 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <3639103.1153442265662.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Cache requires use of a JTA transaction manager; doesn't have to be JBoss', but must be JTA. Hibernate transactions are not JTA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959746#3959746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959746 From do-not-reply at jboss.com Thu Jul 20 21:16:29 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 20 Jul 2006 21:16:29 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <4110910.1153444589384.JavaMail.jboss@colo-br-02.atl.jboss.com> Gurkan, Do you know when 2.0beta is coming out? Or where can I download the plugin specifically? Manik and I have been developing JBoss Cache 2.0 release now. The APIs have changed. And for PojoCache, the internal pojo mapping has new implementation as well. So we need to sync up on the Cache IDE part. Maybe 3 of us can get together online sometimes to chat then. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959747#3959747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959747 From do-not-reply at jboss.com Thu Jul 20 21:23:07 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 20 Jul 2006 21:23:07 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <10228810.1153444987662.JavaMail.jboss@colo-br-02.atl.jboss.com> Marcel, Thanks for the detailed info. When we do putObject, internally we do check for the exisiting object. If it is, we return right away. So this is not just assignment of the same object, I'd imagine. Will it be possible that you can put together a simple test? That'd help greatly. Thanks, -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959748#3959748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959748 From do-not-reply at jboss.com Thu Jul 20 21:24:25 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 20 Jul 2006 21:24:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <6782804.1153445065790.JavaMail.jboss@colo-br-02.atl.jboss.com> I have already spent hours stepping through the code and thousands of lines of server logs and staring at the 147-page reference manual trying to make this work. If you already know my mistake, please kindly point it out rather than making this an exercise for the reader. The fact that the actual problem is obscured by an EJB3 implementation defect is no help and hardly encouraging in my choice to choose bleeding-edge technologies from JBoss while I try to create a product to feed myself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959749#3959749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959749 From do-not-reply at jboss.com Thu Jul 20 21:31:42 2006 From: do-not-reply at jboss.com (seemap) Date: Thu, 20 Jul 2006 21:31:42 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <27165103.1153445502672.JavaMail.jboss@colo-br-02.atl.jboss.com> I have deleted the Meta-INF folder from deploy folder but still got error --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/day05_Signon.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: null state: FAILED watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon. jar altDD: null lastDeployed: 1153499535343 lastModified: 1153499535312 mbeans: what's wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959750#3959750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959750 From do-not-reply at jboss.com Thu Jul 20 22:00:37 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Thu, 20 Jul 2006 22:00:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: $100.00 Message-ID: <6075980.1153447237737.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm ready to buy it too View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959751#3959751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959751 From do-not-reply at jboss.com Thu Jul 20 22:09:24 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 20 Jul 2006 22:09:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody make fileupload works with no facelets? Message-ID: <9684776.1153447764403.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, I made it works for FileUpload on Seam + myface/tiles + myface(tomahawk). What I did is as follows: 1) Follow seam wiki fileUpload all steps, except the tomahawk.jar. 2) Put the tomahawk.jar into jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs; 3) Modify the web.xml under jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf: | MyFaces tlds | tagLibJar0 | jsf-libs/myfaces-impl.jar | | | | MyFaces tlds | tagLibJar1 | jsf-libs/tomahawk.jar | 4)Put the struts.jar into jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar. Thank you, Gavin. Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959752#3959752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959752 From do-not-reply at jboss.com Thu Jul 20 22:18:06 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 20 Jul 2006 22:18:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Fileupload Message-ID: <13376816.1153448286339.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I got the file upload works in Seam without facelets. You may try this. 1) Follow seam wiki fileUpload all steps, except the tomahawk.jar. 2) Put the tomahawk.jar into jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs; 3) Modify the web.xml under jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\conf: | MyFaces tlds | tagLibJar0 | jsf-libs/myfaces-impl.jar | | | | Tomahawk tlds | tagLibJar1 | jsf-libs/tomahawk.jar | If you have any question, please let me know. It at least works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959753#3959753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959753 From do-not-reply at jboss.com Thu Jul 20 22:30:32 2006 From: do-not-reply at jboss.com (aashishvora) Date: Thu, 20 Jul 2006 22:30:32 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <2776532.1153449032181.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot for quick response. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959754#3959754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959754 From do-not-reply at jboss.com Thu Jul 20 22:53:56 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 20 Jul 2006 22:53:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <3680448.1153450436259.JavaMail.jboss@colo-br-02.atl.jboss.com> So, about a thousand lines up from the bottom, I see that the LIE remains. I've tried to follow the instructions but admit that I must not be seeing something. I thought I understood that changing the scopes to CONVERSATION, having the group bean manager use a conversation-scoped instance, and following the instructions for using special Seam managed persistence would fix the LIE problem, but apparently I'm mistaken in my understanding or implementation of those instructions. I will gratefully accept having the error of my ways pointed out to me. Also, about the EJB3 bug, does that mean I need to get some patch in order to continue my work once the LIE problem is fixed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959755#3959755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959755 From do-not-reply at jboss.com Thu Jul 20 23:34:48 2006 From: do-not-reply at jboss.com (grypho0) Date: Thu, 20 Jul 2006 23:34:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Jboss Server: Status=No Host matches server name 192.168.0.1 Message-ID: <31354104.1153452888181.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I got a problem when I trying to bind JBoss address for all services on the IP 192.168.0.102 over the port 8080. I try to find why I got this status and how I can solve that. My setting is: I run Fedora into VMware, my JBoss server is install under /usr/local/jbossServer and I have the same error when I execute run.sh -b 192.168.0.102 with the root role. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959756#3959756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959756 From do-not-reply at jboss.com Thu Jul 20 23:55:08 2006 From: do-not-reply at jboss.com (Leonardpaul) Date: Thu, 20 Jul 2006 23:55:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How can i set my portal as home page Message-ID: <30060114.1153454108285.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, By default (default portal) is comming as a home page. How can i change to my portal as home page. Regards A.peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959757#3959757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959757 From do-not-reply at jboss.com Fri Jul 21 00:06:43 2006 From: do-not-reply at jboss.com (goose-dog) Date: Fri, 21 Jul 2006 00:06:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Book markability Message-ID: <11067025.1153454803479.JavaMail.jboss@colo-br-02.atl.jboss.com> Alright, I haven't looked at that yet. But before I came back to the forum I ended up using outputLinks with params enclosed. Then in the pages.xml I specifiy that a method gets invoked grabbing the params with @RequestParameter, then doing my stuff.. I'll look at the blog example to see how close I am. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959758#3959758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959758 From do-not-reply at jboss.com Fri Jul 21 00:08:48 2006 From: do-not-reply at jboss.com (goose-dog) Date: Fri, 21 Jul 2006 00:08:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Fileupload Message-ID: <24920989.1153454928800.JavaMail.jboss@colo-br-02.atl.jboss.com> worked for me. But I find it a little weird that I need to use the input stream to grab the actual file. Should have been cool to have just the file object that points to the actual file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959759#3959759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959759 From do-not-reply at jboss.com Fri Jul 21 00:18:22 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Fri, 21 Jul 2006 00:18:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <7806962.1153455502323.JavaMail.jboss@colo-br-02.atl.jboss.com> Eric How did you resolve this using page actions? From your original post you seem to already have a page action What did you change? | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959760#3959760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959760 From do-not-reply at jboss.com Fri Jul 21 00:34:17 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Fri, 21 Jul 2006 00:34:17 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JDBCCacheLoader Problems Message-ID: <32321825.1153456457720.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) You should not construct a Cache Loader explicitly. When you start the cache, a cache loader is created and configured for you based on your configuration file. 2) Your configureCache() method is unnecessary. 3) Your getConfigFile() method should return the name of an XML file (as a String) which needs to be in your classpath. This XML file would contain the cache configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959761#3959761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959761 From do-not-reply at jboss.com Fri Jul 21 00:38:30 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Fri, 21 Jul 2006 00:38:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <1617252.1153456710220.JavaMail.jboss@colo-br-02.atl.jboss.com> Make sure both JBoss Cache and Hibernate are configured to use the same TM and then use the Hibernate transaction interfaces to begin/commit/rollback your transactions. Behind the scenes, both interfaces delegate transaction orchestration to the TM configured; just make sure they are both configured to use the same TM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959762#3959762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959762 From do-not-reply at jboss.com Fri Jul 21 00:43:41 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Fri, 21 Jul 2006 00:43:41 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <30612245.1153457021339.JavaMail.jboss@colo-br-02.atl.jboss.com> Brian, You can use JTA TMs with Hibernate: http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#transactions-demarcation-jta http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#configuration-j2ee View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959763#3959763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959763 From do-not-reply at jboss.com Fri Jul 21 00:48:49 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Fri, 21 Jul 2006 00:48:49 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache data integrity across cluster Message-ID: <9299496.1153457329054.JavaMail.jboss@colo-br-02.atl.jboss.com> No, we don't have an explicit mechanism of obtaining a cluster-wide lock. A local lock is obtained on method invocation and is maintained till your transaction ends (commits or rolls back). Locks on remote instances are obtained and released during the 2-phase commit. (The prepare call attempts to acquire locks and updates data; the commit phase releases locks) If the prepare phase cannot acquire the remote locks it needs within the given time (specified by the LockAcquisitionTimeout attribute) you see TimeoutExceptions. You could also see TimeoutExceptions when trying to acquire the local lock if you have a lot of concurrent threads accessing the data. You may want to try OPTIMISTIC locking, which greatly improves concurrency - at the cost of the occasional transaction failure due to validation clashes when updating concurrently accessed data. Cheers, Manik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959765#3959765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959765 From do-not-reply at jboss.com Fri Jul 21 01:04:42 2006 From: do-not-reply at jboss.com (hchafi) Date: Fri, 21 Jul 2006 01:04:42 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - EntityManager merge and the seam-registration example. Message-ID: <1635194.1153458283021.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a question about merge and persist. I understand the basic difference between the two, but I am trying to undertand a bit more of the behavior of merge. I modified the User.java class in the seam-registration example and added an Id field. | @Id @GeneratedValue(strategy=GenerationType.AUTO) | public Long getId() { | return id; | } | The problem I ran into is the "detached entity passed to persist" as I was trying to register multiple users. I guess persist expects the id field not to be set. At least that is what I gathered from other posts. I switched to merge, and it works. I don't understand why it should work though. Since User is a session scoped entity bean, doesn't it mean it should remain alive during the whole session. in which case shouldn't the merge just update the same user instead of creating a new one. I inspected the database, and it does indeed create multiple users. Can someone point to the hole in my understanding. -hc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959766#3959766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959766 From do-not-reply at jboss.com Fri Jul 21 01:09:48 2006 From: do-not-reply at jboss.com (hchafi) Date: Fri, 21 Jul 2006 01:09:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - persist vs merge in seam-registration Message-ID: <1116823.1153458588894.JavaMail.jboss@colo-br-02.atl.jboss.com> I meant to post this here, I hope someone can answer my question. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87237 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959767#3959767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959767 From do-not-reply at jboss.com Fri Jul 21 01:11:41 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Fri, 21 Jul 2006 01:11:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless search to stateful conversation Message-ID: <22787118.1153458701133.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Started from scratch again and working fine now. Thanks for your time. Was starting to get disillusioned - but back on the path to insight. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959768#3959768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959768 From do-not-reply at jboss.com Fri Jul 21 01:15:38 2006 From: do-not-reply at jboss.com (hchafi) Date: Fri, 21 Jul 2006 01:15:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Patterns and Seam Message-ID: <10099356.1153458938368.JavaMail.jboss@colo-br-02.atl.jboss.com> I really am falling in love with seam, and I am building a prototype for a web-app that I will hope to launch as a service. I am bit fresh as far as patterns and j2ee. Seam does a lot to simplify and enable clean application, but do I need to follow additional j2ee patterns. If so, which ones do you guys feel are critical in order to build scalable enterprise application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959769#3959769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959769 From do-not-reply at jboss.com Fri Jul 21 01:29:09 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Fri, 21 Jul 2006 01:29:09 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: EntityManager merge and the seam-registration example. Message-ID: <1962722.1153459749798.JavaMail.jboss@colo-br-02.atl.jboss.com> Persist is used to insert a new instance of an object to the database. The underlying persistence engine (most probably hibernate) needs to know if your object is is a new object, or if is a detached instance (an instance already present in the database but not associated with the session). The usual mechanism for doing this is by inspecting the @Id field for a null/non-null value. (There are other mechanisms which you can employ using hibernate - but I'm not 100% sure if these are std J2EE 5 ways) [For more information on this check out the hibernate forums/docs http://forum.hibernate.com] So - if you try and persist (insert) an object that already has an identifer - you are going to get the exception you mentioned. Entity beans by default are bound to the conversational context. Have you explicitly bound the user to the session? Show us the code that is creating the user and the user object. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959770#3959770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959770 From do-not-reply at jboss.com Fri Jul 21 01:34:42 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Fri, 21 Jul 2006 01:34:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <13732738.1153460082385.JavaMail.jboss@colo-br-02.atl.jboss.com> Where do you @Begin and @End your conversation in GroupManagerBean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959771#3959771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959771 From do-not-reply at jboss.com Fri Jul 21 01:37:37 2006 From: do-not-reply at jboss.com (baz) Date: Fri, 21 Jul 2006 01:37:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <2461491.1153460257275.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Gavin. anonymous wrote : It makes it unclear what "null" means ... does null mean "no id", or does it mean "no object for the id". When getInstance is called and there is no Id in any context, session.get is not callable. So the if statement should ensure the pre condition for session.get. My object which i want to manage is choosen by the user. When the user select the object i set the Id in the appropriate context. In my app i do not know when a user has the selected the object. So it is possible that i reference this object when no id is set. Concrete: On each of my pages i have to display the project number of the bazProject the user works on. But as long as the user has not choosen a project, the bazProjectID id will be null. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959772#3959772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959772 From do-not-reply at jboss.com Fri Jul 21 01:40:07 2006 From: do-not-reply at jboss.com (dweil) Date: Fri, 21 Jul 2006 01:40:07 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Cannot get my custom principal returned by sessioncontex Message-ID: <24002264.1153460407648.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, I meant UsernamePasswordLoginModule, not UsersRolesLoginModule ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959773#3959773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959773 From do-not-reply at jboss.com Fri Jul 21 01:41:31 2006 From: do-not-reply at jboss.com (goose-dog) Date: Fri, 21 Jul 2006 01:41:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: $100.00 Message-ID: <28768957.1153460491062.JavaMail.jboss@colo-br-02.atl.jboss.com> I'd love to have a seam book too View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959774#3959774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959774 From do-not-reply at jboss.com Fri Jul 21 01:54:50 2006 From: do-not-reply at jboss.com (hchafi) Date: Fri, 21 Jul 2006 01:54:50 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: EntityManager merge and the seam-registration example. Message-ID: <15618358.1153461290798.JavaMail.jboss@colo-br-02.atl.jboss.com> | | import static org.jboss.seam.ScopeType.SESSION; | | import java.io.Serializable; | ... | import org.jboss.seam.annotations.Scope; | | @Entity | @Name("user") | @Scope(SESSION) | @Table(name="users", | uniqueConstraints={@UniqueConstraint(columnNames={"username"})}) | public class User implements Serializable { | | | private static final long serialVersionUID = 9093363133205674398L; | | private Long id; | private String username = null; | private String password = null; | private Boolean seller = null; | private SellerInfo sellerInfo = null; | private ContactInfo contactInfo = null; | private String firstName; | private String lastName; | | public String getFirstName() { | return firstName; | } | public void setFirstName(String firstName) { | this.firstName = firstName; | } | public String getLastName() { | return lastName; | } | public void setLastName(String lastName) { | this.lastName = lastName; | } | | | public ContactInfo getContactInfo() { | return contactInfo; | } | public void setContactInfo(ContactInfo contactInfo) { | this.contactInfo = contactInfo; | } | | | public User() { | super(); | } | | | @NotNull @Length(min=5, max=15) | public String getPassword() { | return password; | } | public void setPassword(String password) { | this.password = password; | } | | @NotNull @Length(min=5, max=15) | public String getUsername() { | return username; | } | public void setUsername(String username) { | this.username = username; | } | public SellerInfo getSellerInfo() { | return sellerInfo; | } | public void setSellerInfo(SellerInfo sellerInfo) { | this.sellerInfo = sellerInfo; | } | | @Id @GeneratedValue(strategy=GenerationType.AUTO) | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | public Boolean getSeller() { | return seller; | } | public void setSeller(Boolean seller) { | this.seller = seller; | } | | | } | My impression was that @Scope did the binding. The remaining code is almost identical to initial example code, but for completness sake. | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> | <%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %> | | | Register New User | | | | | | | | | | | | | | | | | | | | | | | |
    Username
    First Name
    Last Name
    Password
    | | |
    |
    | | | Finally the RegisterAction, all I changed is the em.persist to em.merge | import java.util.List; | | import javax.ejb.Stateless; | ... | import org.jboss.seam.log.Log; | | import com.genietown.model.User; | | @Stateless | @Name("register") | public class RegisterAction implements Register | { | | @In @Valid | private User user; | | @PersistenceContext | private EntityManager em; | | @Logger | private Log log; | | public String register() | { | List existing = em.createQuery("select username from User where username=:username") | .setParameter("username", user.getUsername()) | .getResultList(); | if (existing.size()==0) | { | em.merge(user); | log.info("Registered new user #{user.username}"); | return "/registered.jsp"; | } | else | { | FacesMessages.instance().add("User #{user.username} already exists"); | return null; | } | } | | } | Thanks for your help. To restate the question, why wouldn't merge simply update the user info instead of creating a new user? Obviously the later is what I want, but I am not sure why this works the way it is setup currently. -hc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959775#3959775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959775 From do-not-reply at jboss.com Fri Jul 21 01:59:59 2006 From: do-not-reply at jboss.com (Hari Prasad) Date: Fri, 21 Jul 2006 01:59:59 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Default Transaction Attribute in JBoss Message-ID: <16596252.1153461599316.JavaMail.jboss@colo-br-02.atl.jboss.com> Hai All, I am currently using JBoss-4.0.2 in my project.It works with a Default Transaction attribute of 'Required'. But since the Spec does not mandate any Default Transaction Attribute and also I read the Transaction attribute varies with different versions of JBoss....What is the safest flexible approach I can take in the following scenario? I have a Session Facade method which invokes a series of services to create/update/remove records in DB.And it should succeed function in all or none basis.So now, for defining a Transaction in this case : 1. Is it good to define Transaction as 'Required' in all Session Facade methods and Entity Bean setters ? (or) 2. Is it enough to define Transaction as 'Required' only in the main Facade method which invokes series of services,as I understand that Transaction attribute varies only from 'Required' to 'Supports' in different versions.So in that case all the Session Facade and Entity Beans would participate in Transaction context set by the main Facade. Can anybody help/suggest me in this case!!! Thanks, Hari Prasad K. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959776#3959776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959776 From do-not-reply at jboss.com Fri Jul 21 02:04:45 2006 From: do-not-reply at jboss.com (rksangubotla) Date: Fri, 21 Jul 2006 02:04:45 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - JBossIDE Web Service support ? Message-ID: <22544071.1153461885637.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I have upgraded my JBoss IDE from : http://download.jboss.org/jbosside/updates/development I only see Web Service Test Client option available from webservices on right click of a .java . Can I create a web service from java class using JBoss IDE lastest update ? and can I deploy it to JBoss4.0.4 GA (which uses promising JBossWS) using JbossIDE . Basically an end to end web service implementation can be done by JBossIDE ? if yes can you please point me to a tutorial or document ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959777#3959777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959777 From do-not-reply at jboss.com Fri Jul 21 02:04:58 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 02:04:58 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <15554976.1153461898601.JavaMail.jboss@colo-br-02.atl.jboss.com> After deleting the META-INF folder from the deploy directory, is this the only error that you are seeing. Are there any exception stacktraces when jboss is starting. If yes, post the same View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959778#3959778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959778 From do-not-reply at jboss.com Fri Jul 21 02:08:48 2006 From: do-not-reply at jboss.com (dpratimbanerjee) Date: Fri, 21 Jul 2006 02:08:48 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JBoss Plugin for Eclipse 3.2.0 Message-ID: <21639273.1153462128175.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there any plugin of JBoss for Eclipse 3.2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959779#3959779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959779 From do-not-reply at jboss.com Fri Jul 21 02:10:36 2006 From: do-not-reply at jboss.com (nax32) Date: Fri, 21 Jul 2006 02:10:36 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: A class as a parameter in a webservice Message-ID: <2584642.1153462236530.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959780#3959780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959780 From do-not-reply at jboss.com Fri Jul 21 02:14:56 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 02:14:56 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1 Message-ID: <24027821.1153462496895.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : String log4jFile = "/WEB-INF/classes/log4j.xml"; Change this to: String log4jFile = "WEB-INF/classes/log4j.xml"; Note that there is no '/' before the WEB-INF. Try it out and see if it works. Alternately, you can try: InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("WEB-INF/classes/log4j.xml"); anonymous wrote : Do I need to change other settings to use my own log4j.xml? See if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=Log4jRepositorySelector View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959781#3959781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959781 From do-not-reply at jboss.com Fri Jul 21 02:22:17 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 02:22:17 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Thread Zoombie Message-ID: <23276697.1153462937831.JavaMail.jboss@colo-br-02.atl.jboss.com> There are many reasons why you might get a OutOfMemoryError. Whats the scenario in which you get this error? Are you sure its because of infinite thread generation? Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions See if it helps View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959782#3959782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959782 From do-not-reply at jboss.com Fri Jul 21 02:23:02 2006 From: do-not-reply at jboss.com (ottran75@yahoo.co.in) Date: Fri, 21 Jul 2006 02:23:02 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Regarding the No ManagedConnection error in jboss-4.0.3S Message-ID: <8608450.1153462982766.JavaMail.jboss@colo-br-02.atl.jboss.com> Please find the oracle-ds.xml file OracleDS jdbc:oracle:thin:@url oracle.jdbc.driver.OracleDriver USER Pswd 50 75 1 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Oracle9i View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959783#3959783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959783 From do-not-reply at jboss.com Fri Jul 21 02:29:00 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Fri, 21 Jul 2006 02:29:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <29566586.1153463340562.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Peter, thanx. "PeterJ" wrote : I assume that you used the installer jar file to install JBoss and that you installed into the Program Files directory. Correct? I did use the jar file (jboss-4.0.4.GA-Patch1-installer.jar) but I installed in the Program directory rather than Program Files (read someplace that JBoss don't like Program Files and that Program should be used instead). "PeterJ" wrote : Did you set up JBoss as a service? nope "PeterJ" wrote : Post the contents of the resulting autorun.txt file. HKLM\System\CurrentControlSet\Control\Terminal Server\Wds\rdpwd\StartupPrograms | rdpclip | RDP Clip Monitor | Microsoft Corporation | c:\windows\system32\rdpclip.exe | | HKCU\Software\Policies\Microsoft\Windows\System\Scripts\Logon | se.OfficeScan_AV-Check | \\ibs.net\sysvol\ibs.net\policies\{619097fb-7336-446e-9427-62d15ba945dc}\user\scripts\logon\se_officescan_av-check.cmd | | HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit | C:\WINDOWS\system32\userinit.exe | Userinit Logon Application | Microsoft Corporation | c:\windows\system32\userinit.exe | | HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell | Explorer.exe | Windows Explorer | Microsoft Corporation | c:\windows\explorer.exe | | HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run | TPHOTKEY | c:\program files\lenovo\pkgmgr\hotkey\tphkmgr.exe | TP4EX | TrackPoint Accessibility Features | Lenovo Group Limited | C:\WINDOWS\system32\TP4EX.exe | SynTPLpr | TouchPad Driver Helper Application | Synaptics, Inc. | c:\program files\synaptics\syntp\syntplpr.exe | SynTPEnh | Synaptics TouchPad Enhancements | Synaptics, Inc. | c:\program files\synaptics\syntp\syntpenh.exe | SoundMAXPnP | SMax4PNP MFC Application | Analog Devices, Inc. | c:\program files\analog devices\soundmax\smax4pnp.exe | SoundMAX | SoundMAX Control Center | Analog Devices, Inc. | c:\program files\analog devices\soundmax\smax4.exe | ATIPTA | ATI Desktop Control Panel | ATI Technologies, Inc. | c:\program files\ati technologies\ati control panel\atiptaxx.exe | TpShocks | ThinkVantage Active Protection System | Lenovo, Ltd. and IBM Corporation. | c:\windows\system32\tpshocks.exe | EZEJMNAP | ThinkPad EasyEject Support Application | Lenovo Group Limited | c:\program files\thinkpad\utilities\ezejmnap.exe | PWRMGRTR | ThinkPad Power Manager Background Monitor and Tray Battery Gauge | Lenovo Group Limited | c:\program files\thinkpad\utilities\pwrmgrtr.dll | BLOG | c:\program files\thinkpad\utilities\batlogex.dll | TPKMAPHELPER | Anpassat tangentbord | Lenovo | c:\program files\thinkpad\program\tpkmapap.exe | TPKBDLED | c:\windows\system32\tpscrlk.exe | Synchronization Manager | Microsoft Synchronization Manager | Microsoft Corporation | c:\windows\system32\mobsync.exe | OfficeScanNT Monitor | I/O Monitor | Trend Micro Inc. | c:\program files\trend micro\officescan client\pccntmon.exe | {0228e555-4f9c-4e35-a3ec-b109a192b4c2} | Gmail Notifier | Google Inc. | c:\program files\google\gmail notifier\gnotify.exe | PCSuiteTrayApplication | PC Suite | Nokia | c:\program files\nokia\nokia pc suite 6\launchapplication.exe | Logitech BT Wizard | Bluetooth Services | Logitech Inc. | C:\Program Files\Logitech\SetPoint\LBTWiz.exe | Logitech Hardware Abstraction Layer | Logitech KHAL Main Process | Logitech Inc. | c:\windows\khalmnpr.exe | | C:\Documents and Settings\All Users\Start Menu\Programs\Startup | BTTray.lnk | Bluetooth Tray Application | Broadcom Corporation. | c:\program files\thinkpad\bluetooth software\bttray.exe | Logitech SetPoint.lnk | Logitech SetPoint Event Manager (UNICODE) | Logitech Inc. | c:\program files\logitech\setpoint\setpoint.exe | | C:\Documents and Settings\SEMARWAH\Start Menu\Programs\Startup | Gmail Notifier.lnk | Gmail Notifier | Google Inc. | c:\program files\google\gmail notifier\gnotify.exe | | HKCU\Software\Microsoft\Windows\CurrentVersion\Run | googletalk | Google Talk | Google | c:\program files\google\google talk\googletalk.exe | PcSync | PC Sync | Time Information Services Ltd. | c:\program files\nokia\nokia pc suite 6\pcsync2.exe | ctfmon.exe | CTF Loader | Microsoft Corporation | c:\windows\system32\ctfmon.exe | TPKMAPMN | c:\program files\thinkpad\program\tpkmapmn.exe | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959784#3959784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959784 From do-not-reply at jboss.com Fri Jul 21 02:54:05 2006 From: do-not-reply at jboss.com (aftekuser) Date: Fri, 21 Jul 2006 02:54:05 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Is snmp v3 supported ? Message-ID: <21437467.1153464845014.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am not aware much of snmp v3 feature differences with snmp version1,2. However in our project we will be requiring snmp v3 security and also will be sending snmp v3 get/set requests (dont know if they differ from v1,v2 though). I think though if we integrate third party snmp adaptor (like adventnet) into jboss we should get snmp v3 support. Is this correct ? Do you have any idea on where i can get info on how to integrate a third party snmp adaptor into jboss ? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959785#3959785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959785 From do-not-reply at jboss.com Fri Jul 21 02:57:47 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 02:57:47 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Regarding the No ManagedConnection error in jboss-4.0.3S Message-ID: <31391914.1153465067705.JavaMail.jboss@colo-br-02.atl.jboss.com> 50 | 75 Thats a good enough pool size. What does your application do? Does it heavily use connections. How long are these connections kept open? If i remember correctly, using the jmx-console there is a way to find out the number of connection currently in use, for your datasource. Have you checked this current connection count when this exception occurs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959787#3959787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959787 From do-not-reply at jboss.com Fri Jul 21 03:06:31 2006 From: do-not-reply at jboss.com (guava) Date: Fri, 21 Jul 2006 03:06:31 -0400 (EDT) Subject: [jboss-user] [JBossCache] - is synchronization of a TreeCache within the same VM necessa Message-ID: <28779787.1153465591890.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is the following synchronization necessary? TreeCache cache = new TreeCache(channel); ...... // possiblely access from multiple threads synchronzied ( cache) { Value v = cache.get(fqn, key); if ( v != null ) { // do something } } Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959791#3959791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959791 From do-not-reply at jboss.com Fri Jul 21 03:20:16 2006 From: do-not-reply at jboss.com (wolfgang.buckel) Date: Fri, 21 Jul 2006 03:20:16 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem disabling Hibernate SecondLevelCache with HibernateM Message-ID: <26051959.1153466416610.JavaMail.jboss@colo-br-02.atl.jboss.com> For testing pruposes I tried to disable the SecondLevelCache via the MBean property "SecondLevelCacheEnabled" but I did not work: | | java:ConfigV3DS | org.hibernate.dialect.PostgreSQLDialect | java:/hibernate/ConfigV3SessionFactory | org.hibernate.cache.HashtableCacheProvider | update | true | false | true | | Hibernate still says 2006-07-20 17:50:29,535 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled when my HAR deploys. I checked the sources of JBoss 4.0.4.GA (which is what I use). In org.jboss.hibernate.jmx.Hibernate.java I couldn't find any line of code where the property "secondLevelCacheEnabled" would be forwarded to Hibernate. The method "transferSettings()" just doesn't do it as with the other properties. Is this a bug? Any help or workarounds would be appreciated. Thanks, Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959793#3959793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959793 From do-not-reply at jboss.com Fri Jul 21 03:20:33 2006 From: do-not-reply at jboss.com (nageshreddy81) Date: Fri, 21 Jul 2006 03:20:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - org.xml.sax.SAXNotRecognizedException Message-ID: <13571757.1153466433989.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not able to solve this problem I am using sun one app server to run my jbpm apllication Can anybody help me out in solving this problem org.xml.sax.SAXNotRecognizedException: Property: http://apache.org/xml/properties/schema/external-schemaLocation at org.apache.crimson.parser.XMLReaderImpl.setProperty(XMLReaderImpl.java:272) at org.apache.crimson.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:190) at org.jbpm.jpdl.xml.JpdlParser.createXmlReader(JpdlParser.java:83) at org.jbpm.jpdl.xml.JpdlParser.createSaxReader(JpdlParser.java:62) at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:56) at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138) at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172) at com.mot.gama.siepoc.common.requesthandler.RequestHandlerBean.onMessage(RequestHandlerBean.java:198) at com.sun.ejb.containers.MessageBeanContainer.onMessage(MessageBeanContainer.java:857) at com.sun.ejb.containers.MessageBeanListenerConcurrent.onMessage(MessageBeanListenerConcurrent.java:20) at com.sun.messaging.jmq.jmsclient.ServerSessionRunner.onMessage(ServerSessionRunner.java:139) at com.sun.messaging.jmq.jmsclient.ServerSessionRunner.run(ServerSessionRunner.java:105) at com.sun.messaging.jmq.jmsclient.SessionImpl.run(SessionImpl.java:2313) at com.sun.enterprise.jms.SessionWrapperBase.run(SessionWrapperBase.java:199) at com.iplanet.ias.ejb.containers.IASServerSessionImpl.run(IASServerSessionImpl.java:191) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959794#3959794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959794 From do-not-reply at jboss.com Fri Jul 21 03:21:25 2006 From: do-not-reply at jboss.com (sriram4java@gmail.com) Date: Fri, 21 Jul 2006 03:21:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - a doubt in deploying web app Message-ID: <24678217.1153466485201.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, I want to deploy a web application in jboss as directory structure ie without creating war file is it possible thanks in Advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959795#3959795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959795 From do-not-reply at jboss.com Fri Jul 21 03:24:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 03:24:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: a doubt in deploying web app Message-ID: <27114073.1153466660976.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes its possible. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959796#3959796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959796 From do-not-reply at jboss.com Fri Jul 21 03:26:19 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 21 Jul 2006 03:26:19 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: How to get MBean domains? Message-ID: <10528242.1153466779680.JavaMail.jboss@colo-br-02.atl.jboss.com> Could not find any API on JBoss-3.2.3 for doing the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959797#3959797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959797 From do-not-reply at jboss.com Fri Jul 21 03:26:59 2006 From: do-not-reply at jboss.com (petekol) Date: Fri, 21 Jul 2006 03:26:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a Message-ID: <6843583.1153466819928.JavaMail.jboss@colo-br-02.atl.jboss.com> so, a single request can not create new conversation with nested one, right? may be this annotation should do it @Begin(join=true, nested=true)? -) the problem i have then is how to say in what conversation a new beans go.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959798#3959798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959798 From do-not-reply at jboss.com Fri Jul 21 03:27:44 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 21 Jul 2006 03:27:44 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException Message-ID: <23353331.1153466864921.JavaMail.jboss@colo-br-02.atl.jboss.com> Martin - we reproduced this problem on a dual core (it seems to happen quickly with multiple cores), and eventually managed to reproduce it on a single core (it took me 8 hours of running and 8 million messages). There was a problem related to transaction isolation with XA transactions, which I have now fixed. We have then run the test again on both dual and single cores with millions of messages and the problem seems to have been solved. The fix will be in the next release. We should hopefully be out in the next week. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959799#3959799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959799 From do-not-reply at jboss.com Fri Jul 21 03:29:39 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 21 Jul 2006 03:29:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException occures in the first few Message-ID: <7477512.1153466979154.JavaMail.jboss@colo-br-02.atl.jboss.com> This is now fixed in HEAD http://jira.jboss.com/jira/browse/JBMESSAGING-440 and will be in the next release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959800#3959800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959800 From do-not-reply at jboss.com Fri Jul 21 03:33:12 2006 From: do-not-reply at jboss.com (ssgemail) Date: Fri, 21 Jul 2006 03:33:12 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HILO, oracle9i Message-ID: <8509636.1153467192715.JavaMail.jboss@colo-br-02.atl.jboss.com> before starting the jboss, I create table in sqlplus with the same user as oracle-ds.xml. once run the jboss, the table that created would be deleted by jboss automatically View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959801#3959801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959801 From do-not-reply at jboss.com Fri Jul 21 03:34:19 2006 From: do-not-reply at jboss.com (ssgemail) Date: Fri, 21 Jul 2006 03:34:19 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HILO, oracle9i Message-ID: <21721176.1153467259731.JavaMail.jboss@colo-br-02.atl.jboss.com> the database user owns all role and all privillages so I don't know what happen! :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959802#3959802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959802 From do-not-reply at jboss.com Fri Jul 21 03:35:35 2006 From: do-not-reply at jboss.com (ssgemail) Date: Fri, 21 Jul 2006 03:35:35 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HILO, oracle9i Message-ID: <33546547.1153467335405.JavaMail.jboss@colo-br-02.atl.jboss.com> but everything is ok when sqlserver, why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959803#3959803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959803 From do-not-reply at jboss.com Fri Jul 21 03:37:47 2006 From: do-not-reply at jboss.com (szgrick) Date: Fri, 21 Jul 2006 03:37:47 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - How to delete console configuration item of Hibernate Code G Message-ID: <4761334.1153467467538.JavaMail.jboss@colo-br-02.atl.jboss.com> I create a console configuration,when i del it,but i dont find some boutton to del it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959804#3959804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959804 From do-not-reply at jboss.com Fri Jul 21 03:41:30 2006 From: do-not-reply at jboss.com (supradiz) Date: Fri, 21 Jul 2006 03:41:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - [EJB 3.0] EntityBean (table) shared between EntityManger and Message-ID: <5490656.1153467690815.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello , I'am a beginner in EJB 3. configuration: JBOSS 4 + EJB 3. Oracle. procedure: 1\ I persist and object in database (Oracle) using entitymanager. (primary key generate AUTO) 2\ I add manually an object in database unsing JDBC (increment last primary key genrate by 1) 3\ I try to persist and other object in database using entitymanger but i obtain a primary key violation. How synchronize entityManager' ID with database after adding an object manually ? (I have try Flush() but it don't work) What is the best way to generate primary key if i use Oracle ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959805#3959805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959805 From do-not-reply at jboss.com Fri Jul 21 03:47:54 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Fri, 21 Jul 2006 03:47:54 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: How to delete console configuration item of Hibernate Co Message-ID: <6377246.1153468074387.JavaMail.jboss@colo-br-02.atl.jboss.com> Ever tried to use the DELETE button on your keyboard ? :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959806#3959806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959806 From do-not-reply at jboss.com Fri Jul 21 03:48:01 2006 From: do-not-reply at jboss.com (ssgemail) Date: Fri, 21 Jul 2006 03:48:01 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: HILO, oracle9i Message-ID: <10485169.1153468081249.JavaMail.jboss@colo-br-02.atl.jboss.com> 15:44:47,609 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=oracleds' to JNDI name 'java:oracleds' 15:44:49,718 WARN [ServiceController] Problem starting service jboss:service=KeyGeneratorFactory,type=HiLo java.sql.SQLException: ORA-00942: table or view not exists at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180) at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208) at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543) at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1451) at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:862) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:1846) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1771) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2361) at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:865) at org.jboss.resource.adapter.jdbc.WrappedStatement.executeUpdate(WrappedStatement.java:161) at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.dropTableIfExists(HiLoKeyGeneratorFactory.java:315) at org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory.startService(HiLoKeyGeneratorFactory.java:211) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959807#3959807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959807 From do-not-reply at jboss.com Fri Jul 21 03:49:54 2006 From: do-not-reply at jboss.com (afuechsel) Date: Fri, 21 Jul 2006 03:49:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - serviceBindingManager does not work Message-ID: <32665324.1153468194188.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I set up two jboss instances according to the documentation, but they do not seem to work. What surprises me is the log from the boot.log: | 07:31:20,945 DEBUG [ServiceCreator] Created bean: jboss.system:service=ServiceBindingManager | 07:31:20,945 DEBUG [ServiceConfigurator] ServerName set to p3Server in jboss.system:service=ServiceBindingManager | 07:31:20,960 DEBUG [ServiceConfigurator] StoreURL set to file:/D:/jboss-4.0.2/server/p3Server/conf/bindings.xml in jboss.system:service=ServiceBindingManager | 07:31:20,960 DEBUG [ServiceConfigurator] StoreFactoryClassName set to org.jboss.services.binding.XMLServicesStoreFactory in jboss.system:service=ServiceBindingManager | 07:31:20,960 INFO [ServiceBindingManager] Initializing store | 07:31:20,960 INFO [ServiceBindingManager] Using StoreURL: file:/D:/jboss-4.0.2/server/p3Server/conf/bindings.xml | 07:31:21,023 DEBUG [XMLServicesStore] parseBinding, name='', host='0.0.0.0', port='1099' | 07:31:21,023 DEBUG [XMLServicesStore] parseBinding, name='', host='null', port='8083' | 07:31:21,038 DEBUG [XMLServicesStore] parseBinding, name='', host='null', port='4444' | 07:31:21,038 DEBUG [XMLServicesStore] parseBinding, name='', host='null', port='4445' | 07:31:21,038 DEBUG [XMLServicesStore] parseBinding, name='', host='null', port='1098' | 07:31:21,038 DEBUG [XMLServicesStore] parseBinding, name='', host='null', port='1100' | I set up the jboss-service.xml as follows: | | ${jboss.server.name} | ${jboss.server.config.url}/bindings.xml | | org.jboss.services.binding.XMLServicesStoreFactory | | | and the bindings.xml like this: | | | ... | However, jboss does not use these settings as one can see in the log above. I am using JBoss 4.0.2 and I need to stay with this version. Any idea, what I made wrong? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959808#3959808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959808 From do-not-reply at jboss.com Fri Jul 21 03:50:09 2006 From: do-not-reply at jboss.com (sidharthk) Date: Fri, 21 Jul 2006 03:50:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss with MSSQl Message-ID: <7446252.1153468209381.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am using JBoss-Portal-2.2.1 Bundled version. I have configured it with Ms MSQL server. It creates the data base table while start up but gives an exception: java.lang.NullPointerException at com.microsoft.jdbc.sqlserver.tds.TDSRPCParameter.initializeUserParam(Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.addUserParametersToRPC(Unknown Source ) at com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.executeInternal(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.execute(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement .java:209) at org.hibernate.id.IdentityGenerator$InsertSelectDelegate.executeAndExtract(IdentityGenerat or.java:108) at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate .java:33) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.jav a:2044) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.jav a:2481) at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:4 7) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEven tListener.java:290) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.j ava:180) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventLi stener.java:108) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(D efaultSaveOrUpdateEventListener.java:186) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSa veEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrU pdateEventListener.java:175) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventList ener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpda teEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:537) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:525) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:521) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1677) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1648) at org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateStore.java:353) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:173) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424) at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService. java:102) at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:233) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:199) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) 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(ModelMBeanOperationInterce ptor.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(ServiceController.java:995) 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 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(ModelMBeanOperationInterce ptor.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 $Proxy98.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor77.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(ModelMBeanOperationInterce ptor.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 $Proxy8.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(AbstractDeplo ymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca nner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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(ModelMBeanOperationInterce ptor.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:464) at java.lang.Thread.run(Thread.java:595) 13:01:57,746 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: HY000 13:01:57,746 ERROR [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC]Object has bee n closed. 13:01:57,746 ERROR [HibernateStore] failed to create folder entry: / org.hibernate.exception.GenericJDBCException: could not insert: [org.jboss.portal.cms.hibernate.Repo sitoryEntry] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.j ava:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate .java:40) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.jav a:2044) at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.jav a:2481) at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:4 7) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248) at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEven tListener.java:290) at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.j ava:180) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventLi stener.java:108) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(D efaultSaveOrUpdateEventListener.java:186) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSa veEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrU pdateEventListener.java:175) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventList ener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpda teEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:537) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:525) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:521) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1677) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1648) at org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateStore.java:353) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:173) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424) at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService. java:102) at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:233) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:199) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) 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(ModelMBeanOperationInterce ptor.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(ServiceController.java:995) 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 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(ModelMBeanOperationInterce ptor.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 $Proxy98.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor77.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(ModelMBeanOperationInterce ptor.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 $Proxy8.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(AbstractDeplo ymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca nner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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(ModelMBeanOperationInterce ptor.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:464) at java.lang.Thread.run(Thread.java:595) Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Object has been closed. at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source) at com.microsoft.jdbc.base.BaseConnection.validateClosedState(Unknown Source) at com.microsoft.jdbc.base.BaseStatement.validateClosedState(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.clearParameters(Unknown Source) at com.microsoft.jdbc.base.BasePreparedStatement.close(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedStatement.internalClose(WrappedStatement.java:588) at org.jboss.resource.adapter.jdbc.WrappedStatement.close(WrappedStatement.java:73) at org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:526) at org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:265) at org.hibernate.id.insert.AbstractReturningDelegate.releaseStatement(AbstractReturningDeleg ate.java:58) at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate .java:36) ... 137 more 13:01:57,887 WARN [ServiceController] Problem starting service portal:service=CMS org.hibernate.TransactionException: Transaction not successfully started at org.hibernate.transaction.JTATransaction.commit(JTATransaction.java:126) at org.jboss.portal.cms.hibernate.HibernateStore$Blah.close(HibernateStore.java:1814) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1690) at org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(HibernateStore.java:1648) at org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateStore.java:353) at org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:173) at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:424) at org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(JackrabbitJCRService. java:102) at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:233) at org.jboss.portal.cms.impl.jcr.JCRCMS.startService(JCRCMS.java:199) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) 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(ModelMBeanOperationInterce ptor.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(ServiceController.java:995) 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 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(ModelMBeanOperationInterce ptor.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 $Proxy98.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor77.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(ModelMBeanOperationInterce ptor.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 $Proxy8.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(AbstractDeplo ymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentSca nner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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(ModelMBeanOperationInterce ptor.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:464) at java.lang.Thread.run(Thread.java:595) Further It reports: --- MBeans waiting for other MBeans --- ObjectName: portal:service=CMS State: FAILED Reason: org.hibernate.TransactionException: Transaction not successfully started I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule Depends On Me: portal:mapper=CMSObject --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: portal:service=CMS State: FAILED Reason: org.hibernate.TransactionException: Transaction not successfully started I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule Depends On Me: portal:mapper=CMSObject View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959809#3959809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959809 From do-not-reply at jboss.com Fri Jul 21 04:02:59 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Fri, 21 Jul 2006 04:02:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <25028008.1153468979647.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : The backing bean is part of the view No it is not. View connected to the beans by binding expressions. View does not hold references to the beans. In render time, when it is needed to put value in html output it just evaluates binding expression. And then in post time, it evaluates binding expression in another direction to put posted value back to the bean property. There is also method binding for the buttons and links, but it works by the same principles. Facelets do the great thing. It gives a lot of template capabilities, and it get rid of JSP heritage. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959812#3959812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959812 From do-not-reply at jboss.com Fri Jul 21 04:05:25 2006 From: do-not-reply at jboss.com (sriram4java@gmail.com) Date: Fri, 21 Jul 2006 04:05:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: a doubt in deploying web app Message-ID: <31392535.1153469125158.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks Friend it works View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959813#3959813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959813 From do-not-reply at jboss.com Fri Jul 21 04:06:22 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 04:06:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a Message-ID: <23242129.1153469182813.JavaMail.jboss@colo-br-02.atl.jboss.com> "petekol" wrote : so, a single request can not create new conversation with nested one, right? | Right. You'll need to call your @Begin(nested=true) in a new request to get your nested conversation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959814#3959814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959814 From do-not-reply at jboss.com Fri Jul 21 04:08:39 2006 From: do-not-reply at jboss.com (Luffy) Date: Fri, 21 Jul 2006 04:08:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: pb with tasklist and pooled tasklist Message-ID: <13316619.1153469319440.JavaMail.jboss@colo-br-02.atl.jboss.com> up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959815#3959815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959815 From do-not-reply at jboss.com Fri Jul 21 04:10:41 2006 From: do-not-reply at jboss.com (petekol) Date: Fri, 21 Jul 2006 04:10:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to start new conversation, new nested conversation a Message-ID: <32305682.1153469441525.JavaMail.jboss@colo-br-02.atl.jboss.com> how can i put bean2 in to nested context after a user press m1,m3 buttons so that the bean is read-write? bean1: showBean2 = false; @Begin(join=true) m1() { some code here; showBean2 = true; } bean2: @Begin(nested=true) m3() { some code here; } index.xhtml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959816#3959816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959816 From do-not-reply at jboss.com Fri Jul 21 04:14:11 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 04:14:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Persisting Message-ID: <12259323.1153469651645.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to develop a entity which extends another entity and which use the annotation @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS), but this only provides an exception as the sub class does not have an @Id annotated: org.hibernate.MappingException: Cannot use identity column key generation with mapping for: concept.entity.Entity However: If I do annotate this @Id, I get this one: org.hibernate.AnnotationException: Unable to define/override @Id(s) on a subclass: concept.entity.Entity Suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959817#3959817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959817 From do-not-reply at jboss.com Fri Jul 21 04:14:50 2006 From: do-not-reply at jboss.com (kindy_wu) Date: Fri, 21 Jul 2006 04:14:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - screen display is disorder when 800 * 600 Message-ID: <10878118.1153469690970.JavaMail.jboss@colo-br-02.atl.jboss.com> screen display is disorder when 800 * 600[/img] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959818#3959818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959818 From do-not-reply at jboss.com Fri Jul 21 04:17:28 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 04:17:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <18227595.1153469848010.JavaMail.jboss@colo-br-02.atl.jboss.com> While Seam may not have visibility into facelet's internal variable passing mechanism, isn't this information already present in a JSF or Seam context? How are you passing data as a parameter that didn't originate from somewhere Seam does have access? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959819#3959819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959819 From do-not-reply at jboss.com Fri Jul 21 04:29:05 2006 From: do-not-reply at jboss.com (seemap) Date: Fri, 21 Jul 2006 04:29:05 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <16837600.1153470545391.JavaMail.jboss@colo-br-02.atl.jboss.com> The whole message after running the JBoss server is shown below: C:\jboss-4.0.4\jboss-4.0.4.GA\bin>set JAVA_HOME = c:\j2sdk1.4.2_10 =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.4\jboss-4.0.4.GA\bin\\.. . JAVA: C:\j2sdk1.4.2_10\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: C:\j2sdk1.4.2_10\lib\tools.jar;C:\jboss-4.0.4\jboss-4.0.4.GA\bin\\r un.jar . =============================================================================== . 16:29:27,375 INFO [Server] Starting JBoss (MX MicroKernel)... 16:29:27,375 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo ss_4_0_4_GA date=200605151000) 16:29:27,390 INFO [Server] Home Dir: C:\jboss-4.0.4\jboss-4.0.4.GA 16:29:27,390 INFO [Server] Home URL: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/ 16:29:27,390 INFO [Server] Patch URL: null 16:29:27,390 INFO [Server] Server Name: default 16:29:27,390 INFO [Server] Server Home Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\serve r\default 16:29:27,390 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4/jboss-4.0.4.GA /server/default/ 16:29:27,406 INFO [Server] Server Log Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\server \default\log 16:29:27,406 INFO [Server] Server Temp Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\serve r\default\tmp 16:29:27,406 INFO [Server] Root Deployment Filename: jboss-service.xml 16:29:28,765 INFO [ServerInfo] Java version: 1.4.2_10,Sun Microsystems Inc. 16:29:28,765 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_10-b03 ,Sun Microsystems Inc. 16:29:28,765 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 16:29:30,343 INFO [Server] Core system initialized 16:29:38,171 INFO [WebService] Using RMI server codebase: http://xyz-ilsy4a436z f:8083/ 16:29:38,250 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:log4j.xml 16:29:39,015 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0. 0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos s.net.sockets.DefaultSocketFactory 16:29:50,671 INFO [Embedded] Catalina naming disabled 16:29:50,843 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 16:29:50,843 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 16:29:51,750 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0 .0.0-8080 16:29:51,750 INFO [Catalina] Initialization processed in 907 ms 16:29:51,750 INFO [StandardService] Starting service jboss.web 16:29:51,765 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1 7 16:29:51,875 INFO [StandardHost] XML validation disabled 16:29:51,937 INFO [Catalina] Server startup in 187 ms 16:29:52,390 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/ http-invoker.sar/invoker.war/ 16:29:53,328 INFO [WebappLoader] Dual registration of jndi stream handler: fact ory already defined 16:29:55,078 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe b-tomcat55.sar/ROOT.war/ 16:29:59,359 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep loy/tmp5377jbossws-exp.war/ 16:30:00,062 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDi spatcher 16:30:00,734 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../ deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 16:30:06,359 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep loy/management/console-mgr.sar/web-console.war/ 16:30:08,906 INFO [MailService] Mail Service bound to java:/Mail 16:30:09,609 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-ha-local-jdbc.rar 16:30:09,890 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-ha-xa-jdbc.rar 16:30:10,031 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-local-jdbc.rar 16:30:10,218 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-xa-jdbc.rar 16:30:10,453 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jms/jms-ra.rar 16:30:10,640 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/mail-ra.rar 16:30:13,343 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS' 16:30:14,015 INFO [A] Bound to JNDI name: queue/A 16:30:14,015 INFO [B] Bound to JNDI name: queue/B 16:30:14,031 INFO [C] Bound to JNDI name: queue/C 16:30:14,031 INFO [D] Bound to JNDI name: queue/D 16:30:14,031 INFO [ex] Bound to JNDI name: queue/ex 16:30:14,093 INFO [testTopic] Bound to JNDI name: topic/testTopic 16:30:14,093 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 16:30:14,109 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 16:30:14,109 INFO [testQueue] Bound to JNDI name: queue/testQueue 16:30:14,328 INFO [UILServerILService] JBossMQ UIL service available at : /0.0. 0.0:8093 16:30:14,421 INFO [DLQ] Bound to JNDI name: queue/DLQ 16:30:14,890 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA' 16:30:14,968 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos s-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon.jar org.jboss.deployment.DeploymentException: Invalid XML: file=META-INF/jboss.xml at 3 3:1; - nested throwable: (org.xml.sax.SAXParseException: The value following "en coding" in the XML declaration must be a quoted string.) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:342) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:272) at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:478) 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:324) 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.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto rServiceMBeanSupport.java:238) at org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerIn terceptorSupport.java:119) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. init(SubDeployerInterceptorSupport.java:172) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce ptor.java:87) 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 $Proxy26.init(Unknown Source) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:324) 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:464) at java.lang.Thread.run(Thread.java:534) Caused by: org.xml.sax.SAXParseException: The value following "encoding" in the XML declaration must be a quoted string. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:328) ... 88 more 16:30:15,234 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep loy/jmx-console.war/ 16:30:16,000 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/day05_Signon.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: null state: FAILED watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon. jar altDD: null lastDeployed: 1153524614968 lastModified: 1153524614937 mbeans: 16:30:16,312 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 -8080 16:30:16,546 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 16:30:16,671 INFO [JkMain] Jk running ID=0 time=0/171 config=null 16:30:16,687 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos s_4_0_4_GA date=200605151000)] Started in 49s:266ms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959822#3959822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959822 From do-not-reply at jboss.com Fri Jul 21 04:33:55 2006 From: do-not-reply at jboss.com (szgrick) Date: Fri, 21 Jul 2006 04:33:55 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: How to delete console configuration item of Hibernate Co Message-ID: <25208867.1153470835803.JavaMail.jboss@colo-br-02.atl.jboss.com> I mean I create a console configuration in one project just to test.Now I have already del the project but console configuration exit in system.I want to del it,i didnt find button or config file to del it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959823#3959823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959823 From do-not-reply at jboss.com Fri Jul 21 04:45:48 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 04:45:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Persisting Message-ID: <10357954.1153471548855.JavaMail.jboss@colo-br-02.atl.jboss.com> I had the idea that @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) would give a new table with every field from the sub classes and mother class in this table. I searched the final draft on persistence after this notation but I came up with no suitable instances found. Is this assumption of the strategy correct or (especially since this is not working) is it another way of doing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959824#3959824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959824 From do-not-reply at jboss.com Fri Jul 21 04:46:02 2006 From: do-not-reply at jboss.com (superfis) Date: Fri, 21 Jul 2006 04:46:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Hello, I'm looking for solution which could give me a posibility like this: Every next step in my wizard depends on user choices made on current wizard-site. I've modified HtmlLink.java a bit to achieve this functionality but it's workaround only. Gavin, could it be possible to extend behavior to what I'm dreaming about? :) Cheers, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959825#3959825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959825 From do-not-reply at jboss.com Fri Jul 21 04:46:35 2006 From: do-not-reply at jboss.com (milasx) Date: Fri, 21 Jul 2006 04:46:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool Message-ID: <14718556.1153471595316.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting this error: 09:44:41,552 ERROR [[/seamapp]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.IllegalArgumentException: no property for configuration setting: org.jboss.seam.core.init.managedPersistenceContexts Any idea? I tried both the latest release and nightly build :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959826#3959826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959826 From do-not-reply at jboss.com Fri Jul 21 04:50:28 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Fri, 21 Jul 2006 04:50:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <21415746.1153471828707.JavaMail.jboss@colo-br-02.atl.jboss.com> "CptnKirk" wrote : How are you passing data as a parameter that didn't originate from somewhere Seam does have access? Yes ... of course. The data originates from somewhere else in Seam. But since I'm writing a component with reusability in mind, I don't want to worry about the variable name in the caller's scope. Same as calling methods in plain Java. Inside the method, I don't (want to) know the variable name of the method caller. String name; | print (name); | | public void print(String s) { | ... at this place I don't want to access "name". This is something I did in my BASIC years. | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959827#3959827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959827 From do-not-reply at jboss.com Fri Jul 21 04:52:32 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Fri, 21 Jul 2006 04:52:32 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: How to delete console configuration item of Hibernate Co Message-ID: <23400651.1153471952656.JavaMail.jboss@colo-br-02.atl.jboss.com> You select the console configuration (In the Hibernate Console Configuration view/perspective) and press the Delete key. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959828#3959828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959828 From do-not-reply at jboss.com Fri Jul 21 04:54:15 2006 From: do-not-reply at jboss.com (petemuir) Date: Fri, 21 Jul 2006 04:54:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <852935.1153472055409.JavaMail.jboss@colo-br-02.atl.jboss.com> AFACIS no. The ModelValidator in Seam uses ValueBinding.getExpressionString() to work out the seamComponent.property (i.e. getName() on the seam component user) and hence get the validator to use. When using a facelets source tag the ExpressionString is not a seamComponent.property but 'fieldValue' (which has no validator attached). There is no way (AFAIK) of working up the chain of EL expressions to get the root one. (Btw. My solution isn't really a patch, just a replacement component, so rather than doing s:validate you do model:validate. There is no patching of Seam source required, just adding another jar to the library directory.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959830#3959830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959830 From do-not-reply at jboss.com Fri Jul 21 04:55:48 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Fri, 21 Jul 2006 04:55:48 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <10143978.1153472148711.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, It seems, you have missed the quotation mark (encoding = "UTF-8") in the jboss.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959831#3959831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959831 From do-not-reply at jboss.com Fri Jul 21 05:01:09 2006 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Fri, 21 Jul 2006 05:01:09 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: is synchronization of a TreeCache within the same VM nec Message-ID: <20459709.1153472469692.JavaMail.jboss@colo-br-02.atl.jboss.com> No. JBoss Cache deals with concurrent access internally. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959832#3959832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959832 From do-not-reply at jboss.com Fri Jul 21 05:02:03 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Fri, 21 Jul 2006 05:02:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Prepare Page Message-ID: <1887371.1153472524006.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello again, the one with the most stupid questions has another one. I want to prepare some data before rendering the page, just like "@Factory", but on every request. Example: Page has a calendar component to select a date and a table which displays records from this date. User can edit values in the table or select another date. When user enters values and clicks another date, the values must be saved. So the reload of the records may not occur before the end of APPLY_VALUES. The simplest way were to have a "prepare response" event which is triggered just before RENDER_RESPONSE. I've tried it the JSF way (phase listeners and so on), but did not get it running. What can I do??? Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959833#3959833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959833 From do-not-reply at jboss.com Fri Jul 21 05:04:25 2006 From: do-not-reply at jboss.com (roberto) Date: Fri, 21 Jul 2006 05:04:25 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: ClusteredSingleSignOn problem Message-ID: <7259991.1153472665410.JavaMail.jboss@colo-br-02.atl.jboss.com> I check cockies using Firefox 2.0 Beta. and cookies are present. Both JSESSIONIDSSO and JSESSIONID (all in uppercase) exist from the right site. :( http://img225.imageshack.us/my.php?image=jsessionidjv2.png [url]http://img213.imageshack.us/my.php?image=jsessionidssocp4.png/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959834#3959834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959834 From do-not-reply at jboss.com Fri Jul 21 05:05:11 2006 From: do-not-reply at jboss.com (qbacomarch) Date: Fri, 21 Jul 2006 05:05:11 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to configure batch/fetch size Message-ID: <15802763.1153472711410.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Recently I wrote a simple application (EJB3.0), which reads all rows of one unrelated table. My problem is that I want to set batch (or fetch - i don't know which term is appropriate) size. As I look at the session trace in oracle 10g, i get, thath it is fetching the data in 10-row packs (73 rows, 8 fetches) . However, during the deployment, I get this message form JBoss: INFO [SettingsFactory] JDBC batch size: 15 How can I change that size? It would be great if there is some way to change it for this specific app. I was trying to find out, if there's any way to do this by configuring the persistence.xml, but i couldn't find any docs about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959835#3959835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959835 From do-not-reply at jboss.com Fri Jul 21 05:07:07 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Fri, 21 Jul 2006 05:07:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: displaytag in my portal Message-ID: <24373260.1153472827950.JavaMail.jboss@colo-br-02.atl.jboss.com> Nevermind. I found it. It was a problem only with the displaytag. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959836#3959836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959836 From do-not-reply at jboss.com Fri Jul 21 05:14:31 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 05:14:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where is jBPM 3.2? Message-ID: <1411115.1153473271101.JavaMail.jboss@colo-br-02.atl.jboss.com> 3.2 is indeed still only in CVS and it is indeed HEAD View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959837#3959837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959837 From do-not-reply at jboss.com Fri Jul 21 05:21:30 2006 From: do-not-reply at jboss.com (heather) Date: Fri, 21 Jul 2006 05:21:30 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1 Message-ID: <24241331.1153473690859.JavaMail.jboss@colo-br-02.atl.jboss.com> I changed it to "log4j.xml" and it still cannot find it with java.util.zip.ZipException as it cannot find path. Think I need to step back and look at my set-up to get my head round this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959838#3959838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959838 From do-not-reply at jboss.com Fri Jul 21 05:22:09 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 05:22:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.xml.sax.SAXNotRecognizedException Message-ID: <19298856.1153473729780.JavaMail.jboss@colo-br-02.atl.jboss.com> incompatible xml parser... I do not know which version jBPM needs, but yours is not the right one. Try using a newer version of your xml parser View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959839#3959839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959839 From do-not-reply at jboss.com Fri Jul 21 05:23:04 2006 From: do-not-reply at jboss.com (magicmac) Date: Fri, 21 Jul 2006 05:23:04 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate 2nd level cache update problem Message-ID: <11926029.1153473784681.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey, I'm trying to use some 2nd level caching in Hibernate, TreeCache in particular, but the problem seems to concern any cache provider. Here is simplified algorithm of what is going on: for i=0..100 Transaction.begin (JTA or Hib) hibernateTemplate.load() //some business logic that updates the loaded entity hibTemplate.update() Transaction.commit() In first iteration, load searches the cache and it misses for the first time. Db fetch. Saved into cache. Sool. And here comes the update. The entity has changed meanwhile (i.e. some counter increased). Unfortunatelly update doesn;t update in cache, but instead issues db updates:( Any subsequent iteration gets entity from cache, but its stale (still the one that was stored in first iteration after cache miss-hit) What's the magic about that updating in cache? Some conf details: -hib3 - (for TreeCache) in entity mapping -jotm as jta transaction manager -treecache.xml with some slight changes, but default one behaves same way I dont really think it;s a conf problem, I guess it;s rather my misunderstanding of 2nd level caching or wrong approach, I dont know. Logically, I really think it should do the update in cache instead of db, especially in case of fully transactional cache like TreeCache. The db update should follow the eviction policy of the cache. Well I will appreciate any explaination and help Thanks M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959840#3959840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959840 From do-not-reply at jboss.com Fri Jul 21 05:23:57 2006 From: do-not-reply at jboss.com (scraatz) Date: Fri, 21 Jul 2006 05:23:57 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: [EJB 3.0] EntityBean (table) shared between EntityManger Message-ID: <711780.1153473837601.JavaMail.jboss@colo-br-02.atl.jboss.com> I think EJB3 can use Oracle Sequences to generate primary keys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959841#3959841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959841 From do-not-reply at jboss.com Fri Jul 21 05:27:22 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 05:27:22 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persisting Message-ID: <30148706.1153474042492.JavaMail.jboss@colo-br-02.atl.jboss.com> I recently put this in the EJB forum and later discovered that this is where it should be: I am trying to develop a entity which extends another entity and which use the annotation @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS), but this only provides an exception as the sub class does not have an @Id annotated: org.hibernate.MappingException: Cannot use identity column key generation with mapping for: concept.entity.Entity However: If I do annotate this @Id, I get this one: org.hibernate.AnnotationException: Unable to define/override @Id(s) on a subclass: concept.entity.En | tity Suggestions? I had the idea that @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) would give a new table with every field from the sub classes and mother class in this table. I searched the final draft on persistence for this notation but I came up with no suitable instances found. Is this assumption of the strategy correct or (especially since this is not working) is it another way of doing this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959842#3959842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959842 From do-not-reply at jboss.com Fri Jul 21 05:28:55 2006 From: do-not-reply at jboss.com (magicmac) Date: Fri, 21 Jul 2006 05:28:55 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Hibernate 2nd level cache update problem Message-ID: <4956459.1153474135866.JavaMail.jboss@colo-br-02.atl.jboss.com> One more thing in case of Ehcache or OScache, 'load' fetches entity from db with each interation since it finds it dirty. It is dirty in cache, b/c cache was not updated on 'update' (or to be more exact on prev tx commit)... so same problem Thanks Cheers M. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959843#3959843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959843 From do-not-reply at jboss.com Fri Jul 21 05:29:00 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 05:29:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Persisting Message-ID: <14107293.1153474140132.JavaMail.jboss@colo-br-02.atl.jboss.com> I found a forum which is more suited for this question and created a new thread there: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3959842#3959842. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959844#3959844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959844 From do-not-reply at jboss.com Fri Jul 21 05:30:06 2006 From: do-not-reply at jboss.com (scraatz) Date: Fri, 21 Jul 2006 05:30:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Cant write blob >2000 byte Message-ID: <18350162.1153474206382.JavaMail.jboss@colo-br-02.atl.jboss.com> We had the same some time ago, not sure how we fixed it, but I think it had something to do with the Oracle JDBC-Driver (we use odbc14-10g.jar). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959845#3959845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959845 From do-not-reply at jboss.com Fri Jul 21 05:32:11 2006 From: do-not-reply at jboss.com (scraatz) Date: Fri, 21 Jul 2006 05:32:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB injection gives null Message-ID: <18168513.1153474331064.JavaMail.jboss@colo-br-02.atl.jboss.com> THe default JNDI-Naming for the Session Beans was changed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959846#3959846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959846 From do-not-reply at jboss.com Fri Jul 21 05:33:08 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 05:33:08 -0400 (EDT) Subject: [jboss-user] [Remoting] - RMI Message-ID: <31086387.1153474388933.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working with an old application which use RMI and am looking for a simple way to tunnel RMI over secure HTTP to avoid any hassle with firewalls. Is there an easy way to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959847#3959847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959847 From do-not-reply at jboss.com Fri Jul 21 05:33:49 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 05:33:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <12320408.1153474429326.JavaMail.jboss@colo-br-02.atl.jboss.com> In one form or another this has been answerd: build your own webapp. De webapp that comes with jBPM is for RAD purposes and will maybe one day grow to a full ui, but not for now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959848#3959848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959848 From do-not-reply at jboss.com Fri Jul 21 05:36:46 2006 From: do-not-reply at jboss.com (jan_bar) Date: Fri, 21 Jul 2006 05:36:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Fetch join with collection Message-ID: <29654931.1153474606167.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I can fetch join lazy relation that returns single result, but for collection it doesn't work correctly. I have Attribute.java: | @Entity | public class Attribute implements Serializable { | | private Long id; | | private List resources = new ArrayList(); | | public Attribute() { | super(); | } | | @Id | @GeneratedValue | public Long getId() { | return id; | } | | public void setId(Long id) { | this.id = id; | } | | | @ManyToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY) | public List getResources() { | return resources; | } | } | and Resource.java: | @Entity | public class Resource implements Serializable { | private Long id; | | private int resourceSize = 0; | | public Resource() { | super(); | } | | @Id | @GeneratedValue | public Long getId() { | return id; | } | | private void setId(Long id) { | this.id = id; | } | | public int getResourceSize() { | return resourceSize; | } | | public void setResourceSize(int resourceSize) { | this.resourceSize = resourceSize; | } | } | and a finder: | public List findWithResource(int resourceSize) { | return em.createQuery( | "SELECT ta FROM Attribute ta INNER JOIN FETCH ta.resources r" + | " WHERE r.resourceSize = :resourceSize") | .setParameter("resourceSize", resourceSize) | .getResultList(); | } | This should return all attributes that have resource of requested resourceSize with fetched resources. Database content: Attribute1: resource1 (resourceSize = 1), resource2 (resourceSize = 1), resource3 (resourceSize = 1) Attribute2: resource1 (resourceSize = 1), resource2 (resourceSize = 1), resource3 (resourceSize = 1) The query generated by EJB3 looks correctly: | select ... | from Attribute attribute0_ | inner join Attribute_Resource resources1_ on attribute0_.id=resources1_.Attribute_id | inner join Resource resource2_ on resources1_.resources_id=resource2_.id | where resource2_.resourceSize=? | When I call findWithResource(1), I expect to get two Attributes, each with the three resources loaded. Instead I get six Attributes, each with three resources loaded. I this bug inside my query, unsupported feature or bug in EJB3? Thank you for your care, Jan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959849#3959849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959849 From do-not-reply at jboss.com Fri Jul 21 05:44:49 2006 From: do-not-reply at jboss.com (Becka) Date: Fri, 21 Jul 2006 05:44:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Different vHost - Different config Message-ID: <17126288.1153475089567.JavaMail.jboss@colo-br-02.atl.jboss.com> we are currently developing a web app for jBoss / jBPM and would like to host it for some customers. To make every DB of the Customers independent we would like to give every customer a vHost and a own DataSource. How can i set up such vHosts and serve them in one Server Process? The setup of vHosts is very easy but how to give them own DataSources. Is such a config possible or do we have to do it like now: Every Customer has it own Server running with with different BindAddresses. The Problem on that config is the large dissipation of ram View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959850#3959850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959850 From do-not-reply at jboss.com Fri Jul 21 05:44:56 2006 From: do-not-reply at jboss.com (dgutil) Date: Fri, 21 Jul 2006 05:44:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Question about c3p0 in JBPM starters kit 3.1.2 Message-ID: <5929315.1153475096894.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've juste downloaded and installed JBPM starters kit 3.1.2. What I'd like to do is replace the default hsqldb persistence system by a MySQL db. So, following the instructions, I've made a jbpmtest db and created a jbpm user with full privileges. I have then successfully generated SQL scripts for a MySQL. Now I would like to run the test suite and this is where I have a problem. The ant script for the test suite seems to require a c3p0 library but this library is not present in the folder jbpm/lib/hibernate whereas is was there in starters kit 3.0.3. What I dit is copy the c3p0-0.8.5.2.jar from 3.0.3 into 3.1.2 and ran the test suite again but it ends up with and InterruptedException. Does the 3.1.2 test suite really depend on c3p0? Do other parts of JBPM also depend on it? How can I properly run the test suite? Thanx for any comment. DgUtil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959851#3959851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959851 From do-not-reply at jboss.com Fri Jul 21 05:56:19 2006 From: do-not-reply at jboss.com (mad11max) Date: Fri, 21 Jul 2006 05:56:19 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Fibo Tutorial on JBoss 4.0.2 Message-ID: <9291326.1153475779242.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I must say that the tutorial may need some reviewing. Within the jboss.xml code: | Fibo | Fibo | FiboLocal | if I look at it carefully I see a jndi-name of "Fibo", not ejb/Fibo I changed the jndi lookup to lookup("Fibo") and it worked. The jboss-jmx-console as wondermike pointed out can provide insight: go to the jboss service=JNDIView XMBean invoke list() if the Fibo bean is in the Global namespace then lookup("Fibo") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959853#3959853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959853 From do-not-reply at jboss.com Fri Jul 21 05:59:54 2006 From: do-not-reply at jboss.com (petemuir) Date: Fri, 21 Jul 2006 05:59:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Prepare Page Message-ID: <3206944.1153475994486.JavaMail.jboss@colo-br-02.atl.jboss.com> What about making the session bean stateless? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959855#3959855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959855 From do-not-reply at jboss.com Fri Jul 21 06:09:43 2006 From: do-not-reply at jboss.com (bhupeshs) Date: Fri, 21 Jul 2006 06:09:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Unable to add security constraint to portlets Message-ID: <22101162.1153476583652.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am using jboss portal 2.4.0-Beta1 with Jboss4.0.4GA and MySql5.0 I am trying to add security-constraint to a portlet, but it is not getting reflected. The security-constrating to a page, however is working fine. I tried adding security-contraint to a Window, PortletInstance and a Portlet but none of them is working. for Portlet window, I tried something like this in myPortal-object.xml file and deployed the war, but everyone is able to access the portlet. | | default.Dashboard2 | overwrite | | ScheduledInterviewsWindow2 | KNXScheduledInterviewsInstance2 | true | center | 0 | | | Admin | view | | | | | I even tried it for the portlet, by adding the security-constraint in jboss-portlet.xml file | | ScheduledInterviewsPortlet2 | | | | Admin | view | | | | Even the security for portlet-instance is also not working. In myPortal-objext.xml | | | overwrite | | | KNXScheduledInterviewsInstance2 | | | KenexaDashboard2.ScheduledInterviewsPortlet2 | | | | Admin | view | | | | | | In Portlet-Instances.xml | | | KNXScheduledInterviewsInstance2 | ScheduledInterviewsPortlet2 | | | Admin | view | | | I even changed the window_access_denied propery in cong/config.xml from show to hide hide Am I missing anything else? I even tried to do it from the management console but that didn't work either. Any help would be greatly appreciated. Thanks & Regards, Bhupesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959856#3959856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959856 From do-not-reply at jboss.com Fri Jul 21 06:20:06 2006 From: do-not-reply at jboss.com (heather) Date: Fri, 21 Jul 2006 06:20:06 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Implementing my own log4j.xml on jboss-4.0.3SP1 Message-ID: <17289479.1153477206493.JavaMail.jboss@colo-br-02.atl.jboss.com> The first answer was the correct one: log4j.xml no need for WEB-INF/classes path The other stuff was my own fault while playing around and nothing to do with problem. It now works just fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959857#3959857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959857 From do-not-reply at jboss.com Fri Jul 21 06:27:47 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 06:27:47 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persisting Message-ID: <1974854.1153477667302.JavaMail.jboss@colo-br-02.atl.jboss.com> I discovered the annotation @MappedSuperClass which does exactly what I intend to achieve. However; there is a new situation with this. I now have a class (@MappedSuperClass) called MappedClass which an @Entity called Entity extends. I now want to extend Entity with another @Entity called TransactionEntity, but this results in the error message: The type Entity cannot be the superclass of TransactionEntity; a superclass must be a class This is not what the final draft on persistence states: anonymous wrote : Both abstract and concrete classes can be entities. Entities may extend non-entity classes as well as | entity classes, and non-entity classes may extend entity classes. Is there a way to achieve a @MappedSuperClass with several subs which is entites? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959859#3959859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959859 From do-not-reply at jboss.com Fri Jul 21 06:37:19 2006 From: do-not-reply at jboss.com (nabeelhamad) Date: Fri, 21 Jul 2006 06:37:19 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss-4.0.4-GA and Hibernate-3.1.3 Message-ID: <15956099.1153478239684.JavaMail.jboss@colo-br-02.atl.jboss.com> We also had the exact problem. In a particular part of our code first we close the Statement and then we close the resultSet. In the line where we close the result set the 'Already Closed' exception is thrown. We tested the same on JBoss4.0.3 and is working fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959860#3959860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959860 From do-not-reply at jboss.com Fri Jul 21 06:40:46 2006 From: do-not-reply at jboss.com (Remider) Date: Fri, 21 Jul 2006 06:40:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <13102910.1153478447055.JavaMail.jboss@colo-br-02.atl.jboss.com> i connected successfully with MYSQL. Have you creat table for your MySQL? JBPM not creat table automatic for MySQL. Rem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959861#3959861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959861 From do-not-reply at jboss.com Fri Jul 21 06:41:25 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Fri, 21 Jul 2006 06:41:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <2066920.1153478485914.JavaMail.jboss@colo-br-02.atl.jboss.com> for portal objects, check that a parent in the hierarchy does not have view recursive permission. what is the version you are using ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959862#3959862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959862 From do-not-reply at jboss.com Fri Jul 21 06:42:02 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Fri, 21 Jul 2006 06:42:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <2530058.1153478522781.JavaMail.jboss@colo-br-02.atl.jboss.com> btw use the management portlet for instances and portal objects. there is a security tab that shows those. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959863#3959863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959863 From do-not-reply at jboss.com Fri Jul 21 06:44:14 2006 From: do-not-reply at jboss.com (kappaj) Date: Fri, 21 Jul 2006 06:44:14 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalAccessError initializing ehcache.CacheManager Message-ID: <3457642.1153478654043.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Anybody found a resolution to this? I'm running 4.0.3 fine but the moment I go to 4.0.4GA I get this problem? Tks Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959864#3959864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959864 From do-not-reply at jboss.com Fri Jul 21 06:51:11 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 06:51:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <16657009.1153479071231.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : In one form or another this has been answerd: build your own webapp. De webapp that comes with jBPM is for RAD purposes and will maybe one day grow to a full ui, but not for now. Well, i understood that it is impossible to put a combobox like structure into the application using standart jBPM. But i didn't understand your suggestion. "Building my own webapp" means building a new plugin for eclipse?? or I just have to create an another existing web application type that comes with eclipse?? Thanks for your attention.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959865#3959865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959865 From do-not-reply at jboss.com Fri Jul 21 07:01:05 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 07:01:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <21339556.1153479665192.JavaMail.jboss@colo-br-02.atl.jboss.com> "Remider" wrote : Have you creat table for your MySQL? | JBPM not creat table automatic for MySQL. | Rem. I didn't understand it very well..Do you mean that before using an existing table in my MYSQL database, I have to create the same table in jBPM like a view table ?? So you say actually empty fields in the database do not cause problems ?? Thanks for your attention..I am looking forward to next one.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959867#3959867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959867 From do-not-reply at jboss.com Fri Jul 21 07:01:38 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 21 Jul 2006 07:01:38 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Using ServiceBindingManager with Messaging Message-ID: <10268633.1153479698039.JavaMail.jboss@colo-br-02.atl.jboss.com> Please ignore my original post. Since the remoting connector is a MBean and the serverBindPort can be set, then ServiceBindingManager can *already* (no code changes required) be used to set the serverBindPort used by messaging. To do this, add the following (changing attributes as appropriate) in your bindings.xml file: | | | | | org.jboss.jms.server.remoting.JMSWireFormat | org.jboss.jms.server.remoting.JMSWireFormat | jboss | jms | false | 0 | ${jboss.bind.address} | 7544 | 20000 | | | org.jboss.jms.server.remoting.JMSServerInvocationHandler | | ]]> | | | | | | Then enable ServiceBindingManager in conf/jboss-service.xml and it all should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959868#3959868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959868 From do-not-reply at jboss.com Fri Jul 21 07:02:50 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 07:02:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <25004735.1153479770908.JavaMail.jboss@colo-br-02.atl.jboss.com> I 'm a bit confused..It will be really great if you could explain "building my own web application". A brief explanation will be great help. Thank you very much for your help... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959869#3959869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959869 From do-not-reply at jboss.com Fri Jul 21 07:05:20 2006 From: do-not-reply at jboss.com (petekol) Date: Fri, 21 Jul 2006 07:05:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @DataModel for a component problem Message-ID: <13477523.1153479920770.JavaMail.jboss@colo-br-02.atl.jboss.com> i have found out that a component needs a @Name dummy annotation for @DataModel @DataModelSelection @Logger and may be other to work properly if i create a component from components.xml. i use jboss-seam-1.0.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959870#3959870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959870 From do-not-reply at jboss.com Fri Jul 21 07:27:24 2006 From: do-not-reply at jboss.com (Plukh) Date: Fri, 21 Jul 2006 07:27:24 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Problem accessing EJB unchecked method from a servlet (w Message-ID: <16610146.1153481244142.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much, Chris, I've used run-as, and it does just what I hadin mind! Thanks for the help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959871#3959871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959871 From do-not-reply at jboss.com Fri Jul 21 07:34:34 2006 From: do-not-reply at jboss.com (pablojavierpy) Date: Fri, 21 Jul 2006 07:34:34 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: A class as a parameter in a webservice Message-ID: <15017842.1153481674218.JavaMail.jboss@colo-br-02.atl.jboss.com> How are you "generating" the WSDL? As far as I can tell by your annotations, you are using JBossWS. You don't need to generate WSDLs yourself. Just deploy your application into a JBoss-4.0.4.GA with JBossWS upgraded to JBossWS-1.0.1.GA and WSDL will be correctly generated with your class "Libro". Don't forget to include the class "Libro" in your package. GL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959872#3959872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959872 From do-not-reply at jboss.com Fri Jul 21 07:34:55 2006 From: do-not-reply at jboss.com (afuechsel) Date: Fri, 21 Jul 2006 07:34:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: serviceBindingManager does not work Message-ID: <3569241.1153481695802.JavaMail.jboss@colo-br-02.atl.jboss.com> THe log is confusing. It works now but the log still looks like shown in my original post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959873#3959873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959873 From do-not-reply at jboss.com Fri Jul 21 07:54:59 2006 From: do-not-reply at jboss.com (nax32) Date: Fri, 21 Jul 2006 07:54:59 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Endpoint does not contain operation meta data for: Message-ID: <4290080.1153482899675.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi again! I have generated my WSDL | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a bean class, an interface class and a remote EJB class. calling my webservice, i obtain this SOAP message: env:Client Endpoint {http://org.jboss.ws/samples/jsr181ejb}EndpointInterfacePort does not contain operation meta data for: elLibro where could be the problem?? thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959874#3959874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959874 From do-not-reply at jboss.com Fri Jul 21 07:55:39 2006 From: do-not-reply at jboss.com (bhupeshs) Date: Fri, 21 Jul 2006 07:55:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <15853926.1153482939467.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Julian, Thanks a lot for the quick reply. But I still have issues securing a portlet. I am using Jboss-Portal-2.4.0Beta1 with Jboss 4.0.4GA and MySql 5.0 Let me briefly explain my requirements. The protal page contains 5 portlets. All users should be able to access the page and they are shown all portlets except one. The last portlet should be shown only to users with Admin role. So the user should see 4 portlets and Admin should see 5 portlets. I have now changed the viewrecursive permission for default protal instance to view. so no node in the hierarchy now has viewrecursive permission. As of now i am still trying to secure a portlet through descriptor files itself. The permissions are getting stored in the database correctly for portletwindow. I can see correct values in jbp_object_node_security and jbp_object_note_security tables. The portletWindow security tab also displays the role correctly. i.e. only the admin has view permission and others have no permission. Everything looks OK, but when I access the page everyone is able to see all the portlets in the page. There is one more problem with the security tab in management console. Once i select a value for a group, there is no way to unselect the value from the list box. I am able to change it to other value, but i cannot unselect it. For Example, the default unchecked role has view permission which i want to remove. I cannot do it from the management portlet. I can send you a sample war file which shows this. Should I create a jira ticket for this??? Thanks and Regards, Bhupesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959875#3959875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959875 From do-not-reply at jboss.com Fri Jul 21 08:17:23 2006 From: do-not-reply at jboss.com (mwelch16) Date: Fri, 21 Jul 2006 08:17:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How do I change from session to request? Message-ID: <20732828.1153484243826.JavaMail.jboss@colo-br-02.atl.jboss.com> Nevermind I figured it out. FYI for any other newbies out there. In order to get a handle on the request within a portlet you have to cast to PortletRequest. I'm trying to do a proof of concept, and I've never worked with portlets before but have done lots of java server faces applications. It took me a while to find this. new java code: | FacesContext context = FacesContext.getCurrentInstance(); | ExternalContext externalContext = context.getExternalContext(); | if (externalContext.getRequest() instanceof PortletRequest) { | PortletRequest request = (PortletRequest)externalContext.getRequest(); | | System.out.println(request.getParameter("helloForm:firstName")); | System.out.println(request.getParameter("helloForm:lastName")); | }else if(externalContext.getRequest() instanceof HttpServletRequest) { | //do something outside of portal portlet api not in classpath | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959876#3959876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959876 From do-not-reply at jboss.com Fri Jul 21 08:21:36 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 08:21:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <24383006.1153484496470.JavaMail.jboss@colo-br-02.atl.jboss.com> Take your favorite framework (jsf, struts, whatever), look at the jbpm webapp to see how the jbpm api is used . This all has nothing to do with a plugin for eclipse or anything. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959877#3959877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959877 From do-not-reply at jboss.com Fri Jul 21 08:24:38 2006 From: do-not-reply at jboss.com (Goonie) Date: Fri, 21 Jul 2006 08:24:38 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Call EJB on a Schedule? Message-ID: <4826362.1153484678225.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello everyone, is it possible to configure JBoss 4.0.4 to call a method on a stateless session bean (or alternatively send a message to a message bean) on a schedule (e.g. once per day)? Regards, Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959878#3959878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959878 From do-not-reply at jboss.com Fri Jul 21 08:28:03 2006 From: do-not-reply at jboss.com (jactor) Date: Fri, 21 Jul 2006 08:28:03 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persisting Message-ID: <855809.1153484883652.JavaMail.jboss@colo-br-02.atl.jboss.com> Bug searching and testing of the @MappedSuperClass ensures me that it works as I hoped. I am sorry for using thread space for such errors when my frustration growed after reading x documents. The compiler error (which was indeed strange) was my own fault (who else). In my source I used "extend Entity" which made the compiler think that I was trying to extend javax.persistence.Entity and not the Entity class in my package. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959879#3959879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959879 From do-not-reply at jboss.com Fri Jul 21 08:31:43 2006 From: do-not-reply at jboss.com (benders) Date: Fri, 21 Jul 2006 08:31:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with auto-generating table; Message-ID: <7643339.1153485103709.JavaMail.jboss@colo-br-02.atl.jboss.com> Found my mistake, my myself. I wrote hibernate.hbm2dll.auto instead of hibernate.hbm2ddl .auto Bernd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959880#3959880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959880 From do-not-reply at jboss.com Fri Jul 21 08:42:31 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Fri, 21 Jul 2006 08:42:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How do I change from session to request? Message-ID: <836394.1153485751513.JavaMail.jboss@colo-br-02.atl.jboss.com> Since you address this to newbie, i want to mention that you should try to avoid casting that at all costs while writing components, this is mostly a hack. We found enough components that do a cast from ExternalContext to HttpServletContext and then make the component unusable inside a portlet environment (for no technical reason). This is often not required, just a wish of the programmer to fall back to an API that he feels more comfortable with. In your example, you could simply use: | FacesContext context = FacesContext.getCurrentInstance(); | ExternalContext externalContext = context.getExternalContext(); | System.out.println(externalContext.getRequestParameterMap().getAttribute("helloForm:firstName")); | System.out.println(externalContext.getRequestParameterMap().getAttribute("helloForm:lastName")); | And it will do the same thing but work in both environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959881#3959881 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959881 From do-not-reply at jboss.com Fri Jul 21 08:47:43 2006 From: do-not-reply at jboss.com (parthi_in) Date: Fri, 21 Jul 2006 08:47:43 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - search index created by jboss using jackrabbit apis Message-ID: <17502708.1153486063891.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i'm using jboss 2.4. and want to develop a portlet, which will search the CMS contents and display it to the users. i enable the "LocalFileSystem: uses FileSystem for storage" in workspace.xml file to make indexing. i want to use the indexing, which is created the jboss. i read about jackrabbit and lucene SearchIndex apis. but i didn't get how i can use the indexes created by jboss for searcing CMS Contents. please give any code example Please any one Help me, Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959882#3959882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959882 From feroz_ps at yahoo.com Fri Jul 21 08:49:23 2006 From: feroz_ps at yahoo.com (Fairoz Sharif) Date: Fri, 21 Jul 2006 05:49:23 -0700 (PDT) Subject: [jboss-user] DONT MIND SOME JOKES TO REFESH JBOSS USER"S Good Jokes (A) Message-ID: <20060721124923.30129.qmail@web52802.mail.yahoo.com> Adult Jokes Wife Upgrade Dear Tech Support, I am writing this letter as a last resort. Last year I upgraded from Girlfriend 7.0 to Wife 1.0 and noticed that the new program began unexpected child processing that took up a lot of space and valuable resources. No mention of this phenomenon was included in the product brochure. In addition, Wife 1.0 installs itself into all other programs and launches during system initialization, where it monitors all other system activity. Applications such as Poker Night 10.3, Boys Night 2.5 and Saturday Football 5.0 no longer run, crashing the system whenever selected. I cannot seem to keep Wife 1.0 in the background while attempting to run some of my other favorite applications. I am thinking about going back to Girlfriend 7.0, but UN-install does not work on this program. Can you help me, please!!! Thanks, Joe Dear Joe: This is a very common problem that men complain about but it is mostly due to a primary misconception. Many people upgrade from Girlfriend 7.0 to Wife 1.0 with the idea that Wife 1.0 is merely a "UTILITIES & ENTERTAINMENT" program. Wife 1.0 is an OPERATING SYSTEM and designed by its creator to run everything. It is unlikely you would be able to purge Wife 1.0 and still convert back to Girlfriend 7.0. Hidden operating files within your system would cause Girlfriend 7.0 to emulate Wife 1.0 so nothing is gained. It is impossible to UN-install, delete, or purge the program files from the system once installed. You cannot go back to Girlfriend 7.0 because Wife 1.0 is not designed to do this. Some have tried to install Girlfriend 8.0 or Wife 2.0 but end up with more problems than the original system. Look in your manual under "Warnings-Alimony/Child Support." I recommend you keep Wife 1.0 and just deal with the situation. Having Wife 1.0 installed myself, I might also suggest you read the entire section regarding General Partnership Faults (GPFs). You must assume all responsibility for faults and problems that might occur, regardless of their cause. The best course of action will be to enter the command C:\APOLOGIZE. In any case avoid excessive use of the "ESC" key because ultimately you will have to give the APOLOGIZE command before the operating system will return to normal. The system will run smoothly as long as you take the blame for all the GPFs. Wife 1.0 is a great program, but very high maintenance. Consider buying additional software to improve the performance of Wife 1.0. I recommend Flowers 2.1 and Chocolates 5.0. Do not, under any circumstances, install Secretary with Short Skirt 3.3. This is not a supported application for Wife 1.0 and is likely to cause irreversible damage to the operating system. Best of luck, Tech Support. Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060721/68778831/attachment.html From do-not-reply at jboss.com Fri Jul 21 08:56:48 2006 From: do-not-reply at jboss.com (choozie) Date: Fri, 21 Jul 2006 08:56:48 -0400 (EDT) Subject: [jboss-user] [Remoting] - rmi registry Message-ID: <31051160.1153486608581.JavaMail.jboss@colo-br-02.atl.jboss.com> In the user docs for JBoss remoting, I find the sentence "registryPort - the port on which to create the RMI registry." Does this mean that there is a rmi registry somewhere that I can bind to? It says that default port is 3455, but doing LocateRegistry.getRegistry( 3455 ); only gives me a java.net.ConnectException: Connection refused: connect View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959883#3959883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959883 From do-not-reply at jboss.com Fri Jul 21 08:57:58 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 08:57:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <1767227.1153486678082.JavaMail.jboss@colo-br-02.atl.jboss.com> I think i'm beginning to understand a little. I was trying to build an application like the example in the link, but with a list of possible values. http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm I am new to this environment as you see.So is it possible to give more details? Which application type are you talking about? i don't see anyhing possible other than jBPM things in my eclipse window. Will i have to simulate combobox structure or an existing structure is available already?? At least can you inform me about tutorials or examples of this sort of things? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959884#3959884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959884 From do-not-reply at jboss.com Fri Jul 21 08:58:03 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 21 Jul 2006 08:58:03 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <12216312.1153486683802.JavaMail.jboss@colo-br-02.atl.jboss.com> Yep, I know. I interpreted the question as meaning he didn't want to use JTATransactionFactory as the hibernate.transaction.manager_lookup_class, but rather wanted JDBCTransactionFactory. But as I reread it I see that's not what he said. Thanks for clarifying :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959885#3959885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959885 From do-not-reply at jboss.com Fri Jul 21 09:01:11 2006 From: do-not-reply at jboss.com (twittemb) Date: Fri, 21 Jul 2006 09:01:11 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always Message-ID: <1152177.1153486871548.JavaMail.jboss@colo-br-02.atl.jboss.com> hello ! thx for all your answers I have found a solution tom y problem ... it is certainely not the moste efficient but it works. I have created my own JBossSecurityMgrRealm (the server.xml file has to be updated) and i have adapted the hasRole() method. When no JBossGenricPrincipal can be found in the local cache (roleMap) I get roles and credentials from my own authentication clustered cache. I build a JBossGenericPrincipal and put it in the local cache, sa as the next time it will be directly found in the roleMap. I'm not very proud of this fix but that seems to work properly ! What do you think about it ? Thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959886#3959886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959886 From do-not-reply at jboss.com Fri Jul 21 09:02:49 2006 From: do-not-reply at jboss.com (anurudh) Date: Fri, 21 Jul 2006 09:02:49 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - how can i remove powered by jboss portal from my application Message-ID: <492820.1153486969628.JavaMail.jboss@colo-br-02.atl.jboss.com> how can i remove powered by jboss portal from my application displaying at the end. Thanks...........!!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959887#3959887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959887 From do-not-reply at jboss.com Fri Jul 21 09:10:43 2006 From: do-not-reply at jboss.com (ynprasad) Date: Fri, 21 Jul 2006 09:10:43 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss-4.0.4-GA and Hibernate-3.1.3 Message-ID: <3599043.1153487443883.JavaMail.jboss@colo-br-02.atl.jboss.com> I found a soultion for my issue, since it was the exception from the apache.slide end, I have commented the closing part of statement and result set on the apache classes, so that Jboss can take care of it on this side. So that fixed the exception being thrown on the console. And coming to the previous question, I think the order matters, if a Statment is closed automatically the ResultSet is closed as it is associated with the Statement. So if you really want to make sure all to be closed, make sure you close the ResultSet first and then Statement and finally the Connection. Please let me know if this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959888#3959888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959888 From lezarmail-friend at yahoo.fr Fri Jul 21 09:12:43 2006 From: lezarmail-friend at yahoo.fr (lezarmail-friend at yahoo.fr) Date: Fri, 21 Jul 2006 15:12:43 +0200 (CEST) Subject: [jboss-user] DONT MIND SOME JOKES TO REFESH JBOSS USER"S Good Jokes (A) In-Reply-To: <20060721124923.30129.qmail@web52802.mail.yahoo.com> Message-ID: <20060721131243.90727.qmail@web26405.mail.ukl.yahoo.com> Bonjour, T'en a d'autres aneckdotes de ce type? Cordialement. Akram Fairoz Sharif a ?crit : Adult Jokes Wife Upgrade Dear Tech Support, I am writing this letter as a last resort. Last year I upgraded from Girlfriend 7.0 to Wife 1.0 and noticed that the new program began unexpected child processing that took up a lot of space and valuable resources. No mention of this phenomenon was included in the product brochure. In addition, Wife 1.0 installs itself into all other programs and launches during system initialization, where it monitors all other system activity. Applications such as Poker Night 10.3, Boys Night 2.5 and Saturday Football 5.0 no longer run, crashing the system whenever selected. I cannot seem to keep Wife 1.0 in the background while attempting to run some of my other favorite applications. I am thinking about going back to Girlfriend 7.0, but UN-install does not work on this program. Can you help me, please!!! Thanks, Joe Dear Joe: This is a very common problem that men complain about but it is mostly due to a primary misconception. Many people upgrade from Girlfriend 7.0 to Wife 1.0 with the idea that Wife 1.0 is merely a "UTILITIES & ENTERTAINMENT" program. Wife 1.0 is an OPERATING SYSTEM and designed by its creator to run everything. It is unlikely you would be able to purge Wife 1.0 and still convert back to Girlfriend 7.0. Hidden operating files within your system would cause Girlfriend 7.0 to emulate Wife 1.0 so nothing is gained. It is impossible to UN-install, delete, or purge the program files from the system once installed. You cannot go back to Girlfriend 7.0 because Wife 1.0 is not designed to do this. Some have tried to install Girlfriend 8.0 or Wife 2.0 but end up with more problems than the original system. Look in your manual under "Warnings-Alimony/Child Support." I recommend you keep Wife 1.0 and just deal with the situation. Having Wife 1.0 installed myself, I might also suggest you read the entire section regarding General Partnership Faults (GPFs). You must assume all responsibility for faults and problems that might occur, regardless of their cause. The best course of action will be to enter the command C:\APOLOGIZE. In any case avoid excessive use of the "ESC" key because ultimately you will have to give the APOLOGIZE command before the operating system will return to normal. The system will run smoothly as long as you take the blame for all the GPFs. Wife 1.0 is a great program, but very high maintenance. Consider buying additional software to improve the performance of Wife 1.0. I recommend Flowers 2.1 and Chocolates 5.0. Do not, under any circumstances, install Secretary with Short Skirt 3.3. This is not a supported application for Wife 1.0 and is likely to cause irreversible damage to the operating system. Best of luck, Tech Support. --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! _______________________________________________ jboss-user mailing list jboss-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user --------------------------------- D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et vos exp?riences. Cliquez ici. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060721/a9af50e4/attachment.html From do-not-reply at jboss.com Fri Jul 21 09:16:05 2006 From: do-not-reply at jboss.com (kuzmiigo) Date: Fri, 21 Jul 2006 09:16:05 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Strange interpetation of a CSS link inside login page Message-ID: <6255543.1153487765661.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, The reason is that CSS file is also secured (it cannot be sent to a client before logging in). Just put CSS to non-secured location. E.g., you can specify two different URL patterns with different security constraints in your web.xml. Best regards, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959889#3959889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959889 From do-not-reply at jboss.com Fri Jul 21 09:16:26 2006 From: do-not-reply at jboss.com (mwelch16) Date: Fri, 21 Jul 2006 09:16:26 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: How do I change from session to request? Message-ID: <11707500.1153487786707.JavaMail.jboss@colo-br-02.atl.jboss.com> Very true and thanks for the tip. Inline would work better. You are definitely right; I was just testing things to make sure I could do all the same things in this environment that have helped me in previous environments. Your code example makes more sense. Thanks, Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959890#3959890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959890 From do-not-reply at jboss.com Fri Jul 21 09:18:35 2006 From: do-not-reply at jboss.com (aashishvora) Date: Fri, 21 Jul 2006 09:18:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <24673387.1153487915924.JavaMail.jboss@colo-br-02.atl.jboss.com> Just one more question, will JBossCache work if I configure with JTA but the Transaction Management suports only one-phase and does not support 2 Phase(XA) protocols. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959891#3959891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959891 From do-not-reply at jboss.com Fri Jul 21 09:19:54 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Fri, 21 Jul 2006 09:19:54 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - JAAS EJB ERROR PAGE Message-ID: <18871945.1153487994290.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm developing a jsf, ejb3, seam application, and when i acess a unathorized ejb method it's prints a exception e return error 500. How do i make to simple return a 401 error and dont print the exception ??? - Sorry for my english!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959892#3959892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959892 From do-not-reply at jboss.com Fri Jul 21 09:22:19 2006 From: do-not-reply at jboss.com (aashishvora) Date: Fri, 21 Jul 2006 09:22:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <7526510.1153488139034.JavaMail.jboss@colo-br-02.atl.jboss.com> "bstansberry at jboss.com" wrote : Yep, I know. I interpreted the question as meaning he didn't want to use JTATransactionFactory as the hibernate.transaction.manager_lookup_class, but rather wanted JDBCTransactionFactory. But as I reread it I see that's not what he said. Thanks for clarifying :) Your understanding of my problem is correct. I wanted to use JDBCTransactionFactory as my transaction lookup class. And as I understood it, cannot be done with JBossCache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959893#3959893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959893 From do-not-reply at jboss.com Fri Jul 21 09:28:17 2006 From: do-not-reply at jboss.com (aashishvora) Date: Fri, 21 Jul 2006 09:28:17 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCache with Hibernate Transaction Message-ID: <14227202.1153488497575.JavaMail.jboss@colo-br-02.atl.jboss.com> "aashishvora" wrote : Just one more question, will JBossCache work if I configure with JTA but the Transaction Management suports only one-phase and does not support 2 Phase(XA) protocols. Just to clarify further, I still have Hibernate participating in the same transaction with the help of non XA datasource, hence I have two transactional resource(Hibernate and JBossCache) and both are committing or rolling back together. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959894#3959894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959894 From do-not-reply at jboss.com Fri Jul 21 09:30:34 2006 From: do-not-reply at jboss.com (petekol) Date: Fri, 21 Jul 2006 09:30:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @DataModel for a component problem Message-ID: <9820131.1153488634051.JavaMail.jboss@colo-br-02.atl.jboss.com> i've found name collision for the outjected DataModelList for different components of the same class: components.xml: Comp: @DataModel private List list; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959895#3959895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959895 From do-not-reply at jboss.com Fri Jul 21 09:33:19 2006 From: do-not-reply at jboss.com (gus888) Date: Fri, 21 Jul 2006 09:33:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Fileupload Message-ID: <8474381.1153488799842.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't need the input stream, just the UploadedFile object, which is the same as the Seam wiki UploadFile example. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959896#3959896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959896 From do-not-reply at jboss.com Fri Jul 21 09:57:38 2006 From: do-not-reply at jboss.com (sjbarde) Date: Fri, 21 Jul 2006 09:57:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss Portal with struts bridge Message-ID: <28790700.1153490258970.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Group, This is my first post on the group! I am currently trying to develop a Jboss Portal Application using the struts Bridge. I was trying to search on the net for any information on Struts Bridge but was unable to execute succesfully on JBoss-4.0.3.sp1 . If anyone can provide me the sample source code for any Jboss Portal Application using Struts Bridge it would be very helpful. I have tried struts-demo-for-jboss-portal ,but it has to be modified as per our need & run it on JBoss server which i am not able to do..Anyone who knows how to execute this application properly on JBoss can reply back.... Waiting for reply! Shailesh Barde View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959897#3959897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959897 From do-not-reply at jboss.com Fri Jul 21 09:58:55 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 09:58:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <31995850.1153490335122.JavaMail.jboss@colo-br-02.atl.jboss.com> I was using a url fragment and that is incorrect. You should use the filename of the view that contains the component in question. However, petemuir suggested an even cleaner solution (IMO) because it's contained in the code and alleviates the need for the xml file. Here's what I did instead of using the pages.xml file. | @DataModel | private List packages; | | @Factory("packages") | public void load() { | packages = em.createQuery("from PackageEntity").getResultList(); | } | the load() method, annotated with @Factory("packages"), is used to initalize the "named" property (that property being "packages"). This is done before the page is rendered making this a great way to initialize state before the page is display. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959898#3959898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959898 From do-not-reply at jboss.com Fri Jul 21 10:10:29 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Fri, 21 Jul 2006 10:10:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal with struts bridge Message-ID: <16903575.1153491029842.JavaMail.jboss@colo-br-02.atl.jboss.com> You didn't precise the version of the portal. For your information the Struts bridge is mostly a hack, it is more a trick to make *existing* applications work on a portal, and it has lot of troubles. For new portlet projects i would recommend to avoid Struts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959900#3959900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959900 From do-not-reply at jboss.com Fri Jul 21 10:14:45 2006 From: do-not-reply at jboss.com (adamw) Date: Fri, 21 Jul 2006 10:14:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Common classes deployed in a .jar Message-ID: <20988567.1153491285352.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a web application (deployed as a .war) and some common classes, which I would like to deploy separately - as a jar. But this does not work - and I suppose ClassLoaders are an issue, or rather my lack of understanding them. However, it's quite weird. If I deploy only the .war, then when I try to access some "common" classes I get a ClassNotFoundException. If I deploy both the .war and the .jar, then I get a NoClassDefFoundError Why is that? How can I achieve my goal? Thanks, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959901#3959901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959901 From do-not-reply at jboss.com Fri Jul 21 10:20:48 2006 From: do-not-reply at jboss.com (jewhit) Date: Fri, 21 Jul 2006 10:20:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - navigation portlet problem Message-ID: <25114407.1153491648662.JavaMail.jboss@colo-br-02.atl.jboss.com> Howdy - I am having trouble with the navigation portlet... whenever i add new portlets to either my own portal instance or the default instance, i cannot get more than 3 of the navigation portlet tabs to display. According to the startup log, the porlets properly register without fail. If i remove a portlet that does show up on the "tabs," one of the other deployed portlets appears on the tab row. Anyone run into this issue before? i have even gone as far as to destroy the "data" folder, undeploy and redeploy the portlets.. nothing has helped. I am running portal v2.4 RC 2 (windows bundle version) Thanks in advance - JW View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959902#3959902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959902 From do-not-reply at jboss.com Fri Jul 21 10:25:45 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 10:25:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <8989939.1153491945556.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to deal with a "Web Application" which really has nothing to do with jBPM, it is something totally seperate. You will need some sort of java web app, the starter kit is currently using JSP technology (http://java.sun.com/products/jsp/) so you can take what is created there and expand upon it, that is probably the easiest way, but if you havnt done any JSP pages, then you are in for a little work learning the system. Basically it is similar to php or perl pages, but it can call all the API's attached to the jBPM system, so you can interact there. Our info: JBMP JSP and Java Beans JSP Pages /home/broccol/jbpm/jbpm-starters-kit-3.1.1/jbpm/src/resources/jbpm.war We changed the login.jsp to have a username login box, and added a password box. Here is the actual login java /home/broccol/jbpm/jbpm-starters-kit-3.1.1/jbpm/src/java.webapp/org/jbpm/webapp/bean/UserBean.java /home/broccol/jbpm/jbpm-starters-kit-3.1.1/jbpm/build/classes.webapp/org/jbpm/webapp/bean/UserBean.class After editing the files, you must recompile with ant: ant -f build.deploy.xml clean build.webapp build.service.archive and then copy over two files (from the jbpm/build directory) cp build/jbpm.[sw]ar ../jbpm-server/server/jbpm/deploy/ To shutdown and start server bin/shutdown.sh shutdown bin/run.sh -c jbpm > & jbpm.log & So as you see there, in the jbpm.war file are a few of the jsp pages that create the webapp, you can go in there and mess aroudn with them a bit, save, rebuild and check your changes. The /home/broccol/jbpm/jbpm-starters-kit-3.1.1 is just the location that we installed the starters kit in. Be aware though, that the 3.2 version of jBPM will be using "faces" a different, hopefully better system than JSP, so if you intend to use the next version, you might should wait for that. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959904#3959904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959904 From do-not-reply at jboss.com Fri Jul 21 10:27:02 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 21 Jul 2006 10:27:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Server: Status=No Host matches server name 192.168 Message-ID: <19617857.1153492022094.JavaMail.jboss@colo-br-02.atl.jboss.com> Try adding a line for the IP address to your hosts file. Something like: 192.168.0.102 myhostname View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959905#3959905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959905 From do-not-reply at jboss.com Fri Jul 21 10:29:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 10:29:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <21859612.1153492156949.JavaMail.jboss@colo-br-02.atl.jboss.com> My compliments James..... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959906#3959906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959906 From do-not-reply at jboss.com Fri Jul 21 10:29:25 2006 From: do-not-reply at jboss.com (lduperval) Date: Fri, 21 Jul 2006 10:29:25 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss 3.2.5: Logging out does not release session resources Message-ID: <1027146.1153492165506.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have an application that is distributed across 4 EARs, which we will call A, B, C, and D. I have configure tomcat as follows: to enable single signon. The session logout is implemented in ear B. That is, all of the web pages in all of my applications contain a "Logout" button. When you click it, it calls a logout action which invalidates the session. That action is defined in ear B. We are doing performance testing where we are simulating the following: - log on (calls a Login action defined in B) - execute an operation that resides in A - log out (which calls a logout action definded in B) - repeat over and over again What we are seeing is that sessions are created but the resources are not freed when logging out. I have the impression that it is due to the fact that I am using multiple ears, but I am not quite sure yet. Eventually, there are so many threads running that the JVM runs out of ressources. Has anyone had experience with an approach like this one? What have you done to resolve the issue? Or do you have suggestions? I found this page: http://www.fwd.at/tomcat/sharing-session-data-howto.html According to the tomcat documentation: http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Single%20Sign%20On Logging out of one invalidates all sessions, and I can confirm that this works. However, it looks like the ressources for sessions may not be released. Has anyone else seen this? ANy ideas? Thanks, L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959907#3959907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959907 From do-not-reply at jboss.com Fri Jul 21 10:29:32 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 10:29:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Problem Installing GPD Eclipse Plugin/Features Message-ID: <16205527.1153492172418.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Has anyone gotten the new build of GPD eclipse plugin 3.0.11 working with jBPM 3.1.2? I have tried every combination that I know of, but it will not install atall. I am on redhat fedora core 4. Also what is the difference between the jbpm-gpd-feature, and the jbpm-gpd-site? I saw somewhere that it was suggested to use the site, but Im not sure why or what the difference is. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959908#3959908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959908 From do-not-reply at jboss.com Fri Jul 21 10:34:50 2006 From: do-not-reply at jboss.com (kbutler) Date: Fri, 21 Jul 2006 10:34:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Purge existing process instances Message-ID: <26055806.1153492490869.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi - I am currently integrating a project that includes jBPM, and do not have time to gain solid familiarity with its inner-workings. Also I trust the community more than the vendor. So I ask you here... I am cleaning up what was a test database, to ready it for production. One thing I want to clean up is all the pending jBPM process/task instances, while retaining all the process/task definitions. Here is a list of the tables I think should be purged: | delete from JBPM_MODULEINSTANCE | delete from JBPM_PROCESSINSTANCE | delete from JBPM_TASKINSTANCE | delete from JBPM_VARIABLEINSTANCE | delete from JBPM_TOKEN | delete from JBPM_TOKENVARIABLEMAP | delete from JBPM_TIMER | delete from JBPM_LOG | And here is a list of the tables that were empty, so I am ignoring: | /* | -- Tables which are currently unused (empty) | JBPM_COMMENT | JBPM_DESCISIONCONDITIONS | JBPM_EXCEPTIONHANDLER | JBPM_POOLEDACTOR | JBPM_RUNTIMEACTION | JBPM_SWIMLANE | JBPM_SWIMLANEINSTANCE | JBPM_TASKACTORPOOL | */ | Can someone please tell me if this looks correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959909#3959909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959909 From do-not-reply at jboss.com Fri Jul 21 10:37:09 2006 From: do-not-reply at jboss.com (kbutler) Date: Fri, 21 Jul 2006 10:37:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Purge existing process instances Message-ID: <16091139.1153492629454.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, this is jBPM 3.0.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959910#3959910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959910 From do-not-reply at jboss.com Fri Jul 21 10:39:03 2006 From: do-not-reply at jboss.com (newbie007) Date: Fri, 21 Jul 2006 10:39:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem Installing GPD Eclipse Plugin/Features Message-ID: <3931490.1153492743879.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess the difference between jbpm-gpd-feature and jbpm-gpd site is that if you install site, it will take care of updating if there is any new version of gpd out there. What is the relation between gpd 3.0.11 and jbpm 3.1.2? As long as the par file is correct, jbpm 3.1.2 should work fine. I guess your question is gpd 3.0.11 on eclipse 3.1? Look at the following post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87095 Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959911#3959911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959911 From do-not-reply at jboss.com Fri Jul 21 10:43:00 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 10:43:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <25747147.1153492980090.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : My compliments James..... >From me too..It was a great help..Thank you so much James for spending your time..I will work on it.. Thanks again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959912#3959912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959912 From do-not-reply at jboss.com Fri Jul 21 10:46:49 2006 From: do-not-reply at jboss.com (mrwhite) Date: Fri, 21 Jul 2006 10:46:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Hibernate Validation / Page Scope --> allways new entity Message-ID: <12299529.1153493209030.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody, i got a strange data manipulation problem. I have a simple form i use for editing and inserting: | | |
    | Vorname: |
    |
    | | |
    |
    | Nachname: |
    |
    | | |
    |
    | |
    |
    |
    | And i have the following Action: | @Stateless | @Name("clientPersonAction") | public class ClientPersonEditAction implements ClientPersonEdit{ | | @PersistenceContext | private EntityManager em; | | @RequestParameter() | private Long clientPersonId; | | @In(required=false) | @Out(scope=ScopeType.PAGE,required=false) | @Valid | private ClientPerson newClientPerson; | | @Factory("newClientPerson") | public void createNewClientPerson() | { | if(clientPersonId != null) | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | newClientPerson = clientPersonDAO.getClientPersonById(clientPersonId); | System.out.println("createNewClientPerson:" + newClientPerson.getId()); | } | else | { | newClientPerson = new ClientPerson(); | } | } | | public String saveClientPerson() { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | System.out.println("newClientPerson.getId():" + newClientPerson.getId()); | clientPersonDAO.merge(newClientPerson); | return "home"; | } | | | } | The Entity package org.jboss.seam.example.client; | | import java.io.Serializable; | | import javax.persistence.Entity; | | import org.hibernate.validator.NotNull; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Scope; | | @Scope(ScopeType.EVENT) | @Entity | public class ClientPerson extends Client implements Serializable{ | | private static final long serialVersionUID = -7846741936105611777L; | private String firstname; | private String lastname; | | @NotNull | public String getFirstname() { | return firstname; | } | | public void setFirstname(String firstname) { | this.firstname = firstname; | } | | @NotNull | public String getLastname() { | return lastname; | } | | public void setLastname(String lastname) { | this.lastname = lastname; | } | | | | | | } | When I fill out the form and save a new object its correctly saved in the database. When some id is passed to the action i can edit the values from the database object and save everything back. BUT: When i open a persisted object from the database and remove the field content from a field that has for example the hibernate validator annotation @NotNull i get the normal message "value required". Then i type in correct data and press the save button a new entity is persisted with all the other fields from the "old" entity but under a different id. Summary: Adding and editing works. Saving a persisted object after a hibernate validation error creates a new one in the database. Any suggestions on that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959913#3959913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959913 From do-not-reply at jboss.com Fri Jul 21 10:47:06 2006 From: do-not-reply at jboss.com (JXerXes) Date: Fri, 21 Jul 2006 10:47:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ClassCastException - problem with session timeout? Message-ID: <9444848.1153493226373.JavaMail.jboss@colo-br-02.atl.jboss.com> hi gavin, thanks for the quick answer! i've tried that using the JBoss annotation @CacheConfig and it works. the default timeout of the http session is 30 minutes, thats when one error occurs so i set the idleTimeoutSeconds to above 1800 and everything was well. but it also works with a smaller number, something above 1200 or so, i'm still testing. is it a bug in the EJB RC8 and it is just a workaround using this long timeout for seam apps or is it usual to do so? i also posted it in the ejb forum and another user posted a link to a jira issue. http://jira.jboss.com/jira/browse/EJBTHREE-657 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959914#3959914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959914 From do-not-reply at jboss.com Fri Jul 21 10:53:14 2006 From: do-not-reply at jboss.com (pandral) Date: Fri, 21 Jul 2006 10:53:14 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Additional Contexts for an application Message-ID: <21545754.1153493594933.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we are currently evaluating Jboss for a new project but we cant find in the documentation howto create contexts without deploying applications. Can anyone point us in the right direction? thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959916#3959916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959916 From do-not-reply at jboss.com Fri Jul 21 10:53:56 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Fri, 21 Jul 2006 10:53:56 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <27112873.1153493636776.JavaMail.jboss@colo-br-02.atl.jboss.com> default config should work too. Let us know if you run into a problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959917#3959917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959917 From do-not-reply at jboss.com Fri Jul 21 10:54:14 2006 From: do-not-reply at jboss.com (JXerXes) Date: Fri, 21 Jul 2006 10:54:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with ArrayLists in SessionBeans and idle time Message-ID: <5525301.1153493654095.JavaMail.jboss@colo-br-02.atl.jboss.com> hi carlo, thanks for the link. do you have that problem with a pure ejb app or with a web app using seam? i posted it in the seam forum too and gavin told me to set the timeout of the session scoped SFSBs to a value above the session timeout. i used the jboss annotation @CacheConfig and it worked. i'm not really sure if it's a bug. i hope someone could clarify this, is it a bug or just something special about arraylists or so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959918#3959918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959918 From do-not-reply at jboss.com Fri Jul 21 10:55:28 2006 From: do-not-reply at jboss.com (ccelgun) Date: Fri, 21 Jul 2006 10:55:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <23643325.1153493728547.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I have users and some abilities assigned to them. At the beginning no ability is assigned.I am sure that the program connects to the database correctly and users do exist.The problem appears while i'm trying to get users' abilities which are empty at the beginning. I am stocked at this point...May the problem occur because of the empty fields? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959919#3959919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959919 From do-not-reply at jboss.com Fri Jul 21 11:01:19 2006 From: do-not-reply at jboss.com (simontemple) Date: Fri, 21 Jul 2006 11:01:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <16334183.1153494079474.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the replies. I took the latest source from CVS: cvsgrab -webInterface FishEye1_0 -url http://fisheye.jboss.com/viewrep/JBoss/jbosside/cache/plugins/ -destDir . Had a small problem because org.eclipse.ui.editors is missing from MANIFEST.MF Apart from that it works fine... Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959920#3959920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959920 From do-not-reply at jboss.com Fri Jul 21 11:05:13 2006 From: do-not-reply at jboss.com (suresh.thomas@wipro.com) Date: Fri, 21 Jul 2006 11:05:13 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Messages are delivered to JMS Clients Non uniformly - Jb Message-ID: <33028341.1153494313421.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Did you implement your own list based algorithm for this ? Any code sample please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959921#3959921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959921 From do-not-reply at jboss.com Fri Jul 21 11:06:17 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 21 Jul 2006 11:06:17 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <1172405.1153494377710.JavaMail.jboss@colo-br-02.atl.jboss.com> Eureka! The key is the statement that you installed to "C:\Program". Up to now I assumed that some code was tripping over the space in "Program Files" and causing a wierd Explorer window to show. Anyway, I installed to c:\program, logged out and back in, and guess what appeared on my screen? Also, there very briefly flashed a dialog box which then very conveniently hid itself behind the Explorer window. I pulled that dialog box back out front and here is what it says: anonymous wrote : Title: File Name Warning | Text: There is a file or folder on your computer called "C:\Program" which | could cause certain applications to not function correctly. Renaming it | to "C:\Program1" would solve this problem. Would you like to rename | it now? This makes sense based on how Windows converts long file names into short file names to support older 16-bit programs. The solution is to rename c:\program to something else (I use c:\apps). You do not have to unistall and reinstall JBoss, there is no registry information or anything like that that points to the existing directory. Though, the uninstall script will not work since it still has the c:program directory, but uninstaling JBoss is easy - just delete the directory. This is why I like trying to solve wierd problems posted on this forum - I almost always learn something new! Thanks, Marcus, it's been a trip! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959922#3959922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959922 From do-not-reply at jboss.com Fri Jul 21 11:09:02 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 11:09:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Inject EL Results Message-ID: <31057588.1153494542597.JavaMail.jboss@colo-br-02.atl.jboss.com> If you want to pass parameters directly via EL I think your only option is to write an EL Function. Everything else in JSF is based on method binding EL which is a simple lookup. Method bindings depend on the bean having all the requisite state prior to invocation. You could write a custom JSF component that takes in JSF params and communicates directly with your Seam component in Java land. Or you can have a type specific context aware Seam component. UserManager.printUser(), that knows where to look up the user entity within Seam. This way JSF can take #{user} as a param and your Seam component can use a well known location to function properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959923#3959923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959923 From do-not-reply at jboss.com Fri Jul 21 11:09:21 2006 From: do-not-reply at jboss.com (Markus.Wahl) Date: Fri, 21 Jul 2006 11:09:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Windows Explorer automatically pops up displaying C:\Pro Message-ID: <8262778.1153494561266.JavaMail.jboss@colo-br-02.atl.jboss.com> thank you peter. excellent work! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959924#3959924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959924 From do-not-reply at jboss.com Fri Jul 21 11:13:37 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 11:13:37 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: How Can I make decision on my buseness process Message-ID: <10570195.1153494817377.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at the jBPM documentation, examples, testcases..... lots of info in there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959925#3959925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959925 From do-not-reply at jboss.com Fri Jul 21 11:17:40 2006 From: do-not-reply at jboss.com (oglueck) Date: Fri, 21 Jul 2006 11:17:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Bug in the trailblazer Message-ID: <29778106.1153495060463.JavaMail.jboss@colo-br-02.atl.jboss.com> On http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/jmx/index.html it says public class CalculatorMBean implements Calculator If I understand JMX correctly the naming conventions are reversed here. See http://java.sun.com/j2se/1.5.0/docs/guide/jmx/tutorial/essential.html#wp1053106 The interface should be suffixed MBean and not the implementation! I also believe it only works if you do it correctly. So you will not be able to get the example working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959927#3959927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959927 From do-not-reply at jboss.com Fri Jul 21 11:19:08 2006 From: do-not-reply at jboss.com (kbutler) Date: Fri, 21 Jul 2006 11:19:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Purge existing process instances Message-ID: <26250499.1153495148476.JavaMail.jboss@colo-br-02.atl.jboss.com> Duh - I just saw the DataModel Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31DataModel , somehow I missed it on the Wiki page. I have corrected my earlier script, for SQLServer, by adding the rest of the tables from the Execution Model. Note that JBPM_MESSAGE is not part of my 3.0.1 installation, so is omitted here. By way of apology, here is the final script for SQLServer users, note the skirting of a FK. | delete from JBPM_LOG | delete from JBPM_TIMER | delete from JBPM_MODULEINSTANCE | delete from JBPM_TOKENVARIABLEMAP | delete from JBPM_TASKINSTANCE | delete from JBPM_VARIABLEINSTANCE | | -- Must temporarily drop FK from Token -> ProcInstance | if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_TOKEN_PROCINST]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) | ALTER TABLE [dbo].[JBPM_TOKEN] DROP CONSTRAINT FK_TOKEN_PROCINST | | -- Clear tables | delete from JBPM_PROCESSINSTANCE | delete from JBPM_TOKEN | | -- Re-add dropped FKs | ALTER TABLE [dbo].[JBPM_TOKEN] ADD | CONSTRAINT [FK_TOKEN_PROCINST] FOREIGN KEY | ( | [PROCESSINSTANCE_] | ) REFERENCES [dbo].[JBPM_PROCESSINSTANCE] ( | [ID_] | ) | | delete from JBPM_SWIMLANEINSTANCE | delete from JBPM_POOLEDACTOR | delete from JBPM_TASKACTORPOOL | delete from JBPM_COMMENT | delete from JBPM_RUNTIMEACTION | delete from JBPM_BYTEBLOCK | delete from JBPM_BYTEARRAY | Comments welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959928#3959928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959928 From do-not-reply at jboss.com Fri Jul 21 11:42:44 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 11:42:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <28811817.1153496564527.JavaMail.jboss@colo-br-02.atl.jboss.com> The tabs show pages, not portlets. Login as an admin and tell me if you see the same. It could be security rights. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959931#3959931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959931 From do-not-reply at jboss.com Fri Jul 21 11:44:31 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 11:44:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <9947627.1153496671200.JavaMail.jboss@colo-br-02.atl.jboss.com> "bhupeshs" wrote : There is one more problem with the security tab in management console. Once i select a value for a group, there is no way to unselect the value from the list box. I am able to change it to other value, but i cannot unselect it. For Example, the default unchecked role has view permission which i want to remove. I cannot do it from the management portlet. CTRL+click the selected item, to unselect. I'll look in to your other issues, shortly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959933#3959933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959933 From do-not-reply at jboss.com Fri Jul 21 11:45:55 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 11:45:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <18982198.1153496755044.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you tried changing the supported mime-type for the portlet? Is the path to your SVG correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959934#3959934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959934 From do-not-reply at jboss.com Fri Jul 21 11:48:26 2006 From: do-not-reply at jboss.com (snowch) Date: Fri, 21 Jul 2006 11:48:26 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hsqldb bound to one port (1701), but serving many databases Message-ID: <26138938.1153496906384.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to setup a hsqldb datasource that binds to only one port, yet serves multiple databases, or do I have to have one port per database? Many thanks ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959935#3959935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959935 From do-not-reply at jboss.com Fri Jul 21 11:52:09 2006 From: do-not-reply at jboss.com (scollins311) Date: Fri, 21 Jul 2006 11:52:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <5860829.1153497129097.JavaMail.jboss@colo-br-02.atl.jboss.com> These are the supported types I've added: | text/html | VIEW | | | text/xml | VIEW | | | application/xhtml+xml | VIEW | | I don't know what you mean with the path to my svg? Do you mean the namespace? The svg code is in the xhtml page. The namespaces I'm using are | xmlns:xlink="http://www.w3.org/2000/xlink/namespace/" | xmlns:svg="http://www.w3.org/2000/svg" | Thank you for answering so quickly, Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959936#3959936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959936 From do-not-reply at jboss.com Fri Jul 21 11:58:47 2006 From: do-not-reply at jboss.com (jkressin) Date: Fri, 21 Jul 2006 11:58:47 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: HA-JMS fails, Master node undeploying channels, no failo Message-ID: <26576692.1153497527916.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Brian, I will send the logfiles and the cluster-service.xml, and thanks again for looking into this issue! Jochen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959937#3959937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959937 From do-not-reply at jboss.com Fri Jul 21 12:01:39 2006 From: do-not-reply at jboss.com (MarcReis) Date: Fri, 21 Jul 2006 12:01:39 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Hibernate 2nd lvl Cache for EJB3 Message-ID: <25776681.1153497699217.JavaMail.jboss@colo-br-02.atl.jboss.com> Just in case anyone wants to know: I have checked out the latest ejb3 source from the 4.0.4.SP1 branch and integrated it in the 4.0.4GA source, since I noticed that there are changes in the org.jboss.ejb3.cache.* (like in the StatefulEvictionPolicy 1.1.6.11) that might have an impact on my issue. In some way they do, but unfourtunately still dont solve my problem. The way the error message shows up is different in that it doesnt show up endlessly, but that is about it. Since hib 3.2.CR3 also a new message shows up ... | 17:23:20,031 WARN [SessionFactoryObjectFactory] InitialContext did not implemen | t EventContext ... | . The above Hibernate Problem and the below: | 17:22:56,406 WARN [SessionFactoryObjectFactory] Not found: 2c9096b20c91acb4010c | 91ae85a50002 | 17:22:56,421 WARN [SessionFactoryObjectFactory] Not found: java:Hibernate/MyHib | ernateSessionFactory | only show up with the SFSB, never with the SLSB, which also uses the same hibernate cfg. with a 2nd lvl cache. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959938#3959938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959938 From do-not-reply at jboss.com Fri Jul 21 12:05:34 2006 From: do-not-reply at jboss.com (cpob) Date: Fri, 21 Jul 2006 12:05:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Purge existing process instances Message-ID: <31049390.1153497934701.JavaMail.jboss@colo-br-02.atl.jboss.com> Why alter the foreign keys? Why not just set the JBPM_TOKEN.PROCESSINSTANCE to null on the token table, delete the process instances, and then the tokens. Also, you might want to look into the GraphSession. In 3.1.x, there is a GraphSession.deleteProcessInstance which will automatically go through and delete everything tied to that process instance, instead of you worrying about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959939#3959939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959939 From do-not-reply at jboss.com Fri Jul 21 12:11:35 2006 From: do-not-reply at jboss.com (suresh.thomas@wipro.com) Date: Fri, 21 Jul 2006 12:11:35 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: When execute a Thread the Jboss Shutdown Message-ID: <17963243.1153498295202.JavaMail.jboss@colo-br-02.atl.jboss.com> As per J2EE restriction executing thread in user code is illegal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959940#3959940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959940 From do-not-reply at jboss.com Fri Jul 21 12:11:46 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 12:11:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <21955943.1153498306118.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe I don't understand SVG that well. Don't you have to link to an SVG file, much like you would with a flash file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959941#3959941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959941 From do-not-reply at jboss.com Fri Jul 21 12:12:41 2006 From: do-not-reply at jboss.com (MarcReis) Date: Fri, 21 Jul 2006 12:12:41 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <7430198.1153498361303.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I dont know if you have seen it already, but it comes in handy: http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall. The mentioned port belongs to the naming service, defined in the /conf/jboss-service.xml .... | | 1098 | ... | Sincerly Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959942#3959942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959942 From do-not-reply at jboss.com Fri Jul 21 12:16:20 2006 From: do-not-reply at jboss.com (scollins311) Date: Fri, 21 Jul 2006 12:16:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <2320550.1153498580308.JavaMail.jboss@colo-br-02.atl.jboss.com> You can but you can also do something like this person did. http://jwatt.org/svg/demos/xhtml-with-inline-svg.xhtml View the source to see what's going on. Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959943#3959943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959943 From do-not-reply at jboss.com Fri Jul 21 12:21:07 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 12:21:07 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Purge existing process instances Message-ID: <20513290.1153498867350.JavaMail.jboss@colo-br-02.atl.jboss.com> cpob is right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959945#3959945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959945 From do-not-reply at jboss.com Fri Jul 21 12:22:29 2006 From: do-not-reply at jboss.com (jxfish2) Date: Fri, 21 Jul 2006 12:22:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Setup second JBOSS instance. Message-ID: <3110028.1153498949119.JavaMail.jboss@colo-br-02.atl.jboss.com> We are currently running JBOSS. JBOSS was installed and configured by the software vendor that supplied us with the application. We have a need to access the application via a proxy server, and have that working currently. (Our customers can only access the application via this proxy server.) We also have a need to bypass that proxy, for users inside of our network. In order to do that, I'm afraid we're going to need to setup a second JBOSS instance, that when called, bypasses the proxy, again, for users accessing the GUI from within our firewall. The reason why we need a second instance, is because the vendor has created a config file, with hardcoded addresses in it. The current JBOSS instance gets all of its routing information from that config file... If we can create a second instance, we can point it to a different config file... We know how to direct the application to the secure / proxy server, and we know how to bypass the proxy... But, we've tried several different configurations, in an attempt to get both to work with a single environment / config file... We can not make this work currently, and I don't believe we'll be able to do it without the second instance... Can anyone tell me how that might be accomplished? Any good examples? Any really good reference materials, especially with good examples... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959946#3959946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959946 From do-not-reply at jboss.com Fri Jul 21 12:26:41 2006 From: do-not-reply at jboss.com (free1000) Date: Fri, 21 Jul 2006 12:26:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <6620147.1153499201815.JavaMail.jboss@colo-br-02.atl.jboss.com> Could it be possible that you also have to set content-type in your doView as well? I think if you are serving xhtml to the browser. As xhtml is an instance of an xml document I expect that the content type should be application/xhtml+xml... however I haven't tried this myself yet protected void doView(RenderRequest rRequest, RenderResponse rResponse) throws PortletException, IOException, UnavailableException | { | rResponse.setContentType("application/xhtml+xml"); | | PortletRequestDispatcher prd = getPortletContext().getRequestDispatcher("View.jsp"); | prd.include(rRequest, rResponse); | } | | Thanks to this thread I discovered that firefox can natively display SVG inline. Cool. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959947#3959947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959947 From do-not-reply at jboss.com Fri Jul 21 12:32:34 2006 From: do-not-reply at jboss.com (j1a2o) Date: Fri, 21 Jul 2006 12:32:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...} Message-ID: <22404741.1153499554094.JavaMail.jboss@colo-br-02.atl.jboss.com> I went ahead and tried it, after fixing up the query a little. The SQL query works, I tried it directly through phpMyAdmin for MySQL. But JBPM is not liking it: 11:30:34,974 ERROR [SessionFactoryImpl] Error in named query: TaskMgmtSession.findTaskInstancesByActorIds org.hibernate.hql.ast.QuerySyntaxException: unexpected token: ON near line 5, column 42 [ SELECT t.ID_ AS taskid, t.NAME_ AS taskname, t.DESCRIPTION_ AS taskdescription, u.NAME_ AS userid, t.START_ AS startdate, t.DUEDATE_ AS duedate, t.END_ AS enddate FROM JBPM_TASKINSTANCE t INNER JOIN JBPM_TASKACTORPOOL p ON t.ID_ = p.TASKINSTANCE_ INNER JOIN JBPM_POOLEDACTOR pa ON p.POOLEDACTOR_ = pa.ID_ INNER JOIN JBPM_ID_GROUP g ON pa.ACTORID_ = g.NAME_ INNER JOIN JBPM_ID_MEMBERSHIP m ON m.GROUP_ = g.ID_ INNER JOIN JBPM_ID_USER u ON u.ID_ = m.USER_ WHERE t.END_ IS NULL ] at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59) Any ideas? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959948#3959948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959948 From do-not-reply at jboss.com Fri Jul 21 12:34:04 2006 From: do-not-reply at jboss.com (jewhit) Date: Fri, 21 Jul 2006 12:34:04 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <9708787.1153499644820.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Roy - sorry, i got my verbage in my post incorrect in regards to tabs "showing" pages vs. portals. anyway, logging in as admin does not change the behavior. all portlets have a default page, navigation portlet is declared in all *-object.xml files of said portlets. the portal instance that i am deploying has the following object.xml file... i have a feeling it is something that i have messed up within that file. here it is: | | | | | overwrite | | bigCRMPortal | | | | | layout.id | generic | | | | | theme.id | bigCRM Default | | | | | theme.renderSetId | divRenderer | | | | | layout.strategyId | maximizedRegion | | | | view | edit | help | | | normal | minimized | maximized | | | default | | | | NavigationPortletWindow | NavigationPortletInstance | navigation | 0 | | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | UserPortletWindow | UserPortletInstance | left | 0 | | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | StartPortletWindow | StartPortletInstance | center | 0 | | | | | viewrecursive | | | | | | | | | personalizerecursive | | | | | | | each of the portals are declared this way... again, this is only one example: | | | | overwrite | bigCRMPortal | | | Dashboard | | | NavigationPortletWindow | NavigationPortletInstance | navigation | 0 | | | | | theme.windowRendererId | emptyRenderer | | | | theme.decorationRendererId | emptyRenderer | | | | theme.portletRendererId | emptyRenderer | | | | | | | DashboardPortletWindow | DashboardPortletInstance | center | 0 | | | | | viewrecursive | | | | | | | | | personalizerecursive | | | | | | thanks - Jim W. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959949#3959949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959949 From do-not-reply at jboss.com Fri Jul 21 12:34:23 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 12:34:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem Installing GPD Eclipse Plugin/Features Message-ID: <5530273.1153499663807.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes sorry I meanth Eclipse 3.2, the recommended version. I removed all componenets reinstalled them and I installed the plugin, it says to restart, it restarts and then it says "An internal error occurred during: "Initializing Java Tooling"" java.lang.NullPointerException at org.jbpm.ui.util.JbpmClasspathContainer.getJarNames(Unknown Source) at org.jbpm.ui.util.JbpmClasspathContainer.createJbpmLibraryEntries(Unknown Source) at org.jbpm.ui.util.JbpmClasspathContainer.getClasspathEntries(Unknown Source) at org.eclipse.jdt.internal.core.JavaModelManager.containerPutIfInitializingWithSameEntries(JavaModelManager.java:494) at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4118) at org.jbpm.ui.util.JbpmClasspathContainerInitializer.initialize(Unknown Source) at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:1900) at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1267) at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:1470) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2169) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:2073) at org.eclipse.jdt.internal.core.search.JavaSearchScope.add(JavaSearchScope.java:107) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.initialize(JavaWorkspaceScope.java:84) at org.eclipse.jdt.internal.core.search.JavaSearchScope.(JavaSearchScope.java:61) at org.eclipse.jdt.internal.core.search.JavaSearchScope.(JavaSearchScope.java:57) at org.eclipse.jdt.internal.core.search.JavaWorkspaceScope.(JavaWorkspaceScope.java:29) at org.eclipse.jdt.internal.core.JavaModelManager.getWorkspaceScope(JavaModelManager.java:1705) at org.eclipse.jdt.internal.core.search.BasicSearchEngine.createWorkspaceScope(BasicSearchEngine.java:155) at org.eclipse.jdt.core.search.SearchEngine.createWorkspaceScope(SearchEngine.java:397) at org.eclipse.jdt.core.JavaCore.initializeAfterLoad(JavaCore.java:2855) at org.eclipse.jdt.internal.ui.InitializeAfterLoadJob$RealJob.run(InitializeAfterLoadJob.java:35) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959950#3959950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959950 From do-not-reply at jboss.com Fri Jul 21 12:35:22 2006 From: do-not-reply at jboss.com (jewhit) Date: Fri, 21 Jul 2006 12:35:22 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <24648109.1153499722749.JavaMail.jboss@colo-br-02.atl.jboss.com> FYI - second *-object.xml file is of a portlet, not a portal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959951#3959951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959951 From do-not-reply at jboss.com Fri Jul 21 12:36:41 2006 From: do-not-reply at jboss.com (barnaby33) Date: Fri, 21 Jul 2006 12:36:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam and JAXWS Message-ID: <6278704.1153499801835.JavaMail.jboss@colo-br-02.atl.jboss.com> I am investigating Seam for use in developing SOA applications and so far it appears to be very much oriented for use with JSF. The documentation says it takes a web services approach, and thats what I am interested in. My underlying question is this, how can I meld Seam with a non platform specific SOA, where clients will be .Net as well as Java apps? I am looking for ideas as to how Seam fits with an approach where I am given a WSDL and to go from there to various back ends, as opposed to designing from the DB forward using Seam. Any thoughts, caveats would be appreciated. Josh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959952#3959952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959952 From do-not-reply at jboss.com Fri Jul 21 12:36:52 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 12:36:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Assigning a task to->{group, rolebased, ...} Message-ID: <9564337.1153499812789.JavaMail.jboss@colo-br-02.atl.jboss.com> It is using the hibernate mapping language so that complicates it a little bit more from doing that. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959953#3959953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959953 From do-not-reply at jboss.com Fri Jul 21 12:37:06 2006 From: do-not-reply at jboss.com (scollins311) Date: Fri, 21 Jul 2006 12:37:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <4094871.1153499826462.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using Seam and JSF, so I don't think that I have a doView. I have tried setting the content type in the seam action that gets called on the page. I did it similar to how supernovasoftware.com did it in this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82396 Except instead of the request I got the response and set the content type that way. Maybe that isn't correct? Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959954#3959954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959954 From do-not-reply at jboss.com Fri Jul 21 12:41:10 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 12:41:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog Message-ID: <33297629.1153500070640.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting this message when creating a new process instance for a definition, and signalling it. org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog: Narrowing proxy to class org.jbpm.graph.node.StartState - this operation breaks == However, the instance does get created and signalled fine. What does this mean? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959955#3959955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959955 From do-not-reply at jboss.com Fri Jul 21 12:41:41 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 12:41:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam and JAXWS Message-ID: <19092067.1153500101602.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently, Seam-WS is a big TBD. It's actually not that complex to implement, all we need to do is integrate Seam's contexts into the SOAP servlet ;-) But I need to find time, or a volunteer, to sit down and create an example application. If you have some simple, elegant example code, I can write the required SOAP/Seam integration in about 1 day. Let me know if that interests you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959956#3959956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959956 From do-not-reply at jboss.com Fri Jul 21 12:45:25 2006 From: do-not-reply at jboss.com (kbines) Date: Fri, 21 Jul 2006 12:45:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: 4.0.4 GA Bug Message-ID: <6603521.1153500325594.JavaMail.jboss@colo-br-02.atl.jboss.com> We only get the problem in JBoss 4.04. When we use JBoss 4.03 with Hibernate Anottations and Entity manager 3.1 it all works fine. 4.04 uses Hibernate 3.2 - so why has this "feature" been introduced? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959958#3959958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959958 From do-not-reply at jboss.com Fri Jul 21 12:55:45 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 12:55:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - can i do this... Message-ID: <25689025.1153500945918.JavaMail.jboss@colo-br-02.atl.jboss.com> I know I can use @DataModel but I want try the following and it seems logical to me but it doesn't work. | @Name("package") | class ... { | @In(create=true) @Out(scope=ScopeType.CONVERSATION) | private List packages; | } | then in my web page do this... | "dbatcn" wrote : The fact that the actual problem is obscured by an EJB3 implementation defect is no help and hardly encouraging in my choice to choose bleeding-edge technologies from JBoss while I try to create a product to feed myself. If you're not happy using new technologies, you have two clear choices: (1) Don't use them (2) Use them and don't complain about occasional hiccups I think that's reasonable, don't you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959960#3959960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959960 From do-not-reply at jboss.com Fri Jul 21 12:57:24 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Fri, 21 Jul 2006 12:57:24 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <6762534.1153501044255.JavaMail.jboss@colo-br-02.atl.jboss.com> The RMIServerInvoker will call following upon being created: LocateRegistry.createRegistry(port) The port will be 3455 by default. Are you calling LocateRegistry.getRegistry( 3455 ) from a remote machine? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959961#3959961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959961 From do-not-reply at jboss.com Fri Jul 21 13:00:30 2006 From: do-not-reply at jboss.com (catchupvijay) Date: Fri, 21 Jul 2006 13:00:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - java.io.NotSerializableException: java.lang.Object -Cluster Message-ID: <29506695.1153501230612.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We are using JbossCache in a clustered environment. (JBoss, Ibatis, Oracle). We are unable to figure out the reason for an exception when the JBossCacheService tries to do replication on the other node. [java.io.NotSerializableException: java.lang.Object] We have ensured that all the objects stored in Collections implement the Serializable interface. Following is the detailed stack trace. -------------------------------------------------------------------------------------- 09:57:47,393 INFO [STDOUT] java.io.NotSerializableException: java.lang.Object 09:57:47,393 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) 09:57:47,393 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 09:57:47,393 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 09:57:47,393 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) 09:57:47,409 INFO [STDOUT] at java.util.ArrayList.writeObject(ArrayList.java:529) 09:57:47,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 09:57:47,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 09:57:47,409 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 09:57:47,409 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 09:57:47,409 INFO [STDOUT] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) 09:57:47,409 INFO [STDOUT] at java.util.HashMap.writeObject(HashMap.java:978) 09:57:47,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 09:57:47,409 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 09:57:47,409 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 09:57:47,409 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 09:57:47,409 INFO [STDOUT] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 09:57:47,409 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:288) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheService.externalizeSession(JBossCacheService.java:771) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCacheService.java:229) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.processSessionRepl(SessionBasedClusteredSession.java:165) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:606) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:375) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38) 09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)09:57:47,409 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 09:57:47,409 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 09:57:47,409 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 09:57:47,409 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 09:57:47,409 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 09:57:47,409 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) 09:57:47,409 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) 09:57:47,409 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 09:57:47,409 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 09:57:47,409 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959962#3959962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959962 From do-not-reply at jboss.com Fri Jul 21 13:01:09 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Fri, 21 Jul 2006 13:01:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem starting converstaion and setting state from HTT Message-ID: <7269450.1153501269707.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959963#3959963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959963 From do-not-reply at jboss.com Fri Jul 21 13:03:11 2006 From: do-not-reply at jboss.com (annecotter) Date: Fri, 21 Jul 2006 13:03:11 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <26850650.1153501391988.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Marc, thank you I have seen that document. I wonder if I haven't phrased my question well, but what I'm trying to find out is when a new member joins a cluster, does it make an RMI call to the existing member? So do the members of a cluster use RMI for any communication with each other? thanks Anne View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959964#3959964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959964 From do-not-reply at jboss.com Fri Jul 21 13:03:44 2006 From: do-not-reply at jboss.com (michaelholtzman) Date: Fri, 21 Jul 2006 13:03:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Hibernate query to get all active instances Message-ID: <31427530.1153501424939.JavaMail.jboss@colo-br-02.atl.jboss.com> Greetings. As part of our application, I need to display all running process instances. I originally wrote some code to get all definitions (GraphSession.findAllProcessDefinitions()) and then, for each definition get the process instances (GraphSession.findProcessInstances(defnId)). It does what I need, but is very slow. I am trying to write a hib query to get the process instances in one db access. I'd like the results grouped by process definition name and version. | String q = "from org.jbpm.graph.exe.ProcessInstance as pi" + | " where pi.end is null" + | " order by pi.processDefinition.name pi.processDefinition.version pi.start " ; | Query qry = jbpmContext.getSession().createQuery(q); | result = qry.list(); | This produces the following error: | 12:52:18,962 ERROR ErrorCounter : line 1:82: unexpected token: pi | 12:52:18,962 WARN HqlParser : processEqualityExpression() : No expression to process! | 12:52:18,962 ERROR Utility : unexpected token: pi near line 1, column 82 [from org.jbpm.graph.exe.ProcessInstance as pi | order by pi.processDefinition.name pi.processDefinition.version pi.start ] | Any suggestions? Thanx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959966#3959966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959966 From do-not-reply at jboss.com Fri Jul 21 13:04:55 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:04:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <5904733.1153501495707.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : If you already know my mistake, please kindly point it out rather than making this an exercise for the reader. And P.S. I do not know what mistake you made. I tried to helpfully point out that the exception in the log is not the one you need to find, because you need to find the real one in order to discover the real cause of the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959967#3959967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959967 From do-not-reply at jboss.com Fri Jul 21 13:10:12 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:10:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Patterns and Seam Message-ID: <25585789.1153501812326.JavaMail.jboss@colo-br-02.atl.jboss.com> Most of the traditional Java EE patterns are now obsolete. They were usually workarounds for limitations in the J2EE architecture. Well, this may be overstating a bit, for example, some people still like to use DAOs in EE 5, though to me it seems overkill. Seam actually starts to develop its whole own set of patterns (eg. manager component, the various search screen patterns, etc), but most of these are still only vaguely understood ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959968#3959968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959968 From do-not-reply at jboss.com Fri Jul 21 13:12:05 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 13:12:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <11059249.1153501925659.JavaMail.jboss@colo-br-02.atl.jboss.com> Either add some getters/setters to package or look up via #{packages} not #{package.packages}. If using #{packages} you'll probably also want to add a @Factory method somewhere to perform the inital construction of your DataModel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959970#3959970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959970 From do-not-reply at jboss.com Fri Jul 21 13:15:02 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:15:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Well, this is totally doable but .... why exactly is it that you want this? Is it because you want to see friendlier URLs in the link? I mean, you could just do: where the action method returns the view-id you are interested in.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959971#3959971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959971 From do-not-reply at jboss.com Fri Jul 21 13:17:43 2006 From: do-not-reply at jboss.com (kraptor) Date: Fri, 21 Jul 2006 13:17:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Put portlets on the right Message-ID: <16196941.1153502263182.JavaMail.jboss@colo-br-02.atl.jboss.com> By default each tab can have portlets on the left and center. Is there a way I can put the user portlet, weather portlet and news portlet on the right of the central portlet? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959972#3959972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959972 From do-not-reply at jboss.com Fri Jul 21 13:21:06 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:21:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <14074669.1153502466719.JavaMail.jboss@colo-br-02.atl.jboss.com> So this is something I hate about JSF validation. A JSF validator cannot be used to test nullability. You need to say Sucks, huh? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959974#3959974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959974 From do-not-reply at jboss.com Fri Jul 21 13:22:08 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 13:22:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <4241381.1153502528651.JavaMail.jboss@colo-br-02.atl.jboss.com> The docs say if you annotate the property you don't need getters and setters. ...from the manual... anonymous wrote : The next two annotations control bijection. These attributes occur on component instance variables or property accessor methods. | | @In I'll add G/S and see if that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959975#3959975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959975 From do-not-reply at jboss.com Fri Jul 21 13:22:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:22:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ClassCastException - problem with session timeout? Message-ID: <29867344.1153502560650.JavaMail.jboss@colo-br-02.atl.jboss.com> The timeout lengths are not a bug, but I agree that they could be "optimized" ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959976#3959976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959976 From do-not-reply at jboss.com Fri Jul 21 13:24:07 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 13:24:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <29144524.1153502647909.JavaMail.jboss@colo-br-02.atl.jboss.com> btw, i've already used the @DataModel and @Factory annotations and it all works great. i'm just exploring here to make sure i understand what it is i'm doing thanks. eric ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959977#3959977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959977 From do-not-reply at jboss.com Fri Jul 21 13:25:19 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:25:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <15375357.1153502719676.JavaMail.jboss@colo-br-02.atl.jboss.com> You don't need the getter/setter because you have outjected the list as "packages". Your mistake is that you use "#{package.packages}" as the EL expression instead of just "#{packages}". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959978#3959978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959978 From do-not-reply at jboss.com Fri Jul 21 13:27:15 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 13:27:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Drools domain specific language files in Seam Message-ID: <29736313.1153502835105.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess I need to enhance the Seam RuleBase component to allow you to pass in an ExpanderResolver :-) http://jira.jboss.com/jira/browse/JBSEAM-314 P.S. I'm glad you are finding this drools integration stuff useful :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959979#3959979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959979 From do-not-reply at jboss.com Fri Jul 21 13:31:42 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 13:31:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <27589466.1153503102840.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm a bit stuck here. Even the link you sent, shows me a broken resource area. Do I need some SVG plugin in browsers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959980#3959980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959980 From do-not-reply at jboss.com Fri Jul 21 13:32:17 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 13:32:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Injecting UserPrincipal Message-ID: <13797492.1153503137605.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to inject the UserPrincipal object and I get an exception instead. I've tried everything I know and I can't get this to work. Is this legal? here's the code | @In | public UserPrincipal userPrincipal; | | public UserPrincipal getUserPrincipal() { | return userPrincipal; | } | | | public void setUserPrincipal(UserPrincipal userPrincipal) { | this.userPrincipal = userPrincipal; | } | | here's the exception...warning...it's long... | 12:28:39,515 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | 12:28:39,515 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | 12:28:39,515 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 12:28:39,515 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | 12:28:39,515 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 12:28:39,515 ERROR [STDERR] at $Proxy722.init(Unknown Source) | 12:28:39,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,515 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1260) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,515 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | 12:28:39,515 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) | 12:28:39,515 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | 12:28:39,515 ERROR [STDERR] at javax.faces.component.UIData.getValue(UIData.java:779) | 12:28:39,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,515 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,515 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:277) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:133) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.writeDebugOutput(UIDebug.java:78) | 12:28:39,515 ERROR [STDERR] at com.sun.facelets.tag.ui.UIDebug.encodeBegin(UIDebug.java:67) | 12:28:39,531 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:555) | 12:28:39,531 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | 12:28:39,531 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) | 12:28:39,531 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | 12:28:39,531 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,531 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 12:28:39,531 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | 12:28:39,531 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 12:28:39,531 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 12:28:39,531 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 12:28:39,531 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 12:28:39,531 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 12:28:39,531 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 12:28:39,531 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 12:28:39,531 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1202) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.Component.injectMethods(Component.java:1011) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:794) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | 12:28:39,531 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | 12:28:39,531 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,531 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | 12:28:39,531 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,531 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | 12:28:39,531 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,531 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | 12:28:39,531 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,531 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | 12:28:39,531 ERROR [STDERR] ... 72 more | 12:28:39,531 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: argument type mismatch | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,531 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1198) | 12:28:39,531 ERROR [STDERR] ... 122 more | 12:28:39,609 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | 12:28:39,609 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | 12:28:39,609 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 12:28:39,609 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | 12:28:39,609 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 12:28:39,609 ERROR [STDERR] at $Proxy722.init(Unknown Source) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,609 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1260) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | 12:28:39,609 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) | 12:28:39,609 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | 12:28:39,609 ERROR [STDERR] at javax.faces.component.UIData.getValue(UIData.java:779) | 12:28:39,609 ERROR [STDERR] at javax.faces.component.UIData.createDataModel(UIData.java:545) | 12:28:39,609 ERROR [STDERR] at javax.faces.component.UIData.getDataModel(UIData.java:534) | 12:28:39,609 ERROR [STDERR] at javax.faces.component.UIData.getRowCount(UIData.java:103) | 12:28:39,609 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124) | 12:28:39,609 ERROR [STDERR] at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94) | 12:28:39,609 ERROR [STDERR] at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:557) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | 12:28:39,609 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) | 12:28:39,609 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | 12:28:39,609 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,609 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 12:28:39,609 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | 12:28:39,609 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 12:28:39,609 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 12:28:39,609 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 12:28:39,609 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 12:28:39,609 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 12:28:39,609 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 12:28:39,609 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 12:28:39,609 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1202) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.injectMethods(Component.java:1011) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:794) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,609 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,609 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,609 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,609 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,609 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,609 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,609 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,625 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | 12:28:39,625 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 12:28:39,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,625 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | 12:28:39,625 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | 12:28:39,625 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,625 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | 12:28:39,625 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,625 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | 12:28:39,625 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,625 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | 12:28:39,625 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,625 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | 12:28:39,625 ERROR [STDERR] ... 67 more | 12:28:39,625 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: argument type mismatch | 12:28:39,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,625 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,625 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,625 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,625 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,625 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1198) | 12:28:39,625 ERROR [STDERR] ... 117 more | 12:28:39,625 ERROR [STDERR] Jul 21, 2006 12:28:39 PM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/extract/index.xhtml] | javax.ejb.EJBException: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy722.init(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292) | at org.jboss.seam.Component.getInstance(Component.java:1260) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UIData.getValue(UIData.java:779) | at javax.faces.component.UIData.createDataModel(UIData.java:545) | at javax.faces.component.UIData.getDataModel(UIData.java:534) | at javax.faces.component.UIData.getRowCount(UIData.java:103) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:124) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:557) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | at org.jboss.seam.Component.setPropertyValue(Component.java:1202) | at org.jboss.seam.Component.injectMethods(Component.java:1011) | at org.jboss.seam.Component.inject(Component.java:794) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at | 12:28:39,625 ERROR [STDERR] 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 67 more | Caused by: java.lang.IllegalArgumentException: argument type mismatch | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.Component.setPropertyValue(Component.java:1198) | ... 117 more | 12:28:39,640 ERROR [STDERR] javax.ejb.EJBException: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | 12:28:39,640 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | 12:28:39,640 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | 12:28:39,640 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | 12:28:39,640 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | 12:28:39,640 ERROR [STDERR] at $Proxy722.init(Unknown Source) | 12:28:39,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.newInstance(Component.java:1312) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1263) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1292) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1260) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246) | 12:28:39,640 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | 12:28:39,640 ERROR [STDERR] at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:44) | 12:28:39,640 ERROR [STDERR] at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | 12:28:39,640 ERROR [STDERR] at javax.faces.component.UIData.getValue(UIData.java:779) | 12:28:39,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,640 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,640 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,640 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeAttributes(DevTools.java:240) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeStart(DevTools.java:277) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:189) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.writeComponent(DevTools.java:207) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.util.DevTools.debugHtml(DevTools.java:107) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.handleRenderException(FaceletViewHandler.java:529) | 12:28:39,640 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:501) | 12:28:39,640 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | 12:28:39,640 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,640 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | 12:28:39,640 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | 12:28:39,640 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | 12:28:39,640 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | 12:28:39,640 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | 12:28:39,640 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | 12:28:39,640 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | 12:28:39,640 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | 12:28:39,656 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 12:28:39,656 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: could not set property value: package.userPrincipal | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1202) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.Component.injectMethods(Component.java:1011) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.Component.inject(Component.java:794) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | 12:28:39,656 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | 12:28:39,656 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,656 ERROR [STDERR] at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | 12:28:39,656 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,656 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | 12:28:39,656 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,656 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | 12:28:39,656 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | 12:28:39,656 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | 12:28:39,656 ERROR [STDERR] ... 69 more | 12:28:39,656 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: argument type mismatch | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 12:28:39,656 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 12:28:39,656 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 12:28:39,656 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | 12:28:39,656 ERROR [STDERR] at org.jboss.seam.Component.setPropertyValue(Component.java:1198) | 12:28:39,656 ERROR [STDERR] ... 119 more | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959981#3959981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959981 From do-not-reply at jboss.com Fri Jul 21 13:35:09 2006 From: do-not-reply at jboss.com (scollins311) Date: Fri, 21 Jul 2006 13:35:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <747784.1153503309633.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, you'll probably need the adobe svg viewer. http://www.adobe.com/svg/viewer/install/main.html Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959982#3959982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959982 From do-not-reply at jboss.com Fri Jul 21 13:37:20 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 13:37:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <20523415.1153503440307.JavaMail.jboss@colo-br-02.atl.jboss.com> "jewhit" wrote : FYI - | | second *-object.xml file is of a portlet, not a portal. This doesnt make sense. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959984#3959984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959984 From do-not-reply at jboss.com Fri Jul 21 13:38:10 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 13:38:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <16931747.1153503491001.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok. Try constraining the portlet at the instance level. We are no longer supporting window-level security contraints. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959985#3959985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959985 From do-not-reply at jboss.com Fri Jul 21 13:43:23 2006 From: do-not-reply at jboss.com (dbatcn) Date: Fri, 21 Jul 2006 13:43:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <19544818.1153503803240.JavaMail.jboss@colo-br-02.atl.jboss.com> I found Justin's pointing out the lack of required annotations to be helpful and am following up on that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959986#3959986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959986 From do-not-reply at jboss.com Fri Jul 21 13:48:15 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 13:48:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <24105755.1153504095120.JavaMail.jboss@colo-br-02.atl.jboss.com> works just like you said. a few thoughts... so i can outject a property and reference the property directory. i thought i had to name the component with @Name and then outject the property. then i would reference as follows - component.property. however, by outjecting a property, i bypass the need to access the property via the component meaning i can just access the property directly. correct? i guess i'm a little unclear on the semantics of it all... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959987#3959987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959987 From do-not-reply at jboss.com Fri Jul 21 13:50:04 2006 From: do-not-reply at jboss.com (dbatcn) Date: Fri, 21 Jul 2006 13:50:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <7636584.1153504204339.JavaMail.jboss@colo-br-02.atl.jboss.com> I apologize for any implication that information about a known mistake may have been withheld. Mea culpa. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959988#3959988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959988 From do-not-reply at jboss.com Fri Jul 21 13:55:41 2006 From: do-not-reply at jboss.com (lduperval) Date: Fri, 21 Jul 2006 13:55:41 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss 3.2.5: Severe performance issues wih many concurrent u Message-ID: <17367819.1153504541042.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We have a severe performance issue. When our application has about 40-50 users logged in, performance becomes atrocious. Around that time, the system slows down to a crawl. A bit later, performance may pick up then slow down again. We haven't figured out what the issue is. CPU usage is not very high (15% CPU usage) but the system looks like it is locked up. Eventually, it starts responding again, behaviour goes back to normal but after a while, it bogs down again. We have tried changing the number of threads in the server.xml file for tomcat, but that doesn't seem to have helped any. This is what it is currently configured as: Is there a known practical limit (other than the memory) which could explain these performance issues? Or is there some configuration which I need to modify in order to increase performance with a large number of users? Thanks, L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959989#3959989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959989 From do-not-reply at jboss.com Fri Jul 21 13:59:19 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 13:59:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal Message-ID: <31357391.1153504759362.JavaMail.jboss@colo-br-02.atl.jboss.com> It's legal. From the exception it looks like the argument being passed to setUserPrincipal() isn't actually of type UserPrincipal. How is this method getting called? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959990#3959990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959990 From do-not-reply at jboss.com Fri Jul 21 14:00:36 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 14:00:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: can i do this... Message-ID: <2383809.1153504836300.JavaMail.jboss@colo-br-02.atl.jboss.com> Things that are not Seam components may be bound to Seam context variables. You just outject them. That is why @Out has a scope element. (You don't need to specify scope for components, of course.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959991#3959991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959991 From do-not-reply at jboss.com Fri Jul 21 14:03:38 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 14:03:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal Message-ID: <4712507.1153505018116.JavaMail.jboss@colo-br-02.atl.jboss.com> Right, use your debugger to find out what is the cause of the typecast failure. Perhaps you accidently imported org.jboss.seam.core.UserPrincipal class instead of java.security.Principal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959992#3959992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959992 From do-not-reply at jboss.com Fri Jul 21 14:03:43 2006 From: do-not-reply at jboss.com (cpob) Date: Fri, 21 Jul 2006 14:03:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Hibernate query to get all active instances Message-ID: <12178445.1153505023059.JavaMail.jboss@colo-br-02.atl.jboss.com> order by pi.processDefinition.name, pi.processDefinition.version, pi.start Try adding commas like above View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959993#3959993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959993 From do-not-reply at jboss.com Fri Jul 21 14:11:30 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 14:11:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Configuring jBPM runtime in gpd 3.0.11 Message-ID: <10987231.1153505490314.JavaMail.jboss@colo-br-02.atl.jboss.com> you cannot use jBPM 3.2 pre alpha (cvs-head) yet with gpd 3.0.11 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959994#3959994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959994 From do-not-reply at jboss.com Fri Jul 21 14:17:18 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 14:17:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <4968497.1153505838358.JavaMail.jboss@colo-br-02.atl.jboss.com> Now I'm realy FED UP.... and am going to use the F word. Search The Fucking Forum http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83223 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959995#3959995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959995 From do-not-reply at jboss.com Fri Jul 21 14:17:25 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 21 Jul 2006 14:17:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Injecting UserPrincipal Message-ID: <5549239.1153505845782.JavaMail.jboss@colo-br-02.atl.jboss.com> "DOH" ... I'll change my import statement. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959996#3959996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959996 From do-not-reply at jboss.com Fri Jul 21 14:22:08 2006 From: do-not-reply at jboss.com (alavoor) Date: Fri, 21 Jul 2006 14:22:08 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Hibernate example fails to compile Message-ID: <16243561.1153506128289.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded the example package of hibernate from http://caveatemptor.hibernate.org And when I tried to compile I get these errors in BankAccount.java file : The annotation @JoinColumn is disallowed for this location The attribute access is undefined for the annotation type Entity The code in the java file is: @Entity(access = AccessType.FIELD) @Table(name = "BANK_ACCOUNT") @JoinColumn(name = "BANK_ACCOUNT_ID") public class BankAccount extends BillingDetails { @Column(name = "BA_NUMBER", nullable = false, updatable = false) private String number; @Column(name = "BA_NAME", nullable = false, updatable = false) private String bankName; ...... snip--> } What is wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959997#3959997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959997 From do-not-reply at jboss.com Fri Jul 21 14:25:16 2006 From: do-not-reply at jboss.com (alavoor) Date: Fri, 21 Jul 2006 14:25:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Hibernate example fails to compile Message-ID: <4458513.1153506316653.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded the example package of hibernate from http://caveatemptor.hibernate.org And when I tried to compile I get these errors in BankAccount.java file : The annotation @JoinColumn is disallowed for this location The attribute access is undefined for the annotation type Entity The code in the java file is: @Entity(access = AccessType.FIELD) @Table(name = "BANK_ACCOUNT") @JoinColumn(name = "BANK_ACCOUNT_ID") public class BankAccount extends BillingDetails { @Column(name = "BA_NUMBER", nullable = false, updatable = false) private String number; @Column(name = "BA_NAME", nullable = false, updatable = false) private String bankName; ...... snip--> } What is wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959998#3959998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959998 From do-not-reply at jboss.com Fri Jul 21 14:33:56 2006 From: do-not-reply at jboss.com (cas7777) Date: Fri, 21 Jul 2006 14:33:56 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JSF and JBOSS Message-ID: <3773298.1153506836850.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to Make JBoss dos window memory size bigger......Need help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959999#3959999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959999 From do-not-reply at jboss.com Fri Jul 21 14:37:09 2006 From: do-not-reply at jboss.com (silva03) Date: Fri, 21 Jul 2006 14:37:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - became jboss4 in a WindowsXP service Message-ID: <2944948.1153507029804.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All i work with WindowsXP! I got a jboss4 and I'd like to became it in a WindowsXP service ? Is it possible? How can I do? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960000#3960000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960000 From do-not-reply at jboss.com Fri Jul 21 14:37:28 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Fri, 21 Jul 2006 14:37:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Self-referencing foreign keys Message-ID: <24062396.1153507048437.JavaMail.jboss@colo-br-02.atl.jboss.com> Last attempt. Anyone? ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960001#3960001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960001 From do-not-reply at jboss.com Fri Jul 21 14:43:09 2006 From: do-not-reply at jboss.com (adamw) Date: Fri, 21 Jul 2006 14:43:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Defining a POJO service through an XML descriptor Message-ID: <25983379.1153507389742.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm trying to define an EJB3 POJO service through an XML descriptor. And almost everything works, with the exception of the tag (I'm doing exactly as described in this tutorial: http://docs.jboss.org/ejb3/app-server/tutorial/service_deployment_descriptor/service.html. However, when I try to deploy, I get the following error message: | org.jboss.xb.binding.JBossXBException: Failed to parse source: cvc-complex-type.2.4.a: Invalid content was found starting with element 'object-name'. One of '{"http://java.sun.com/xml/ns/javaee":interceptor-stack, "http://java.sun.com/xml/ns/javaee":proxy-factory, "http://java.sun.com/xml/ns/javaee":ejb-ref, "http://java.sun.com/xml/ns/javaee":ejb-local-ref, "http://java.sun.com/xml/ns/javaee":security-identity, "http://java.sun.com/xml/ns/javaee":resource-ref, "http://java.sun.com/xml/ns/javaee":resource-env-ref, "http://java.sun.com/xml/ns/javaee":message-destination-ref, "http://java.sun.com/xml/ns/javaee":security-domain, "http://java.sun.com/xml/ns/javaee":method-attributes, "http://java.sun.com/xml/ns/javaee":depends, "http://java.sun.com/xml/ns/javaee":ignore-dependency, "http://java.sun.com/xml/ns/javaee":aop-domain-name}' is expected. @ *unknown*[15,26] | Should I replace the tag with something else? (the xml is correct according to the XSD) -- Cheers Ada View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960002#3960002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960002 From do-not-reply at jboss.com Fri Jul 21 14:44:37 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Fri, 21 Jul 2006 14:44:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Self-referencing foreign keys Message-ID: <9155757.1153507477787.JavaMail.jboss@colo-br-02.atl.jboss.com> the seam templates doesn't handle self referencing tables. They need to be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960003#3960003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960003 From do-not-reply at jboss.com Fri Jul 21 14:45:41 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 14:45:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Self-referencing foreign keys Message-ID: <17239047.1153507541693.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess no-one really understands your description of the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960004#3960004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960004 From do-not-reply at jboss.com Fri Jul 21 14:53:56 2006 From: do-not-reply at jboss.com (nagmca) Date: Fri, 21 Jul 2006 14:53:56 -0400 (EDT) Subject: [jboss-user] [JBossWS] - installation instructions Message-ID: <10397764.1153508036364.JavaMail.jboss@colo-br-02.atl.jboss.com> Guys, Can I get some documentation on installing Jbossws 1.0.1 with Jdk1.4.2_11 on Jboss4.0.4 app server? I already spent morethan one day to get it work but getting some weired exceptions . The exceptions includes throwing invalidnamespace exceptions..etc Any body can help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960005#3960005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960005 From do-not-reply at jboss.com Fri Jul 21 15:06:59 2006 From: do-not-reply at jboss.com (rpiaggio) Date: Fri, 21 Jul 2006 15:06:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Unexploded EAR won't redeploy even when touching application Message-ID: <2602610.1153508819585.JavaMail.jboss@colo-br-02.atl.jboss.com> Obviously I'm doing something wrong but I don't know what. I added a path in my workspace to the DeploymentScanner: | deploy/, | file:/D:/workspace/Myproject/deploy | Inside D:/workspace/Myproject/deploy I have the following structure: | Myproject-ear/ | META-INF/ | application.xml | Myproject-EJB.jar/ | ... | META-INF/ | ejb-jar.xml | persistence.xml | Myproject-Web.war/ | ... | WEB-INF/ | web.xml The application.xml references the other exploded packages: | | | Test | Myapplication | | | Myproject-EJB.jar | | | | | Myproject-Web.war | myapp | | | This deploys fine when JBoss (4.0.4.GA) is started. It also works if I make changes to the files. But if I want to force a redeploy, there's no way to do it. I tried touching applicacion.xml, ejb-jar.xml and web.xml but nothing happens. What am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960006#3960006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960006 From do-not-reply at jboss.com Fri Jul 21 15:22:40 2006 From: do-not-reply at jboss.com (michaelholtzman) Date: Fri, 21 Jul 2006 15:22:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Hibernate query to get all active instances Message-ID: <27151214.1153509760147.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, that did it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960007#3960007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960007 From do-not-reply at jboss.com Fri Jul 21 15:29:51 2006 From: do-not-reply at jboss.com (superfis) Date: Fri, 21 Jul 2006 15:29:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Yes, you are definitely right. With current functionality there is inevitible to create another method returns outcome string. My point of view should avoid this another method and created link should pointed directly to desired site url . And now something completely (not entirely) different... Using I notised that final url is incorrect but only when long-running conversation propagated exists in url; there is double "?" mark. My own case looks like this: "location.href='/cinema/wizardCinema.seam?actionMethod=wizardContainer.previousStepSite&conversationId=2?lrc=true'" Regards, Slawek ------------------------------------------------- * - lrc is long-running conversation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960008#3960008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960008 From do-not-reply at jboss.com Fri Jul 21 15:42:43 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Fri, 21 Jul 2006 15:42:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - dvd example - get process instance from order id question Message-ID: <18922827.1153510963840.JavaMail.jboss@colo-br-02.atl.jboss.com> In the dvd example a process instance is retrieved using an entity bean's id. Is jBPM aware of all entity beans or how is it aware that there is a process that has an orderId of x value? ProcessInstance pi = (ProcessInstance) context.getSession() | .createQuery("select pi from LongInstance si join si.processInstance pi " + | "where si.name = 'orderId' and si.value = :orderId") | .setLong( "orderId", order.getOrderId() ) | .uniqueResult(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960010#3960010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960010 From do-not-reply at jboss.com Fri Jul 21 15:43:32 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Fri, 21 Jul 2006 15:43:32 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: Accessing jBoss 4.0.4 with Java 1.3 client Message-ID: <1983612.1153511012276.JavaMail.jboss@colo-br-02.atl.jboss.com> Server side jdk requirements dictate the client side requirements as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960011#3960011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960011 From do-not-reply at jboss.com Fri Jul 21 15:51:11 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 15:51:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <29651100.1153511471311.JavaMail.jboss@colo-br-02.atl.jboss.com> Wish you guys had a better documentation!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960012#3960012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960012 From do-not-reply at jboss.com Fri Jul 21 15:54:30 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 15:54:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <18886451.1153511670961.JavaMail.jboss@colo-br-02.atl.jboss.com> Or some better FAQ or a wiki. The documentation is bare-bones, and it definitely needs technical attention! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960013#3960013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960013 From do-not-reply at jboss.com Fri Jul 21 15:57:28 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 15:57:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <10815731.1153511848525.JavaMail.jboss@colo-br-02.atl.jboss.com> And using foul language is no way to answer qs...You are under no obligation to answer the question!! More professionalism is expected from jboss than this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960014#3960014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960014 From do-not-reply at jboss.com Fri Jul 21 15:59:49 2006 From: do-not-reply at jboss.com (ssaikumar) Date: Fri, 21 Jul 2006 15:59:49 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: Unable to fill pool Message-ID: <13012457.1153511990024.JavaMail.jboss@colo-br-02.atl.jboss.com> Nanda, Did you ever got a chance to solve this problem. We were facing with similar kind of problem. appreciate the help!. Thanks, Sai View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960015#3960015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960015 From do-not-reply at jboss.com Fri Jul 21 16:23:38 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Fri, 21 Jul 2006 16:23:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - User Input Req for 2.6 Usability and UI enhancements Message-ID: <14309534.1153513418133.JavaMail.jboss@colo-br-02.atl.jboss.com> We're opening up this thread to the community and asking for input on what you would all like to see changed/added in the User-Interface, Usability, and Design aspects of JBoss Portal 2.6. Comments, suggestions, and creative ideas are all welcome! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960018#3960018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960018 From do-not-reply at jboss.com Fri Jul 21 16:29:47 2006 From: do-not-reply at jboss.com (hosierdm) Date: Fri, 21 Jul 2006 16:29:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <13690910.1153513787641.JavaMail.jboss@colo-br-02.atl.jboss.com> To be sure, I do not believe Ronald is a JBoss employee. He's just a hard working guy that donates his free time to helping people out with jBPM-related questions. I don't know if you read all the posts in this forum, but as a moderator type guy, I'm sure Ronald does. So I can imagine his frustration at seeing the same questions asked and answered over and over again when there is a perfectly functioning search feature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960019#3960019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960019 From do-not-reply at jboss.com Fri Jul 21 16:33:08 2006 From: do-not-reply at jboss.com (kraptor) Date: Fri, 21 Jul 2006 16:33:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Put portlets on the right Message-ID: <32043433.1153513988210.JavaMail.jboss@colo-br-02.atl.jboss.com> What can I do to the "unknown" navigation option, so that all the portlets listed under it are set to the right of the centered portlets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960020#3960020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960020 From do-not-reply at jboss.com Fri Jul 21 16:35:09 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 16:35:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <12445004.1153514109149.JavaMail.jboss@colo-br-02.atl.jboss.com> Whatever be the case : he may be a hard-working jboss employee or a diligent forum moderator , he has no business using foul language! I dont think it is professional or acceptable in either case. He could have just chosen not to ignore the post (just as many other posts are in the forum) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960021#3960021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960021 From do-not-reply at jboss.com Fri Jul 21 16:49:10 2006 From: do-not-reply at jboss.com (jedavie) Date: Fri, 21 Jul 2006 16:49:10 -0400 (EDT) Subject: [jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Exercise 5.1 problem using EntityManager Message-ID: <28284610.1153514950601.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am having problems with the Oreilly EJB3.0 workbook 3 exercise 5.1on pages 553-554. When I run client_1, cabin_1 is created in the database after calling createCabin() mathod. However, immeditaly after, I am returned null values when I attempt to find the next 2 instances of the cabin, cabin_2 and cabin_3 in the client program using dao.findCabin(pk). What would cause this? I can see the Cabin entry in the database, and the book states that I should be able to call them up out of the database at this point? Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960022#3960022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960022 From do-not-reply at jboss.com Fri Jul 21 16:53:58 2006 From: do-not-reply at jboss.com (iradix) Date: Fri, 21 Jul 2006 16:53:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Proper way to instantiate seam managed component Message-ID: <34395.1153515238608.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a SFSB that, when invoked by a JSF action, needs to delegate its' function to multiple other SFSB of the same type. I can't use the standard @In(create = true) annotation here because besides the fact that the delegates are stored in a List, I need a new unique instance for each one. What I've attempted to do is use the Component.newInstance() method, and although that does return an object of the correct type, that object does not appear to be intercepted correctly. Each of the delegates has a @Logger annotation yet the Log instance is always null. I even added @Intercept(InterceptionType.ALWAYS) but it has made no difference. This seems particular strange to me since I'd imagine all my SessionBeans would be intercepted due to the | | | * | org.jboss.seam.ejb.SeamInterceptor | | | statement in ejb-jar.xml. Am I making any glaring mistakes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960023#3960023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960023 From do-not-reply at jboss.com Fri Jul 21 16:57:57 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 16:57:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <7976172.1153515477979.JavaMail.jboss@colo-br-02.atl.jboss.com> Sometimes somthing just triggers you. This post did.... why? For this specific issue, which is not even a jBPM issue, but stemms from the fact that jBPM uses hibernate. So step one is that you are, technically, posting the question in the wrong forum. You could have known that if you did a little investigation. Chances are big you didn't. Secondly, it is just a warning, happening when you do a very common thing. So chances are big someone before you would have run into this before. They did, more than once. Thirdly, the web is not about documentation, it is about information. More than one source is available for this. The amount you can print out and read as a bool while enjoying a nice cocktail on a white sandy beach with beautiful women around you is low. Admitted. The amount you can find by using the searchfunctionality on the JBoss site, this forum or even google (do not tell me you never used google), is growing every minute by (amongst others) me answering questions in this forum So, just like I should be a good citizen, so should all the others. Read http://www.catb.org/~esr/faqs/smart-questions.html#answers[/url] and see how to interpret things. I've been nice before specifically on this item (read [url]http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944627#3944627 and all referencing urls in it. Peace, oh and remember.... Marc Loves you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960024#3960024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960024 From do-not-reply at jboss.com Fri Jul 21 17:05:49 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 17:05:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <20511374.1153515949983.JavaMail.jboss@colo-br-02.atl.jboss.com> You can give whatever reason/excuses you want for your inappropriate reply...but nothing really justifies it. This is a public forum, and one can post whatever one wants! You could also take a leaf out of your own book, and try to be a better citizen! Lets just close this thread, and lets not get too personal, impulsive or merely triggered in all future posts. And I still maintain that you DID NOT HAVE TO REPLY TO THE POST! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960025#3960025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960025 From do-not-reply at jboss.com Fri Jul 21 17:08:41 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 17:08:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <18819737.1153516121669.JavaMail.jboss@colo-br-02.atl.jboss.com> HOw do we receive these variables in the class? I am attempting to pass the initiator user to the class, to call the db. so I can test it like so System.out.println("Initiator is:"+initiator); Have looked around but found nothing in the docs or other yet. Thanks, James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960026#3960026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960026 From do-not-reply at jboss.com Fri Jul 21 17:10:03 2006 From: do-not-reply at jboss.com (jkoek) Date: Fri, 21 Jul 2006 17:10:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Injecting PortalObjectContainer into servlet Message-ID: <3840109.1153516203599.JavaMail.jboss@colo-br-02.atl.jboss.com> Version JBOSS 2.4 (latest) I want to use the PortalObjectContainer in a servlet. I have tried to retrieve it from a context but no luck. I want to use it to - create portals/pages based on username - update portal pages (add/remove/update windows) - store user specific settings per portlet. I'm already able to use the PortalObjectContainer from out of a portlet, but that means that the complete is updated everytime the user changes something. Because I'm using AJAX/JSON I want to minimize the updates as possible. Can anyone help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960027#3960027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960027 From do-not-reply at jboss.com Fri Jul 21 17:17:23 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 17:17:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <21145312.1153516643606.JavaMail.jboss@colo-br-02.atl.jboss.com> Come on James, you can do better than that. There is more info on this in the docs and the forum. The (wrong) assumption is that these are process variable names directly and will be filled by the engine. They aren't. If you have a variable in the actionhandler (not the process!!!) the variable is filled with the text within the tag (so the variable message in the actionhandler will get the value 'bla, bla, bla text') If you want it to 'indicate' a variable, use the value of the variable as the name of a process variable and use the normal means to get it (the context). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960028#3960028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960028 From do-not-reply at jboss.com Fri Jul 21 17:18:59 2006 From: do-not-reply at jboss.com (gurkanerdogdu) Date: Fri, 21 Jul 2006 17:18:59 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <4650724.1153516739772.JavaMail.jboss@colo-br-02.atl.jboss.com> "ben.wang at jboss.com" wrote : Gurkan, | | Do you know when 2.0beta is coming out? Or where can I download the plugin specifically? | | Ben, I did talk with Marshall and beta release is in the road and date is 4th August. "ben.wang at jboss.com" wrote : Gurkan, | Manik and I have been developing JBoss Cache 2.0 release now. The APIs have changed. And for PojoCache, the internal pojo mapping has new implementation as well. So we need to sync up on the Cache IDE part. Maybe 3 of us can get together online sometimes to chat then. | Sure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960029#3960029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960029 From do-not-reply at jboss.com Fri Jul 21 17:23:26 2006 From: do-not-reply at jboss.com (gurkanerdogdu) Date: Fri, 21 Jul 2006 17:23:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released Message-ID: <12884477.1153517006684.JavaMail.jboss@colo-br-02.atl.jboss.com> "simontemple" wrote : | Had a small problem because org.eclipse.ui.editors is missing from MANIFEST.MF | Yeap. But this plugin is come into play with *.wst. plugins with re-export dependency. So if you like to use plugin, build it from the feature plugin. Thanks for using cache ide. Gurkan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960030#3960030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960030 From do-not-reply at jboss.com Fri Jul 21 17:25:36 2006 From: do-not-reply at jboss.com (sudhakar_guntaka) Date: Fri, 21 Jul 2006 17:25:36 -0400 (EDT) Subject: [jboss-user] [JBossWS] - .Net Client with Jboss wssecurity-sign Message-ID: <20761343.1153517136225.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a wssecurity-sign webservice deployed in Jboss and we are trying to access it from .Net (by generating a .Net client). But we are not able to access wssecurity-sign webservice. Can anybody help how to access the wssecurity webservice in JBOSS with .Net client?? Thanks in advance. Thanks, Sudhakar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960031#3960031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960031 From do-not-reply at jboss.com Fri Jul 21 17:27:15 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 17:27:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Proper way to instantiate seam managed component Message-ID: <23793767.1153517235337.JavaMail.jboss@colo-br-02.atl.jboss.com> You should really use Component.getInstance(), not Component.newInstance(). Are you saying that when you do that, the Log does not get injected? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960032#3960032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960032 From do-not-reply at jboss.com Fri Jul 21 17:28:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 21 Jul 2006 17:28:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Please create issues in JIRA for each problem. TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960033#3960033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960033 From do-not-reply at jboss.com Fri Jul 21 17:31:05 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 17:31:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <19095182.1153517465894.JavaMail.jboss@colo-br-02.atl.jboss.com> I looked around, all I find is stuff like this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=82665 and Ch 10 about context variables... I understand that maybe I could pass a simple variable like this, but I need to get the swimlane user. Can I just directly ask for the swimlane initiator in some way? I have been searching the forums and the web, but it returns too many results for swimlane itself to make the searches useful... this was the post closest in relation to my issue. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960035#3960035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960035 From do-not-reply at jboss.com Fri Jul 21 17:34:47 2006 From: do-not-reply at jboss.com (newbie007) Date: Fri, 21 Jul 2006 17:34:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <25094666.1153517687377.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, 1 First of all, make sure you have jbpm schema created in your database (all jbpm tables). 2. Check the jbpm_id_user table to see if there are user exists. 3. Try to access the web app through the browser. Are you getting the login page with populated user dropdown? or page itself is not coming or page is coming but with no user in the drop down list box? 4. Check if hibernate is able to connect to your database or not (look at the console to see hibernate messages). Let me know if above steps help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960036#3960036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960036 From do-not-reply at jboss.com Fri Jul 21 17:37:54 2006 From: do-not-reply at jboss.com (iradix) Date: Fri, 21 Jul 2006 17:37:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Proper way to instantiate seam managed component Message-ID: <1869691.1153517874261.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : You should really use Component.getInstance(), not Component.newInstance(). The problem with getInstance() is after I create the first instance subsequent calls will retrieve the same instance from whatever context it was published to. I need seperate, unique instances of the same bean and from a quick look through the code newInstance() was the only way to accomplish that. anonymous wrote : | Are you saying that when you do that, the Log does not get injected? That's exactly what I'm saying, although after I changed the definition from @Logger private Log log To | private Log log = new LogImpl(ClassName.class) It started working even though it extends an abstract class that also uses Logger injection. In other words, the subclass seems to correctly recieve a Log instance but the superclass does not. Maybe it's a bug in Component where a Log is only injected into the first annotation along the class heirarchy? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960037#3960037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960037 From do-not-reply at jboss.com Fri Jul 21 17:39:08 2006 From: do-not-reply at jboss.com (free1000) Date: Fri, 21 Jul 2006 17:39:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <26217803.1153517948342.JavaMail.jboss@colo-br-02.atl.jboss.com> Apparently SVG support is now available natively in firefox (no need for the Adobe viewer). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960038#3960038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960038 From do-not-reply at jboss.com Fri Jul 21 17:43:54 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 17:43:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <18248413.1153518234081.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you see the contradiction here? anonymous wrote : This is a public forum, and one can post whatever one wants! Besides the fact that I have a different opinion, I choose to post whatever I wanted so. And no, I did not have to reply BUT YOU SHOULD HAVE THOUGHT AND SEARCHED BEFORE POSTING. Besides that. You give WAY to little information on your environment (another misdemeanour IMNSHO). So who started this 'inappropriate' stuff? And by referincing 'the' book again, which is btw not MY book but based on lots of earlier experiences by other people anonymous wrote : Remember: When that hacker tells you that you've screwed up, and (no matter how gruffly) tells you not to do it again, he's acting out of concern for (1) you and (2) his community. It would be much easier for him to ignore you and filter you out of his life. If you can't manage to be grateful, at least have a little dignity, don't whine, and don't expect to be treated like a fragile doll just because you're a newcomer with a theatrically hypersensitive soul and delusions of entitlement. | You only point to me... he, he, he, you, you, you.... where is the I? Oh here it is I DID give you the answer, right? So Therefor I DID have to reply. Oh and btw, how corteous to remain anonymous... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960039#3960039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960039 From do-not-reply at jboss.com Fri Jul 21 17:44:34 2006 From: do-not-reply at jboss.com (sudhakar_guntaka) Date: Fri, 21 Jul 2006 17:44:34 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: .Net Client with Jboss wssecurity-sign Message-ID: <22879676.1153518274651.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to mention. We are using JBOSS 4.0.4 GA AS and JbossWS 1.0.1 GA. I tested with a simple webservice deployed in Jboss and tried to access with .Net client. It is working fine. But it is not working for wssecurity sign. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960040#3960040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960040 From do-not-reply at jboss.com Fri Jul 21 17:44:45 2006 From: do-not-reply at jboss.com (free1000) Date: Fri, 21 Jul 2006 17:44:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - init requires call to super.init()? Message-ID: <2946277.1153518285598.JavaMail.jboss@colo-br-02.atl.jboss.com> I used the init method for the first time today and discovered that a null pointer exception was being generated by GenericPortlet trying to instantiate a null default resource bundle when my Portlet was being instantiated. I got around this by a call to super.init(PortalConfig config) in my own init body. Is this a JBoss Portal bug, or am I missing something out in my own code? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960041#3960041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960041 From do-not-reply at jboss.com Fri Jul 21 17:47:35 2006 From: do-not-reply at jboss.com (jbpm_new_user) Date: Fri, 21 Jul 2006 17:47:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <16309883.1153518455220.JavaMail.jboss@colo-br-02.atl.jboss.com> Whatever! You can go on as much as you like, trying to cover what YOU did... I guess I'll be the more decent "and better citizen" here and just chose to ignore all other posts in this thread, to bring an end to this! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960042#3960042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960042 From do-not-reply at jboss.com Fri Jul 21 17:53:34 2006 From: do-not-reply at jboss.com (hosierdm) Date: Fri, 21 Jul 2006 17:53:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <27180901.1153518814538.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : Search The Fucking Forum Hey...STFF...that's the new RTFM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960043#3960043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960043 From do-not-reply at jboss.com Fri Jul 21 17:54:47 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 17:54:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <22939201.1153518887700.JavaMail.jboss@colo-br-02.atl.jboss.com> James, one tip: the search in the forum is an OR so you should put an AND between it, or use the other radiobutton. Second tip: Look at the testcases. There are lots, and prove to be a valuable source of information (not documenation if you followed the 'other' thread ;-) You will find things like | ProcessInstance processInstance = new ProcessInstance(processDefinition); | processInstance.signal(); | | TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance(); | TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next(); | SwimlaneInstance stalker = taskMgmtInstance.getSwimlaneInstance("stalker"); | assertEquals("me", stalker.getActorId()); | assertEquals("me", changeNappy.getActorId()) | | The apidocs is also a valuable source of information View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960044#3960044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960044 From do-not-reply at jboss.com Fri Jul 21 17:56:30 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 21 Jul 2006 17:56:30 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss 3.2.5: Severe performance issues wih many concurre Message-ID: <23537411.1153518990123.JavaMail.jboss@colo-br-02.atl.jboss.com> You will want to take a thread dump of the app server to see what it is waiting on. See http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960045#3960045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960045 From do-not-reply at jboss.com Fri Jul 21 17:59:13 2006 From: do-not-reply at jboss.com (eschulma) Date: Fri, 21 Jul 2006 17:59:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Web console not present in 4.0.4 ejb3 clustered installation Message-ID: <23225546.1153519153437.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been running JBoss for the last few weeks and am quite happy with it. In digging into the management tools further I have run into the following: I cannot see any web-console sars, wars, directories, or files anywhere in this installation. jmx-console and Tomcat status are working fine. I have read the Wikis and none of the web console installations mentioned there are present. I would like to use this feature, if it is still available. Any assistance would be welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960046#3960046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960046 From do-not-reply at jboss.com Fri Jul 21 17:59:19 2006 From: do-not-reply at jboss.com (falazar) Date: Fri, 21 Jul 2006 17:59:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <702506.1153519159593.JavaMail.jboss@colo-br-02.atl.jboss.com> Just found it under the Swimlanetest right before I read this, thanks, Yeah I keep forgetting the "and" option and getting way too many results... James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960047#3960047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960047 From do-not-reply at jboss.com Fri Jul 21 17:59:32 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 17:59:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <12266604.1153519172386.JavaMail.jboss@colo-br-02.atl.jboss.com> ccelgun, You did find the right forum, but I do think you should post a stacktrace from the server log (as mentioned in other very similar posts) In many cases there is more info in there and the cause can be very different. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960048#3960048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960048 From do-not-reply at jboss.com Fri Jul 21 17:59:36 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 17:59:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <1122176.1153519176910.JavaMail.jboss@colo-br-02.atl.jboss.com> ccelgun, You did find the right forum, but I do think you should post a stacktrace from the server log (as mentioned in other very similar posts) In many cases there is more info in there and the cause can be very different. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960049#3960049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960049 From do-not-reply at jboss.com Fri Jul 21 18:00:24 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 18:00:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Inputting context variables to actions Message-ID: <20999519.1153519224408.JavaMail.jboss@colo-br-02.atl.jboss.com> :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960050#3960050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960050 From do-not-reply at jboss.com Fri Jul 21 18:02:40 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 21 Jul 2006 18:02:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: became jboss4 in a WindowsXP service Message-ID: <32880002.1153519360564.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960051#3960051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960051 From do-not-reply at jboss.com Fri Jul 21 18:27:47 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 21 Jul 2006 18:27:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.hibernate.engine.StatefulPersistenceContext.ProxyWar Message-ID: <11705020.1153520867044.JavaMail.jboss@colo-br-02.atl.jboss.com> Lucky me... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960052#3960052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960052 From do-not-reply at jboss.com Fri Jul 21 18:31:08 2006 From: do-not-reply at jboss.com (eschulma) Date: Fri, 21 Jul 2006 18:31:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Web console not present in 4.0.4 ejb3 clustered installa Message-ID: <9175338.1153521068741.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, it isn't installed by default; I ran the "all" installation and was able to copy over the necessary files from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960053#3960053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960053 From do-not-reply at jboss.com Fri Jul 21 18:37:36 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Fri, 21 Jul 2006 18:37:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Web console not present in 4.0.4 ejb3 clustered installa Message-ID: <9877248.1153521456297.JavaMail.jboss@colo-br-02.atl.jboss.com> A couple of users have recently reported this issue. It's going to be addressed in the next installer drop. http://jira.jboss.com/jira/browse/JBINSTALL-44. thanks, Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960054#3960054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960054 From do-not-reply at jboss.com Fri Jul 21 18:43:09 2006 From: do-not-reply at jboss.com (js8523) Date: Fri, 21 Jul 2006 18:43:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - JSF EL Resolver and Security ACL Issues Message-ID: <29296114.1153521789528.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear All Context: I am trying to create a user, role, where each role can have any combination of a predefined set of privileges (viewCustomers, viewReservations, cancelReservation, etc), these privileges are given to the role at runtime. Problem: I am trying to use this privilege system to limit what is visible on my web app. What I would like to do is I have seen that Gavin has set up something similar ish with isUserInRole, but this only accesses the servlet context, not any seam specific context (I would like to inject #{currentUser} into my JSF EL handler to get the current user principal and check that this user has the correct privileges (which is slightly more fine grained than the users role). I have seen Jacob Hookum's post http://weblogs.java.net/blog/jhook/archive/2006/03/the_unified_el.html but I cannot see how to plug a Custom EL Resolver into Seam context, or if it is possible to write such a custom EL resolver. If anybody has any ideas please could they share them, many thanks, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960055#3960055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960055 From do-not-reply at jboss.com Fri Jul 21 18:50:07 2006 From: do-not-reply at jboss.com (cmuth) Date: Fri, 21 Jul 2006 18:50:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - SeamNavigationHandler is no javax.faces.application.Navigati Message-ID: <5415035.1153522207435.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Folks, sorry for posting such a noobie issue, but i'm beginning to pull my hair out... i copied the jboss seam booking example as skeleton for my new application - the booking example unmodified works as it should, but my loanmarket application does not initialize properly. :-( could you guys please have a look at my application files and tell me what the hell i am doing wrong? i dont see it :-( Any help is greatly appreciated - thanks a lot in advance! Stacktrace: | 22:38:21,731 INFO [EJB3Deployer:450] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-ejb.jar | 22:38:21,738 INFO [TomcatDeployer:126] deploy, ctxPath=/loanmarket, warUrl=.../tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/ | 22:38:21,956 INFO [FacesConfigurator:94] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 22:38:21,984 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 22:38:21,990 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 22:38:21,996 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam.jar!/META-INF/faces-config.xml | 22:38:22,006 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 22:38:22,025 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 22:38:22,069 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 22:38:22,364 INFO [FacesConfigurator:94] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 22:38:22,370 INFO [FacesConfigurator:94] Reading config /WEB-INF/faces-config.xml | 22:38:22,778 ERROR [StartupServletContextListener:119] Error initializing ServletContext | java.lang.IllegalArgumentException: Class org.jboss.seam.jsf.SeamNavigationHandler is no javax.faces.application.NavigationHandler | at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:536) | at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:458) | at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141) | at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66) | at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | Okay, here we go... ___________________________________ EAR structure: | |-- META-INF | | |-- MANIFEST.MF | | |-- application.xml | | `-- jboss-app.xml | |-- jboss-seam.jar | |-- loanmarket-ejb.jar | `-- loanmarket.war | loanmarket-ejb.jar structure: | |-- META-INF | | |-- MANIFEST.MF | | |-- ejb-jar.xml | | `-- persistence.xml | |-- import.sql | |-- org | | `-- jboss | | `-- seam | | `-- example | | `-- booking | | |-- Booking.class | | |-- BookingList.class | ...snip.... | and loanmarket.war structure: | |-- META-INF | | `-- MANIFEST.MF | |-- WEB-INF | | |-- classes | | |-- components.xml | | |-- faces-config.xml | | |-- lib | | | |-- el-api.jar | | | |-- el-ri.jar | | | |-- jboss-seam-debug.jar | | | |-- jboss-seam-ui.jar | | | |-- jsf-facelets.jar | | | |-- myfaces-api-1.1.3.jar | | | `-- myfaces-impl-1.1.3.jar | | |-- pages.xml | | `-- web.xml | |-- book.xhtml | |-- confirm.xhtml | |-- conversations.xhtml | ...snip... | my application.xml: | | Loan Market | | | loanmarket.war | /loanmarket | | | | loanmarket-ejb.jar | | | jboss-seam.jar | | | jboss-app.xml: | | | seam.jboss.org:loader=loanmarket | | | ejb-jar: | | | | * | org.jboss.seam.ejb.SeamInterceptor | | | | seam.properties are empty?! WEB-INF/components.xml: | | | true | true | #{ejbName}/local | | | | 120000 | | | | WEB-INF/faces-config: | | | | | | | | | | | login | /home.xhtml | | | | | | | register | /register.xhtml | | | | | | | password | /password.xhtml | | | | | | | main | /main.xhtml | | | | | | | | | hotel | | /hotel.xhtml | | | | | | | | | | | | | | | /hotel.xhtml | | | | book | /book.xhtml | | | | | | | | | | | | | /book.xhtml | | | | confirm | /confirm.xhtml | | | | | | | | | | | | | /confirm.xhtml | | | | confirmed | /main.xhtml | | | | | | | back | /book.xhtml | | | | | | | | | | | | | | | com.sun.facelets.FaceletViewHandler | | | | | | | | | | org.jboss.seam.jsf.SeamPhaseListener | | | | | | web.xml: | | | | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | | | | | Seam Redirect Filter | | org.jboss.seam.servlet.SeamRedirectFilter | | | | | | | | Seam Redirect Filter | | *.seam | | | | | | | | | | | javax.faces.STATE_SAVING_METHOD | client | | | | | | | javax.faces.DEFAULT_SUFFIX | | .xhtml | | | | | | | facelets.DEVELOPMENT | | true | | | | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | | | Faces Servlet | *.seam | | | | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960056#3960056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960056 From do-not-reply at jboss.com Fri Jul 21 18:58:09 2006 From: do-not-reply at jboss.com (cmuth) Date: Fri, 21 Jul 2006 18:58:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <15540835.1153522689593.JavaMail.jboss@colo-br-02.atl.jboss.com> by the way, after the stacktrace, seam is continuing to initialize and the ear gets deployed: | ...snip... | 22:38:22,860 ERROR [STDERR:152] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | 22:38:22,861 ERROR [STDERR:152] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | 22:38:22,861 ERROR [STDERR:152] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | 22:38:22,862 INFO [StartupServletContextListener:94] ServletContext '/opt/jboss/server/default/./tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-exp.war/' initialized. | 22:38:22,863 INFO [ServletContextListener:94] Welcome to Seam 1.0.1.GA | 22:38:22,870 INFO [Initialization:94] reading components.xml | 22:38:22,876 INFO [Initialization:94] reading properties from: /seam.properties | 22:38:22,878 INFO [Initialization:94] reading properties from: /jndi.properties | 22:38:22,882 INFO [Initialization:94] initializing Seam | 22:38:22,911 INFO [Component:94] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 22:38:22,928 INFO [Component:94] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | 22:38:22,938 INFO [Component:94] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | 22:38:22,945 INFO [Component:94] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | 22:38:22,960 INFO [Component:94] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | 22:38:22,966 INFO [Component:94] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | 22:38:22,971 INFO [Component:94] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | 22:38:22,978 INFO [Component:94] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | 22:38:22,984 INFO [Component:94] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | 22:38:22,989 INFO [Component:94] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | 22:38:22,998 INFO [Component:94] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | 22:38:23,007 INFO [Component:94] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | 22:38:23,012 INFO [Component:94] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | 22:38:23,016 INFO [Component:94] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | 22:38:23,020 INFO [Component:94] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | 22:38:23,041 INFO [Component:94] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | 22:38:23,049 INFO [Component:94] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext | 22:38:23,054 INFO [Component:94] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | 22:38:23,058 INFO [Component:94] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | 22:38:23,063 INFO [Component:94] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | 22:38:23,067 INFO [Component:94] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | 22:38:23,071 INFO [Component:94] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | 22:38:23,076 INFO [Component:94] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | 22:38:23,080 INFO [Component:94] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | 22:38:23,088 INFO [Component:94] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | 22:38:23,094 INFO [Component:94] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | 22:38:23,101 INFO [Component:94] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | 22:38:23,106 INFO [Component:94] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.Subsc | 22:38:23,113 INFO [Component:94] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache | 22:38:23,116 INFO [Component:94] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector | 22:38:23,156 INFO [Component:94] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts | 22:38:23,167 INFO [Scanner:94] scanning: /opt/jboss/server/default/tmp/deploy/tmp37477loanmarket.ear-contents/loanmarket-ejb.jar | 22:38:23,194 INFO [Component:94] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User | 22:38:23,197 INFO [Component:94] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: HotelBookin | 22:38:23,203 INFO [Component:94] Component: hotelSearch, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: HotelSearchingA | 22:38:23,215 INFO [Component:94] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking | 22:38:23,247 INFO [Component:94] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel | 22:38:23,250 INFO [Component:94] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: LoginAction/local | 22:38:23,276 INFO [Component:94] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: ChangePassword | 22:38:23,278 INFO [Component:94] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: BookingListAction/ | 22:38:23,449 INFO [Component:94] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: LogoutAction/local | 22:38:23,451 INFO [Component:94] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: RegisterAction/local | 22:38:23,456 INFO [Initialization:94] done initializing Seam | 22:38:23,494 INFO [EARDeployer:318] Started J2EE application: file:/opt/jboss/server/default/deploy/loanmarket.ear | but if i then invoke the app via http://localhost:8080/loanmarket, i get: | 22:56:33,532 WARN [RenderKitFactoryImpl:104] Unknown RenderKit 'HTML_BASIC'. | 22:56:33,533 ERROR [[Faces Servlet]:119] Servlet.service() for servlet Faces Servlet threw exception | java.lang.NullPointerException | at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:240) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | | this will most likely be a follow-up issue, just for completeness... Thanks for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960057#3960057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960057 From do-not-reply at jboss.com Fri Jul 21 19:03:19 2006 From: do-not-reply at jboss.com (ayampols) Date: Fri, 21 Jul 2006 19:03:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TransactionManager Name not bound? Message-ID: <4675355.1153522999177.JavaMail.jboss@colo-br-02.atl.jboss.com> I am seeing the same thing on all environments (Windows and Linux). I am seeing this on fresh installations, performed with the following command: java -jar jboss-4.0.4.GA-Patch1-installer.jar -installGroup ejb3-cluster I have made no modifications or deployed any applications. I am using JDK 1.5.0_06. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960058#3960058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960058 From do-not-reply at jboss.com Fri Jul 21 19:07:45 2006 From: do-not-reply at jboss.com (js8523) Date: Fri, 21 Jul 2006 19:07:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <5543949.1153523266002.JavaMail.jboss@colo-br-02.atl.jboss.com> A few quick observations Take myfaces out of your web-inf/lib folder and place them into jboss/server/default/deploy/jbossweb-tomacat55.sar/jsf-libs as jboss can get confused by multiple versions of myfaces. Also in your components.xml file myFacesLifecycle bug should be set to false if you are using myfaces 1.1.3. Hope this helps you along your way. Thanks, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960059#3960059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960059 From do-not-reply at jboss.com Fri Jul 21 19:42:22 2006 From: do-not-reply at jboss.com (gkestor) Date: Fri, 21 Jul 2006 19:42:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <3668060.1153525342715.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to thank everyone for their attention.It was really helpfull to understand the environment. Before going on to my question, i must tell that ccelgun was a friend of mine that wrote the questions for me as i was unable to connect to internet for some time.I am the one that deals with the project. @falazar (James) thank you for your attention.Your suggestion was great but i have to implement the project with something like jBPM.It's the way i was asked. By "something like jBPM" actually I mean "graphical business process management software tools". I know that this is jBPM forum, but do you have any advices or experiences with different tools? Or any other tools exist working on JBoss environment? As the last word, graphical business process management software tool is a must in my project. Also i have to use a combobox anyway..But i haven't met any so far. I have spent days examining and understanding jBPM. I haven't really thought that i have to throw those days' work away because of a combobox. Thanks for your great help..I'm looking forward to any replies.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960060#3960060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960060 From do-not-reply at jboss.com Fri Jul 21 19:55:42 2006 From: do-not-reply at jboss.com (gkestor) Date: Fri, 21 Jul 2006 19:55:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <10909199.1153526142750.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks everyone for your attention.It was really helpfull. Before going on, i must tell that ccelgun was a friend of mine that wrote the questions for me as i was unable to connect to internet for some time.I'm the one that deals with the project. @newbie007 thank you for your great help.I'll try the things you said step by step.Will report back the results.As it's really late here, i'm not able to try now although i'm really curious about it. @kukeltje thank you for your attention.It'll be my first job if problem still continues after applying @newbie007 's steps. Thanks again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960061#3960061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960061 From do-not-reply at jboss.com Fri Jul 21 20:03:55 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 20:03:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <20018911.1153526635594.JavaMail.jboss@colo-br-02.atl.jboss.com> Remove the myfaces-api-1.1.3.jar from your war. This jar supplies the JSF api interfaces. These interfaces are already supplied by the server. You can then override the implementation of these interfaces by including the myfaces-impl jar (like you do) or some other provider. Although a previous post recommends replacing the version of myfaces that ships with JBoss, this shouldn't be necessary. Overriding the implementation works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960062#3960062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960062 From do-not-reply at jboss.com Fri Jul 21 20:11:56 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 20:11:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JSF EL Resolver and Security ACL Issues Message-ID: <21075458.1153527116557.JavaMail.jboss@colo-br-02.atl.jboss.com> In addition to isUserInRole, Seam also provides access to the Principal. See userPrincipal http://docs.jboss.com/seam/latest/reference/en/html/components.html#d0e6626 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960063#3960063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960063 From do-not-reply at jboss.com Fri Jul 21 20:16:10 2006 From: do-not-reply at jboss.com (dbatcn) Date: Fri, 21 Jul 2006 20:16:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: how to configure a session bean managing entity beans wi Message-ID: <24520899.1153527370807.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems to be running much better now. A word to the wise to people who might encounter the same problem: note that the manual says to change the annotation on your entity manager from @PersistenceContext to @In(create=true) when using Seam-managed transactions and don't forget to change them all, taking care that their names match. The magic of bijection takes a little getting used to. :-) Thank you to Gavin and Justin for their assistance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960064#3960064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960064 From do-not-reply at jboss.com Fri Jul 21 20:25:45 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 21 Jul 2006 20:25:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Proper way to instantiate seam managed component Message-ID: <24205137.1153527945846.JavaMail.jboss@colo-br-02.atl.jboss.com> So you want to be able to manually create a list of new uniquely isolated SFSBs on each call to your JSF action? This sounds like a bad thing. What is your use case? In any case, see if adding @Intercept(InterceptionType.ALWAYS) to your component definitions help. I have a feeling that you're missing out on the normal invoke_application injection when you create your components via Component.newInstance(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960065#3960065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960065 From do-not-reply at jboss.com Fri Jul 21 20:59:56 2006 From: do-not-reply at jboss.com (tazo) Date: Fri, 21 Jul 2006 20:59:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - JBoss without EJB container? Message-ID: <28263787.1153529996372.JavaMail.jboss@colo-br-02.atl.jboss.com> My company is developing web project there all business logic will be delegated to web services. In such scenario web tier don't need services provided by j2ee containers. I found what Seam examples and documentation demonstrate only data oriented solutions. Yes, we can always use JBoss Embeddable EJB container, but i would like to know if it is possible to use all features of Seam without EJB? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960066#3960066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960066 From do-not-reply at jboss.com Fri Jul 21 21:03:03 2006 From: do-not-reply at jboss.com (tazo) Date: Fri, 21 Jul 2006 21:03:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss without EJB container? Message-ID: <15182076.1153530183908.JavaMail.jboss@colo-br-02.atl.jboss.com> Oops, topic must be "JBoss Seam without EJB container". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960068#3960068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960068 From do-not-reply at jboss.com Fri Jul 21 21:22:01 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Fri, 21 Jul 2006 21:22:01 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <28771256.1153531321101.JavaMail.jboss@colo-br-02.atl.jboss.com> No, i finally got it. You were right, it was an old jar hidden in the JBOSS/server/default/lib that somehow was taking precedence. I deleted it and it seems to be working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960069#3960069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960069 From do-not-reply at jboss.com Fri Jul 21 21:22:18 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Fri, 21 Jul 2006 21:22:18 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <5415657.1153531338489.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, and thanks for the patience on that one ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960070#3960070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960070 From do-not-reply at jboss.com Fri Jul 21 21:22:49 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Fri, 21 Jul 2006 21:22:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Common classes deployed in a .jar Message-ID: <24886425.1153531369581.JavaMail.jboss@colo-br-02.atl.jboss.com> When you say you deploy both .war and .jar where do you put .jar? Oleg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960071#3960071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960071 From do-not-reply at jboss.com Fri Jul 21 21:28:50 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Fri, 21 Jul 2006 21:28:50 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Best practices question Message-ID: <5984274.1153531730840.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the following requirements: A small number of producers that generate around 500 messages a second combined. Each message produced will have an int property of 0 -499. (i.e. 500 different property values). Along with this I also have a large number of consumers, basically one for each unique property value. I see two scenarios: 1) Several destinations, each one accepting messages for a subset of the possible property values (i.e. destination-1 would hold all messages with values 0-9< destination 2 would have 10-19, etc) and have the consumers listen to the appropriate destination and use a message selector. 2) Create 500 destinations with each consumer listening to the correct destination. My question is this: Which one would be the best way to go and why? Or is there a better way I'm not thinking of? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960072#3960072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960072 From do-not-reply at jboss.com Fri Jul 21 21:43:32 2006 From: do-not-reply at jboss.com (seemap) Date: Fri, 21 Jul 2006 21:43:32 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <27354019.1153532612684.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks my jboss.xml error has solved . Now I got ejb-jar.xml error . As I said I have copied this example from book those are using old version, I think that's why I got this error. The error is C:\jboss-4.0.4\jboss-4.0.4.GA\bin>set JAVA_HOME = c:\j2sdk1.4.2_10 =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.4\jboss-4.0.4.GA\bin\\.. . JAVA: C:\j2sdk1.4.2_10\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: C:\j2sdk1.4.2_10\lib\tools.jar;C:\jboss-4.0.4\jboss-4.0.4.GA\bin\\r un.jar . =============================================================================== . 09:40:33,968 INFO [Server] Starting JBoss (MX MicroKernel)... 09:40:33,968 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo ss_4_0_4_GA date=200605151000) 09:40:33,984 INFO [Server] Home Dir: C:\jboss-4.0.4\jboss-4.0.4.GA 09:40:33,984 INFO [Server] Home URL: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/ 09:40:33,984 INFO [Server] Patch URL: null 09:40:33,984 INFO [Server] Server Name: default 09:40:33,984 INFO [Server] Server Home Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\serve r\default 09:40:33,984 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4/jboss-4.0.4.GA /server/default/ 09:40:33,984 INFO [Server] Server Log Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\server \default\log 09:40:33,984 INFO [Server] Server Temp Dir: C:\jboss-4.0.4\jboss-4.0.4.GA\serve r\default\tmp 09:40:34,000 INFO [Server] Root Deployment Filename: jboss-service.xml 09:40:34,937 INFO [ServerInfo] Java version: 1.4.2_10,Sun Microsystems Inc. 09:40:34,937 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_10-b03 ,Sun Microsystems Inc. 09:40:34,937 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 09:40:36,265 INFO [Server] Core system initialized 09:40:42,031 INFO [WebService] Using RMI server codebase: http://xyz-ilsy4a436z f:8083/ 09:40:42,078 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:log4j.xml 09:40:42,828 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0. 0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jbos s.net.sockets.DefaultSocketFactory 09:40:52,015 INFO [Embedded] Catalina naming disabled 09:40:52,156 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:40:52,171 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:40:52,953 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0 .0.0-8080 09:40:52,953 INFO [Catalina] Initialization processed in 782 ms 09:40:52,953 INFO [StandardService] Starting service jboss.web 09:40:52,968 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.1 7 09:40:53,078 INFO [StandardHost] XML validation disabled 09:40:53,156 INFO [Catalina] Server startup in 203 ms 09:40:53,453 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/ http-invoker.sar/invoker.war/ 09:40:54,265 INFO [WebappLoader] Dual registration of jndi stream handler: fact ory already defined 09:40:55,718 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe b-tomcat55.sar/ROOT.war/ 09:40:57,453 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep loy/tmp54952jbossws-exp.war/ 09:40:57,984 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDi spatcher 09:40:58,453 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../ deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 09:41:02,906 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep loy/management/console-mgr.sar/web-console.war/ 09:41:05,140 INFO [MailService] Mail Service bound to java:/Mail 09:41:05,656 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-ha-local-jdbc.rar 09:41:05,812 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-ha-xa-jdbc.rar 09:41:05,968 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-local-jdbc.rar 09:41:06,109 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jboss-xa-jdbc.rar 09:41:06,312 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/jms/jms-ra.rar 09:41:06,468 INFO [RARDeployment] Required license terms exist, view META-INF/r a.xml in .../deploy/mail-ra.rar 09:41:08,515 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:name=DefaultDS,service=DataSourceBinding' to JNDI name 'java:DefaultDS' 09:41:09,156 INFO [A] Bound to JNDI name: queue/A 09:41:09,156 INFO [B] Bound to JNDI name: queue/B 09:41:09,156 INFO [C] Bound to JNDI name: queue/C 09:41:09,171 INFO [D] Bound to JNDI name: queue/D 09:41:09,171 INFO [ex] Bound to JNDI name: queue/ex 09:41:09,218 INFO [testTopic] Bound to JNDI name: topic/testTopic 09:41:09,234 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 09:41:09,234 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 09:41:09,250 INFO [testQueue] Bound to JNDI name: queue/testQueue 09:41:09,406 INFO [UILServerILService] JBossMQ UIL service available at : /0.0. 0.0:8093 09:41:09,500 INFO [DLQ] Bound to JNDI name: queue/DLQ 09:41:09,890 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb oss.jca:name=JmsXA,service=ConnectionFactoryBinding' to JNDI name 'java:JmsXA' 09:41:09,984 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4. 0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon.jar org.jboss.deployment.DeploymentException: Unknown PUBLIC id in ejb-jar.xml: -//S un Microsystems, Inc.//DTD Enterprise Javabeans 2.0//EN at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMet aData.java:365) at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541) 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:324) 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.system.InterceptorServiceMBeanSupport.invokeNext(Intercepto rServiceMBeanSupport.java:238) at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java :99) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce ptor.java:91) 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 $Proxy26.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:324) 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:464) at java.lang.Thread.run(Thread.java:534) 09:41:10,187 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep loy/jmx-console.war/ 09:41:10,796 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 4c050b2b { url=file:/C:/jboss-4.0.4/jboss-4. 0.4.GA/server/default/deploy/day05_Signon.jar } deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer] status: Deployment FAILED reason: Unknown PUBLIC id in ejb-jar.xml: -//Sun Mic rosystems, Inc.//DTD Enterprise Javabeans 2.0//EN state: FAILED watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon. jar altDD: null lastDeployed: 1153586469937 lastModified: 1153586469906 mbeans: 09:41:11,093 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0 -8080 09:41:11,343 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 09:41:11,468 INFO [JkMain] Jk running ID=0 time=0/172 config=null 09:41:11,484 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos s_4_0_4_GA date=200605151000)] Started in 37s:484ms Can u suggest me what is valid public id in ejb-jar.xml file ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960073#3960073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960073 From do-not-reply at jboss.com Fri Jul 21 22:11:29 2006 From: do-not-reply at jboss.com (ddunkin) Date: Fri, 21 Jul 2006 22:11:29 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Applying security aspects using metadata-aop.xml Message-ID: <16321406.1153534289057.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to use the security aspects from the aspect library to put permission checks on a web service. I'm using the annotationc ant task to compile the annotations to xml, which get deployed with my web service. I stepped through with the debugger and it looks like the method level Permissions annotations are working, but the SecurityDomain annotation isn't. I get to this line of AuthenticationInterceptorFactory: SecurityDomain domain = (SecurityDomain) advisor.resolveAnnotation(SecurityDomain.class); but then it fails because the domain is null (the annotation isn't there). The ClassAdvisor for my class shows all the right classMetaData but doesn't have any annotations. Is that how it's supposed to work? If so, can the security aspects be used in this manner or do I have to precompile the annotations into the bytecode? I'm running JBoss 4.0.3SP1 w/ the stock jboss-aop (1.3.4 I think) on JDK 1.4. I've enabled transformation on the jboss-aop deployer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960074#3960074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960074 From do-not-reply at jboss.com Fri Jul 21 22:16:22 2006 From: do-not-reply at jboss.com (adamw) Date: Fri, 21 Jul 2006 22:16:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Common classes deployed in a .jar Message-ID: <6881192.1153534582780.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I put them both in the deploy directory. -- Cheers, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960075#3960075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960075 From do-not-reply at jboss.com Fri Jul 21 22:36:23 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Fri, 21 Jul 2006 22:36:23 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size Message-ID: <626791.1153535783845.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes you should do it in persistance.xml Try this: | | | . . . . . . . . | | | . . . . . . . | | . . . . . . . . | | | Regards Oleg Zhurakousky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960076#3960076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960076 From do-not-reply at jboss.com Fri Jul 21 22:52:30 2006 From: do-not-reply at jboss.com (genman) Date: Fri, 21 Jul 2006 22:52:30 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Messages are delivered to JMS Clients Non uniformly - Jb Message-ID: <16829604.1153536750976.JavaMail.jboss@colo-br-02.atl.jboss.com> You can write your own code; but JBoss provides a couple of implementations you can use. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960077#3960077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960077 From do-not-reply at jboss.com Fri Jul 21 22:58:29 2006 From: do-not-reply at jboss.com (genman) Date: Fri, 21 Jul 2006 22:58:29 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <22448411.1153537109926.JavaMail.jboss@colo-br-02.atl.jboss.com> I didn't know, I would try both and see what was better :-) Having a 5-10 selectors is probably fine, 100,000 on a single queue probably isn't a good idea, but I'm not sure where the boundary is. 500 consumers isn't a big deal, but 100,000 would be. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960078#3960078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960078 From do-not-reply at jboss.com Fri Jul 21 23:05:38 2006 From: do-not-reply at jboss.com (snowch) Date: Fri, 21 Jul 2006 23:05:38 -0400 (EDT) Subject: [jboss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Howto: hsqldb-ds.xml - set schema ; Message-ID: <18101057.1153537538424.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to specify the schema name for a hsqldb data source? Many thanks ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960079#3960079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960079 From do-not-reply at jboss.com Fri Jul 21 23:09:45 2006 From: do-not-reply at jboss.com (srinivas.k) Date: Fri, 21 Jul 2006 23:09:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <31624417.1153537785095.JavaMail.jboss@colo-br-02.atl.jboss.com> Could not start JBoss-------------- Instead of creating a new configuration under 3.2.x, i tried creating one under an already existing configuration.....also i didnot include any source and tried starting the server in debug mode when i was echoed that source level was not found.....later i could not delete this currently created configuration nor could i include source and im getting repeated error pop-up's.....wht shud i do View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960080#3960080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960080 From do-not-reply at jboss.com Fri Jul 21 23:54:43 2006 From: do-not-reply at jboss.com (ranik) Date: Fri, 21 Jul 2006 23:54:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Problem while deploying JBoss Seam on Tomcat 5.5.17 Message-ID: <28980711.1153540483697.JavaMail.jboss@colo-br-02.atl.jboss.com> I used JEMS installer and everything works from JBoss AS. But, I keep getting this error in all TestNG tests for Seam. This happened after I upgraded to the JEMS version and switched Jboss IDE to 3.2 Alpha. I understand I am using alpha software, but please don't release such software in future if you can avoid it. Atleast, can someone tell me how I can fix this error now that I am in this state? Caused by: javax.naming.NamingException: Local server is not initialized at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:197) at org.jboss.seam.util.Naming.getInitialContext(Naming.java:26) at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37) at org.jboss.seam.Component.instantiate(Component.java:774) at org.jboss.seam.Component.newInstance(Component.java:731) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960081#3960081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960081 From do-not-reply at jboss.com Sat Jul 22 00:37:19 2006 From: do-not-reply at jboss.com (ranik) Date: Sat, 22 Jul 2006 00:37:19 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Problem while deploying JBoss Seam on Tomcat 5.5.17 Message-ID: <17613684.1153543039271.JavaMail.jboss@colo-br-02.atl.jboss.com> Found the issue: Resources.getResourceAsStream("/WEB-INF/components.xml", servletContext); I got it working by putting the components.xml in WEB-INF subfolder even for testng unit tests. If this was documented somewhere, then it was cleverly hidden. Obviously, I am not in a good mood as it wasted my evening. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960082#3960082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960082 From do-not-reply at jboss.com Sat Jul 22 00:53:06 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Sat, 22 Jul 2006 00:53:06 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <15530877.1153543986457.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, right now I can't get the selectors to work at all. It seems the first consumer with a selector to connect to the destination gets messages, but then none of the other consumers do. While we're talking about best practices, which is the better approach? One connection per destination consumer or pool the same connection between multiple consumers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960083#3960083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960083 From do-not-reply at jboss.com Sat Jul 22 00:59:43 2006 From: do-not-reply at jboss.com (kgrjb) Date: Sat, 22 Jul 2006 00:59:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB injection gives null Message-ID: <11370472.1153544383303.JavaMail.jboss@colo-br-02.atl.jboss.com> do you what the default jndi naming has changed to? i tried to override default name with @LocalBinding but didnt work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960084#3960084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960084 From do-not-reply at jboss.com Sat Jul 22 02:28:19 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sat, 22 Jul 2006 02:28:19 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: init requires call to super.init()? Message-ID: <31106385.1153549699809.JavaMail.jboss@colo-br-02.atl.jboss.com> yes you need to do that, otherwise you can override the method : | public void init() { } | that does not require a call to super because : | public void init(PortletConfig config) throws PortletException | { | this.config = config; | init(); | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960085#3960085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960085 From do-not-reply at jboss.com Sat Jul 22 02:29:35 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sat, 22 Jul 2006 02:29:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Injecting PortalObjectContainer into servlet Message-ID: <8522556.1153549775581.JavaMail.jboss@colo-br-02.atl.jboss.com> you need to inject it in the servlet context using the declarative injection in the file jboss-portlet.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960086#3960086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960086 From do-not-reply at jboss.com Sat Jul 22 02:29:58 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sat, 22 Jul 2006 02:29:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <8448002.1153549798705.JavaMail.jboss@colo-br-02.atl.jboss.com> come one guys, don't be shy ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960087#3960087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960087 From do-not-reply at jboss.com Sat Jul 22 02:41:58 2006 From: do-not-reply at jboss.com (wondermike) Date: Sat, 22 Jul 2006 02:41:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: $100.00 Message-ID: <33514662.1153550518479.JavaMail.jboss@colo-br-02.atl.jboss.com> mjrpain, I advise you to have a look in "seam_reference.pdf", i.e. the reference manual that comes with seam (see doc/reference/en/pdf). During the last 2 weeks this has been my hotel swimming pool reading, quite thrilling indeed. It even competes with beauties passing by ... hum, well, not always. :-P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960088#3960088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960088 From do-not-reply at jboss.com Sat Jul 22 02:47:50 2006 From: do-not-reply at jboss.com (wondermike) Date: Sat, 22 Jul 2006 02:47:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Building a JBoss Seam website in 2 hours for our JUG Message-ID: <14837822.1153550870686.JavaMail.jboss@colo-br-02.atl.jboss.com> can u stream this session to the web? That would be quite interesting for me, but as I live in Germany, I'll have a problem. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960089#3960089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960089 From do-not-reply at jboss.com Sat Jul 22 03:37:38 2006 From: do-not-reply at jboss.com (baz) Date: Sat, 22 Jul 2006 03:37:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <7951888.1153553858521.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, i will change back to my own manager, if you have the opinion that my change does not make sense. IMHO, it can always happen that 'getInstance()' from the Manager is called when there is no Id in any context. This will result in an exception. But if there is no Id than there is no object. And this must not be an error. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960090#3960090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960090 From do-not-reply at jboss.com Sat Jul 22 04:52:25 2006 From: do-not-reply at jboss.com (free1000) Date: Sat, 22 Jul 2006 04:52:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <22143444.1153558345648.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah... I have a theory that the problem is possibly that the content type of the *entire rendered portal page* is text/html To embed svg in any single portlet window the *overall* content type of the portal page needs to be application/xhtml+xml because setting the content type of an individual portlet does not affect the total page. Hence I think we need a way to set the content type for the portal as a whole. Can anyone direct me to where this might be configured/hacked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960092#3960092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960092 From do-not-reply at jboss.com Sat Jul 22 04:52:39 2006 From: do-not-reply at jboss.com (free1000) Date: Sat, 22 Jul 2006 04:52:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <23384111.1153558359121.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah... I have a theory that the problem is possibly that the content type of the *entire rendered portal page* is text/html To embed svg in any single portlet window the *overall* content type of the portal page needs to be application/xhtml+xml because setting the content type of an individual portlet does not affect the total page. Hence I think we need a way to set the content type for the portal as a whole. Can anyone direct me to where this might be configured/hacked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960093#3960093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960093 From do-not-reply at jboss.com Sat Jul 22 04:54:10 2006 From: do-not-reply at jboss.com (free1000) Date: Sat, 22 Jul 2006 04:54:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: init requires call to super.init()? Message-ID: <33333646.1153558450299.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok... thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960094#3960094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960094 From do-not-reply at jboss.com Sat Jul 22 05:06:53 2006 From: do-not-reply at jboss.com (cmuth) Date: Sat, 22 Jul 2006 05:06:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <11970406.1153559213046.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, i'm so dumb. Thanks guys - i now removed the api-jar and left myfaces-impl-1.1.3.jar where it was. Additionally i added tomahawk.jar as a log message suggested. Now the deployment wents fine regarding the server.log, but when i access the registration action, i get an org.jboss.seam.InstantiationException: Could not instantiate Seam component: register with root cause that RegisterAction is not bound to JNDI?! Caused by: javax.naming.NameNotFoundException: RegisterAction not bound Thanks again :-S | 2006-07-22 08:57:07,207 INFO [org.jboss.remoting.transport.socket.SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/] | 2006-07-22 08:57:07,574 INFO [org.jboss.aop.deployment.AspectDeployer] Deployed AOP: file:/opt/jboss/server/default/deploy/ejb3-interceptors-aop.xml | 2006-07-22 08:57:09,261 INFO [org.jboss.web.WebService] Using RMI server codebase: http://athlon:8083/ | 2006-07-22 08:57:11,020 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail | 2006-07-22 08:57:11,432 INFO [org.jboss.naming.NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory | 2006-07-22 08:57:11,448 INFO [org.jboss.ws.eventing.mgmt.SubscriptionManager] Bound event dispatcher to java:/EventDispatcher | 2006-07-22 08:57:12,327 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled | 2006-07-22 08:57:12,364 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 2006-07-22 08:57:12,366 INFO [org.apache.catalina.startup.ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 2006-07-22 08:57:12,943 INFO [org.apache.coyote.http11.Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 2006-07-22 08:57:12,945 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 578 ms | 2006-07-22 08:57:13,010 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web | 2006-07-22 08:57:13,014 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17 | 2006-07-22 08:57:13,093 INFO [org.apache.catalina.core.StandardHost] XML validation disabled | 2006-07-22 08:57:13,107 INFO [org.apache.catalina.startup.Catalina] Server startup in 97 ms | 2006-07-22 08:57:13,193 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ | 2006-07-22 08:57:13,441 INFO [org.apache.catalina.loader.WebappLoader] Dual registration of jndi stream handler: factory already defined | 2006-07-22 08:57:13,692 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp46390jbossws-exp.war/ | 2006-07-22 08:57:13,970 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 2006-07-22 08:57:14,913 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar | 2006-07-22 08:57:15,011 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar | 2006-07-22 08:57:15,035 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar | 2006-07-22 08:57:15,043 INFO [org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter] start quartz!!! | 2006-07-22 08:57:15,093 INFO [org.quartz.simpl.SimpleThreadPool] Job execution threads will use class loader of thread: main | 2006-07-22 08:57:15,112 INFO [org.quartz.core.QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 2006-07-22 08:57:15,115 INFO [org.quartz.simpl.RAMJobStore] RAMJobStore initialized. | 2006-07-22 08:57:15,116 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 2006-07-22 08:57:15,117 INFO [org.quartz.impl.StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 2006-07-22 08:57:15,118 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 2006-07-22 08:57:15,231 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' to JNDI name 'java:bookingDatasource' | 2006-07-22 08:57:15,616 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 2006-07-22 08:57:15,780 INFO [org.jboss.mq.server.jmx.Queue.A] Bound to JNDI name: queue/A | 2006-07-22 08:57:15,782 INFO [org.jboss.mq.server.jmx.Queue.B] Bound to JNDI name: queue/B | 2006-07-22 08:57:15,784 INFO [org.jboss.mq.server.jmx.Queue.C] Bound to JNDI name: queue/C | 2006-07-22 08:57:15,786 INFO [org.jboss.mq.server.jmx.Queue.D] Bound to JNDI name: queue/D | 2006-07-22 08:57:15,789 INFO [org.jboss.mq.server.jmx.Queue.ex] Bound to JNDI name: queue/ex | 2006-07-22 08:57:15,804 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Bound to JNDI name: topic/testTopic | 2006-07-22 08:57:15,806 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Bound to JNDI name: topic/securedTopic | 2006-07-22 08:57:15,809 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Bound to JNDI name: topic/testDurableTopic | 2006-07-22 08:57:15,812 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Bound to JNDI name: queue/testQueue | 2006-07-22 08:57:15,825 INFO [org.jboss.mq.il.uil2.UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093 | 2006-07-22 08:57:15,858 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound to JNDI name: queue/DLQ | 2006-07-22 08:57:15,959 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 2006-07-22 08:57:16,009 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=loanmarketDatasource' to JNDI name 'java:loanmarketDatasource' | 2006-07-22 08:57:16,289 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 2006-07-22 08:57:16,464 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/jboss/server/default/deploy/loanmarket.ear | 2006-07-22 08:57:17,216 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.BookingListAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 1277f040 | 2006-07-22 08:57:17,255 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.ChangePasswordAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 272b72f4 | 2006-07-22 08:57:17,263 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.HotelBookingAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 42130c2 | 2006-07-22 08:57:17,272 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.HotelSearchingAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 30e2d858 | 2006-07-22 08:57:17,281 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.LoginAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 3295a253 | 2006-07-22 08:57:17,289 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.LogoutAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 4eff0d4b | 2006-07-22 08:57:17,295 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.booking.RegisterAction org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 7da2467a | 2006-07-22 08:57:17,341 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 314 | 2006-07-22 08:57:17,365 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase with dependencies: | 2006-07-22 08:57:17,366 INFO [org.jboss.ejb3.JmxKernelAbstraction] jboss.jca:name=loanmarketDatasource,service=ManagedConnectionFactory | 2006-07-22 08:57:17,421 INFO [org.hibernate.ejb.Version] Hibernate EntityManager 3.2.0.CR1 | 2006-07-22 08:57:17,437 INFO [org.hibernate.cfg.annotations.Version] Hibernate Annotations 3.2.0.CR1 | 2006-07-22 08:57:17,446 INFO [org.hibernate.cfg.Environment] Hibernate 3.2 cr2 | 2006-07-22 08:57:17,460 INFO [org.hibernate.cfg.Environment] hibernate.properties not found | 2006-07-22 08:57:17,620 INFO [org.hibernate.cfg.Environment] Bytecode provider name : javassist | 2006-07-22 08:57:17,627 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling | 2006-07-22 08:57:17,746 INFO [org.hibernate.ejb.Ejb3Configuration] Processing PersistenceUnitInfo [ | name: loanmarketDatabase | ...] | 2006-07-22 08:57:17,751 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.Booking | 2006-07-22 08:57:17,756 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.Hotel | 2006-07-22 08:57:17,763 INFO [org.hibernate.ejb.Ejb3Configuration] found EJB3 Entity bean: org.jboss.seam.example.booking.User | 2006-07-22 08:57:17,808 WARN [org.hibernate.ejb.Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 2006-07-22 08:57:17,868 INFO [org.hibernate.cfg.Configuration] Reading mappings from resource: META-INF/orm.xml | 2006-07-22 08:57:17,872 INFO [org.hibernate.ejb.Ejb3Configuration] [PersistenceUnit: loanmarketDatabase] no META-INF/orm.xml found | 2006-07-22 08:57:17,929 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.Booking | 2006-07-22 08:57:17,985 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.seam.example.booking.Booking on table Booking | 2006-07-22 08:57:18,058 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.Hotel | 2006-07-22 08:57:18,059 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.seam.example.booking.Hotel on table Hotel | 2006-07-22 08:57:18,063 INFO [org.hibernate.cfg.AnnotationBinder] Binding entity from annotated class: org.jboss.seam.example.booking.User | 2006-07-22 08:57:18,066 INFO [org.hibernate.cfg.annotations.EntityBinder] Bind entity org.jboss.seam.example.booking.User on table User | 2006-07-22 08:57:18,207 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 2006-07-22 08:57:18,211 INFO [org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] Using provided datasource | 2006-07-22 08:57:18,228 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0 | 2006-07-22 08:57:18,229 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0 | 2006-07-22 08:57:18,253 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.HSQLDialect | 2006-07-22 08:57:18,260 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 2006-07-22 08:57:18,264 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup | 2006-07-22 08:57:18,268 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup | 2006-07-22 08:57:18,269 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled | 2006-07-22 08:57:18,270 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled | 2006-07-22 08:57:18,270 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15 | 2006-07-22 08:57:18,271 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled | 2006-07-22 08:57:18,273 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled | 2006-07-22 08:57:18,274 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): disabled | 2006-07-22 08:57:18,275 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: auto | 2006-07-22 08:57:18,277 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1 | 2006-07-22 08:57:18,278 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled | 2006-07-22 08:57:18,279 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled | 2006-07-22 08:57:18,280 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 2006-07-22 08:57:18,284 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 2006-07-22 08:57:18,285 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {} | 2006-07-22 08:57:18,286 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled | 2006-07-22 08:57:18,287 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled | 2006-07-22 08:57:18,287 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider | 2006-07-22 08:57:18,290 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled | 2006-07-22 08:57:18,291 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled | 2006-07-22 08:57:18,299 INFO [org.hibernate.cfg.SettingsFactory] Echoing all SQL to stdout | 2006-07-22 08:57:18,300 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled | 2006-07-22 08:57:18,301 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled | 2006-07-22 08:57:18,303 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo | 2006-07-22 08:57:18,338 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory | 2006-07-22 08:57:18,569 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 2006-07-22 08:57:18,587 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Running hbm2ddl schema export | 2006-07-22 08:57:18,589 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] exporting generated schema to database | 2006-07-22 08:57:18,593 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Executing import script: /import.sql | 2006-07-22 08:57:18,600 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] schema export complete | 2006-07-22 08:57:18,614 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-22 08:57:18,702 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=BookingListAction,service=EJB3 with dependencies: | 2006-07-22 08:57:18,703 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:18,876 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.BookingListAction ejbName: BookingListAction | 2006-07-22 08:57:18,906 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=ChangePasswordAction,service=EJB3 with dependencies: | 2006-07-22 08:57:18,907 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:18,927 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.ChangePasswordAction ejbName: ChangePasswordAction | 2006-07-22 08:57:18,932 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=HotelBookingAction,service=EJB3 with dependencies: | 2006-07-22 08:57:18,933 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:19,000 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.HotelBookingAction ejbName: HotelBookingAction | 2006-07-22 08:57:19,005 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=HotelSearchingAction,service=EJB3 with dependencies: | 2006-07-22 08:57:19,007 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:19,030 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.HotelSearchingAction ejbName: HotelSearchingAction | 2006-07-22 08:57:19,035 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=LoginAction,service=EJB3 with dependencies: | 2006-07-22 08:57:19,037 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:19,050 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.LoginAction ejbName: LoginAction | 2006-07-22 08:57:19,066 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=LogoutAction,service=EJB3 with dependencies: | 2006-07-22 08:57:19,075 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.LogoutAction ejbName: LogoutAction | 2006-07-22 08:57:19,081 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=loanmarket.ear,jar=loanmarket-ejb.jar,name=RegisterAction,service=EJB3 with dependencies: | 2006-07-22 08:57:19,083 INFO [org.jboss.ejb3.JmxKernelAbstraction] persistence.units:ear=loanmarket.ear,jar=loanmarket-ejb.jar,unitName=loanmarketDatabase | 2006-07-22 08:57:19,102 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: org.jboss.seam.example.booking.RegisterAction ejbName: RegisterAction | 2006-07-22 08:57:19,108 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-ejb.jar | 2006-07-22 08:57:19,112 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/loanmarket, warUrl=.../tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/ | 2006-07-22 08:57:19,902 INFO [org.apache.myfaces.config.FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 2006-07-22 08:57:19,949 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:19,961 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:19,986 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:19,993 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:20,003 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:20,010 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:20,020 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:20,029 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config jar:file:/opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml | 2006-07-22 08:57:20,297 INFO [org.apache.myfaces.config.FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 2006-07-22 08:57:20,398 WARN [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : de_DE | 2006-07-22 08:57:20,871 INFO [org.apache.myfaces.webapp.StartupServletContextListener] ServletContext '/opt/jboss/server/default/./tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/' initialized. | 2006-07-22 08:57:20,872 INFO [javax.servlet.ServletContextListener] Welcome to Seam 1.0.1.GA | 2006-07-22 08:57:20,880 INFO [org.jboss.seam.init.Initialization] reading components.xml | 2006-07-22 08:57:20,890 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties | 2006-07-22 08:57:20,892 INFO [org.jboss.seam.init.Initialization] reading properties from: /jndi.properties | 2006-07-22 08:57:20,898 INFO [org.jboss.seam.init.Initialization] initializing Seam | 2006-07-22 08:57:20,933 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 2006-07-22 08:57:21,098 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | 2006-07-22 08:57:21,111 INFO [org.jboss.seam.Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | 2006-07-22 08:57:21,131 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | 2006-07-22 08:57:21,154 INFO [org.jboss.seam.Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | 2006-07-22 08:57:21,165 INFO [org.jboss.seam.Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | 2006-07-22 08:57:21,180 INFO [org.jboss.seam.Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | 2006-07-22 08:57:21,187 INFO [org.jboss.seam.Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | 2006-07-22 08:57:21,195 INFO [org.jboss.seam.Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | 2006-07-22 08:57:21,203 INFO [org.jboss.seam.Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | 2006-07-22 08:57:21,225 INFO [org.jboss.seam.Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | 2006-07-22 08:57:21,233 INFO [org.jboss.seam.Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | 2006-07-22 08:57:21,239 INFO [org.jboss.seam.Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | 2006-07-22 08:57:21,278 INFO [org.jboss.seam.Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | 2006-07-22 08:57:21,284 INFO [org.jboss.seam.Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | 2006-07-22 08:57:21,300 INFO [org.jboss.seam.Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | 2006-07-22 08:57:21,306 INFO [org.jboss.seam.Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext | 2006-07-22 08:57:21,316 INFO [org.jboss.seam.Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | 2006-07-22 08:57:21,321 INFO [org.jboss.seam.Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | 2006-07-22 08:57:21,328 INFO [org.jboss.seam.Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | 2006-07-22 08:57:21,334 INFO [org.jboss.seam.Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | 2006-07-22 08:57:21,339 INFO [org.jboss.seam.Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | 2006-07-22 08:57:21,346 INFO [org.jboss.seam.Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | 2006-07-22 08:57:21,351 INFO [org.jboss.seam.Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | 2006-07-22 08:57:21,365 INFO [org.jboss.seam.Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | 2006-07-22 08:57:21,372 INFO [org.jboss.seam.Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | 2006-07-22 08:57:21,380 INFO [org.jboss.seam.Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | 2006-07-22 08:57:21,386 INFO [org.jboss.seam.Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry | 2006-07-22 08:57:21,393 INFO [org.jboss.seam.Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache | 2006-07-22 08:57:21,398 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector | 2006-07-22 08:57:21,435 INFO [org.jboss.seam.Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts | 2006-07-22 08:57:21,447 INFO [org.jboss.seam.deployment.Scanner] scanning: /opt/jboss/server/default/tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-ejb.jar | 2006-07-22 08:57:21,481 INFO [org.jboss.seam.Component] Component: logout, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LogoutAction, JNDI: LogoutAction/local | 2006-07-22 08:57:21,485 INFO [org.jboss.seam.Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: LoginAction/local | 2006-07-22 08:57:21,487 INFO [org.jboss.seam.Component] Component: hotelBooking, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: HotelBookingAction/local | 2006-07-22 08:57:21,494 INFO [org.jboss.seam.Component] Component: hotelSearch, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: HotelSearchingAction/local | 2006-07-22 08:57:21,502 INFO [org.jboss.seam.Component] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel | 2006-07-22 08:57:21,504 INFO [org.jboss.seam.Component] Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.RegisterAction, JNDI: RegisterAction/local | 2006-07-22 08:57:21,507 INFO [org.jboss.seam.Component] Component: booking, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Booking | 2006-07-22 08:57:21,509 INFO [org.jboss.seam.Component] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: BookingListAction/local | 2006-07-22 08:57:21,516 INFO [org.jboss.seam.Component] Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.User | 2006-07-22 08:57:21,518 INFO [org.jboss.seam.Component] Component: changePassword, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: ChangePasswordAction/local | 2006-07-22 08:57:21,523 INFO [org.jboss.seam.init.Initialization] done initializing Seam | 2006-07-22 08:57:21,560 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/opt/jboss/server/default/deploy/loanmarket.ear | 2006-07-22 08:57:21,586 INFO [org.apache.coyote.http11.Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 2006-07-22 08:57:21,656 INFO [org.apache.jk.common.ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 2006-07-22 08:57:21,664 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=0/21 config=null | 2006-07-22 08:57:21,670 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 18s:164ms | 2006-07-22 08:57:29,744 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/loanmarket].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | org.jboss.seam.InstantiationException: Could not instantiate Seam component: register | at org.jboss.seam.Component.newInstance(Component.java:735) | at org.jboss.seam.Component.newInstance(Component.java:1308) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getTarget(AstValue.java:62) | at com.sun.el.parser.AstValue.getType(AstValue.java:55) | at com.sun.el.ValueExpressionImpl.getType(ValueExpressionImpl.java:180) | at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:60) | at com.sun.facelets.el.LegacyValueBinding.getType(LegacyValueBinding.java:94) | at org.apache.myfaces.shared_impl.renderkit._SharedRendererUtils.findUIOutputConverter(_SharedRendererUtils.java:55) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.findUIOutputConverter(RendererUtils.java:316) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedUIOutputValue(RendererUtils.java:636) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlSecretRendererBase.getConvertedValue(HtmlSecretRendererBase.java:106) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:289) | at javax.faces.component.UIInput.validate(UIInput.java:265) | at javax.faces.component.UIInput.processValidators(UIInput.java:144) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417) | at javax.faces.component.UIForm.processValidators(UIForm.java:68) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142) | at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.naming.NameNotFoundException: RegisterAction 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 org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.seam.Component.instantiate(Component.java:774) | at org.jboss.seam.Component.newInstance(Component.java:731) | ... 47 more | 2006-07-22 08:57:32,788 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true | 2006-07-22 08:57:32,789 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages | 2006-07-22 08:57:32,789 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/loanmarket, warUrl=.../tmp/deploy/tmp46424loanmarket.ear-contents/loanmarket-exp.war/ | 2006-07-22 08:57:32,974 INFO [org.hibernate.impl.SessionFactoryImpl] closing | 2006-07-22 08:57:32,975 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Running hbm2ddl schema export | 2006-07-22 08:57:32,976 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] exporting generated schema to database | 2006-07-22 08:57:32,978 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] schema export complete | 2006-07-22 08:57:32,988 INFO [org.jboss.deployment.EARDeployer] Undeploying J2EE application, destroy step: file:/opt/jboss/server/default/deploy/loanmarket.ear | 2006-07-22 08:57:32,989 INFO [org.jboss.deployment.EARDeployer] Undeployed J2EE application: file:/opt/jboss/server/default/deploy/loanmarket.ear | 2006-07-22 08:57:32,992 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 2006-07-22 08:57:33,406 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=loanmarketDatasource' from JNDI name 'java:loanmarketDatasource' | 2006-07-22 08:57:33,417 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA' | 2006-07-22 08:57:33,438 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Unbinding JNDI name: topic/testTopic | 2006-07-22 08:57:33,439 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Unbinding JNDI name: topic/securedTopic | 2006-07-22 08:57:33,441 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Unbinding JNDI name: topic/testDurableTopic | 2006-07-22 08:57:33,442 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Unbinding JNDI name: queue/testQueue | 2006-07-22 08:57:33,445 INFO [org.jboss.mq.server.jmx.Queue.A] Unbinding JNDI name: queue/A | 2006-07-22 08:57:33,446 INFO [org.jboss.mq.server.jmx.Queue.B] Unbinding JNDI name: queue/B | 2006-07-22 08:57:33,448 INFO [org.jboss.mq.server.jmx.Queue.C] Unbinding JNDI name: queue/C | 2006-07-22 08:57:33,449 INFO [org.jboss.mq.server.jmx.Queue.D] Unbinding JNDI name: queue/D | 2006-07-22 08:57:33,450 INFO [org.jboss.mq.server.jmx.Queue.ex] Unbinding JNDI name: queue/ex | 2006-07-22 08:57:33,452 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Unbinding JNDI name: queue/DLQ | 2006-07-22 08:57:33,455 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS' | 2006-07-22 08:57:34,108 INFO [org.jboss.jdbc.HypersonicDatabase] Database standalone closed clean | 2006-07-22 08:57:34,116 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=bookingDatasource' from JNDI name 'java:bookingDatasource' | 2006-07-22 08:57:34,120 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutting down. | 2006-07-22 08:57:34,120 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED paused. | 2006-07-22 08:57:34,123 INFO [org.quartz.simpl.SimpleThreadPool] There are still 27 worker threads active. See javadoc runInThread(Runnable) for a possible explanation | 2006-07-22 08:57:34,124 INFO [org.quartz.core.QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED shutdown complete. | 2006-07-22 08:57:34,140 INFO [org.apache.coyote.http11.Http11BaseProtocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 2006-07-22 08:57:35,143 INFO [org.jboss.web.tomcat.tc5.StandardService] Stopping service jboss.web | 2006-07-22 08:57:35,154 INFO [org.apache.coyote.http11.Http11BaseProtocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080 | 2006-07-22 08:57:35,156 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ | 2006-07-22 08:57:35,158 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp46390jbossws-exp.war/ | 2006-07-22 08:57:35,161 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 2006-07-22 08:57:35,182 INFO [org.jboss.mail.MailService] Mail service 'java:/Mail' removed from JNDI | 2006-07-22 08:57:36,610 INFO [org.jboss.system.server.Server] Shutdown complete | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960095#3960095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960095 From do-not-reply at jboss.com Sat Jul 22 05:40:12 2006 From: do-not-reply at jboss.com (stoi) Date: Sat, 22 Jul 2006 05:40:12 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - remote deployment with jboss ide Message-ID: <32458407.1153561212302.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm new with the jboss-ide. In the meanwhile, I know how to use the tool f?r developing and local deploying web applications. But I couldn't find out, how to deploy web applications on an remote jboss-server. Can somebody help me? greetings b.s. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960096#3960096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960096 From do-not-reply at jboss.com Sat Jul 22 07:13:56 2006 From: do-not-reply at jboss.com (petemuir) Date: Sat, 22 Jul 2006 07:13:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <33060201.1153566836409.JavaMail.jboss@colo-br-02.atl.jboss.com> Your jndiPattern in components.xml is wrong for JBoss (the one you are using is for embedded EJB). It should be myEarName/#{ejbName}/local. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960097#3960097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960097 From do-not-reply at jboss.com Sat Jul 22 07:19:40 2006 From: do-not-reply at jboss.com (joo) Date: Sat, 22 Jul 2006 07:19:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - @EJB DI in a servlet always null Message-ID: <17242490.1153567180918.JavaMail.jboss@colo-br-02.atl.jboss.com> I work with jboss 4.0.4 and tried to install a statless session bean. The bean is deployed. But in a servlet, the DI doesn't work. It is allways null. There is no error message,.... 1. I think, I tried all possibilities. What can be wrong? 2. I tried to get the bean with lookup. But the JNDI name is not ok. How can I get the right JNDI name of the bean ? thanks Georg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960098#3960098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960098 From do-not-reply at jboss.com Sat Jul 22 07:24:36 2006 From: do-not-reply at jboss.com (Luntain) Date: Sat, 22 Jul 2006 07:24:36 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - how to do tracing of advices Message-ID: <1884990.1153567476492.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to trace advices of all aspects. The following definition of tracing aspect results in stack overflow despite the !withing declaration. This is a bug, I think. | | | | | Stack overflow: at com.siemens.smarthome.aspects.tracing.TracingAspect.traceAdvice(TracingAspect.java) | at org.jboss.aop.advice.com.siemens.smarthome.aspects.tracing.TracingAspect0.invoke(TracingAspect0.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect$traceAdvice_N192612223631562369.invokeNext(TracingAspect$traceAdvice_N192612223631562369.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect.traceAdvice(TracingAspect.java) | at org.jboss.aop.advice.com.siemens.smarthome.aspects.tracing.TracingAspect0.invoke(TracingAspect0.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect$traceAdvice_N192612223631562369.invokeNext(TracingAspect$traceAdvice_N192612223631562369.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect.traceAdvice(TracingAspect.java) | at org.jboss.aop.advice.com.siemens.smarthome.aspects.tracing.TracingAspect0.invoke(TracingAspect0.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect$traceAdvice_N192612223631562369.invokeNext(TracingAspect$traceAdvice_N192612223631562369.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect.traceAdvice(TracingAspect.java) | at org.jboss.aop.advice.com.siemens.smarthome.aspects.tracing.TracingAspect0.invoke(TracingAspect0.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect$traceAdvice_N192612223631562369.invokeNext(TracingAspect$traceAdvice_N192612223631562369.java) | at com.siemens.smarthome.aspects.tracing.TracingAspect.traceAdvice(TracingAspect.java) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960099#3960099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960099 From do-not-reply at jboss.com Sat Jul 22 07:37:27 2006 From: do-not-reply at jboss.com (cmuth) Date: Sat, 22 Jul 2006 07:37:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: SeamNavigationHandler is no javax.faces.application.Navi Message-ID: <30989861.1153568247195.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot!!! Now it works. Have a nice weekend fellows! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960100#3960100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960100 From do-not-reply at jboss.com Sat Jul 22 07:55:24 2006 From: do-not-reply at jboss.com (asureshkumar) Date: Sat, 22 Jul 2006 07:55:24 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - javax.naming.CommunicationException: Receive timed out Message-ID: <3122774.1153569324513.JavaMail.jboss@colo-br-02.atl.jboss.com> HI, I am getting following exception when i am trying to looku up jms connection factory from jboss. javax.naming.CommunicationException: Receive timed out. Root exception is java.net.SocketTimeoutException: Receive timed out at java.net.PlainDatagramSocketImpl.receive(Native Method) at java.net.DatagramSocket.receive(DatagramSocket.java:680) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1272) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1431) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:579) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572) at javax.naming.InitialContext.lookup(InitialContext.java:347) Appreciate if any one can help in solving this asap. Waiting for your reply. Thanks, Suresh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960102#3960102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960102 From do-not-reply at jboss.com Sat Jul 22 08:12:11 2006 From: do-not-reply at jboss.com (jkoek) Date: Sat, 22 Jul 2006 08:12:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Injecting PortalObjectContainer into servlet Message-ID: <25235443.1153570331896.JavaMail.jboss@colo-br-02.atl.jboss.com> Julien, I tried it. I'm getting now a PortalObjectContainer object but I'm not able to retrieve the context. This context makes it possible for me to createPages and Windows. Underneath the code that I have used and the jboss-portlet.xml that is part of my servlet deployment. Can you give me a new hint? Thanks, jeroen. try { MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); container = (PortalObjectContainer) MBeanProxy.get(PortalObjectContainer.class, new ObjectName("portal:container=PortalObject"), mbeanServer); } catch (Exception e) { log.error("Cannot get interceptor stack", e); throw new IllegalStateException("Cannot get interceptor stack"); } if (container == null) { System.out.println("No portal object container"); } else { System.out.println( "We got the portal object container" ); Context ctx = null; try { ctx = container.getContext(); } catch ( Exception ex ) { System.out.println( "Failed to get context" ); } if ( ctx == null ) { System.out.println( "PortalObjectContainer context is empty!" ); } } PortalObjectContainer org.jboss.portal.core.model.portal.PortalObjectContainer portal:container=PortalObject View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960103#3960103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960103 From do-not-reply at jboss.com Sat Jul 22 08:23:40 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sat, 22 Jul 2006 08:23:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Injecting PortalObjectContainer into servlet Message-ID: <26974321.1153571020216.JavaMail.jboss@colo-br-02.atl.jboss.com> you need to wrap the portal object container usage is a JTA transaction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960104#3960104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960104 From do-not-reply at jboss.com Sat Jul 22 09:04:03 2006 From: do-not-reply at jboss.com (scollins311) Date: Sat, 22 Jul 2006 09:04:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <7832028.1153573443078.JavaMail.jboss@colo-br-02.atl.jboss.com> free1000 I agree. That is one of the paths I was lurking down before I came here for help. Changing it was just over my head. Shaun View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960105#3960105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960105 From do-not-reply at jboss.com Sat Jul 22 09:31:28 2006 From: do-not-reply at jboss.com (firehero) Date: Sat, 22 Jul 2006 09:31:28 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - why I can't see "deployment" tab? Message-ID: <6136234.1153575088295.JavaMail.jboss@colo-br-02.atl.jboss.com> HI, I have by using the jbpm-gdp tools ( eclipse plugin) to design and deployment, I have a problem that I can't see "deployment" tab, but I can see "diagram", "swimlanes", "design", "source" tabs. why I can't see "deployment" tab? [JBossIDE-1.5.1.GA-Bundle-win32.zip] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960109#3960109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960109 From do-not-reply at jboss.com Sat Jul 22 10:10:30 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Sat, 22 Jul 2006 10:10:30 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem in running the JMS program in JbossMq Message-ID: <12040819.1153577430712.JavaMail.jboss@colo-br-02.atl.jboss.com> Start here: http://labs.jboss.com/portal/jbossas/docs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960111#3960111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960111 From do-not-reply at jboss.com Sat Jul 22 10:15:35 2006 From: do-not-reply at jboss.com (free1000) Date: Sat, 22 Jul 2006 10:15:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <31059503.1153577735513.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess that its safer for the entire portal to default to text/html in case there are portlets which are used which are not xhtml conformant. I'd expect to find the overall content type configurable at a high level, but maybe its something that can be set per page. This might be the most useful as it would mean that one could place non xhtml conformant portlets on other pages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960112#3960112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960112 From do-not-reply at jboss.com Sat Jul 22 10:31:42 2006 From: do-not-reply at jboss.com (andygrav) Date: Sat, 22 Jul 2006 10:31:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Configuration problems in seam CVS for TestNG eclipse plugin Message-ID: <5192398.1153578702347.JavaMail.jboss@colo-br-02.atl.jboss.com> There seems to be a configuration problem for TestNG in the jboss seam CVS. I followed the instructions in the flash demo http://www.jboss.com/products/seam/EclipseCVS.html Downloading the Seam from CVS as the demo explains I installed the latest TestNG plugin for eclipse as explained in the TestNG site Then I tried to run the test case for the numberguess sample There seems to be a configuration problem. for example a components.xml exists in the WEB-INF directory of the numberguess example however in the trace below it says its not found. I saw in another post that embedded-ejb/conf should be on the classpath which it is. Please can someone explain what to do. Also it would be cool if the flash demo could be updated to explain how to do it, for others not to fall into the same trap as me. Thanks in advance Andy Bailey Hazlorealidad.com 08:28:49,781 INFO [Initialization] no components.xml file found 08:28:49,781 INFO [Initialization] reading properties from: /jndi.properties 08:28:49,781 INFO [Initialization] initializing Seam 08:28:49,828 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init 08:28:49,937 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages 08:28:49,953 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events 08:28:49,968 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager 08:28:50,000 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher 08:28:50,000 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect 08:28:50,015 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError 08:28:50,031 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal 08:28:50,031 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole 08:28:50,031 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation 08:28:50,046 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList 08:28:50,062 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack 08:28:50,093 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext 08:28:50,093 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext 08:28:50,093 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext 08:28:50,109 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext 08:28:50,109 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext 08:28:50,125 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext 08:28:50,125 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext 08:28:50,125 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext 08:28:50,140 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale 08:28:50,140 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages 08:28:50,140 INFO [Component] Component: theme, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.Theme 08:28:50,156 INFO [Component] Component: themeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.theme.ThemeSelector 08:28:50,156 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator 08:28:50,218 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages 08:28:50,234 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle 08:28:50,234 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector 08:28:50,250 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent 08:28:50,250 INFO [Component] Component: renderParameters, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.RenderParameters 08:28:50,250 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry 08:28:50,265 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache 08:28:50,281 INFO [Initialization] done initializing Seam 08:28:50,312 INFO [Pages] no pages.xml file found FAILED: testNumberGuessLose java.lang.NullPointerException at org.jboss.seam.example.numberguess.test.NumberGuessTest$4.renderResponse(NumberGuessTest.java:124) at org.jboss.seam.mock.SeamTest$Script.run(SeamTest.java:266) at org.jboss.seam.example.numberguess.test.NumberGuessTest.testNumberGuessLose(NumberGuessTest.java:132) 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552) at org.testng.internal.Invoker.invokeMethod(Invoker.java:411) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:785) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.privateRun(TestRunner.java:686) at org.testng.TestRunner.run(TestRunner.java:566) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:145) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:811) at org.testng.TestNG.runSuitesLocally(TestNG.java:774) at org.testng.TestNG.run(TestNG.java:538) at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:80) at org.testng.eclipse.runner.RemoteTestNG.main(RemoteTestNG.java:122) FAILED: testNumberGuessWin java.lang.NullPointerException at org.jboss.seam.example.numberguess.test.NumberGuessTest$1.renderResponse(NumberGuessTest.java:29) at org.jboss.seam.mock.SeamTest$Script.run(SeamTest.java:266) at org.jboss.seam.example.numberguess.test.NumberGuessTest.testNumberGuessWin(NumberGuessTest.java:39) 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.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:552) at org.testng.internal.Invoker.invokeMethod(Invoker.java:411) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:785) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) at org.testng.TestRunner.privateRun(TestRunner.java:686) at org.testng.TestRunner.run(TestRunner.java:566) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:221) at org.testng.SuiteRunner.run(SuiteRunner.java:145) at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:811) at org.testng.TestNG.runSuitesLocally(TestNG.java:774) at org.testng.TestNG.run(TestNG.java:538) at org.testng.eclipse.runner.RemoteTestNG.run(RemoteTestNG.java:80) at org.testng.eclipse.runner.RemoteTestNG.main(RemoteTestNG.java:122) =============================================== NumberGuess Tests run: 2, Failures: 2, Skips: 0 =============================================== =============================================== NumberGuess Total tests run: 2, Failures: 2, Skips: 0 =============================================== Creating c:\jbossIde\workspace\jboss-seam\toc.html Creating c:\jbossIde\workspace\jboss-seam\NumberGuess.properties Creating c:\jbossIde\workspace\jboss-seam\index.html Creating c:\jbossIde\workspace\jboss-seam\main.html Creating c:\jbossIde\workspace\jboss-seam\groups.html Creating c:\jbossIde\workspace\jboss-seam\methods.html Creating c:\jbossIde\workspace\jboss-seam\methods-alphabetical.html Creating c:\jbossIde\workspace\jboss-seam\classes.html Creating c:\jbossIde\workspace\jboss-seam\reporter-output.html Creating c:\jbossIde\workspace\jboss-seam\methods-not-run.html Creating c:\jbossIde\workspace\jboss-seam\testng-failures.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960113#3960113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960113 From do-not-reply at jboss.com Sat Jul 22 10:45:31 2006 From: do-not-reply at jboss.com (yelkoury) Date: Sat, 22 Jul 2006 10:45:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Make decision on a business process Message-ID: <30837066.1153579531330.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi; Please who can help me to make and configure decisions on my business process? Should i write a script for that?? if yes how can i do that. Please an example is more helpfull than a great speach. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960115#3960115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960115 From do-not-reply at jboss.com Sat Jul 22 10:55:16 2006 From: do-not-reply at jboss.com (petemuir) Date: Sat, 22 Jul 2006 10:55:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <2505521.1153580116459.JavaMail.jboss@colo-br-02.atl.jboss.com> I've put up a new version which includes a selectMany example. I haven't got it working perfectly, you have to specify the class name of the entity as an attribute of the converter [1], and there is a small fix. Let me know if it works for you or not. [1] The converter knows which class of object to load by looking at the value attribute of the select tag. When it's directly pointing at an entity object it can work out what class to use from that. When it's a list it's not so simple - I think a sensible default could be come up with (e.g. all objects in the list are the same type then use that, otherwise complain) and also a useful error message. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960116#3960116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960116 From do-not-reply at jboss.com Sat Jul 22 11:11:53 2006 From: do-not-reply at jboss.com (koriel) Date: Sat, 22 Jul 2006 11:11:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam Application Deployment Message-ID: <23217243.1153581113776.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok I'm having some problems with seam...I have defined a simple class which is | | | @Stateless | @Name("myejb") | public class TestEjb implements Serializable { | | /** | * | */ | | private String mystring="hi koriel"; | | /* (non-Javadoc) | * @see uai.utilities.Test#getMystring() | */ | public String getMystring() { | return mystring; | } | | /* (non-Javadoc) | * @see uai.utilities.Test#setMystring(java.lang.String) | */ | public void setMystring(String mystring) { | this.mystring = mystring; | } | | | | } | | and in my home.xhtml page I have this | | | | but I can't see the string "hi koriel" when I access home.xthml. What am I doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960117#3960117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960117 From do-not-reply at jboss.com Sat Jul 22 11:12:39 2006 From: do-not-reply at jboss.com (qqchuck) Date: Sat, 22 Jul 2006 11:12:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <27345816.1153581159401.JavaMail.jboss@colo-br-02.atl.jboss.com> bump View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960118#3960118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960118 From do-not-reply at jboss.com Sat Jul 22 11:13:31 2006 From: do-not-reply at jboss.com (qqchuck) Date: Sat, 22 Jul 2006 11:13:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <28286569.1153581211782.JavaMail.jboss@colo-br-02.atl.jboss.com> [duplicate] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960119#3960119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960119 From do-not-reply at jboss.com Sat Jul 22 11:43:01 2006 From: do-not-reply at jboss.com (koriel) Date: Sat, 22 Jul 2006 11:43:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Application Deployment Message-ID: <26376851.1153582981462.JavaMail.jboss@colo-br-02.atl.jboss.com> "koriel" wrote : Ok I'm having some problems with seam...I have defined a simple class which is | | | | | | @Stateless | | @Name("myejb") | | public class TestEjb implements Test { | | | | /** | | * | | */ | | | | private String mystring="hi koriel"; | | | | /* (non-Javadoc) | | * @see uai.utilities.Test#getMystring() | | */ | | public String getMystring() { | | return mystring; | | } | | | | /* (non-Javadoc) | | * @see uai.utilities.Test#setMystring(java.lang.String) | | */ | | public void setMystring(String mystring) { | | this.mystring = mystring; | | } | | | | | | | | } | | | | | | and in my home.xhtml page I have this | | | | | | | | | | | | but I can't see the string "hi koriel" when I access home.xthml. What am I doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960121#3960121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960121 From do-not-reply at jboss.com Sat Jul 22 12:24:39 2006 From: do-not-reply at jboss.com (Xpoft) Date: Sat, 22 Jul 2006 12:24:39 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Saving data in Hibernate Message-ID: <1488666.1153585479622.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss 4.0.4, Hibernate 3.0. Data do not saved! Code in EJB component: | ctx = new InitialContext(); | SessionFactory factory = (SessionFactory) ctx.lookup("java:/hibernate/SessionFactory"); | Session hsession = factory.openSession(); | Transaction tx = hsession.beginTransaction(); | Orgs orgs = new Orgs("Hibernate test"); | hsession.save(orgs); | tx.commit(); | hsession.close(); | In hibernate.org FAQ: wrote anonymous wrote : | I saved / deleted / updated an object / collection but I can't see the changes in the database! | | Hibernate will not execute any SQL until you either call Transaction.commit() (if using the Transaction API) or Session.flush() (if you are not) at the end of a session to flush your in-memory changes to the database. | | If you are not using the Transaction API, you must then explicitly commit the transaction (by committing the JTA transaction or JDBC Connection). | Therefor on "Transaction.commit()" SQL query must be execute. But do not do that, while not execute "hsession.flush()". But in FAQ wrote, that "Session.flush()" must be using when we do not have Transaction. Where I'm wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960123#3960123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960123 From do-not-reply at jboss.com Sat Jul 22 13:20:59 2006 From: do-not-reply at jboss.com (supernovasoftware.com) Date: Sat, 22 Jul 2006 13:20:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <9651796.1153588859322.JavaMail.jboss@colo-br-02.atl.jboss.com> Christian: How is that example coming? CptnKirk: Would you you post what you sent Christian on the wiki so I can put some ADF funtionality in my project? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960124#3960124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960124 From do-not-reply at jboss.com Sat Jul 22 13:24:52 2006 From: do-not-reply at jboss.com (jkoek) Date: Sat, 22 Jul 2006 13:24:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Injecting PortalObjectContainer into servlet Message-ID: <9245223.1153589092286.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, Thanks. It works. Now I'm off to the next step and that is making the pages user specific. To share the knowledge hereby the code. In case someone has improvements please suggest. TransactionManager tm = null; try { InitialContext ic = new InitialContext(); tm = (TransactionManager) ic.lookup("java:/TransactionManager"); } catch (NamingException ex) { System.out.println("Failed to find transactionmnager" ); } try { tm.begin(); try { MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); container = (PortalObjectContainer)MBeanProxy.get(PortalObjectContainer.class, new ObjectName("portal:container=PortalObject"), mbeanServer); Context ctx = container.getContext(); PortalObject po = ctx.getDefaultPortal(); out.print("PortalNode " + po.getName()); System.out.println( "Portal retrieved!" + po.getName() ); ++loop; Portal portal = (Portal) po; portal.createPage( "JBOSS rocks!" + loop ); portal.createPage( "JBOSS rocks again!" + loop ); portal.createPage( "JBOSS rocks and again!" + loop ); } finally { tm.commit(); } } catch ( Exception ex ) { ex.printStackTrace(); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960125#3960125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960125 From do-not-reply at jboss.com Sat Jul 22 15:22:11 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Sat, 22 Jul 2006 15:22:11 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Big problem!How to lookup a entitybean which only have local Message-ID: <18615395.1153596131029.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to look up entity bean in my session bean.I give the name "LeagueBean" to this entity bean in my ejb-jar.xml ,source code is: LeagueBean team.LocalLeagueHome .................. and i do not use a jboss.xml file .when i deploy it in jboss,i see some output in the log: .......... Bound EJB LocalHome 'LeagueBean' to jndi 'local/LeagueBean at 18635912' ............... everytime i deploy it ,the jndi for my bean's localhome is different ,it seems to me i can not control it's jndi name at all.If like this,how can i decide the jndi name to call the "lookup()" function. Is it a bug?? help me!tell me how to lookup a entity bean which only have local interface.tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960126#3960126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960126 From do-not-reply at jboss.com Sat Jul 22 15:45:17 2006 From: do-not-reply at jboss.com (timfox) Date: Sat, 22 Jul 2006 15:45:17 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <5062636.1153597517863.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Todd- There are a couple of things to bear in mind here. Firstly, having a large number of selectors on a queue which select few of the messages is generally an anti-pattern and will always have poor performance since, since for every receive() the queue needs to be iterated through until a selected message is obtained for each consumer. The performance of this could be improved by using indexes but it will never be great and should be avoided. See http://jira.jboss.com/jira/browse/JBAS-1348 for a discussion of this in JBoss MQ - the same theory more or less applies in JBoss Messaging. Secondly there is a known bug in JBoss Messaging http://jira.jboss.com/jira/browse/JBMESSAGING-275 which means only the first consumer will get the message, as you have found out. This bug is due to be fixed in 1.0.2. In the mean-time if you can use a topic instead of a queue this won't exhibit the problems you have been seeing and the performance will always be much better. This is because a topic subscription will not accept any messages that don't match the selector, but a queue will since it cannot know in advance any selectors that consumers might use. Finally, the "correct" solution to this problem would be to use a new feature which allows consumers to group themselves according to JMSXGroupId. JBoss Messaging will then ensure that any messages with a particular value of JMSXGroupId is only consumed by consumers in that group. Users can configure how many consumers in each group. This task is discussed here: http://jira.jboss.com/jira/browse/JBMESSAGING-375 This allows partitioning of load and this feature is currently scheduled for 1.0.6 (hmmm I'll see if we can get this done sooner) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960127#3960127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960127 From do-not-reply at jboss.com Sat Jul 22 15:45:56 2006 From: do-not-reply at jboss.com (timfox) Date: Sat, 22 Jul 2006 15:45:56 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Can not read data for version 3. Supported versions: 1, Message-ID: <18395874.1153597556453.JavaMail.jboss@colo-br-02.atl.jboss.com> No problem. Glad you resolved it :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960128#3960128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960128 From do-not-reply at jboss.com Sat Jul 22 15:47:31 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Sat, 22 Jul 2006 15:47:31 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <21246669.1153597651690.JavaMail.jboss@colo-br-02.atl.jboss.com> Even after not using spring for registration of cache mbean with weblogic mbean server, the same classcast exception is visible inthe server logs. I dint know that the cache automatically registers with the mbean server when you start the service. Any help would be great... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960129#3960129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960129 From do-not-reply at jboss.com Sat Jul 22 16:08:11 2006 From: do-not-reply at jboss.com (achitre) Date: Sat, 22 Jul 2006 16:08:11 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JBoss, Tomcat & ActiveX Message-ID: <18375101.1153598891154.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am porting an application from Weblogic to JBoss. There's a feature that used to work under Weblogic, but now it's not working under JBoss. Any help in resolving this issue will be greatly appreciated. Here's the problem: We have a JSP that embeds a 'Visio Viewer' object as follows: | | | | | | | | Under JBoss the URL specified by 'SRC' attribute is not getting hit. As such we get an error message saying 'The file is not a valid visio file'. When I copy & paste the URL in another browser window it hits JBoss. But from within an ActiveX control it doesn't work. Is this a security issue either in JBoss or Tomcat? Please help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960130#3960130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960130 From do-not-reply at jboss.com Sat Jul 22 16:51:43 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Sat, 22 Jul 2006 16:51:43 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <27878901.1153601503328.JavaMail.jboss@colo-br-02.atl.jboss.com> Tim, Thank you so much for the response. I can certainly switch to Topics for now and move to the JMSXGroupId later. The final question I have is about the best practices with connections. As I asked in one of my previous posts to this thread: Is it better to have one connection per consumer or pool connections between consumers in the same process? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960131#3960131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960131 From do-not-reply at jboss.com Sat Jul 22 17:00:37 2006 From: do-not-reply at jboss.com (jason_rency) Date: Sat, 22 Jul 2006 17:00:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Error during model data update Message-ID: <11488712.1153602037444.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, I used the booking example to creat another application regserver. after deployed, when I tried to register a new user, the following error just appears on the registration page: "UId": Error during model data update. "EMail": Error during model data update. "phoneNumber": Error during model data update. any idea? thanks here is the stack track: 20:07:44,482 INFO [Pages] no pages.xml file found 20:07:44,482 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase java.lang.IllegalStateException: No active application scope at org.jboss.seam.core.Init.instance(Init.java:48) at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:87) at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 20:07:44,963 ERROR [STDERR] 22-Jul-2006 20:07:44 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 20:07:44,993 ERROR [STDERR] 22-Jul-2006 20:07:44 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 20:07:45,003 ERROR [STDERR] 22-Jul-2006 20:07:45 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 20:07:45,023 ERROR [STDERR] 22-Jul-2006 20:07:45 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 20:07:45,073 ERROR [STDERR] 22-Jul-2006 20:07:45 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 20:07:45,083 ERROR [STDERR] 22-Jul-2006 20:07:45 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.0.4/server/default/tmp/deploy/tmp12020regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml 20:07:45,453 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 20:07:45,453 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 20:07:45,453 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960132#3960132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960132 From do-not-reply at jboss.com Sat Jul 22 17:20:11 2006 From: do-not-reply at jboss.com (andygrav) Date: Sat, 22 Jul 2006 17:20:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Configuration problems in seam CVS for TestNG eclipse pl Message-ID: <21944903.1153603211251.JavaMail.jboss@colo-br-02.atl.jboss.com> Ive just read in the readme.txt in the numberguess directory that you should add the following to the source path of eclipse. examples/numberguess/src/ examples/numberguess/resources/ However if I then want to run the tests for a different example I will have to delete the above and change it for the new example. Another alternative I have found is to use the ant test and specify the testexample task. However I still havent figured out how to use right click on a test selecting the TestNG option to tun the test. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960133#3960133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960133 From do-not-reply at jboss.com Sat Jul 22 17:33:23 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sat, 22 Jul 2006 17:33:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <2740800.1153604003442.JavaMail.jboss@colo-br-02.atl.jboss.com> Added the example to the wiki. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSeam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960135#3960135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960135 From do-not-reply at jboss.com Sat Jul 22 18:02:54 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sat, 22 Jul 2006 18:02:54 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <16007096.1153605774235.JavaMail.jboss@colo-br-02.atl.jboss.com> In ejb-jar.xml, replace the lines | with | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960136#3960136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960136 From do-not-reply at jboss.com Sat Jul 22 18:20:25 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sat, 22 Jul 2006 18:20:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not start JBoss 4.0.4 Message-ID: <6206947.1153606825359.JavaMail.jboss@colo-br-02.atl.jboss.com> srinivas.k, you should have started a new topic rather than posting on an existing topic. But since Anand posted the same question to multiple forums (also frowned on), and his question is being answered in another post, I will try to help. But first, your question isn't clear and doesn't provide enough information to help you with your problem. You say you are using JBoss 3.2.x. Which version, exactly? 3.2.7? You said you did not create a new configuration but then said "I tried creating one". Was that a typo, in other words, did you mean "I tried starting one"? If not, what did you mean by "creating one"? Your statement is especially confusing since later you say "I could not delete this currently created configuration". So, did you or did you not create a new configuration? What do you mean by not including any source code? Are you saying that you did not deploy any of you own applications to JBoss? How did you start the server in debug mode? Do you mean that you ran via an IDE such as Eclipse? You said you are getting error pop ups. Once again this implies to me that you are starting the server via and IDE. What do the pop-ups say. Without the exact text it is impossible to help. Try this. From a command prompt, go to the bin directory where JBoss is installed and run the run.bat or run.sh file. Once you see the "server started in xxx seconds" messages, you should be able to one a browser and enter the URL http://localhost:8080 and see the JBoss welcome page. If this works, then JBoss is running fine. If it doesn't, post the text that was output to the command window. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960137#3960137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960137 From do-not-reply at jboss.com Sat Jul 22 19:17:50 2006 From: do-not-reply at jboss.com (hchafi) Date: Sat, 22 Jul 2006 19:17:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Patterns and Seam Message-ID: <32186374.1153610270639.JavaMail.jboss@colo-br-02.atl.jboss.com> Will these patterns be discussed in the upcoming Seam book? -hc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960138#3960138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960138 From do-not-reply at jboss.com Sat Jul 22 19:37:04 2006 From: do-not-reply at jboss.com (guava) Date: Sat, 22 Jul 2006 19:37:04 -0400 (EDT) Subject: [jboss-user] [JBossCache] - TreeCache.startService() hang Message-ID: <7246695.1153611424085.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm on JbossCache-1.4.0GA. I seem to have problem creating TreeCache using an already connected JChannel. ========================= Channel channel = new JChannel(); channel.connect("COCO"); TreeCache tcache = new TreeCache((JChannel)channel); tcache.setClusterName("COCO_CACHE"); tcache.setCacheMode(TreeCache.REPL_SYNC); tcache.startService(); ========================= startService() hangs at stateLock.wait() of fetchStateOnStartup() I'm probably not using it correctly. Thanks for any help. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960139#3960139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960139 From do-not-reply at jboss.com Sat Jul 22 20:15:37 2006 From: do-not-reply at jboss.com (bytor99999) Date: Sat, 22 Jul 2006 20:15:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Building a JBoss Seam website in 2 hours for our JUG Message-ID: <10437190.1153613737163.JavaMail.jboss@colo-br-02.atl.jboss.com> Very cool. Please let us know how it went. Mark Spritzler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960140#3960140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960140 From do-not-reply at jboss.com Sat Jul 22 20:58:26 2006 From: do-not-reply at jboss.com (khadimk) Date: Sat, 22 Jul 2006 20:58:26 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Newbie with JBossWS : problem with wstools Message-ID: <4078666.1153616306534.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to run the TrivialEndpoint example. But when I used wstools from command line, I get this error message: log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" org.jboss.ws.WSException: Endpoint org.jboss.test.ws. samples.rpcstyle.TrivialService cannot be loaded at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(Too lsHelper.java:113) at org.jboss.ws.tools.WSTools.process(WSTools.java:129) at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) at org.jboss.ws.tools.WSTools.main(WSTools.java:61) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960141#3960141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960141 From do-not-reply at jboss.com Sat Jul 22 21:13:57 2006 From: do-not-reply at jboss.com (khadimk) Date: Sat, 22 Jul 2006 21:13:57 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Problem with wstools (Endpoint ... cannot be loaded) Message-ID: <4320354.1153617237266.JavaMail.jboss@colo-br-02.atl.jboss.com> DID YOU GET A FIX TO THIS PROBLEM YET ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960142#3960142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960142 From do-not-reply at jboss.com Sat Jul 22 21:27:14 2006 From: do-not-reply at jboss.com (timfox) Date: Sat, 22 Jul 2006 21:27:14 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <30303554.1153618034900.JavaMail.jboss@colo-br-02.atl.jboss.com> You should try and minimise the amount of connections you create (see JMS1.1 4.3): "Due to the authentication and communication setup done when a Connection is created, a Connection is a relatively heavyweight JMS object. Most clients will do all their messaging with a single Connection. Other more advanced applications may use several Connections. JMS does not architect a reason for using multiple connections (other than when a client acts as a gateway between two different providers); however, there may be operational reasons for doing so." However if you are using a JMS JCA resource adaptor to use JMS, then you should *not* attempt to pool connections yourself. This is because with JCA the "connections" are typically proxies around smart connection references which handle pooling transparently for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960143#3960143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960143 From do-not-reply at jboss.com Sat Jul 22 22:07:01 2006 From: do-not-reply at jboss.com (thanhbk99) Date: Sat, 22 Jul 2006 22:07:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBoss with JDK1.5 Message-ID: <7277283.1153620421974.JavaMail.jboss@colo-br-02.atl.jboss.com> =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: D:\jboss-4.0.4.GA.patch1\bin\\.. . JAVA: D:\Java\j2sdk1.5.0\jre\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcIn terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: D:\Java\j2sdk1.5.0\jre\lib\tools.jar;D:\jboss-4.0.4.GA.patch1\bin\\ run.jar . =============================================================================== . 08:51:40,750 INFO [Server] Starting JBoss (MX MicroKernel)... 08:51:40,765 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBo ss_4_0_4_GA date=200605151000) 08:51:40,765 INFO [Server] Home Dir: D:\jboss-4.0.4.GA.patch1 08:51:40,781 INFO [Server] Home URL: file:/D:/jboss-4.0.4.GA.patch1/ 08:51:40,781 INFO [Server] Patch URL: null 08:51:40,781 INFO [Server] Server Name: default 08:51:40,781 INFO [Server] Server Home Dir: D:\jboss-4.0.4.GA.patch1\server\def ault 08:51:40,781 INFO [Server] Server Home URL: file:/D:/jboss-4.0.4.GA.patch1/serv er/default/ 08:51:40,796 INFO [Server] Server Log Dir: D:\jboss-4.0.4.GA.patch1\server\defa ult\log 08:51:40,796 INFO [Server] Server Temp Dir: D:\jboss-4.0.4.GA.patch1\server\def ault\tmp 08:51:40,796 INFO [Server] Root Deployment Filename: jboss-service.xml 08:51:40,968 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationExcept ion: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegat e', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDele gate at 2a4983)] Failed to boot JBoss: java.lang.RuntimeException: Cannot create MBeanServer at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239) at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServer BuilderImpl.java:71) at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory .java:316) at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFact ory.java:219) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420) 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:464) at java.lang.Thread.run(Thread.java:566) Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [O bjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MB eanServerDelegate (javax.management.MBeanServerDelegate at 2a4983)] at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas icMBeanRegistry.java:713) at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMB eanRegistry.java:211) at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215) ... 8 more Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean at javax.management.modelmbean.ModelMBeanInfoSupport.getDescriptors(Mode lMBeanInfoSupport.java:445) at org.jboss.mx.modelmbean.ModelMBeanInvoker.initPersistence(ModelMBeanI nvoker.java:538) at org.jboss.mx.modelmbean.ModelMBeanInvoker.init(ModelMBeanInvoker.java :520) at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBea nInvoker.java:486) at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInv oker.java:654) at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(Bas icMBeanRegistry.java:697) ... 10 more Caused by: java.lang.IllegalArgumentException: Descriptor Type is invalid ... 16 more Press any key to continue . . . ----------------------------------------------------------------------- Hi everybody, Could you tell me how I can run Jboss with JDK1.5 Thanks for advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960144#3960144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960144 From do-not-reply at jboss.com Sat Jul 22 22:39:08 2006 From: do-not-reply at jboss.com (sudhakar_guntaka) Date: Sat, 22 Jul 2006 22:39:08 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Problem with wstools (Endpoint ... cannot be loaded) Message-ID: <7834343.1153622348844.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Initially I also tried the same way and got the same error. Later I build all the examples in jbossws-samples with build.xml using ant in root directory of samples and later I ran build.xml in docstyle folder of jbossws-samples file using ant and it successfully deployed my webservice in jboss. Try using building with ant and still if you face any problems, give a reply....................... cheers, Sudhakar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960145#3960145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960145 From do-not-reply at jboss.com Sat Jul 22 22:40:46 2006 From: do-not-reply at jboss.com (mazz@jboss.com) Date: Sat, 22 Jul 2006 22:40:46 -0400 (EDT) Subject: [jboss-user] [Remoting] - connection validator Message-ID: <2083266.1153622446192.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm noticing a lot of short lived threads getting created. They seem to be created ConnectionValidator. Is there anyway we can get it to use a thread pool or otherwise limit the number of threads it creates and destroys? While I can't prove it (yet), I'm assuming this large amount of threads that are created and quickly destroyed will have a detrimental effect on my overall VM's performance. What is this used for? Is there anyway I can disable it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960146#3960146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960146 From do-not-reply at jboss.com Sat Jul 22 23:29:50 2006 From: do-not-reply at jboss.com (hchafi) Date: Sat, 22 Jul 2006 23:29:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Event scopted stateful components Message-ID: <10736577.1153625390872.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not sure I understand the benefit of using an event scoped stateful component such as was used in the RegisterAction class of seams-booking. In seam-registration, a stateless RegisterAction is used, and things seem to work fine. -hc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960149#3960149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960149 From do-not-reply at jboss.com Sun Jul 23 01:14:49 2006 From: do-not-reply at jboss.com (supernovasoftware.com) Date: Sun, 23 Jul 2006 01:14:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <25940330.1153631689246.JavaMail.jboss@colo-br-02.atl.jboss.com> Thx again. You saved me valuable time. I had ADF working flawlessly in my application in 10 min by following your example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960151#3960151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960151 From do-not-reply at jboss.com Sun Jul 23 01:28:25 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Sun, 23 Jul 2006 01:28:25 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <32061881.1153632505639.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, that all makes a fair amount of sense to me. As for the connections, I'm using the default connection factory that comes with JBoss Messaging and getting it via JNDI and casting it to a TopicConnection. Is that the JCA connector or do I need to go about something else? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960152#3960152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960152 From do-not-reply at jboss.com Sun Jul 23 01:29:19 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Sun, 23 Jul 2006 01:29:19 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l Message-ID: <13483215.1153632559441.JavaMail.jboss@colo-br-02.atl.jboss.com> any help ?? tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960153#3960153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960153 From do-not-reply at jboss.com Sun Jul 23 01:49:43 2006 From: do-not-reply at jboss.com (amitguz) Date: Sun, 23 Jul 2006 01:49:43 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: cannot deploy applications with version 2.0.0.Alpha1a Message-ID: <22020734.1153633783264.JavaMail.jboss@colo-br-02.atl.jboss.com> I meant that after I update the IDE to the latest version the popup does not contain any more the option "run on server" instead it only contains "run..." option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960154#3960154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960154 From do-not-reply at jboss.com Sun Jul 23 03:14:12 2006 From: do-not-reply at jboss.com (d_sateesh) Date: Sun, 23 Jul 2006 03:14:12 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Immediate Database updates in Transaction Message-ID: <17059007.1153638852924.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello experts, I am migrating our App. Server from Weblogic 7.0 to JBOSS 4.0.x. In our application for some beans we are using false property(Which is weblogic specific) for immediate updates in DB whenever any change in beans state. Is there any equlient property in JBOSS. If so please help me, very urgent. Regards, Sateesh D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960155#3960155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960155 From do-not-reply at jboss.com Sun Jul 23 03:24:50 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Sun, 23 Jul 2006 03:24:50 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l Message-ID: <27257146.1153639490430.JavaMail.jboss@colo-br-02.atl.jboss.com> oh,I know .Add a jboss.xml file,then define the jndi name for every ejb in this file.it will work. but for session bean,i need not provide jboos.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960156#3960156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960156 From do-not-reply at jboss.com Sun Jul 23 03:25:04 2006 From: do-not-reply at jboss.com (jboss2win) Date: Sun, 23 Jul 2006 03:25:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - A error occurs when deploying a .war file. Message-ID: <2513366.1153639504871.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi,guys,I deploy a .war file,and I start Jboss,the following error occurs: ...... Starting jboss.mq:service=PersistenceManager 2006-07-23 15:02:58,528 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Creating Schema 2006-07-23 15:02:58,608 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] Could not create table with SQL: CREATE CACHED TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) java.sql.SQLException: Table already exists: JMS_MESSAGES in statement [CREATE CACHED TABLE JMS_MESSAGES]...... What's the problem?Please help! Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960157#3960157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960157 From do-not-reply at jboss.com Sun Jul 23 03:33:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Sun, 23 Jul 2006 03:33:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <1826629.1153639996710.JavaMail.jboss@colo-br-02.atl.jboss.com> Please chuck, no bumping. If it is that important, you can always call JBoss or one of its affiliates and hire someone from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960158#3960158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960158 From do-not-reply at jboss.com Sun Jul 23 03:35:51 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Sun, 23 Jul 2006 03:35:51 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - How to all oracle procedure in cmp bean? Message-ID: <29637338.1153640151941.JavaMail.jboss@colo-br-02.atl.jboss.com> May be procedure is still needed when we use cmp bean.How can we call oracle procedure or function in a cmp bean.in this case ,should we write jdbc code by ourself or we can also achieve this by edit these serveral descriptor xml file? oracel procedure or function provide more flexibilty for fulfilling our buiness logic then cmp bean can do,any one agree with me? I hope someone tell me something about these topic above. with greate tks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960159#3960159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960159 From do-not-reply at jboss.com Sun Jul 23 03:35:57 2006 From: do-not-reply at jboss.com (kukeltje) Date: Sun, 23 Jul 2006 03:35:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Make decision on a business process Message-ID: <10056255.1153640157906.JavaMail.jboss@colo-br-02.atl.jboss.com> look at the testcases/examples in the sourcecode. There is enough info there. Besides that, search this forum, has been asked and answered before (searchbehaviour by default is OR, so pay attention to your query) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960160#3960160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960160 From do-not-reply at jboss.com Sun Jul 23 04:01:52 2006 From: do-not-reply at jboss.com (kumar.ravis) Date: Sun, 23 Jul 2006 04:01:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Help needed- Regarding Regarding jbpm-jpd Message-ID: <9444052.1153641712887.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am new to JBPM. I want to add my custom controller (e.g dropdown list, radio button) on any task and their listener to handle the event through JBoss jBPM Process Designer (jbpm-jpd ). Is it possible or not? Does any one have any idea, how it can be done? Please response. Thanks and Regards. -Ravi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960162#3960162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960162 From do-not-reply at jboss.com Sun Jul 23 04:04:44 2006 From: do-not-reply at jboss.com (esgargs) Date: Sun, 23 Jul 2006 04:04:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Need help building Jboss Portal Server from source Message-ID: <32330086.1153641884175.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been mucking my brains out over this, but it just doesn't work, and I am sure I am making a trivial mistake here. Basically, I built JBoss AS from source, and it works perfectly. Now, I am trying to build the portal server from source, and I can build the datasource descriptors sucessfully, but for some reason using "build deploy" in the build directory gives me the following error(s): Executing C:\Jboss\jbp-2.4\build\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger deploy Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property configure-project: [echo] groups: default [echo] modules: common,test,api,faces,server,security,identity,format,portlet,theme,cms,bridge,samples,wsrp,core _buildmagic:modules:most: ============================================================== == == Executing 'most' in module 'common'... == == configure: Overriding previous definition of reference to apache.ant.classpath == == == Finished 'most' in module 'common'. == ============================================================== ============================================================== == == Executing 'most' in module 'test'... == == configure: Overriding previous definition of reference to apache.ant.classpath == == == Finished 'most' in module 'test'. == ============================================================== ============================================================== == == Executing 'most' in module 'api'... == == configure: Overriding previous definition of reference to apache.ant.classpath == == == Finished 'most' in module 'api'. == ============================================================== ============================================================== == == Executing 'most' in module 'faces'... == == configure: Overriding previous definition of reference to apache.ant.classpath == == == Finished 'most' in module 'faces'. == ============================================================== ============================================================== == == Executing 'most' in module 'server'... == == configure: Overriding previous definition of reference to apache.ant.classpath [echo] C:\Jboss\jbp-2.4/thirdparty/xdoclet/lib/ [echo] C:\Jboss\jbp-2.4/thirdparty/sun-servlet/lib/ _default:compile-classes: [javac] Compiling 57 source files to C:\Jboss\jbp-2.4\server\output\classes [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:28: warning: [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated [execmodules] import javax.servlet.http.HttpSessionContext; [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:111: warning: [deprecation] javax.servlet.http.HttpSessionContext in javax.servlet.http has been deprecated [execmodules] public HttpSessionContext getSessionContext() [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:91: RequestParameter(java.lang.String,java.lang.String[],int) has private access in org.jboss.portal.server.request.RequestParameter [execmodules] RequestParameter param = new RequestParameter(paramName, paramValues, queryValues.length); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:101: cannot find symbol [execmodules] symbol : method setParameters(java.util.Map) [execmodules] location: class org.jboss.portal.server.ServerRequest [execmodules] invocation.getRequest().setParameters(parameters); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\aspects\server\ParametersInterceptor.java:104: cannot find symbol [execmodules] symbol : method setURLContext(org.jboss.portal.server.request.URLContext) [execmodules] location: class org.jboss.portal.server.ServerRequest [execmodules] invocation.getRequest().setURLContext(URLContext.newInstance(req.isSecure(), req.getRemoteUser() != null)); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:166: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules] public boolean isRequestedSessionIdFromUrl() [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:291: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated [execmodules] public String getRealPath(String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:168: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules] return getDelegate().isRequestedSessionIdFromUrl(); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingRequest.java:293: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated [execmodules] return getDelegate().getRealPath(name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:120: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public void setStatus(int i, String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:65: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public String encodeRedirectUrl(String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:60: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public String encodeUrl(String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:62: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] return getDelegate().encodeUrl(name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:67: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] return getDelegate().encodeRedirectUrl(name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\AbstractDelegatingResponse.java:122: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] getDelegate().setStatus(i, name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:36: warning: [deprecation] isRequestedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecated [execmodules] public class ProxyRequest extends AbstractDelegatingRequest [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:36: warning: [deprecation] getRealPath(java.lang.String) in javax.servlet.ServletRequest has been deprecated [execmodules] public class ProxyRequest extends AbstractDelegatingRequest [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:151: warning: [deprecation] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated [execmodules] public void removeValue(String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:141: warning: [deprecation] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated [execmodules] public void putValue(String name, Object object) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:131: warning: [deprecation] getValueNames() in javax.servlet.http.HttpSession has been deprecated [execmodules] public String[] getValueNames() [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:121: warning: [deprecation] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated [execmodules] public Object getValue(String name) [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:111: warning: [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been deprecated [execmodules] public HttpSessionContext getSessionContext() [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:113: warning: [deprecation] getSessionContext() in javax.servlet.http.HttpSession has been deprecated [execmodules] return ProxyRequest.this.getSession().getSessionContext(); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:123: warning: [deprecation] getValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated [execmodules] return ProxyRequest.this.getSession().getValue(name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:133: warning: [deprecation] getValueNames() in javax.servlet.http.HttpSession has been deprecated [execmodules] return ProxyRequest.this.getSession().getValueNames(); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:143: warning: [deprecation] putValue(java.lang.String,java.lang.Object) in javax.servlet.http.HttpSession has been deprecated [execmodules] ProxyRequest.this.getSession().putValue(name, object); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyRequest.java:153: warning: [deprecation] removeValue(java.lang.String) in javax.servlet.http.HttpSession has been deprecated [execmodules] ProxyRequest.this.getSession().removeValue(name); [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] setStatus(int,java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public class ProxyResponse extends AbstractDelegatingResponse [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] encodeRedirectUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public class ProxyResponse extends AbstractDelegatingResponse [execmodules] ^ [execmodules] C:\Jboss\jbp-2.4\server\src\main\org\jboss\portal\server\servlet\ProxyResponse.java:32: warning: [deprecation] encodeUrl(java.lang.String) in javax.servlet.http.HttpServletResponse has been deprecated [execmodules] public class ProxyResponse extends AbstractDelegatingResponse [execmodules] ^ [execmodules] 3 errors [execmodules] 27 warnings Press any key to continue . . . I am on Windows XP, and my classpath and path settings are as follows: CLASSPATH=C:\progra~1\Java\jdk1.5.0_04\lib\ext\QTJava.zip;C:\progra~1\Java\jdk1. 5.0_04;.;C:\Jboss\server\default\lib;C:\Jboss\client;C:\Jboss;C:\Jboss\jboss-4.0 .4.GA-ejb3\bin;C:\Jboss\jboss-4.0.4.GA-ejb3\server\default\lib;C:\progra~1\Java\ jdk1.5.0_04\bin;C:\progra~1\Java\jre1.5.0_07\bin;C:\progra~1\Java\jre1.5.0_07\li b;C:\Jboss\jboss-4.0.4.GA-ejb3\server\default\deploy;C:\Jboss\jboss-4.0.4.GA-ejb 3\client; JAVA_HOME=C:\progra~1\Java\jdk1.5.0_04 JBOSS_HOME=C:\Jboss\jboss-4.0.4.GA-ejb3 Path="C:\Program Files\Microsoft DirectX SDK (April 2006)\Utilities\Bin\x86";C:\ Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WIN DOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\PROGRA ~1\COMMON~1\SONICS~1\;C:\MATLAB701\bin\win32;C:\Program Files\QuickTime\QTSystem \;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\MySQL\My SQL Server 5.0\bin;"C:\Program Files\Java\jdk1.5.0_04\bin" I would really appreciate any help in resolving this and enabling me to run the portal server on my machine. Once I get that sorted out, I am interested in using Eclipse for portlets development, which I am also having problems with. Thanks a lot in advance. Cheers -es View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960163#3960163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960163 From do-not-reply at jboss.com Sun Jul 23 04:15:50 2006 From: do-not-reply at jboss.com (Basel) Date: Sun, 23 Jul 2006 04:15:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Patterns and Seam Message-ID: <27853635.1153642550790.JavaMail.jboss@colo-br-02.atl.jboss.com> I would love to see a chapter or even a section dedicated to design patterns in the upcoming Seam Book. Discussing new patterns specific to Seam and why some of the current J2EE patterns are obsolete is definitely a plus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960165#3960165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960165 From do-not-reply at jboss.com Sun Jul 23 04:20:26 2006 From: do-not-reply at jboss.com (qqchuck) Date: Sun, 23 Jul 2006 04:20:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <32612906.1153642826391.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : Please chuck, no bumping. If it is that important, you can always call JBoss or one of its affiliates and hire someone from there. Except I've called them(ya'll) 3 separate times to 2 different sales people and not a single return phone call. I'm not bitter, I'm just tellin ya how it is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960166#3960166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960166 From do-not-reply at jboss.com Sun Jul 23 05:10:50 2006 From: do-not-reply at jboss.com (gcal_syd) Date: Sun, 23 Jul 2006 05:10:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Tapestry + EJB3 Message-ID: <4930980.1153645850721.JavaMail.jboss@colo-br-02.atl.jboss.com> I've created a demo to help developers learn Tapestry and EJB3 together, by example. It's called Tapestry JumpStart. All feedback on ways to improve it will be extremely welcome. http://tapestry.apache.org/tapestry4.1/QuickStart/contributed.html Geoff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960167#3960167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960167 From do-not-reply at jboss.com Sun Jul 23 06:44:29 2006 From: do-not-reply at jboss.com (swenbarth) Date: Sun, 23 Jul 2006 06:44:29 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Sub-Partitions or other solutions for scaling problem? Message-ID: <12529347.1153651469643.JavaMail.jboss@colo-br-02.atl.jboss.com> As Sub-Partitions seem not to be implemented yet in 4.0.4. (according to the documentation I cited below), is there another solution for the following problem I'm not aware of? The documentation says: anonymous wrote : "A cluster (partition) contains a set of nodes that work toward a same goal. Some clustering features require to sub-partition the cluster to achieve a better scalability. For example, let's imagine that we have a 10-node cluster and we want to replicate in memory the state of stateful session beans on all 10 different nodes to provide for fault-tolerant behaviour. It would mean that each node has to store a backup of the 9 other nodes. This would not scale at all (each node would need to carry the whole state cluster load). It is probably much better to have some kind of sub-partitions inside a cluster and have beans state exchanged only between nodes that are part of the same sub-partition. The future JBoss clustering implementation will support sub-partitions and it will allow the cluster administrator to determine the optimal size of a sub-partition. The sub-partition topology computation will be done dynamically by the cluster." My question: is there a way to manually achieve a solution similar to sub-partitions? When will sub-partitions be implemented (not necessarily with full dynamic features)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960170#3960170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960170 From do-not-reply at jboss.com Sun Jul 23 06:46:35 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Sun, 23 Jul 2006 06:46:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <13488741.1153651595912.JavaMail.jboss@colo-br-02.atl.jboss.com> Chuck, Sorry about our sales organisation not reacting to your request. I forwarded your request to sales again. Hopefully they will react this time. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960171#3960171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960171 From do-not-reply at jboss.com Sun Jul 23 06:55:26 2006 From: do-not-reply at jboss.com (koriel) Date: Sun, 23 Jul 2006 06:55:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - jboss seam example Message-ID: <6168264.1153652126988.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok I tried to import the seam registration example to eclipse and I'm using the jboss-ide packaging to create ear,war and jar files but although the final structure is identical to jboss seam's structure I got the following error | 13:42:16,395 INFO [Pages] no pages.xml file found | 13:42:21,803 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 13:42:21,803 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 13:42:21,803 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now. | 13:42:31,909 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id _idJsp0:_idJsp6 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.register} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 24 more | Caused by: javax.ejb.EJBException: java.lang.NullPointerException | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy105.register(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 25 more | Caused by: java.lang.NullPointerException | at org.jboss.seam.example.registration.RegisterAction.register(RegisterAction.java:34) | 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.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | | | | this is my components.xml | | | | uai_sys/#{ejbName}/local | | | | | | | | my web.xml | | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | javax.faces.STATE_SAVING_METHOD | client | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | Faces Servlet | *.seam | | | | my faces-config.xml | | | | | | | | org.jboss.seam.jsf.SeamPhaseListener | | | | my ejb-jar.xml | | | | * | org.jboss.seam.ejb.SeamInterceptor | | | | my jboss-app.xml | | | seam.jboss.org:loader=uai_sys | | | The problem occurs when I try to register the user..for somehow it can't find the ejb name but why? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960172#3960172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960172 From do-not-reply at jboss.com Sun Jul 23 07:01:58 2006 From: do-not-reply at jboss.com (Basel) Date: Sun, 23 Jul 2006 07:01:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <13294892.1153652518505.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : (I already implemented an RSS feed in the blog example) Does SeamListener handle the request to index.rss and parse the EL elements? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960173#3960173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960173 From do-not-reply at jboss.com Sun Jul 23 07:24:08 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Sun, 23 Jul 2006 07:24:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: I am getting Message-ID: <5597444.1153653848969.JavaMail.jboss@colo-br-02.atl.jboss.com> It looks like the url decode can't find the objects that are asked. when trying to map the url to the page asked in it, it can't find this page (or window in a page). I would say, first : Try the complete url to get the default page : http://localhost:8080/portal/portal/default/default or try also http://localhost:8080/portal/portal/default second, look at the description of the portal and pages, default-object.xml files (or *-object.xml) third, it may come from the error on locale : if the page is not defined for the default locale etc... but don't know exactly if this is possible... hope it can help, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960174#3960174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960174 From do-not-reply at jboss.com Sun Jul 23 07:33:33 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Sun, 23 Jul 2006 07:33:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: I am getting Message-ID: <28535258.1153654413471.JavaMail.jboss@colo-br-02.atl.jboss.com> "Antoine_h" wrote : | second, look at the description of the portal and pages, default-object.xml files (or *-object.xml) | I mean, check that the default page is defined and that it exists the property of the portal is : | portal.defaultObjectName | defaultPage | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960175#3960175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960175 From do-not-reply at jboss.com Sun Jul 23 08:06:38 2006 From: do-not-reply at jboss.com (lichking) Date: Sun, 23 Jul 2006 08:06:38 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - No available tutorial for JBoss Eclipse IDE 1.6 ? Message-ID: <33453532.1153656398359.JavaMail.jboss@colo-br-02.atl.jboss.com> Ask for an example of EJB3.0 with JBoss Eclipse IDE 1.6. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960176#3960176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960176 From do-not-reply at jboss.com Sun Jul 23 08:57:27 2006 From: do-not-reply at jboss.com (kukeltje) Date: Sun, 23 Jul 2006 08:57:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Help needed- Regarding Regarding jbpm-jpd Message-ID: <11353460.1153659447105.JavaMail.jboss@colo-br-02.atl.jboss.com> the process designer has nothing to do with the userinterface (yet). A custom controller is no userinterface element. The controller is the piece of code that handles the userinterface requests. Which userinterface elements (jsf components in the case of jBPM) can be used is completely up to the way the forms are handled. In jBPM 3.1 you cannot influence this at all without building your own or adapt the exsisting controler. In the upcomming jBPM 3.2 (currently only in cvs) there is more flexibility, but if it is enough for your needs remains to be seen and depends on your needs. So If you feel up to it, checkout the CVS head and play with it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960177#3960177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960177 From do-not-reply at jboss.com Sun Jul 23 10:40:45 2006 From: do-not-reply at jboss.com (supernovasoftware.com) Date: Sun, 23 Jul 2006 10:40:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <33228316.1153665645288.JavaMail.jboss@colo-br-02.atl.jboss.com> I spoke too soon. I get the following error on any pages that have | | | | I have seen various posts on this problem, but no resolution. I saw Gavin hacked this for s:link http://jira.jboss.com/jira/browse/JBSEAM-257 My t:jscookMenu also renders, but no longer works due to a javascript error. Does anyone one have this playing nice with all tomahawk and std jsf components? java.lang.NullPointerException: charsetName | at java.io.OutputStreamWriter.(OutputStreamWriter.java:81) | at java.net.URLEncoder.encode(URLEncoder.java:189) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.addParameterToHref(HtmlLinkRendererBase.java:445) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.addChildParametersToHref(HtmlLinkRendererBase.java:383) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.renderOutputLinkStart(HtmlLinkRendererBase.java:399) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:101) | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:336) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:305) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:281) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:126) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) | at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) | at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) | at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at pipetracker.web.servlet.HttpServletRequestTimerFilter.doFilter(HttpServletRequestTimerFilter.java:33) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960178#3960178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960178 From do-not-reply at jboss.com Sun Jul 23 11:02:53 2006 From: do-not-reply at jboss.com (awmobjects) Date: Sun, 23 Jul 2006 11:02:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal 2.2.1 SP3 released Message-ID: <23645932.1153666973209.JavaMail.jboss@colo-br-02.atl.jboss.com> You know what they say: Perception isn't everything...it's the ONLY thing! ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960179#3960179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960179 From do-not-reply at jboss.com Sun Jul 23 12:14:25 2006 From: do-not-reply at jboss.com (kerzner@shmsoft.com) Date: Sun, 23 Jul 2006 12:14:25 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Shutdown of JBoss hangs Message-ID: <7412815.1153671265055.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a similar problem. However, I think the problem is elsewhere. My configuration is Linux non-clustered, and after a few weeks JBoss stops working correctly, then I can not shut it down - same symptom. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960180#3960180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960180 From do-not-reply at jboss.com Sun Jul 23 12:15:51 2006 From: do-not-reply at jboss.com (muhviehstarr) Date: Sun, 23 Jul 2006 12:15:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null Message-ID: <31130425.1153671351749.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently you cannot use the @EJB-annotation in servlets. It is only available in SessionBeans and MDBs. You should try to look via JNDIView (JMX-Console -> JNDIView -> list-Method) for your SessionBean to know the correct name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960181#3960181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960181 From do-not-reply at jboss.com Sun Jul 23 12:43:34 2006 From: do-not-reply at jboss.com (kjc5664) Date: Sun, 23 Jul 2006 12:43:34 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Getting a javax.naming.Reference instance instead of actual Message-ID: <17090407.1153673014364.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Version: 4-0.3SP1 OS: Mandrake Linux 2006 JDK: 1.5 On the server I have deployed an MBean which binds an object into the JNDI name space as follows: | StdSchedulerFactory schedulerFactory = new StdSchedulerFactory(); | Scheduler scheduler = schedulerFactory.getScheduler(); | | InitialContext ctx = new InitialContext(); | ctx.rebind(SchedulerConstants.DEFAULT_SCHEDULER_NAME,scheduler); | On the client side. I attempt to retreive the object from JNDI name space with the the following code: | Properties properties = new Properties(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | properties.put(Context.PROVIDER_URL, "localhost:1099"); | properties.put(Context.URL_PKG_PREFIXES,"org.jboss.naming"); | | InitialContext iniCtx = new InitialContext(properties); | | Scheduler schedObj = | (Scheduler) iniCtx.lookup(SchedulerConstants.DEFAULT_SCHEDULER_NAME); | | | This gives me ClassCastException: javax.naming.Reference. I have implemented the javax.naming. Referenceable interface. With getReference() returning a reference that has been instantiated with the name of the class, as well as the factory which creates the class. | public Reference getReference(){ | | Reference retVal = new Reference( | "StdScheduler", | "StdSchedulerFactory", | null); | | log.info("Returning reference"); | return retVal; | } | The Jar file containing the classes StdScheduler and StdScheduler factory are in the ClassPath for both JBoss (in server/all/lib). And the client. What am I doing wrong. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960182#3960182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960182 From do-not-reply at jboss.com Sun Jul 23 13:54:53 2006 From: do-not-reply at jboss.com (leulberg) Date: Sun, 23 Jul 2006 13:54:53 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamic configuration for ehcache in hibernate Message-ID: <4353941.1153677293299.JavaMail.jboss@colo-br-02.atl.jboss.com> I use the ejb3 interface to hibernate in an dynamic way for persisting. I create an EJB3-Configuration with the API and set it up to use ehcache. | configuration | .setProperty("hibernate.dialect", "org.hibernate.dialect.SQLServerDialect") | : | : | .setProperty("hibernate.order_updates", "true") | .setProperty("hibernate.hbm2ddl.auto", "validate") | .setProperty("hibernate.cache.provider_class", "org.hibernate.cache.EhCacheProvider"); | Furthermore, I have to handle more than one configuration at the same time. For this requirement, I have to handle more than one ehcache configuration, too. There is a way to setup a xml-configuration for ehcache with the hibernate configuration parameter hibernate.cache.provider_configuration_file_resource_path. Now my question: Is there any possibility to build up an ehcache configuration programatically and to set up it in the ejb3 configuration of hibernate, too? Or should I use another Cache? Which one? Thanks for help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960183#3960183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960183 From do-not-reply at jboss.com Sun Jul 23 14:04:08 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 14:04:08 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Cannot download using Firefox Message-ID: <14028482.1153677848370.JavaMail.jboss@colo-br-02.atl.jboss.com> I attempted to download the JBoss Portal 2.4.0 CR2 using Firefox and got a page displaying this error message: Could not read file. | | Go back. /home/ftp/pub/sourceforge//s/so/sourceforge/jboss/jboss-portal-2.4.0-CR2.zip | Jul 23, 2006 10:55 Firefix showed this URL: http://prdownloads.sourceforge.net/sourceforge/jboss/jboss-portal-2.4.0-CR2.zip I even checked that I allowed scripts to run from Source Forge. The portlal downloads fine using IE. Other JBoss components download just fine using Firefox. Why is the download of the portal different? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960185#3960185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960185 From do-not-reply at jboss.com Sun Jul 23 14:15:59 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Sun, 23 Jul 2006 14:15:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot download using Firefox Message-ID: <10177489.1153678559731.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also using mozilla firefox (1.0.7) and I can download it just fine, but the URL you pasted is wrong, should be http://prdownloads.sourceforge.net/jboss/jboss-portal-2.4.0-CR2.zip?download View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960186#3960186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960186 From do-not-reply at jboss.com Sun Jul 23 14:56:53 2006 From: do-not-reply at jboss.com (papick.taboada) Date: Sun, 23 Jul 2006 14:56:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam with Spring? Message-ID: <30969476.1153681013771.JavaMail.jboss@colo-br-02.atl.jboss.com> IMHO, using Spring with Seam is not breaking with the main Seam concepts. There are still situations where you could prefer to stick to the stateless Spring backend. When integrating with JSF, it is enough to add a new variable resolver. Is there a simila concept in Seam? Or is it even enough to add the variable resolver as it is done by now? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960188#3960188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960188 From do-not-reply at jboss.com Sun Jul 23 15:15:34 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Sun, 23 Jul 2006 15:15:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ADF and Facelets Message-ID: <4285988.1153682134890.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe this post will help you with the charset. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953491 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960189#3960189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960189 From do-not-reply at jboss.com Sun Jul 23 15:22:22 2006 From: do-not-reply at jboss.com (goose-dog) Date: Sun, 23 Jul 2006 15:22:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss 4.0.4 startup hangs at ejb3-interceptors-aop.xml Message-ID: <30264791.1153682542126.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone ever have to reboot the computer before it gets past this step? It might not be stuck on this step, but the next step actually, since it only prints the info after invokation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960190#3960190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960190 From do-not-reply at jboss.com Sun Jul 23 15:24:02 2006 From: do-not-reply at jboss.com (goose-dog) Date: Sun, 23 Jul 2006 15:24:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.0.4 startup hangs at ejb3-interceptors-aop.xml Message-ID: <11900330.1153682642102.JavaMail.jboss@colo-br-02.atl.jboss.com> The next line is [WebService] using RMI code base... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960191#3960191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960191 From do-not-reply at jboss.com Sun Jul 23 16:07:26 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 16:07:26 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <4055131.1153685246939.JavaMail.jboss@colo-br-02.atl.jboss.com> Here are a few suggestions: 1) The login screen, even with the changes made to the current 2.4 source, still looks out of place. Why can't it be formatted using the Nphalanx theme? The style sheet and graphics are available. Besides, many systems that require logging on have a default (i.e., non-personalized) look for the login page. 2) In the Administration Portlet. In the tree view, select a portlet within a page. One the right side, click Theme. Three render options show up with drop-down list boxes. I have tried every combination of the options there, and there appear to be only 3 or 4 workable combinations (many combinations are even duplicates). Instead of having three options, make it a single ?Portlet window rendering? option with the choices a) show title and borders, b) show title, no border, c) show borders, no title (of dubious use unless the entire window is bordered, which it currently is not), and d) no title or borders. For the hard-code, you can still provide an 'Advanced' button to show the three rendering options. 3) Same location as #2. Display a graphic image that corresponds to the rendering option(s) chosen (this is made easier if you follow suggestion #2). This way the user can see how the portlet will be displayed without having to go to the page to see. 4) In the Administration Portlet. In the tree view, select a page. The drop-down list box of protlets can get very unwieldy. Instead, display the portlets in a table with columns such as portlet name, portlet display name, description, keywords, when deployed, etc. Allow sorting on each column (the drop-down list is unsorted, making finding anything difficult). Display only 10, 20 or 50 items (let user choose how many) and provide navigation buttons to move forward and backwards through the entire collection of portals. Also, provide a filter capability to show only portals whose name, description keywords match a search/regular expression. Also, provide a portlet preview capability where the protlet is displayed on a temporary page. 5) Same location as #4. Why is the 'center' column to the left of the 'left' column. Ask me how many times I have put portlets into the wrong location. Perhaps the better thing to do is display the selected portlets in an order that corresponds to their location on the page, perhaps with a border around each section on the page. This would given a better visual clue of how the page is laid out. 6) Same location as #4. Why is there only a single, fixed layout available? Why not provide more options. For example, offer the user a header, a footer, a center column, a left column, and a right column. Let the user turn each column off or on. 7) Same location as #4. Provide some mechanism for common functions on the same page that displays the selected portlets. For example, to remove a prtlet from the page layout I must first click on the portlet and then click the destroy button. Adding a delete button (next to the arrow buttons that move the portlet to a different location) would help. Other common functions might be the rendering option (especially if you follow recommendation #2). 8) Check the user interface against Firefox. Some things don't work. For example, tool tips for some icons which appear in IE don't appear in Firefox because the 'title' property was not defined. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960193#3960193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960193 From do-not-reply at jboss.com Sun Jul 23 16:21:42 2006 From: do-not-reply at jboss.com (kraptor) Date: Sun, 23 Jul 2006 16:21:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Put portlets on the right Message-ID: <11759712.1153686102357.JavaMail.jboss@colo-br-02.atl.jboss.com> There are several comments in the portal_style.css file about adding a third region to the portal layout. Has anybody successfully done this? Any feedback on any changes in the css file are appreciated... Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960195#3960195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960195 From do-not-reply at jboss.com Sun Jul 23 16:36:43 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 16:36:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot download using Firefox Message-ID: <30959824.1153687003383.JavaMail.jboss@colo-br-02.atl.jboss.com> I did not originate that URL. That is just the URL that Firefox displays in the address bar when the error is displayed after I click on the Download button on the portal download page. I guess I should say I am using Firefox 1.5.0.4. With a few dozen plugins. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960196#3960196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960196 From do-not-reply at jboss.com Sun Jul 23 17:16:42 2006 From: do-not-reply at jboss.com (kraptor) Date: Sun, 23 Jul 2006 17:16:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Problem with Weather Portlet Message-ID: <30459710.1153689402104.JavaMail.jboss@colo-br-02.atl.jboss.com> My weather portlet keeps going back to the default zip code value for Miami,Florida when I log in as an Admin. Any change made to the weather portlet settings goes back to default when I re-login as an admin. The edit remains when I log in as a user. This started happening when I made changes to my portal_style.css for my theme. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960197#3960197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960197 From do-not-reply at jboss.com Sun Jul 23 17:24:15 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Sun, 23 Jul 2006 17:24:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot download using Firefox Message-ID: <5969457.1153689855221.JavaMail.jboss@colo-br-02.atl.jboss.com> The behavior you are experiencing is not related to Portal. Must be an error with Sourceforge View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960198#3960198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960198 From do-not-reply at jboss.com Sun Jul 23 17:25:29 2006 From: do-not-reply at jboss.com (kraptor) Date: Sun, 23 Jul 2006 17:25:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Problem with Weather Portlet Message-ID: <16163898.1153689929234.JavaMail.jboss@colo-br-02.atl.jboss.com> I forgot to mention that I've changed the default value of 33189 to my preferred zip code in jboss-portal.sar/portal-samples.war/WEB-INF/portlet.xml . I've also changed the security settings for my weather portlet instance to PersonalizedRecursive and still the changes aren't made. Any ideas how to fix this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960199#3960199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960199 From do-not-reply at jboss.com Sun Jul 23 17:35:58 2006 From: do-not-reply at jboss.com (dbatcn) Date: Sun, 23 Jul 2006 17:35:58 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - style and idioms for @ManyToMany definition and update Message-ID: <32293035.1153690558114.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've done plenty of programming with OOP and RDBMS, but am new to the magic world of EJB3/ORM, so I hope somebody could point me in the right direction. I'm building an application with Seam and EJB3 (as well as MyFaces, although I don't think that matters here). I hope this is the proper forum for this question. I've got two entity beans, User and Group, with a many-to-many relationship where User is the owner. I have a GroupManagerBean class which is a stateful session bean where I'd like to have a create() method that will create a new group with an initial user. I'm trying to figure out exactly how to annotate the classes and do the data update; my first few attempts haven't worked and I was hoping somebody could offer some advice about how to get this right: cascade types, idioms for object linking and update, etc. I've tried to extract the relevant code snippets below. Pointers on how to do this or to previous discussions of this topic gratefully accepted. Thanks. User.java | @Entity | @Name("user") | @Role(name="currentUser", scope=SESSION) | @Table(name="USERS") | public class User implements Serializable { | ... | private Set groups = new HashSet(); | @ManyToMany(cascade=CascadeType.ALL) | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | } | Group.java | @Entity | @Name("group") | @Table(name="GROUPS") | public class Group implements Serializable { | ... | @ManyToMany(cascade=CascadeType.ALL) | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | } | GroupManagerBean.java | @Stateful | @Name("groupManager") | @LoggedIn | public class GroupManagerBean implements GroupManager, Serializable { | ... | public void create() { | group = new Group(); | group.setGroupname( newGroupname() ); | orgmobDatabase.persist( group ); | // User owns the bidirectional many-to-many relationship with Group | user.getGroups().add( group ); | orgmobDatabase.merge( user ); | orgmobDatabase.refresh( group ); | // PROBLEM: | // I thought that group.getUsers() would contain user, but it doesn't! | //debug | log.debug( "for user "+user+" created group: "+group); | log.debug( "user "+user+" has "+user.getGroups().size()+" groups"); | log.debug( "group "+group+" has "+group.getUsers().size()+" users"); | for ( Group g : user.getGroups() ) { | log.debug( "a group for user "+user+": "+g); | } | for ( User u : group.getUsers() ) { | log.debug( "a user for group"+group+": "+u); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960200#3960200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960200 From do-not-reply at jboss.com Sun Jul 23 18:49:16 2006 From: do-not-reply at jboss.com (kraptor) Date: Sun, 23 Jul 2006 18:49:16 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Problem with Weather Portlet Message-ID: <29383782.1153694956245.JavaMail.jboss@colo-br-02.atl.jboss.com> I've managed to fix changing the default parameter of 33145... but the weather portlet is still un-editable always reverting to the default hard-coded zip code value when an admin logs in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960201#3960201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960201 From do-not-reply at jboss.com Sun Jul 23 18:59:36 2006 From: do-not-reply at jboss.com (goik) Date: Sun, 23 Jul 2006 18:59:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - booking example and db2 Message-ID: <18056145.1153695576629.JavaMail.jboss@colo-br-02.atl.jboss.com> Starting the 'booking' example with 1.0.1 GA I tried to configure a db2 DB server. Following http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpADB2Datasource I changed booking-ds.xml to: | | bookingDatasource | jdbc:db2://localhost:10000/hdm | com.ibm.db2.jcc.DB2Driver | midb2 | XXX | 0 | | | DB2 | | | My persistence.xml has an added DB2 dialect property: | | org.hibernate.ejb.HibernatePersistence | java:/bookingDatasource | | | | | | | | | Starting the application on jboss-4.0.4.GA app. server I can register a new user, browse the list of available hotels. When I try to create a reservation I can still reach the "confirmation" window. But by clicking the "Confirm" button the application hangs. The corresponding log entries are: 00:09:44,726 INFO [STDOUT] Hibernate: select user_.username, user_.name as name2_, user_.password as password2_ from User user_ where user_.username=? | 00:09:44,732 INFO [STDOUT] Hibernate: insert into Booking (id, user_username, checkinDate, checkoutDate, hotel_id, creditCard, smoking, beds, creditCardName, creditCardExpiryMonth, creditCardExpiryYear) values (default, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) | 00:09:44,742 INFO [STDOUT] Hibernate: values identity_val_local() | 00:09:44,747 INFO [HotelBookingAction] New booking: 1 for goiki | 00:09:44,754 INFO [STDOUT] Hibernate: select booking0_.id as id0_, booking0_.user_username as user10_0_, booking0_.checkinDate as checkinD2_0_, booking0_.checkoutDate as checkout3_0_, booking0_.hotel_id as hotel11_0_, booking0_.creditCard as creditCard0_, booking0_.smoking as smoking0_, booking0_.beds as beds0_, booking0_.creditCardName as creditCa7_0_, booking0_.creditCardExpiryMonth as creditCa8_0_, booking0_.creditCardExpiryYear as creditCa9_0_ from Booking booking0_ where booking0_.user_username=? order by booking0_.checkinDate | 00:14:44,739 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=goiki/32, BranchQual=, localId=32] timed out. status=STATUS_ACTIVE | 00:14:44,756 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl[FormatId=257, GlobalId=goiki/33, BranchQual=, localId=33] timed out. status=STATUS_ACTIVE I can still access the 'User' and 'Hotel' tables via SQL. The 'booking' table cannot be accessed so there seems to be some sort of locked up transaction. There are definitely no other users accessing the RDBMS. Am I missing something? My system: Linux Fedora core 5, DB2 UDB 8.2, IBM's standard JDBC driver, SUN's java 1.5.0_07-b03 . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960202#3960202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960202 From do-not-reply at jboss.com Sun Jul 23 19:08:24 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Sun, 23 Jul 2006 19:08:24 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Problem with Weather Portlet Message-ID: <23383782.1153696104079.JavaMail.jboss@colo-br-02.atl.jboss.com> This was fixed in CR2, as preferences werent being stored correctly. What version are you using? Also, keep in mind those portlets have caching turned on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960203#3960203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960203 From do-not-reply at jboss.com Sun Jul 23 19:19:32 2006 From: do-not-reply at jboss.com (kjc5664) Date: Sun, 23 Jul 2006 19:19:32 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Serious JBoss MQ Issue Message-ID: <6961274.1153696772597.JavaMail.jboss@colo-br-02.atl.jboss.com> The following code worked in JBoss 3.2.7 Which now fails using JBoss 4.0.3SP1,JDK1.5,LinuxOS(Intel). | | | | (Client) | Properties properties = new Properties(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | properties.put(Context.PROVIDER_URL, "localhost:1099"); | | InitialContext iniCtx = new InitialContext(properties); | Object tmp = iniCtx.lookup("ConnectionFactory"); | QueueConnectionFactory connFactory = (QueueConnectionFactory) tmp; | logger.info("obtained the queue connection factory.."); | QueueConnection conn = connFactory.createQueueConnection(); | Queue que = (Queue) iniCtx.lookup(Const.TEST_QUEUE); | logger.info("obtained the queue"); | | QueueSession session = conn.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE); | QueueSender sender = session.createSender(que); | long fileSz = f.length(); | BufferedReader reader = new BufferedReader(new FileReader(f)); | char[] buf = new char[(int)fileSz]; | reader.read(buf); | | | String data = new String(buf); | MyMessage msg = null; | msg = parser.parse(data); | | ObjectMessage objMessage = session.createObjectMessage(); | | objMessage.setObject(msg); | sender.send(que,objMessage); | | (Server)[\b] On the server side. I receive the following exception. javax.jms.MessageFormatException: ClassNotFoundException: Invalid use of destroyed classloader, UCL destroyed at: 16:46:35,050 INFO [STDOUT] at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:136 I traced the exception to this line of code in the RepositoryClassLoader | if( repository == null ) | { | String msg = "Invalid use of destroyed classloader, UCL destroyed at:"; | throw new ClassNotFoundException(msg, this.unregisterTrace); | } | Line: 431-435 Can someone please tell me. What the heck is going on. Or. If JBAS version 4.0.4 fixes this problem. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960204#3960204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960204 From do-not-reply at jboss.com Sun Jul 23 19:30:23 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:30:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Proper way to instantiate seam managed component Message-ID: <22668694.1153697423020.JavaMail.jboss@colo-br-02.atl.jboss.com> "iradix" wrote : | anonymous wrote : | | Are you saying that when you do that, the Log does not get injected? | | That's exactly what I'm saying, although after I changed the definition from | How are you determining that it does not get injected? I hope you are not just looking at the object in your debugger... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960205#3960205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960205 From do-not-reply at jboss.com Sun Jul 23 19:43:10 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:43:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss without EJB container? Message-ID: <21165717.1153698190627.JavaMail.jboss@colo-br-02.atl.jboss.com> Sure. There are Seam example which use JavaBeans instead of EJBs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960206#3960206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960206 From do-not-reply at jboss.com Sun Jul 23 19:44:31 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:44:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Application Deployment Message-ID: <1687755.1153698271628.JavaMail.jboss@colo-br-02.atl.jboss.com> You have no local interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960207#3960207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960207 From do-not-reply at jboss.com Sun Jul 23 19:48:20 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:48:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Event scopted stateful components Message-ID: <29630580.1153698500359.JavaMail.jboss@colo-br-02.atl.jboss.com> By making it stateful, you can have it keep state between multiple different calls in the same request. This is not true for stateless beans. For example, if the bean is bound to JSF form properties, it must be stateful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960208#3960208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960208 From do-not-reply at jboss.com Sun Jul 23 19:50:44 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:50:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <26793199.1153698644347.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't understand what you are asking. The code is in CVS if you want to take a look. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960209#3960209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960209 From do-not-reply at jboss.com Sun Jul 23 19:54:30 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Sun, 23 Jul 2006 19:54:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam with Spring? Message-ID: <1841102.1153698870688.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : There are still situations where you could prefer to stick to the stateless Spring backend. You can easily implement a stateless business layer in Seam.... anonymous wrote : When integrating with JSF, it is enough to add a new variable resolver. Is there a simila concept in Seam? You can have as many variable resolvers as you like. The Seam variable resolver to resolve Seam components, a Spring resolver to resolve Spring beans, etc.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960210#3960210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960210 From do-not-reply at jboss.com Sun Jul 23 19:58:48 2006 From: do-not-reply at jboss.com (rtul) Date: Sun, 23 Jul 2006 19:58:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss 4.04 GA not starting Message-ID: <26869662.1153699128804.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I am running jboss 4.04 GA on windows vista beta2,java5, i can start jboss default server and get the default page opened in browser. however when i try to start with server -all option (run.bat -c all) ..jboss will not start properly and i cannot open the default page at http://localhost:8080/ Can you tell why this is so. thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960211#3960211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960211 From do-not-reply at jboss.com Sun Jul 23 20:13:02 2006 From: do-not-reply at jboss.com (niesar) Date: Sun, 23 Jul 2006 20:13:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - How to get some debug information? Message-ID: <28684621.1153699982686.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys, I'm close to get crazy because I don't find a way to debug what JSF/Seam is doing behind the curtain. My current problem is that I'm displaying a data table and I want to enable the user to select a few of these rows using checkboxes. I'm doing fine to display the table, and all the rows which should be pre-selected by default are indeed checked. However, I'm getting a funny result when I'm getting the user's input back from JSF. (_all_ table rows are returned as non-selected, regardless of what the user actually selected) Well, I'm sitting with this problem for the complete weekend now and don't know which way I could find out what is going wrong. Could anybody please give me any idea how I could debug this baby? I tried a lot in the last days, but it looks like I'm missing the point - and I don't know how to find out what's going wrong. To give you an idea what I'm doing: I'm writing a data table like this: | ... [display distanceLocationPair, never mind - works fine] | | "In" Area #{areaSearch.selectedArea} | | | I kind of need to understand what happens with "areaMemberSelection." areaMemberSelection is a Map and it is supposed to carry the information which data row is selected to and from the JSF page. @In(scope=ScopeType.CONVERSATION,required=false) | @Out(scope=ScopeType.CONVERSATION,required=false) | private Map areaMemberSelections; As I said before, I'm able to pre-select rows from the data table (List sortedTangibleLocations). Map areaMemberSelections is initialized with those (few) table rows which should be displyed as pre-selected. Please note that I don't include all table rows here, just those which should be marked as selected. However, when I get the user selecetions back in the action bean, I always get the same strange result. Map areaMemberSelections is obviously changed - but it's wrong. I'm getting a map with _all_ the rows from the displayed table - and none of them is selected, the Boolean is always false. No matter what the user does and no matter what the default selections were. In the end I'm only getting "unselected" table rows. You see, since populating my "input fields" (checkboxes) worls fine, I think I'm on the right track. Furthermore, it's done quite closely following the Seam examples (dvdstore). So I would really like to debug what's going on and why I keep on getting this strange result with everything unselected. But I don't know how to do that. Any ideas what to do, please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960212#3960212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960212 From do-not-reply at jboss.com Sun Jul 23 20:35:24 2006 From: do-not-reply at jboss.com (fla83tn) Date: Sun, 23 Jul 2006 20:35:24 -0400 (EDT) Subject: [jboss-user] [Javassist user questions] - JNDI and java: context problem Message-ID: <29053468.1153701324172.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, In my project I'd like to send an e-mail from my message-driven bean but I have 2 problem. First of all this is my problematic code: | | private void send(Context c,String to){ | javax.mail.Session session = null; | | try { | | session = ---- see after ----- | | MimeMessage m = new MimeMessage(session); | m.setFrom(); | | m.setRecipients(javax.mail.Message.RecipientType.TO, | InternetAddress.parse(to, false)); | m.setSubject("Pinestore Order confirmation"); | m.setSentDate(new Date()); | m.setContent("The Order has been processed", | "text/plain"); //equivalent to setText.. | Store s = session.getStore(); | s.connect(); // POP authentication | Transport.send(m); | | System.out.println("Message sent OK."); | } catch (javax.mail.MessagingException e) { | e.printStackTrace(); | } catch (javax.naming.NamingException e) { | e.printStackTrace(); | } | } | | public static void main(String args[]){ | Context c = null; | try { | Hashtable environment = new Hashtable(); | environment.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | environment.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | environment.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | c =new InitialContext(environment); | | } | catch (NamingException ex) { | } | send(c,"xxx at domain"); | } | This are my question: | this is only because I have some confusion: | Why couldn't I access to resources in jndi at java:comp/env? | If I do | | | Context c = b.getInitialContext(); | | Context compEnv = (Context) c.lookup("java:comp/env"); | | | compEnv is null..the only things that work is c.lookup("") or lookup of everything that is located under Global JNDI Namespace.. | | | | My second question is: | | If I leave the default java:/Mail in file mail-service.xml I can't manage to lookup via jndi to the MBean...this because the java: context seems to be invisible..only names that are in Global JNDI Namespace are visible.. | | | | | | So I try to get around the problem modifying the file mail-service.xml as Mail so now I can do in my code: | | | | | session = (javax.mail.Session)PortableRemoteObject.narrow( | | | c.lookup("Mail"), javax.mail.Session.class); | | | | | In this case the lookup works, but now I get still error because javax.mail.Session isn't a remote interface and then I can not do a PortableRemoteObject.narrow... | | | | | Somewhere I read that: | | "objects referenced behind the java: root are not reachable by external JNDI calls, they are private to the VM of the server." | | Is it true? How can I solve the problem? | | Instead for the last error I don't know how to bind the result of the lookup.. | | Please somebody help me!!!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960213#3960213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960213 From do-not-reply at jboss.com Sun Jul 23 20:46:15 2006 From: do-not-reply at jboss.com (kraptor) Date: Sun, 23 Jul 2006 20:46:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Problem with Weather Portlet Message-ID: <19616404.1153701975990.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JB 2.4.0 CR1 bundled on Red Hat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960214#3960214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960214 From do-not-reply at jboss.com Sun Jul 23 21:50:56 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Sun, 23 Jul 2006 21:50:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: dvd example - get process instance from order id questio Message-ID: <15587772.1153705856399.JavaMail.jboss@colo-br-02.atl.jboss.com> You would think the process definition would need to define the variables and the code would need to set the variable values: contextInstance.setVariable("orderId", "20") So I can't figure out when and/or where orderId is being set that allows the above query to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960215#3960215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960215 From do-not-reply at jboss.com Sun Jul 23 21:57:43 2006 From: do-not-reply at jboss.com (seemap) Date: Sun, 23 Jul 2006 21:57:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4 Message-ID: <19592915.1153706263530.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks alot I got it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960216#3960216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960216 From do-not-reply at jboss.com Sun Jul 23 22:27:29 2006 From: do-not-reply at jboss.com (sensar) Date: Sun, 23 Jul 2006 22:27:29 -0400 (EDT) Subject: [jboss-user] [JBossWS] - NullPointer in JavaToWSDL conversion using wstools Message-ID: <7022918.1153708049860.JavaMail.jboss@colo-br-02.atl.jboss.com> We are in the process of moving from JBoss 3.2.6 to 4.0.4GA. We have a session bean which we currently expose as webservice using Apache-Axis. From the reading on the jboss website I guess we should be moving to JbossWS. When I try to use the wstools and follow the supplied jsr109ejb example. I get the following error. | C:\jbossws-samples-1.0.1.GA\photopoint>ant | Buildfile: build.xml | | init: | [available] DEPRECATED - used to override an existing property. | [available] Build file should not reuse the same property name for different v | alues. | [echo] basedir = C:\jbossws-samples-1.0.1.GA | [echo] jboss.home = C:/jboss-4.0.4.GA | [echo] tomcat.home = ${tomcat.home} | [echo] java.home = C:\jdk1.5.0_06\jre | [echo] node0 = 93022W | | | compile: | | copy-resources: | | generate-sources: | [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tool | s.WSTools). | [wstools] log4j:WARN Please initialize the log4j system properly. | [wstools] java.lang.NullPointerException | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaPro | perties(SchemaTypeCreator.java:570) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:331) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:126) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldPartic | le(SchemaTypeCreator.java:592) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaPro | perties(SchemaTypeCreator.java:577) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:331) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:126) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldPartic | le(SchemaTypeCreator.java:592) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaPro | perties(SchemaTypeCreator.java:577) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:331) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:126) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:290) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:126) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldPartic | le(SchemaTypeCreator.java:592) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaPro | perties(SchemaTypeCreator.java:577) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:331) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:126) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(S | chemaTypeCreator.java:290) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTyp | eCreator.java:272) | [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(Sche | maTypeCreator.java:131) | [wstools] at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD. | java:109) | [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(Java | ToWSDLHelper.java:555) | [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForX | SD(JavaToWSDLHelper.java:141) | [wstools] at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(Ja | vaToWSDL11.java:245) | [wstools] at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:16 | 7) | [wstools] at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:318) | [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGenera | tion(ToolsHelper.java:122) | [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja | va:275) | [wstools] at org.apache.tools.ant.Task.perform(Task.java:364) | [wstools] at org.apache.tools.ant.Target.execute(Target.java:341) | [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369) | [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav | a:1216) | [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) | | [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De | faultExecutor.java:40) | [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068 | ) | [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668) | [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187) | [wstools] at org.apache.tools.ant.Main.start(Main.java:150) | [wstools] at org.apache.tools.ant.Main.main(Main.java:240) | | BUILD FAILED | C:\jbossws-samples-1.0.1.GA\photopoint\build.xml:27: Error running jbossws: | | Total time: 4 seconds | The configuration file is this | | | | | | | | | I have spent a lot of time try to get this working. Any help will greatly be appreciated. Senti View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960217#3960217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960217 From do-not-reply at jboss.com Sun Jul 23 22:46:33 2006 From: do-not-reply at jboss.com (peter74) Date: Sun, 23 Jul 2006 22:46:33 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - rotate logs while jboss is running Message-ID: <316560.1153709193029.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to rotate the jboss logs, without restarting jboss? The moment I remove the contents of the file (server.log) by editing, jboss stops writing to it. OS -RHEL 4.0 JBoss - jboss-3.2.7 Thanks Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960218#3960218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960218 From do-not-reply at jboss.com Sun Jul 23 22:58:18 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 22:58:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <17554101.1153709898043.JavaMail.jboss@colo-br-02.atl.jboss.com> Please post the command window output so that we can see what errors were displayed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960219#3960219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960219 From do-not-reply at jboss.com Sun Jul 23 22:59:00 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 22:59:00 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Regarding MBean Exception Message-ID: <3878408.1153709940822.JavaMail.jboss@colo-br-02.atl.jboss.com> I suspect a faulty installation. Could you download and install again? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960220#3960220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960220 From do-not-reply at jboss.com Sun Jul 23 23:00:08 2006 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 23 Jul 2006 23:00:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss with JDK1.5 Message-ID: <3658467.1153710008414.JavaMail.jboss@colo-br-02.atl.jboss.com> I suspect a faulty installation. Could you download and install again? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960221#3960221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960221 From do-not-reply at jboss.com Sun Jul 23 23:11:47 2006 From: do-not-reply at jboss.com (mailinator) Date: Sun, 23 Jul 2006 23:11:47 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Unique constraint violation with JMS Message-ID: <22768921.1153710707818.JavaMail.jboss@colo-br-02.atl.jboss.com> We're getting unique constraint violations with JMS messaging and Oracle (9 & 10 we've tried both). This isn't happening often, and we're not sure what exactly is making JBoss re-use the same primary key. There is only one instance of JMS accessing the database. Here's the sql that JBoss uses to put a message into the database: INSERT INTO JMS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, PAYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINATION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (466672, 'Y', 0, 1153260324109, '4', '', 'java.io.ByteArrayInputStream at 46cf2', 1, '5', '', '', '', 0, '', '') Then about an hour later, another message with the same primary key was sent to the database: INSERT INTO JMS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, PAYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINATION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (466672, 'Y', 0, 1153264744496, '4', '', 'java.io.ByteArrayInputStream at 11a6b20', 1, '5', '', '', '', 2, '', '') I've searched the forums, someone else is getting the same error but not sure what DB they are using, and there weren't any ideas there. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=85368&view=previous If anyone has any ideas of what would cause this I would appreciate the input. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960222#3960222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960222 From do-not-reply at jboss.com Sun Jul 23 23:20:25 2006 From: do-not-reply at jboss.com (awmobjects) Date: Sun, 23 Jul 2006 23:20:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - 2.4 CR2 Download Sizes are smaller than advertised Message-ID: <3061577.1153711225803.JavaMail.jboss@colo-br-02.atl.jboss.com> The 2.4CR2 bin & AS file size is advertised as 58mb but I'm only getting 41mb. The 2.2.1 bin/AS size corresponds to the advertised size. I have the same problem with the non AS file with the actual being only 11 mb. Anthony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960223#3960223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960223 From do-not-reply at jboss.com Sun Jul 23 23:34:14 2006 From: do-not-reply at jboss.com (Frozen4Time) Date: Sun, 23 Jul 2006 23:34:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <33384944.1153712054260.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the biggest thing that is needed for the portal is a WYSIWYG style page layout. While I think the current tree view in the admin portlet is a nice way to get a big picture view of "what is where" in the portal, it's not very intuative or user freindly. Some of the other portals (EXO for example) has a way for you to visually edit the layout of the page. Dropping things is place using a visual layout engine. To be honest I haven't seen a open source portal that really does this great, but I have seen some that are a step in the right direction. When I am building pages in jboss, I usually open two browser windows, one with the admin portlet and another showing the page I am trying to build. Everytime I make a change in the admin util I refresh the page I am building to see the results. I have seen other people using this same approach. This tells me that people really want a visual editor with (semi) instant feed. Part of this request might entail making some sort of layout infrastructure beyond what JBoss Portal has to offer. What I mean is giving the user the ability to layout arbitrary containers with customizable sizing properties. For example giving them a container that will layout portlets in row or column order, being able to specify the number of rows or columns, specifying pixle or percentage widths to these containers. Combining these two ideas would give the user to create any layout they desire and do so in a user friendly way. The current JBoss Portal layou engine locks the user into a predefined structure and the layout utility is not that user friendly. While I abosutely love the stabilty, reliablity and general quality of the JBoss portal, I see this as one of the biggest areas I would like to see improved. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960224#3960224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960224 From do-not-reply at jboss.com Sun Jul 23 23:50:09 2006 From: do-not-reply at jboss.com (rtul) Date: Sun, 23 Jul 2006 23:50:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <10582932.1153713009502.JavaMail.jboss@colo-br-02.atl.jboss.com> =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: F:\jboss-4.0.4.GA\bin\\.. . JAVA: c:\java5\bin\java . JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: c:\java5\lib\tools.jar;F:\jboss-4.0.4.GA\bin\\run.jar . =============================================================================== . 03:47:51,015 INFO [Server] Starting JBoss (MX MicroKernel)... 03:47:51,015 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) 03:47:51,031 INFO [Server] Home Dir: F:\jboss-4.0.4.GA 03:47:51,031 INFO [Server] Home URL: file:/F:/jboss-4.0.4.GA/ 03:47:51,031 INFO [Server] Patch URL: null 03:47:51,031 INFO [Server] Server Name: all 03:47:51,031 INFO [Server] Server Home Dir: F:\jboss-4.0.4.GA\server\all 03:47:51,031 INFO [Server] Server Home URL: file:/F:/jboss-4.0.4.GA/server/all/ 03:47:51,031 INFO [Server] Server Log Dir: F:\jboss-4.0.4.GA\server\all\log 03:47:51,031 INFO [Server] Server Temp Dir: F:\jboss-4.0.4.GA\server\all\tmp 03:47:51,031 INFO [Server] Root Deployment Filename: jboss-service.xml 03:47:51,593 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc. 03:47:51,593 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc. 03:47:51,593 INFO [ServerInfo] OS-System: Windows NT (unknown) 6.0,x86 03:47:52,296 INFO [Server] Core system initialized 03:47:55,718 INFO [WebService] Using RMI server codebase: http://jojo-PC:8083/ 03:47:55,781 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 03:47:56,406 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 03:48:02,437 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 03:48:03,859 INFO [SnmpAgentService] SNMP agent going active 03:48:04,171 INFO [AspectDeployer] Deployed AOP: file:/F:/jboss-4.0.4.GA/server/all/deploy/tc5-cluster.sar/tc5-cluster.aop 03:48:04,624 INFO [TreeCache] setting cluster properties from xml to: UDP(down_thread=false;enable_bundling=true;ip_ttl=2;loopback=false;max_bundle_size=64000;max_bundle_timeout=30;mcast_addr=230.1.2.7;mcast_port=45577;mcast_recv_buf_size=25000000;mcast_send_buf_size=640000;ucast_recv_buf_size=20000000;ucast_send_buf_size=640000;up_thread=false;use_incoming_packet_handler=true;use_outgoing_packet_handler=true):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(down_thread=false;max_interval=100000;min_interval=20000;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;timeout=2500;up_thread=false):VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered_msgs=true;down_thread=false;gc_lag=50;max_xmit_size=60000;retransmit_timeout=100,200,300,600,1200,2400,4800;up_thread=false;use_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg_gossip=50000;down_thread=false;max_bytes=2100000;stability_delay=1000;up_thread=false):pbcast.GMS(down_thread=false;join_retry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false):FC(down_thread=false;max_credits=10000000;min_threshold=0.20;up_thread=false):FRAG2(down_thread=false;frag_size=60000;up_thread=false):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false) 03:48:04,656 INFO [TreeCache] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.PessimisticLockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor 03:48:04,656 INFO [TreeCache] cache mode is REPL_ASYNC 03:48:05,484 ERROR [JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options 03:48:05,515 WARN [ServiceController] Problem starting service jboss.cache:service=TomcatClusteringCache ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options at org.jgroups.JChannel.connect(JChannel.java:328) at org.jboss.cache.TreeCache.startService(TreeCache.java:1263) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) 03:48:06,031 INFO [DefaultPartition] Initializing 03:48:06,124 ERROR [JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options 03:48:06,124 WARN [ServiceController] Problem starting service jboss:service=DefaultPartition ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options at org.jgroups.JChannel.connect(JChannel.java:328) at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:325) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) 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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) 03:48:07,359 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E0000102000000000F37342E3130352E3134382E32333000000DC80000000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005400000000000000010000000000000024000000220000007E00000000000000010000000F37342E3130352E3134382E32333000000DC90000000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003] 03:48:07,531 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E0000102000000000F37342E3130352E3134382E32333000000DC80000000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000005400000000000000010000000000000024000000220000007E00000000000000010000000F37342E3130352E3134382E32333000000DC90000000000000000000000000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003] 03:48:09,187 INFO [MailService] Mail Service bound to java:/Mail 03:48:09,812 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 03:48:09,890 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 03:48:09,937 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 03:48:10,015 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 03:48:10,171 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 03:48:10,468 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar 03:48:12,765 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 03:48:13,452 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 03:48:13,468 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-4.0.4.GA/server/all/deploy/helloworld.ear 03:48:13,562 INFO [EARDeployer] Started J2EE application: file:/F:/jboss-4.0.4.GA/server/all/deploy/helloworld.ear 03:48:14,093 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- org.jboss.deployment.DeploymentInfo at 969c8b2 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/httpha-invoker.sar/invoker.war/ } deployer: null status: Starting state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/httpha-invoker.sar/invoker.war/ altDD: null lastDeployed: 1153712888374 lastModified: 1147701722000 mbeans: org.jboss.deployment.DeploymentInfo at d8dd66fa { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/jbossweb-tomcat55.sar/ROOT.war/ } deployer: null status: Starting state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/jbossweb-tomcat55.sar/ROOT.war/ altDD: null lastDeployed: 1153712888390 lastModified: 1147701804000 mbeans: org.jboss.deployment.DeploymentInfo at a5087b56 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/jbossws14.sar/jbossws.war } deployer: null status: Starting state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/jbossws14.sar/jbossws.war altDD: null lastDeployed: 1153712888390 lastModified: 1153712881952 mbeans: org.jboss.deployment.DeploymentInfo at dcda5298 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/juddi-service.sar/juddiws.war/ } deployer: null status: Starting state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/juddi-service.sar/juddiws.war/ altDD: null lastDeployed: 1153712888390 lastModified: 1147701722000 mbeans: org.jboss.deployment.DeploymentInfo at 6c57b826 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/management/console-mgr.sar/web-console.war/ } deployer: null status: Starting state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/management/console-mgr.sar/web-console.war/ altDD: null lastDeployed: 1153712888390 lastModified: 1147701802000 mbeans: org.jboss.deployment.DeploymentInfo at b7a78060 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/jmx-console.war/ } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/jmx-console.war/ altDD: null lastDeployed: 1153712893452 lastModified: 1147701798000 mbeans: org.jboss.deployment.DeploymentInfo at 2b797920 { url=file:/F:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp24285helloworld.ear-contents/web-app.war } deployer: null status: Starting state: START_SUBDEPLOYMENTS watch: file:/F:/jboss-4.0.4.GA/server/all/tmp/deploy/tmp24285helloworld.ear-contents/web-app.war altDD: null lastDeployed: 1153712893546 lastModified: 1153712893484 mbeans: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at b7a78060 { url=file:/F:/jboss-4.0.4.GA/server/all/deploy/jmx-console.war/ } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/F:/jboss-4.0.4.GA/server/all/deploy/jmx-console.war/ altDD: null lastDeployed: 1153712893452 lastModified: 1147701798000 mbeans: --- MBeans waiting for other MBeans --- ObjectName: jboss.cache:service=TomcatClusteringCache State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options I Depend On: jboss:service=Naming jboss:service=TransactionManager jboss.aop:service=AspectDeployer Depends On Me: jboss.web:service=WebServer ObjectName: jboss:service=DefaultPartition State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options I Depend On: jboss:service=Naming Depends On Me: jboss:service=HASessionState jboss:service=HAJNDI jboss.cache:service=InvalidationBridge,type=JavaGroups jboss.ha:service=HASingletonDeployer jboss:service=FarmMember,partition=DefaultPartition ObjectName: jboss.ha:service=HASingletonDeployer State: CONFIGURED I Depend On: jboss:service=DefaultPartition jboss.system:service=MainDeployer ObjectName: jboss:service=FarmMember,partition=DefaultPartition State: CONFIGURED I Depend On: jboss:service=DefaultPartition jboss.web:service=WebServer jboss.system:service=MainDeployer --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.cache:service=TomcatClusteringCache State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options I Depend On: jboss:service=Naming jboss:service=TransactionManager jboss.aop:service=AspectDeployer Depends On Me: jboss.web:service=WebServer ObjectName: jboss:service=DefaultPartition State: FAILED Reason: ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: error setting options I Depend On: jboss:service=Naming Depends On Me: jboss:service=HASessionState jboss:service=HAJNDI jboss.cache:service=InvalidationBridge,type=JavaGroups jboss.ha:service=HASingletonDeployer jboss:service=FarmMember,partition=DefaultPartition 03:48:14,187 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 23s:141ms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960225#3960225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960225 From do-not-reply at jboss.com Mon Jul 24 00:27:06 2006 From: do-not-reply at jboss.com (orclev) Date: Mon, 24 Jul 2006 00:27:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Tryed searching for this issue, but haven't found anything. Message-ID: <24105483.1153715226247.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I've got a entity bean with a property annotated like so: @JoinColumn(name="background", nullable=false) @ManyToOne(cascade={CascadeType.PERSIST}, fetch=FetchType.EAGER) @LazyToOne(LazyToOneOption.FALSE) public Background getBackground() { return background; } Which if I'm reading everything properly should cause the Background object to be initialized when the entity bean is loaded from the DB, however I keep getting a LazyInitiaalizationException when I attempt to access that method saying that the owning session was closed. Why is it trying to load the background lazily when I specificly listed it as non-lazy and eager? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960226#3960226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960226 From do-not-reply at jboss.com Mon Jul 24 00:54:49 2006 From: do-not-reply at jboss.com (kumar.ravis) Date: Mon, 24 Jul 2006 00:54:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Help needed- Regarding Regarding jbpm-jpd Message-ID: <22376427.1153716889380.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi kukeltje First of all thanks for prompt reply. Actually I want to develop a simple web-application using JBPM, but I am not sure JBPM is best suitable for that or not. I am trying to explain the scenario with the help of following steps. 1. User -login 2. After successful login, user will select some fields on form (form component may be dropdown list, radio button, text field etc.) and submit the form. 3. depends on those fields; application will display some static or dynamic page to the user. This is very simple application and here I supposed to create some custom forms (may be 5-6) and write some codes to handle those requests. But I am confused JBPM is best suitable for this or not? If yes then how can I create custom form using jbpm-jpd and where I can write code for handling those requests? I would also like to say, this application does not includes different business processes (as I have studies example mention in JBPM user-guide ), so I think JBPM may not be best for such a simple (request-response) application and jsp-servlet will be better option for this. Answer to this question will be very help full to me. Please response. Thanks in advance -Ravi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960227#3960227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960227 From do-not-reply at jboss.com Mon Jul 24 00:58:46 2006 From: do-not-reply at jboss.com (thanhbk99) Date: Mon, 24 Jul 2006 00:58:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss with JDK1.5 Message-ID: <12112393.1153717126248.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for reply. I install and run with jboss-3.2.8.SP1.zip jboss-4.0.4.CR3-installer.jar jboss-4.0.4.GA-Patch1-installer.jar and I also install in some computer It has the same error. Best regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960228#3960228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960228 From do-not-reply at jboss.com Mon Jul 24 01:09:17 2006 From: do-not-reply at jboss.com (sjbarde) Date: Mon, 24 Jul 2006 01:09:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Portal with struts bridge Message-ID: <11923489.1153717757963.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss Portal 2.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960229#3960229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960229 From do-not-reply at jboss.com Mon Jul 24 01:26:57 2006 From: do-not-reply at jboss.com (tom.elrod@jboss.com) Date: Mon, 24 Jul 2006 01:26:57 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: connection validator Message-ID: <30005498.1153718817237.JavaMail.jboss@colo-br-02.atl.jboss.com> ConnectionValidator is used to make a ping request on the server. It is used in two scenarios. The first is if register a connection listener with the client to be notified when a server has died. The second is for a detector to check a suspected dead server is indeed dead. There was a change made (see JBREM-530) so that when the connection validator made a call on the server, it would use a new thread to make this call and then if thread didn't return within some timeout (5 seconds), the connection check would return false. Eventually the calling thread would timeout and exit. This was originally done this way because didn't know which client invoker instance would be using and since might the same one that other clients where using, didn't want to change the config (i.e. make the timeout 1 second) since would impact the other clients. However, have found a way around this so that can use a separate client invoker for making this call and still maintain all the config that might be needed to make the call, which is checked in (JBREM-555) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960230#3960230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960230 From do-not-reply at jboss.com Mon Jul 24 01:37:44 2006 From: do-not-reply at jboss.com (milinduc) Date: Mon, 24 Jul 2006 01:37:44 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - How to use jbosmq Message-ID: <2661466.1153719464760.JavaMail.jboss@colo-br-02.atl.jboss.com> I am completlly new to this jbossmq and not abel to run simple programs in jboss-4.0.2 using jbossmq.So if any one know then please tell this to me in step by step process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960231#3960231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960231 From do-not-reply at jboss.com Mon Jul 24 01:39:23 2006 From: do-not-reply at jboss.com (orclev) Date: Mon, 24 Jul 2006 01:39:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <2527970.1153719563260.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok. after mucking around some more I discovered something. I was using HibernateDaoSupport as my base class on my DAOs, and then using getHibernateTemplate() to perform the load operation on my entity bean. When I changed to just using getSession() the problem went away. Not sure why exactly it's working like that, but maybe it will give some clue as to what I'm doing wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960232#3960232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960232 From do-not-reply at jboss.com Mon Jul 24 01:41:50 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 01:41:50 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException: Receive timed out Message-ID: <18421997.1153719710513.JavaMail.jboss@colo-br-02.atl.jboss.com> Post the code through which you are doing the lookup. Also, post the contents of the jndi.properties file(if at all you are using one) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960233#3960233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960233 From do-not-reply at jboss.com Mon Jul 24 01:43:28 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 01:43:28 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: rotate logs while jboss is running Message-ID: <8345995.1153719808022.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Is it possible to rotate the jboss logs, without restarting jboss? Just touch the log4j.xml file(so that its last modified timestamp changes) and save the same. There is a Log4jTimerTask which will run every 60 seconds and it will pick up the changes. You will *not* have to restart the server View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960234#3960234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960234 From do-not-reply at jboss.com Mon Jul 24 02:06:11 2006 From: do-not-reply at jboss.com (pelo67000) Date: Mon, 24 Jul 2006 02:06:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Using JGuard to secure the portal Message-ID: <7746361.1153721171027.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried something different... As i ever said with jboss the jGuardExample works fine but by adding the jboss-portal i have only access to the access denied/ login pages. So i tried different thing and by deleting the subdirectory portal-cms (and all his references) in jboss-portal directory i have a little improvement... I have first access to all pages but by "playing" with authentification/unauthentification i fall in the same problem :-( Cheers, J?r?my View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960235#3960235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960235 From do-not-reply at jboss.com Mon Jul 24 02:10:00 2006 From: do-not-reply at jboss.com (free1000) Date: Mon, 24 Jul 2006 02:10:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <31554144.1153721400275.JavaMail.jboss@colo-br-02.atl.jboss.com> Content type for the whole portal can be altered by changing the content type for the index.jsp file which acts as the host for the whole portal layout. The default file is at jboss-portal.sar\portal-core.war\layouts\generic\index.jsp Altering the meta tag in the HTML sends the correct content type to the browser. However this still does not make my inline svg display correctly so some more research is needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960236#3960236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960236 From do-not-reply at jboss.com Mon Jul 24 02:14:18 2006 From: do-not-reply at jboss.com (balamg) Date: Mon, 24 Jul 2006 02:14:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Multiple deployment of EAR Message-ID: <26767125.1153721658450.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to partition my application based on my users' organizations. I want all users from orgA to use a datasource using credentials orgA/orgA, form org. B to use orgB/orgB, etc. The way I am trying to acheive this is to create separate EAR files, 1 per org, change the datasource setting and the JNDI names and deploying them by copying to "deploy" folder. So I have orgA.ear, orgB.ear with everything else the same except for the datasource credentials and JNDI bindings. Is this the correct approah ? Are there better ways of doing this? What other options do I have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960237#3960237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960237 From do-not-reply at jboss.com Mon Jul 24 02:14:26 2006 From: do-not-reply at jboss.com (Basel) Date: Mon, 24 Jul 2006 02:14:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam web services (RESTful ones)? Message-ID: <29379865.1153721666697.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for not being clear. After taking a closer look at web.xml I noticed that the FacesServlet handles all the requests to /seam/. So this applies to index.rss as well, please correct me if I am wrong. I got confused becuase in my current setup I have *.jsf mapped to the FacesServlet. So I started to wonder about how Seam handles request to index.rss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960238#3960238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960238 From do-not-reply at jboss.com Mon Jul 24 02:30:22 2006 From: do-not-reply at jboss.com (joo) Date: Mon, 24 Jul 2006 02:30:22 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet allways null Message-ID: <1759820.1153722622313.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks! Now it works fine. Georg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960239#3960239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960239 From do-not-reply at jboss.com Mon Jul 24 02:46:56 2006 From: do-not-reply at jboss.com (free1000) Date: Mon, 24 Jul 2006 02:46:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: SVG in portlet Message-ID: <6824205.1153723616079.JavaMail.jboss@colo-br-02.atl.jboss.com> This is annoying. I can set either the content type in the meta tag, or by using a page directive in the JSP eg: <%@page contentType="application/xhtml+xml;" %> but in both cases the browser is still seeing the content type of the page as text/html. (Look at firefox menu item Tools->PageInfo) Is JBoss or the Portal app determining content type somewhere else? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960240#3960240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960240 From do-not-reply at jboss.com Mon Jul 24 02:53:54 2006 From: do-not-reply at jboss.com (ephemeris-lappis) Date: Mon, 24 Jul 2006 02:53:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <22915946.1153724034708.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. I'm afraid i don't understand your last message... Do you mean the event handler for a task should not try to use the timer, perhaps because when the event fires, the timer is not created yet ? Coming back to my question : is there a way to set or change the timer delay for a given task, with a calculated value, at the time the task activates ? Did you commit your fix ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960241#3960241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960241 From do-not-reply at jboss.com Mon Jul 24 02:58:49 2006 From: do-not-reply at jboss.com (johncena) Date: Mon, 24 Jul 2006 02:58:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JNDI connection message Message-ID: <26512645.1153724329323.JavaMail.jboss@colo-br-02.atl.jboss.com> I've tried installing the JBOSS AS 4.0.4 GA, and it worked fine. I can view it to the 8080 port.... On my second part of my project... I've tried modifying the ds xmls to my db and I get this message from the console showing 3 JNDI connections. Is this the proper way to use Oracle as my datasource? The reason for this is that, I'll be using Jboss Portal and I've added portal-oracle-ds.xml in the deploy dir (as per instruction from J-portal), and apparently I've changed both xml (oracle-xa-ds and portal-oracle-xa) to my Oracle 10g configurations. Pls bear with me, I'm new to this App Server and hopefully you can give me tips on this. Will these messages and configurations make some memory allocations to the portal executions? or any delay or conflict? ... 14:39:18,476 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 14:39:19,505 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=XAOracleDS' to JNDI name 'java:XAOracleDS' 14:39:19,674 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PortalDS' to JNDI name 'java:PortalDS' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960242#3960242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960242 From do-not-reply at jboss.com Mon Jul 24 03:09:55 2006 From: do-not-reply at jboss.com (ssgemail) Date: Mon, 24 Jul 2006 03:09:55 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss-4.0.4-GA and Hibernate-3.1.3 Message-ID: <9647593.1153724995028.JavaMail.jboss@colo-br-02.atl.jboss.com> try it as following: if (rs != null){ rs.close(); } if (stmt != null){ stmt.close(); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960243#3960243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960243 From do-not-reply at jboss.com Mon Jul 24 03:14:21 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Mon, 24 Jul 2006 03:14:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: CommandExecutor in aclustered environment Message-ID: <6127447.1153725261423.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would also like to use the CommandExecutor in an cluster (starting it multiple times on different machines). It sounds as if the DBMessageService will not be cluster-ready in the future. Am i right? If I am not fully wrong it is no big effort to make the DBMessageService cluster-ready. I looked at the sources and think that the right place (at least in the current CVS) to ensure that a single message is only processed by one CommandExecutor is org.jbpm.db.MessagingSession. The method "nextMessage(String destination)" should return only Message objects that are not locked by another transaction. Here my -untested- proposal: | public Message nextMessage(String destination) { | Message message = null; | if (nextMessage!=null) { | message = nextMessage; | nextMessage = null; | } else { | Iterator messageIterator = getMessageIterator(destination); | if (messageIterator.hasNext()) { | // Get the next message that was not locked on DB and lock it | message = getNextUnlockedMessage(messageIterator); | } | if (messageIterator.hasNext()) { | // Get the next message that was not locked on DB and lock it | nextMessage = getNextUnlockedMessage(messageIterator); | } | } | return message; | } | | private Message getNextUnlockedMessage(Iterator messageIterator) { | Message message = (Message) messageIterator.next(); | try { | // try to lock the message | session.lock(message, LockMode.WRITE); | // Successfully locked | return message; | } | catch(HibernateException e) { | if(e.getCause() instanceof LockAcquisitionException) { | // Failed to acquire the lock - try to get next | return getNextUnlockedMessage(messageIterator); | } | else { | throw e; | } | } | } | Is this code okay for this purpose? I only recognized that several JBPM classes (also the PersistenceService which creates the MessagingSession) must be modified/overridden in order to plug in a custom implementation here and I would dislike to do this within my project. Thanks, Matthias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960244#3960244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960244 From do-not-reply at jboss.com Mon Jul 24 03:15:18 2006 From: do-not-reply at jboss.com (istikhar) Date: Mon, 24 Jul 2006 03:15:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam and JBPM Message-ID: <3691783.1153725318315.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) How we can use JBPM Fork and Join in Seam? Fork and Join are used in Concurrent executions, Nested Executions. Fork is the starting point for multiple executions(Conversations) while Join is to join in the already existing (Converstaion). 3) How Process Composition would be carried out by using Seam? Process composition is the ability to include a sub process as part of a super process. This advanced feature makes it possible to add abstraction to process modelling. For the business analyst, this feature is important to handle break down large models in smaller blocks. 4) What is the difference between Node and Task Node? A) A process graph is made up of nodes and transitions.Each node has a specific type. e.g Node type Task , Decission , State, Fork etc. B) nodeA task node represents one or more tasks that are to be performed by humans. So when execution arrives in a task node, task instances will be created in the task lists of the workflow participants. After that, the node will behave as a wait state. So when the users perform their task, the task completion will trigger the resuming of the execution. In other words, that leads to a new signal being called on the token. 5) Where to use Simple State and Process State? 6) How to handle Super State using Seam? Process composition is supported in jBPM by means of the process-state. The process state is a state that is associated with another process definition. When graph execution arrives in the process state, a new process instance of the sub-process is created and it is associated with the path of execution that arrived in the process state. The path of execution of the super process will wait till the sub process instance has ended. When the sub process instance ends, the path of execution of the super process will leave the process state and continue graph execution in the super process. ... This 'hire' process contains a process-state that spawns an 'interview' process. When execution arrives in the 'first interview', a new execution (=process instance) for the latest version of the 'interview' process is created. Then variable 'a' from the hire process is copied into variable 'aa' from the interview process. The same way, hire variable 'b' is copied into interview variable 'bb'. When the interview process finishes, only variable 'aa' from the interview process is copied back into the 'a' variable of the hire process. In general, When a subprocess is started, all variables with read access are read from the super process and fed into the newly created sub process before the signal is given to leave the start state. When the sub process instances is finished, all the variables with write access will be copied from the sub process to the super process. The mapped-name attribute of the variable element allows you to specify the variable name that should be used in the sub process. simple state Normally, a node is always executed after a token has entered the node. So the node is executed in the thread of the client. The Above mentioned are concept taken from JBPM documentation. Kindly Correct me if i am going wrong? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960245#3960245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960245 From do-not-reply at jboss.com Mon Jul 24 03:26:08 2006 From: do-not-reply at jboss.com (papick.taboada) Date: Mon, 24 Jul 2006 03:26:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam with Spring? Message-ID: <31010121.1153725968809.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, thanks for the reply. I saw the statelles layer in seam, its nice. In my special case, I have a architecture ontop of maven2 and spring. Autonomous modules, quite nice. Seam does really nice magic in the frontend. For me it looks like JSF as it should have been from the beginning, and its the major technology line-up tha Sun failed to provide with Java EE 5. "gavin.king at jboss.com" wrote : You can have as many variable resolvers as you like. The Seam variable resolver to resolve Seam components, a Spring resolver to resolve Spring beans, etc.... Yes, thats true for JSF, but what about Seam? Is it that extensible too? Would be *very* interesting to have some Spring beans injected into my contextual web model handled by Seam. greetings from germany, Papick G. Taboada View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960246#3960246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960246 From do-not-reply at jboss.com Mon Jul 24 03:26:20 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 03:26:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <11206492.1153725980828.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, you can checkout the facelet page i posted. i already use the required="true" attribute. And the problem is not the check for nullability. The problem is that a new database entity is created and the exisiting one is not updated when a validaton fault appears. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960247#3960247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960247 From do-not-reply at jboss.com Mon Jul 24 03:36:52 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Mon, 24 Jul 2006 03:36:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam Application Deployment Message-ID: <15142558.1153726612419.JavaMail.jboss@colo-br-02.atl.jboss.com> And also, when you bind properties, it has to be @stateful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960249#3960249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960249 From do-not-reply at jboss.com Mon Jul 24 03:52:32 2006 From: do-not-reply at jboss.com (niesar) Date: Mon, 24 Jul 2006 03:52:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to get some debug information? Message-ID: <17348813.1153727552608.JavaMail.jboss@colo-br-02.atl.jboss.com> Never mind, guys, I found the problem. My mistake. My fault was that the data table with the selectBooleanCheckboxes weren't inside the form brackets. So when I got the wrong result back from JSF, I was kind of mislead. Instead of getting your data back unchanged, by default you're getting "false" aka "unselected" for all checkboxes. If I place the checkboxes properly in the form, everything works fine. However, the original question remains: is there a way to debug such a problem? In this case I helped myself by writing a "LoggerMap extends HashMap" and passed that one to JSF. But that's an awful lot of work if you need to supply custom "debugger" classes like this for all of your debugging problems. Right now it looks to me like debugging your JSF stuff is a bit like programming in the early 80s - log everything by hand in what you could be interested in, and continue until you found what's going wrong. Kind of unproductive nowadays. Well, the good news for me is that I was finally able to locate the problem. But it's consuming time. 2 weekends for 2 problems - by far too much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960250#3960250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960250 From do-not-reply at jboss.com Mon Jul 24 04:01:22 2006 From: do-not-reply at jboss.com (jkoek) Date: Mon, 24 Jul 2006 04:01:22 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Saving user specific preferences Message-ID: <927199.1153728082667.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Does anyone know if there is a way to save userPreferences with a Portlet. At this moment I have seen that it is possible to save Preferences with a Portlet, however this is Page specific and not user specific. For instance the Weather portlet is good example. When I log in and edit the page the Weather Portlet preferences are saved not only for me but for everyone (page/window level). This means that I need to create a Specific Page for every user. But in case of the Weather the page is not different but only the parameters that need to be displayed are different. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960252#3960252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960252 From do-not-reply at jboss.com Mon Jul 24 04:03:17 2006 From: do-not-reply at jboss.com (jkoek) Date: Mon, 24 Jul 2006 04:03:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <6888404.1153728197300.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JBOSS 2.4.0 CR2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960253#3960253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960253 From do-not-reply at jboss.com Mon Jul 24 04:10:58 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 04:10:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JNDI connection message Message-ID: <15827577.1153728658504.JavaMail.jboss@colo-br-02.atl.jboss.com> These messages mean that the respective datasources have been bound, to the JNDI tree, by the name specified in the logs. This means that later on whenever you do a lookup of the datasource, you will find it in the JNDI tree. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960254#3960254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960254 From do-not-reply at jboss.com Mon Jul 24 04:18:56 2006 From: do-not-reply at jboss.com (qbacomarch) Date: Mon, 24 Jul 2006 04:18:56 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size Message-ID: <3916934.1153729136192.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I tried this, but it didn't work. Here's my persistence.xml | | | org.hibernate.ejb.HibernatePersistence | OracleDS | DBTest.EJBTestEntity | | | | | | The database logs show, that there are 73 rows in 8 fetches. Here's the code of the session bean thath queries the database: @Stateless | public class EJBTestSessionBean implements DBTest.EJBTestSessionRemote { | | @PersistenceContext | EntityManager em; | | public EJBTestSessionBean() {} | | public Collection getEJBTestEntity(){ | Query query; | query = em.createQuery("from EJBTestEntity t"); / | return query.getResultList(); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960255#3960255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960255 From do-not-reply at jboss.com Mon Jul 24 04:23:27 2006 From: do-not-reply at jboss.com (aparolini88) Date: Mon, 24 Jul 2006 04:23:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Choose the Tomcat version in Jboss AS Message-ID: <28659068.1153729407940.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We about to migrate toward JBoss AS and we would like not to change our Tomcat version. We saw that every JBoss AS version is bound to a given Tomcat Version http://wiki.jboss.org/wiki/Wiki.jsp?page=VersionOfTomcatInJBossAS Though, my question is simple: We would like to have the 4.1.29 Tomcat version on our JBoss 4.0.4, instead of the one shipped 5.5.17. Is this possible ? Is this just a matter of deploying jbossweb-tomcat41.sar on my Jboss4.0.4 deploy folder ? Thanks in advance for your feedback, -antonio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960256#3960256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960256 From do-not-reply at jboss.com Mon Jul 24 04:32:30 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 04:32:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <21334792.1153729950742.JavaMail.jboss@colo-br-02.atl.jboss.com> any idea? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960257#3960257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960257 From do-not-reply at jboss.com Mon Jul 24 04:37:10 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 04:37:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <15951614.1153730230342.JavaMail.jboss@colo-br-02.atl.jboss.com> Please post your code, that would be helpful :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960258#3960258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960258 From do-not-reply at jboss.com Mon Jul 24 04:38:36 2006 From: do-not-reply at jboss.com (carstenkeuch) Date: Mon, 24 Jul 2006 04:38:36 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Dynamic QL - IN-Statement Message-ID: <12430550.1153730316378.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, i'm using dynamic-ql like shown in the jboss doc, section 11.6.5. DynamicQL http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch11.chapter.html#ch11.dynamicql.sect. At runtime by excecuting the select method a ParseException is thrown. The generated query looks like this: SELECT OBJECTa) FROM bean AS a WHERE a.number BETWEEN 1 AND 2 AND a.keyOne = 5 AND a.keyTwo IN (?1, ?2, ?3) Exception sais that: PareseException: Encountered "1" at line 1, column [...] expection one of: [...] Seems that the parser doesn't like the generated parameters. It's not the 1 from BETWEEN-Statement. Just ruled it out... It'S definitly the first parameter! So whats wrong with this query? Any ideas? Best regards, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960259#3960259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960259 From do-not-reply at jboss.com Mon Jul 24 04:38:45 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 24 Jul 2006 04:38:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <23623230.1153730325927.JavaMail.jboss@colo-br-02.atl.jboss.com> normally it should not behave as you describe but should be specific to every user. I am going to check that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960260#3960260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960260 From do-not-reply at jboss.com Mon Jul 24 04:42:00 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 24 Jul 2006 04:42:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <19020144.1153730520723.JavaMail.jboss@colo-br-02.atl.jboss.com> just checked with CR2, it works as I describe : I login as admin/admin, change the feed URL of the News Feed portlet. Logout then the feed URL is back to the original value. If I login then as user/user, I still see the original value. Do you have a scenario to propose ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960261#3960261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960261 From do-not-reply at jboss.com Mon Jul 24 04:44:53 2006 From: do-not-reply at jboss.com (t-dome) Date: Mon, 24 Jul 2006 04:44:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: CommandExecutor in a clustered environment Message-ID: <7774191.1153730693123.JavaMail.jboss@colo-br-02.atl.jboss.com> I did the locking in the following way: if (message != null) { | jbpmContext.getSession().lock(message, LockMode.UPGRADE); | checkForMoreMessages = true; | Command command = (Command) message; | command.execute(); | jbpmContext.save(message.getToken().getProcessInstance()); | jbpmContext.getSession().delete(message); | } | session.getTransaction().commit(); | I implemented MyDbMessageService, because DbMessageService deletes the message from the session before it returns it (and before I can lock it in the CommandExecutor). The message is now deleted in the CommandExecutor after locking it. It is not possible to simply extend jBPM classes if they are not in the same package. This is because many jBPM classes don't use 'protected' fields, but ones with package-local access. For now I didn't try clustering with the CommandExecutor, I did only the locking part. Also I can't use JMS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960262#3960262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960262 From do-not-reply at jboss.com Mon Jul 24 04:46:05 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 04:46:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <28396822.1153730765064.JavaMail.jboss@colo-br-02.atl.jboss.com> the register.xhtml | | | | | OTP REG SERVER | | | | |
    | |
    | |
    |
    |

    Register

    |
    |
    |
    | | |
    |
    Username:
    |
    |
    | |
    |
    |
    |
    Password:
    |
    |
    | |
    |
    |
    |
    Confirm PIN:
    |
    |
    | |
    |
    |
    |
    EMail:
    |
    |
    | |
    |
    |
    |
    Phone Number:
    |
    |
    | |
    |
    |
    | |
    |
    |
    |
    | | |
    |
    | |
    |
    |
    |
    | |
    |
    | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960263#3960263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960263 From do-not-reply at jboss.com Mon Jul 24 04:51:08 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 04:51:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <28455901.1153731068037.JavaMail.jboss@colo-br-02.atl.jboss.com> the registerAction.java package src.reg.server; | | import static org.jboss.seam.ScopeType.EVENT; | | import java.util.List; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.core.FacesMessages; | | @Stateful | @Scope(EVENT) | @Name("register") | public class RegisterAction implements Register | { | | @In | private RegUser user; | | @PersistenceContext | private EntityManager em; | | @In(create=true) | private transient FacesMessages facesMessages; | | private String PIN; | private String verify; | | public String register() | { | System.out.println(PIN); | System.out.println(user.getUId()); | | if ( PIN.equals(verify) ) | { | List existing = em.createQuery("select U_ID from RegUser where U_ID=:UId") | .setParameter("UId", user.getUId()) | .getResultList(); | if (existing.size()==0) | { | //set hashcode of the pin | user.setPinHash(PIN.hashCode()); | em.persist(user); | facesMessages.add("Successfully registered as #{user.UId}); | return "login"; | } | else | { | facesMessages.add("Username #{user.UId} already exists"); | return null; | } | } | else | { | facesMessages.add("verify", "Re-enter your password"); | verify=null; | return null; | } | } | | public String getVerify() | { | return verify; | } | | public void setPIN(String PIN) | { | this.PIN = PIN; | } | | public String getPIN() | { | return PIN; | } | | public void setVerify(String verify) | { | this.verify = verify; | } | | @Destroy @Remove | public void destroy() {} | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960264#3960264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960264 From do-not-reply at jboss.com Mon Jul 24 04:53:24 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 04:53:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <2492113.1153731204219.JavaMail.jboss@colo-br-02.atl.jboss.com> the faces-config.xml | | | | | | | | | | | login | /home.xhtml | | | | | register | /register.xhtml | | | | | | | | | com.sun.facelets.FaceletViewHandler | | | | | | org.jboss.seam.jsf.SeamPhaseListener | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960265#3960265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960265 From do-not-reply at jboss.com Mon Jul 24 04:55:09 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 04:55:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <3160232.1153731309875.JavaMail.jboss@colo-br-02.atl.jboss.com> there is nothing in the pages.xml, because I don't know what's this for. not sure if this is correct leaving it blank. | | | thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960266#3960266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960266 From do-not-reply at jboss.com Mon Jul 24 04:55:38 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 04:55:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <10204698.1153731338075.JavaMail.jboss@colo-br-02.atl.jboss.com> I might be wrong, but I think the problem is that you use a STATELESS bean. And this one forgets its state after invokation of a method. I.e. it forgets your ClientPerson Entity and the id as well. So after every reload of the form a new ClientPerson is generated - without an id - and so the EntityManager always creates a new one. I must confess I still didn't get 100% familiar with states and scopes and stuff either, though working with Seam for a few weeks now. You need to make some mistakes when using Seam in order to exactly understand what things are good for. Trial and error, learning by doing... that's the hard work you must do before being rewarded with the great possibilties Seam offers ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960267#3960267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960267 From do-not-reply at jboss.com Mon Jul 24 04:56:12 2006 From: do-not-reply at jboss.com (williamhe) Date: Mon, 24 Jul 2006 04:56:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: 1.0.1 GA Message-ID: <4667113.1153731372284.JavaMail.jboss@colo-br-02.atl.jboss.com> How change seam-dvd's database to the mysql or oracles? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960268#3960268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960268 From do-not-reply at jboss.com Mon Jul 24 04:58:11 2006 From: do-not-reply at jboss.com (choozie) Date: Mon, 24 Jul 2006 04:58:11 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <10293589.1153731491423.JavaMail.jboss@colo-br-02.atl.jboss.com> I figured out my mistake, but I've run into another one. My code is the following: if (System.getSecurityManager() == null){ System.setSecurityManager(new RMISecurityManager()); } Properties env = new Properties(); env.setProperty("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); env.setProperty("java.naming.provider.url", "localhost:3455"); env.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming"); try { InitialContext context = new InitialContext(env); } catch (NamingException e) { e.printStackTrace(); } try{ InvokerLocator myLocator = new InvokerLocator("rmi://localhost:3455"); RMIServerInvoker rmiserver = new RMIServerInvoker(myLocator); }catch(Exception e){ e.printStackTrace(); } No errors so far. But then I try to bind to the registry, with Naming.rebind( serverUrl, server ); where serverUrl = rmi://localhost:3455/ and server is a UnicastRemoteObject. This gives RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: _Stub I checked the class-folder, and the stub is there. If I create a local rmi-registry and bind to that (skipping all the above code expect the naming.rebind), everything works fine. But I would like the use the jboss rmi registry. What am I doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960269#3960269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960269 From do-not-reply at jboss.com Mon Jul 24 04:58:15 2006 From: do-not-reply at jboss.com (jelda) Date: Mon, 24 Jul 2006 04:58:15 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: The wiki is misleading... Message-ID: <28199462.1153731495725.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah,I feel the same like you.. EJB3 installer is misleading and hard to get it worked with all necessary components.. For ex: properties-plugin.jar .. Its not in ejb3 default implementation. I need to use it.. Where do I get it from?.. Get sources & compile and use this properties-plugin or? Hope from next coming release of jboss, everything will be in right track. Hoping for the best.. :) Jelda View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960270#3960270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960270 From do-not-reply at jboss.com Mon Jul 24 05:00:37 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 05:00:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <23971584.1153731637551.JavaMail.jboss@colo-br-02.atl.jboss.com> my entity bean: RegUser.java package src.reg.server; | | // Generated 17-Jul-2006 10:43:29 by Hibernate Tools 3.1.0.beta5 | | import static org.jboss.seam.ScopeType.SESSION; | | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.Id; | import javax.persistence.Table; | | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | | /** | * RegUser generated by hbm2java | */ | @Entity | @Name("reguser") | @Scope(SESSION) | @Table(name = "REG_USER", schema = "PUBLIC", uniqueConstraints = {}) | public class RegUser implements java.io.Serializable { | | private static final long serialVersionUID = -595498938312392108L; | | private String UId; | | private int pinHash; | | private String EMail; | | private String phoneNumber; | | | // Constructors | | /** default constructor */ | public RegUser() { | } | | /** minimal constructor */ | public RegUser(String UId, int pinHash, String tokenKey, int tokenSta, | String EMail) { | this.UId = UId; | this.pinHash = pinHash; | this.EMail = EMail; | } | | /** full constructor */ | public RegUser(String UId, int pinHash, String tokenKey, int tokenSta, | String EMail, String phoneNumber) { | this.UId = UId; | this.pinHash = pinHash; | this.EMail = EMail; | this.phoneNumber = phoneNumber; | } | | // Property accessors | @Id | @Column(name = "U_ID", unique = true, nullable = false, insertable = true, updatable = false, length = 10) | public String getUId() { | return this.UId; | } | | public void setUId(String UId) { | this.UId = UId; | } | | @Column(name = "PIN_HASH", unique = false, nullable = false, insertable = true, updatable = true) | public int getPinHash() { | return this.pinHash; | } | | public void setPinHash(int pinHash) { | this.pinHash = pinHash; | } | | | @Column(name = "E_MAIL", unique = false, nullable = false, insertable = true, updatable = false, length = 20) | public String getEMail() { | return this.EMail; | } | | public void setEMail(String EMail) { | this.EMail = EMail; | } | | @Column(name = "PHONE_NUMBER", unique = false, nullable = true, insertable = true, updatable = false, length = 15) | public String getPhoneNumber() { | return this.phoneNumber; | } | | public void setPhoneNumber(String phoneNumber) { | this.phoneNumber = phoneNumber; | } | | } | | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960271#3960271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960271 From do-not-reply at jboss.com Mon Jul 24 05:03:55 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 05:03:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Patterns and Seam Message-ID: <19256933.1153731835019.JavaMail.jboss@colo-br-02.atl.jboss.com> There will be a Seam book? Whow, great :). Any idea when it will be available, or is this question way to early? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960272#3960272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960272 From do-not-reply at jboss.com Mon Jul 24 05:04:51 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 05:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <1686225.1153731891953.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi bfo81m, thanks for your tipps i am running through the same scope confusing. ;-) i also tried to make my clientPersonAction component stateful, but the behavior is the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960273#3960273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960273 From do-not-reply at jboss.com Mon Jul 24 05:09:38 2006 From: do-not-reply at jboss.com (matabo) Date: Mon, 24 Jul 2006 05:09:38 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <16495448.1153732178911.JavaMail.jboss@colo-br-02.atl.jboss.com> Well. lets' start with the "simple" case: This is the source of java stand alone program: package cachiamo; import org.jboss.cache.*; public class Principale { public static void main(String[] args) throws Exception { TreeCache tree = new TreeCache(); PropertyConfigurator config = new PropertyConfigurator(); config.configure(tree, "META-INF/mioreplSync-service.xml"); tree.setClusterName("pippo"); tree.startService(); tree.destroyService(); } } __________________________________ This is log4j.xml contents: (it is just the log4j.xml shipped with JBosscache distribution) ______________________________________ This is the launch command of the program: Q:\remote\jdk\jdk1.3.1_05\bin\java -Dlog4j.configuration=log4j.xml -classpath "C:\JBuilder8\progetti\cache\xml;P:\bea\weblogic700\server\lib\weblogic.jar;C:\JBuilder8\progetti\cache\classes;D:\jbosscachebueo\jdk13\commons-logging.jar;D:\jbosscachebueo\jdk13\concurrent.jar;D:\jbosscachebueo\jdk13\javassist.jar;D:\jbosscachebueo\jdk13\jboss-cache.jar;D:\jbosscachebueo\jdk13\jboss-common.jar;D:\jbosscachebueo\jdk13\jboss-jmx.jar;D:\jbosscachebueo\jdk13\jboss-system.jar;D:\jbosscachebueo\jdk13\jgroups-all.jar;Q:\remote\jdk\jdk1.3.1_05\jre\lib\i18n.jar;Q:\remote\jdk\jdk1.3.1_05\jre\lib\jaws.jar;Q:\remote\jdk\jdk1.3.1_05\jre\lib\rt.jar;Q:\remote\jdk\jdk1.3.1_05\jre\lib\sunrsasign.jar;Q:\remote\jdk\jdk1.3.1_05\lib\dt.jar;Q:\remote\jdk\jdk1.3.1_05\lib\htmlconverter.jar;Q:\remote\jdk\jdk1.3.1_05\lib\tools.jar" cachiamo.Principale (Directory C:\JBuilder8\progetti\cache\xml contains file logj4.xml and file META-INF\mioreplSync-service.xml. This directory is, of course, in the classpath.) _____________________________________ The output produced is: [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 5d173 [INFO] PropertyConfigurator - -configure(): attribute size: 13 [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) [INFO] TreeCache - -interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor [INFO] TreeCache - -cache mode is REPL_SYNC [INFO] UDP - -sockets will use interface 1.6.64.159 [INFO] UDP - -socket information: local_addr=1.6.64.159:2625, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 sock: bound to 1.6.64.159:2625, receive buffer size=80000, send buffer size=150000 mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 mcast_send_sock: bound to 1.6.64.159:2626, send buffer size=150000, receive buffer size=80000 [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:2625] [INFO] TreeCache - -new cache is null (maybe first member in cluster) [INFO] TreeCache - -state could not be retrieved (must be first member in group) ______________________________ Then, I removed the file log4j.xml from directory C:\JBuilder8\progetti\cache\xml. The output produced is: [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 5d173 [INFO] PropertyConfigurator - -configure(): attribute size: 13 [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) [INFO] TreeCache - -interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor [INFO] TreeCache - -cache mode is REPL_SYNC [INFO] UDP - -sockets will use interface 1.6.64.159 [INFO] UDP - -socket information: local_addr=1.6.64.159:2631, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 sock: bound to 1.6.64.159:2631, receive buffer size=80000, send buffer size=150000 mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 mcast_send_sock: bound to 1.6.64.159:2632, send buffer size=150000, receive buffer size=80000 [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:2631] [INFO] TreeCache - -new cache is null (maybe first member in cluster) [INFO] TreeCache - -state could not be retrieved (must be first member in group) (I dont' see any difference.) __________________________________ Then, I modified log4j.xml in this way: I modified WARN in the following lines with FATAL This is the output after the modification: [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 5d173 [INFO] PropertyConfigurator - -configure(): attribute size: 13 [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) [INFO] TreeCache - -interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.LockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor [INFO] TreeCache - -cache mode is REPL_SYNC [INFO] UDP - -sockets will use interface 1.6.64.159 [INFO] UDP - -socket information: local_addr=1.6.64.159:2923, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 sock: bound to 1.6.64.159:2923, receive buffer size=80000, send buffer size=150000 mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 mcast_send_sock: bound to 1.6.64.159:2924, send buffer size=150000, receive buffer size=80000 [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:2923] [INFO] TreeCache - -new cache is null (maybe first member in cluster) [INFO] TreeCache - -state could not be retrieved (must be first member in group) Output doesn't change. I am not able to control the behavior of logging in JBosscache/JGroups. regards matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960274#3960274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960274 From do-not-reply at jboss.com Mon Jul 24 05:11:00 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 05:11:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <22093466.1153732260852.JavaMail.jboss@colo-br-02.atl.jboss.com> You would need to make it conversational to avoid the behaviour bfo81 is talking about (if that is the root of your problem). You log the id of the object before merging it. Is it always correct set correctly? What is the code for your DAO? Is it a simple em.merge()? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960275#3960275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960275 From do-not-reply at jboss.com Mon Jul 24 05:13:00 2006 From: do-not-reply at jboss.com (petekol) Date: Mon, 24 Jul 2006 05:13:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - many nested conversations(of one level) one one page Message-ID: <23068729.1153732380874.JavaMail.jboss@colo-br-02.atl.jboss.com> is not possible as far as i understand. I would like to have possibility to have many nested conversations for different regions of a page. Let's say parent - many children CRUD where a user can edit many children simultaneously. With current Seam model i can not come up with a solution......does anybody know how to do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960276#3960276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960276 From do-not-reply at jboss.com Mon Jul 24 05:21:09 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 05:21:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <26952127.1153732869386.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi petemuir, anonymous wrote : make it conversational what exactly? my "clientPersonAction" component or the newClientPerson member. the whole form is limited to this one page. why should it be conversational? I thougt a conversation is something like a sub-session for a whole bunch of pages and their states. correct me, if i am wrong. anonymous wrote : you log the id of the object before merging it. Is it always correct set correctly? no, the id gets lost, after the described use case. anonymous wrote : What is the code for your DAO? Is it a simple em.merge()? you?re right. just a merge. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960277#3960277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960277 From do-not-reply at jboss.com Mon Jul 24 05:22:32 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 05:22:32 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: How to use jbosmq Message-ID: <9911370.1153732952765.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch6.chapt.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960278#3960278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960278 From do-not-reply at jboss.com Mon Jul 24 05:25:45 2006 From: do-not-reply at jboss.com (orkus9) Date: Mon, 24 Jul 2006 05:25:45 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Folder with public access Message-ID: <2333598.1153733145684.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i use jboss 4.0.2. I wrote a java-programm thats generating files (generic jpg?s). Users shall be able to download the files (without authentification). At the moment i use an apache server, where the users can download the files. Is there a way, to use jboss like a apache-server. I need a folder, that can be accessed by any users (from web). -- Orkus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960279#3960279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960279 From do-not-reply at jboss.com Mon Jul 24 05:26:01 2006 From: do-not-reply at jboss.com (johncena) Date: Mon, 24 Jul 2006 05:26:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Edit a File without creating a new file Message-ID: <26583147.1153733161184.JavaMail.jboss@colo-br-02.atl.jboss.com> I've recently installed Jboss-Portal 2.2.1 and when I browsed to the page where you can edit the /default/index.html, the button Create is creating a new file instead of just updating the selected file. Is there a way to make it just Save or Update this File and not to create another one? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960280#3960280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960280 From do-not-reply at jboss.com Mon Jul 24 05:30:07 2006 From: do-not-reply at jboss.com (hdwangyi) Date: Mon, 24 Jul 2006 05:30:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Can JBoss Portal can be localized? Message-ID: <15838714.1153733407094.JavaMail.jboss@colo-br-02.atl.jboss.com> i've download jboss portal,my country is china,and could it be easy localized in other language?such as chinese language? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960282#3960282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960282 From do-not-reply at jboss.com Mon Jul 24 05:32:09 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 24 Jul 2006 05:32:09 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: installation instructions Message-ID: <12499785.1153733529557.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/user-guide/en/html/installation.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960283#3960283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960283 From do-not-reply at jboss.com Mon Jul 24 05:33:17 2006 From: do-not-reply at jboss.com (MarcReis) Date: Mon, 24 Jul 2006 05:33:17 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate 3.2CR3 in a Cluster for SFSB Message-ID: <16173470.1153733597277.JavaMail.jboss@colo-br-02.atl.jboss.com> I have more or less posted about this already, but not hibernate specific (I was not sure about the cause, and am still not). From what I saw and read, I guess it is related to EJB3.0-SFSB, JBoss-Cache(1.4) and hibernate interaction. I have set up a Cluster of two JBoss 4.0.4.GA (modification: server uses host name rather than IP) with JBossCache 1.4.0GA. I have two similar EJB3 Beans one SLSB and one SFSB (the diff is just that one is SF the other SL). When I invoke multiple times on the SLSB all is fine (the invokation gets Loadbalanced via RoundRobin on bothe maschines). When I do the same with the SF Bean then I get a | 17:28:11,984 WARN [SessionFactoryObjectFactory] Not found: 2c9096b20c91acb4010c | 91ae85a50002 | This can happen on node one or two, depending where the first call has gone. So this happens when the SFSB allready exists. This then causes a failover to the node where the bean was created. I'm glad for any hints and tipps! Thanks ahead ! Marc I'll gladly post details again, since the other threads are rather verbose, but first of still just want to reference those here: JBoss.com -> JBoss User -> JBossCache http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83655 JBoss.com -> JBoss User -> Clustering/JBoss http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84650 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960284#3960284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960284 From do-not-reply at jboss.com Mon Jul 24 05:45:45 2006 From: do-not-reply at jboss.com (dgallego) Date: Mon, 24 Jul 2006 05:45:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portlets and Rules integration Message-ID: <30296109.1153734345931.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am trying to integrate a simple Hello World Portlet with a rule. In order to get it running I have to copy the drools library file into my WEB-INF/lib/... but my portlet raises exception. Has someone tried building a portlet with JBOss Rules? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960286#3960286 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960286 From do-not-reply at jboss.com Mon Jul 24 05:50:25 2006 From: do-not-reply at jboss.com (berrysx) Date: Mon, 24 Jul 2006 05:50:25 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Order of filter invocation in web application Message-ID: <31512644.1153734625437.JavaMail.jboss@colo-br-02.atl.jboss.com> I have 2 filters in my web app which need to be called in the correct order, the ordering is determined by the order in the web.xml file. Is there a way to tell XDoclet or JBoss IDE which order the filters should be put in the web.xml file? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960287#3960287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960287 From do-not-reply at jboss.com Mon Jul 24 05:50:31 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Mon, 24 Jul 2006 05:50:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: CommandExecutor in a clustered environment Message-ID: <23584668.1153734631117.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply, t-dome. Your solution has the advantage, that i only need to re-implement three classes: DBMessageService, DBMessageServiceFactory (for jbpm.cfg) and CommandExecutor. I my eyes, the only thing that is missing for clustering is the exception handling for the line | jbpmContext.getSession().lock(message, LockMode.UPGRADE); | When a LockAcquisitionException is thrown here, we must try to get the next message and skip the one we could not lock. CommandExecutor.executeCommand(): | ... | message = getAndLockNextMessage(dbMessageService, destination, jbpmContext.getSession()); | // message = dbMessageService.receiveNoWait(destination); | | // If we got a message here, we own the lock | if (message != null) { | checkForMoreMessages = true; | Command command = (Command) message; | log.trace("executing command '" + command + "'"); | command.execute(); | // Because our DBMessageService does not delete the | // message, we must delete it here | jbpmContext.getSession().delete(message); | } | ... | | private Message getAndLockNextMessage(DbMessageService dbMessageService, String destination, Session session) { | Message message = dbMessageService.receiveNoWait(destination); | if (message != null) { | try { | // try to lock the message | session.lock(message, LockMode.WRITE); | // Successfully locked | return message; | } catch (HibernateException e) { | if (e.getCause() instanceof LockAcquisitionException) { | // Failed to acquire the lock - try to get next | return getAndLockNextMessage(dbMessageService, destination, session); | } else { | throw e; | } | } | } else { | return null; | } | } | >From the OO-Point-of-view, this is not the best solution (for me). I think that the MessageService itself, regardless of which implementation is used, should ensure, that the method "nextMessage()" or "receiveNoWait()" only returns Message objects, that have successfully been locked. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960288#3960288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960288 From do-not-reply at jboss.com Mon Jul 24 06:00:31 2006 From: do-not-reply at jboss.com (jkoek) Date: Mon, 24 Jul 2006 06:00:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <22149426.1153735231939.JavaMail.jboss@colo-br-02.atl.jboss.com> I have used the user user/user. I will try now with the admin/admin. I will reinstall the JBOSS package that contains all products (EA + Portal). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960289#3960289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960289 From do-not-reply at jboss.com Mon Jul 24 06:03:25 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 06:03:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <18495552.1153735405697.JavaMail.jboss@colo-br-02.atl.jboss.com> Post the contents of your log4j.xml file(Use the Code button above to enclose the contents in a code block). Also, where are you seeing this output? Is it on the console or some log file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960290#3960290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960290 From do-not-reply at jboss.com Mon Jul 24 06:03:28 2006 From: do-not-reply at jboss.com (pedrosacosta) Date: Mon, 24 Jul 2006 06:03:28 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - A design pattern instead of AOP? Message-ID: <13756081.1153735408851.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, this question is more focusing in the concepts of the AOP and not in the JBoss AOP, but i like to put it anyway. The implementation of the AOP in our business logic can't be translated into a design patter that simulates the goals of the AOP? If so, it's possible to use simple java code, instead of the AOP syntax? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960291#3960291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960291 From do-not-reply at jboss.com Mon Jul 24 06:04:20 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 06:04:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <4448786.1153735460063.JavaMail.jboss@colo-br-02.atl.jboss.com> just get more detailes for ERROR: when I click on cancle (which redirects to the login page) or register new user (which directs to the registration page).I got the following exceptions: 0:51:23,097 INFO [Pages] reading pages.xml | 10:51:23,137 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:48) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:87) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 10:51:38,138 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml | 10:51:38,168 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/seam.taglib.xml | 10:51:38,188 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml | 10:51:38,248 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml | 10:51:38,278 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml | 10:51:38,288 ERROR [STDERR] 24-Jul-2006 10:51:38 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp45461regserver.ear-contents/regserver-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml | 10:51:38,919 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 10:51:38,919 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 10:51:38,919 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now. I think this might be some problem with my faces-config.xml or pages.xml. when I click on login button or register button, which invoke the loginAction or registerAction, the following error will appear: | Error during model data update. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960292#3960292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960292 From do-not-reply at jboss.com Mon Jul 24 06:11:40 2006 From: do-not-reply at jboss.com (palin) Date: Mon, 24 Jul 2006 06:11:40 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: @WebParam annotation and SOAP message attachments Message-ID: <24733617.1153735900327.JavaMail.jboss@colo-br-02.atl.jboss.com> We are trying to create a webservice returning an arbitrary attachment. We took a look at the JBossWS 1.0.1 User Guide and decided to use JSR109, however we got the same error you reported. Considering this, we tried building the jbossws examples, in particular the "swa" one. Build process succeded, but if you take a look at common/imported-build.xml you can see that server artifacts (including the wsdl file) instead of beeing generated by wstools (that is not even called) are copied by the override directory. Forcing wstools to run does not solve the problem, since the supplied wstools-config.xml doesn't comply with jbossws-tool_1_0.xsd. Looking at the jbossws roadmap, at the jira (http://jira.jboss.org/jira/browse/JBWS-269) and reading some messages here on the forum, seems to me that jbossws tools' support for ws-attachment is not ready yet and that the only way to go is to manually create server artifacts (or may be using wscompile?). So I would like to know whether the JBoss Team can supply us some hints to create and deploy webservice with attachment using JBossWS, for example like what they did for WS4EE (http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEAttachStepByStep) Thank you in advance Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960295#3960295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960295 From do-not-reply at jboss.com Mon Jul 24 06:15:42 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 06:15:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Setup second JBOSS instance. Message-ID: <30376557.1153736142951.JavaMail.jboss@colo-br-02.atl.jboss.com> Is this what you are looking for: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringMultipleJBossInstancesOnOneMachine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960297#3960297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960297 From do-not-reply at jboss.com Mon Jul 24 06:20:18 2006 From: do-not-reply at jboss.com (mwelss) Date: Mon, 24 Jul 2006 06:20:18 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException Message-ID: <10967349.1153736418432.JavaMail.jboss@colo-br-02.atl.jboss.com> sounds good! Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960299#3960299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960299 From do-not-reply at jboss.com Mon Jul 24 06:22:04 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 06:22:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Common classes deployed in a .jar Message-ID: <28030279.1153736524608.JavaMail.jboss@colo-br-02.atl.jboss.com> ClassNotFoundException and NoClassDefFoundError are two different things are have different meaning. Post the exception stack trace that you are seeing. When you see the NoClassDefFoundError, it may be a case that even the classes in the .jar file(which you placed in the deploy directory) are found by the classloader, there might be other classes/jars which this class is dependent on and which may not be in the classpath. The exception stacktrace will help in identifying the exact reason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960300#3960300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960300 From do-not-reply at jboss.com Mon Jul 24 06:24:14 2006 From: do-not-reply at jboss.com (Luffy) Date: Mon, 24 Jul 2006 06:24:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: pb with tasklist and pooled tasklist Message-ID: <150323.1153736654790.JavaMail.jboss@colo-br-02.atl.jboss.com> up View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960301#3960301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960301 From do-not-reply at jboss.com Mon Jul 24 06:26:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 06:26:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Common classes deployed in a .jar Message-ID: <5450181.1153736780563.JavaMail.jboss@colo-br-02.atl.jboss.com> Read this anonymous wrote : When you see the NoClassDefFoundError, it may be a case that even the classes in the .jar file as anonymous wrote : When you see the NoClassDefFoundError, it may be a case that even though the classes in the .jar file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960302#3960302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960302 From do-not-reply at jboss.com Mon Jul 24 06:28:48 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 06:28:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <1197041.1153736928098.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : | "UId": Error during model data update. | "EMail": Error during model data update. | "phoneNumber": Error during model data update. | Looks to me as though user is null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960303#3960303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960303 From do-not-reply at jboss.com Mon Jul 24 06:31:25 2006 From: do-not-reply at jboss.com (nax32) Date: Mon, 24 Jul 2006 06:31:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Endpoint does not contain operation meta data for: Message-ID: <7218612.1153737085873.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960304#3960304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960304 From do-not-reply at jboss.com Mon Jul 24 06:35:02 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 06:35:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Wanna create Id-safe DataModelSelection Message-ID: <30688089.1153737302268.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the hint. Unfortunately, the "[id]" String is generated in UISelection.java, a core file of Seam. I thought I could do that change by just building a new annotation, but now I see it isn't possible without changing Seam itself. And I refrain from doing that. Well, so I think I'll just forget the multple editor window stuff or the DataModel annotation due to the problems. It's a pity ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960306#3960306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960306 From do-not-reply at jboss.com Mon Jul 24 06:39:45 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 06:39:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <8095728.1153737585672.JavaMail.jboss@colo-br-02.atl.jboss.com> "petemuir" wrote : anonymous wrote : | | "UId": Error during model data update. | | "EMail": Error during model data update. | | "phoneNumber": Error during model data update. | | | | Looks to me as though user is null. I tried to print out the value and some debug informaton in the registerAction.java: System.out.println(PIN); | System.out.println(user.getUId()); seems the register method hasn't been invoked yet, or at least there should be null pointer exception if the user is Null or PIN is NULL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960309#3960309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960309 From do-not-reply at jboss.com Mon Jul 24 06:47:15 2006 From: do-not-reply at jboss.com (matabo) Date: Mon, 24 Jul 2006 06:47:15 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <23925093.1153738035286.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output was catched by redirecting output of stderr (a DOS console) to a file. regards matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960310#3960310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960310 From do-not-reply at jboss.com Mon Jul 24 06:48:18 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 06:48:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <6133434.1153738098161.JavaMail.jboss@colo-br-02.atl.jboss.com> I take it you mean you put the debug information in your register() method in RegisterAction? If the model update phase fails the invoke application phase won't occur (which is when the register() method would be called). Try setting a breakpoint on one of the setter methods of the entity and see if it gets called. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960311#3960311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960311 From do-not-reply at jboss.com Mon Jul 24 06:50:47 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 24 Jul 2006 06:50:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can JBoss Portal can be localized? Message-ID: <17103317.1153738247638.JavaMail.jboss@colo-br-02.atl.jboss.com> we use resource bundle files to localize content. look in the different war files of jbos-portal.sar, they contains .properties file with language translations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960312#3960312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960312 From do-not-reply at jboss.com Mon Jul 24 06:56:53 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 06:56:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <14112507.1153738613375.JavaMail.jboss@colo-br-02.atl.jboss.com> It's always useful to give an Editor Bean the Conversation Scope. The method that's invoked by the preceding page (e.g. list page) should be annotated with @begin(nested=true) and the method being called before leaving the editor page (e.g. save) should be annotated with @end. If you do so, the editor bean keeps its state (especially the edited entity bean) exactly as long as the user is on the editor page. And I believe that's exactly what you want :). (I made this one bold 'cause it's on of my conclusions of the last weeks working with Seam. if I would have known it before I wouldn't have lost half of my hair ;)). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960314#3960314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960314 From do-not-reply at jboss.com Mon Jul 24 06:58:08 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 06:58:08 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <32365216.1153738688959.JavaMail.jboss@colo-br-02.atl.jboss.com> 1)As per your setting: | | | | | | | | The threshold attribute of the console appender has been set to FATAL, which means that anything lesser than this(i.e. debug, info etc...) will NOT be logged to the console. Change it to: | | | | | | | | 2) As per your setting: | | Again, anything below FATAL level logged by from the org.jboss.cache package hierarchy will NOT be logged. Change this to | | Same is the case with org.jgroups. Change it to: | | 3) anonymous wrote : The output was catched by redirecting output of stderr (a DOS console) to a file. As per the above settings, all the logs will be generated to stdout and NOT to stderr. So at all you want to redirect the logs then you should redirect it from stdout View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960315#3960315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960315 From do-not-reply at jboss.com Mon Jul 24 07:02:32 2006 From: do-not-reply at jboss.com (wdfink) Date: Mon, 24 Jul 2006 07:02:32 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <10001596.1153738952734.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, you should use a Timer. implement TimerObject in you StatelessSessionBean, EntityBean or MessageBean. In your application set a Timer for this Bean. After that the timout method of your bean is called when the timeout has come .... The Timer is persistent (since 4.0.4 also if you shutdown the JBoss) as long as the application delete it. For more info see sun or jboss tutorials or some books ;-) Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960317#3960317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960317 From do-not-reply at jboss.com Mon Jul 24 07:09:30 2006 From: do-not-reply at jboss.com (dgallego) Date: Mon, 24 Jul 2006 07:09:30 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Drools and Portlets integration problem Message-ID: <19620721.1153739370687.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to load a rules file from a portlet. I have copied the Eclipse Rules example (DroolsTest.java) and tried working with it from a Portlet class. The problem appears when I try to create a new PacakgeBuilder. Everything works well: read the DRL file (file with the rules) and create a PackageBuilderConfiguration (if needed), but when the portlet executes PackageBuilder builder = new PackageBuilder(); the portlet stops its execution (and no exception is raised!) I realised it stopped its execution because a rResponse.getWriter().write("HI"); shows nothing. Thanks, I'm really noob to Drools and Portlets integration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960318#3960318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960318 From do-not-reply at jboss.com Mon Jul 24 07:14:00 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 07:14:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <30512919.1153739640853.JavaMail.jboss@colo-br-02.atl.jboss.com> I set a break point at the setUId method of the entity bean, it seems the setter method hasn't been called. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960319#3960319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960319 From do-not-reply at jboss.com Mon Jul 24 07:15:17 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 24 Jul 2006 07:15:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: FacesContext Message-ID: <20683902.1153739717757.JavaMail.jboss@colo-br-02.atl.jboss.com> Ignore my last post, Ive finally understood what you said, this part is working fine now. Thanks for your sugestion View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960320#3960320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960320 From do-not-reply at jboss.com Mon Jul 24 07:21:07 2006 From: do-not-reply at jboss.com (anurudh) Date: Mon, 24 Jul 2006 07:21:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - How to remove decoratoion from a portlet. Message-ID: <27636181.1153740067356.JavaMail.jboss@colo-br-02.atl.jboss.com> Please tell me how to remove decorataion from portlet. I have tried the way given in reference guide but nothing has happened. In my portlet window i added this code as given in the reference guide org.jboss.portal.property.nodecoration true Is there any other entries that i need to make. Thanks.............!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960321#3960321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960321 From do-not-reply at jboss.com Mon Jul 24 07:37:45 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 07:37:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <30009586.1153741065393.JavaMail.jboss@colo-br-02.atl.jboss.com> I have four properies for the entity bean: UId pinHASH EMail PhoneNumber. among those the pinHash is not set directly from the registration page. it is set in the regiser() method (registeration.java) where the hashcode of the PIN(get this from the registration page) is caculated. should this be a problem because I haven't got all the properties from the registeration page? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960322#3960322 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960322 From do-not-reply at jboss.com Mon Jul 24 07:43:24 2006 From: do-not-reply at jboss.com (choozie) Date: Mon, 24 Jul 2006 07:43:24 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <9968409.1153741404601.JavaMail.jboss@colo-br-02.atl.jboss.com> I foundt out that I actually do get an error before that. Calling RMIServerInvoker rmiserver = new RMIServerInvoker(myLocator); gives ERROR [org.jboss.remoting.transport.rmi.RMIServerInvoker - 246] Error unbinding RMIServerInvoker from RMI registry. java.rmi.NotBoundException: remoting/RMIServerInvoker/3455 at sun.rmi.registry.RegistryImpl.unbind(RegistryImpl.java:140) at org.jboss.remoting.transport.rmi.RMIServerInvoker.destroy(RMIServerInvoker.java:242) at org.jboss.remoting.transport.rmi.RMIServerInvoker.finalize(RMIServerInvoker.java:260) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83) at java.lang.ref.Finalizer.access$100(Finalizer.java:14) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160) I have no idea why that is... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960323#3960323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960323 From do-not-reply at jboss.com Mon Jul 24 07:46:50 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 07:46:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <16116297.1153741610620.JavaMail.jboss@colo-br-02.atl.jboss.com> First thanks for the answer. But why do i need a conversation for that. it works fine when no validation fault appears. And where should i put the @Begin annotation? I just have my clientPersonService to deliver a simple list: @Stateless | @Name("clientPersonService") | public class ClientPersonServiceImpl implements ClientPersonService { | | @PersistenceContext | private EntityManager em; | | public List getAllClientPerson() | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | return clientPersonDAO.getAllClientPerson(); | } | } And a simple link to the edit page: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960324#3960324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960324 From do-not-reply at jboss.com Mon Jul 24 07:46:58 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 07:46:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <26323374.1153741618062.JavaMail.jboss@colo-br-02.atl.jboss.com> No. http://www-128.ibm.com/developerworks/library/j-jsf2 This is a good introduction to the JSF lifecycle and should help you understand what the error message 'error during model update' means. As I mentioned above it looks like you never create an instance of user (either via new User() or create=true) so user is null (which I find a common cause of model update errors). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960325#3960325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960325 From do-not-reply at jboss.com Mon Jul 24 07:56:36 2006 From: do-not-reply at jboss.com (dgallego) Date: Mon, 24 Jul 2006 07:56:36 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Drools and Portlets integration problem Message-ID: <245059.1153742196343.JavaMail.jboss@colo-br-02.atl.jboss.com> I've solved it: I have needed the common-jci library included in Drools. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960327#3960327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960327 From do-not-reply at jboss.com Mon Jul 24 07:56:44 2006 From: do-not-reply at jboss.com (wolfc) Date: Mon, 24 Jul 2006 07:56:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with ArrayLists in SessionBeans and idle time Message-ID: <31519994.1153742204385.JavaMail.jboss@colo-br-02.atl.jboss.com> I checked the source code based on your stack trace. It is a bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960328#3960328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960328 From do-not-reply at jboss.com Mon Jul 24 07:58:53 2006 From: do-not-reply at jboss.com (jkoek) Date: Mon, 24 Jul 2006 07:58:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <27688986.1153742333635.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried it with admin/admin and that works. I have tried it with user/user and that don't work. I have set the security for the user 'user' to personalize. Underneath the logging of the database; As you can see. the test-admin works but the test-user doesn't show up. In your reply I saw that you tried it with admin. Can you try it with user? Thanks, Jeroen. NSERT INTO JBP_PORTLET_STATE VALUES(3,'samples.NewsPortlet',NULL,'2006-07-24 13:48:04.715000000',NULL,NULL) INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,NULL) DELETE FROM JBP_PORTLET_STATE_ENTRY WHERE PK=6 INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,3) INSERT INTO JBP_PORTLET_STATE_ENTRY_VALUE VALUES(6,'http://test-admin',0) INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,NULL,'admin','local._3',NULL) DELETE FROM JBP_INSTANCE_PER_USER WHERE PK=2 INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,2,'admin','local._3',NULL) COMMIT /*C4*/SET AUTOCOMMIT TRUE /*C3*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=1 AND JBP_NAME='portal.user.last-login-date' INSERT INTO JBP_USER_PROP VALUES(1,'1153741696149','portal.user.last-login-date') COMMIT /*C4*/SET AUTOCOMMIT FALSE /*C3*/SET AUTOCOMMIT TRUE SET AUTOCOMMIT FALSE SET AUTOCOMMIT TRUE /*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date' INSERT INTO JBP_USER_PROP VALUES(2,'1153742092493','portal.user.last-login-date') COMMIT /*C3*/SET AUTOCOMMIT FALSE SET AUTOCOMMIT TRUE SET AUTOCOMMIT FALSE SET AUTOCOMMIT TRUE /*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date' INSERT INTO JBP_USER_PROP VALUES(2,'1153742216816','portal.user.last-login-date') COMMIT /*C3*/SET AUTOCOMMIT FALSE /*C4*/SET AUTOCOMMIT TRUE SET AUTOCOMMIT FALSE View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960329#3960329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960329 From do-not-reply at jboss.com Mon Jul 24 08:11:50 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Mon, 24 Jul 2006 08:11:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: dvd example - get process instance from order id questio Message-ID: <17209379.1153743110212.JavaMail.jboss@colo-br-02.atl.jboss.com> This query takes place in the ShowOrdersAction bean. I don't see the table LongInstance in the data model for jBPM: http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm31DataModel Has anyone had any success in piecing this together? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960330#3960330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960330 From do-not-reply at jboss.com Mon Jul 24 08:17:01 2006 From: do-not-reply at jboss.com (biggef) Date: Mon, 24 Jul 2006 08:17:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - A timer associated to a process instance ? Message-ID: <13447579.1153743421380.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to set up timers associated to process instances. It seems as if it is only possible to associate them to task instances or nodes, but I may have skipped something in the documentation (or maybe some body has written suc a timer). So can a timer be associated with a process instance ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960331#3960331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960331 From do-not-reply at jboss.com Mon Jul 24 08:19:19 2006 From: do-not-reply at jboss.com (jensmcramer) Date: Mon, 24 Jul 2006 08:19:19 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Eclipse RCP connect to JBoss EJB 3.0 Message-ID: <28202431.1153743559772.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! I know that this forum is not really the right place for my question because my problem is more an eclipse / RCP / classloader problem, but I hope that someone here can point me to the right direction. My searches on google gave me some results but none of them bring me a working solution. I'm a beginner with EJB and Eclipse RCP. Thanks to EJB 3.0 I got managed to deploy a set of Entity-Beans and a Stateless Session Bean to my JBoss. I've written a small test-client with that I can succsessfully connect to my session bean which then creates some entities. The project I'm now working on is an Eclipse Rich Client Project which should use the EJBs discribed above. After days of testing there are only problems... So far I've tried the following: 1. "The novice solution" I've created 2 Plugins, one containing the RCP-application and the other one contains the jboss-all.jar. The app-plugin depends on the jboss-plugin and has the same ejb-jar as deployed to JBoss on it's build-path. In the Application.java I try to run this code (which worked in my standalone test-client): | Properties properties = new Properties(); | properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces"); | properties.put("java.naming.provider.url","localhost:1099"); | | | Context context; | try { | context = new InitialContext(properties); | TestOrderRemote beanRemote = (TestOrderRemote) context.lookup(TestOrderBean.RemoteJNDIName); | beanRemote.createTest(); | } catch..... | This brings this error: java.lang.NoClassDefFoundError: de/gastroseller/manager/sbeans/TestOrderRemote | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) | ... As far as I can see the jboss-plugin is unable to find my domain-classes. OK, searching google brought me to the next version: 2. "Buddy ClassLoading" As stated on http://www.hibernate.org/311.html, I appended to line "Eclipse-BuddyPolicy: registered" to the MANIFEST.MF of the jboss-plugin and "Eclipse-RegisterBuddy: org.jboss.smallclient" to my app-plugin. Same error: java.lang.NoClassDefFoundError: de/gastroseller/manager/sbeans/TestOrderRemote | at java.lang.Class.getDeclaredConstructors0(Native Method) | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) | ... 3. "setContextClassLoader" Somewhere on the web someone mentioned to surround the "new InitialContext" with something like Thread.currentThread().setContextClassLoader( | this.getClass().getClassLoader()); Some error as above. :( Please, can someone point me to the right direction? Or maybe publish an example / working plugin? Thanks in advance for any help! Regards, Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960332#3960332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960332 From do-not-reply at jboss.com Mon Jul 24 08:19:43 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 08:19:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <24171636.1153743583951.JavaMail.jboss@colo-br-02.atl.jboss.com> "mrwhite" wrote : But why do i need a conversation for that. it works fine when no validation fault appears.That's the point. If there's no validation fault, everything is ok. BUT: If there is one, then the page needs to be reloaded. Hence the state of the editor page must be "reloaded", too. And a good way to do this is to keep the state in a Conversation. anonymous wrote : And where should i put the @Begin annotation? Which method do you call before the edit page is displayed? To make sure we're talking about the same: I usually have a list page with a list bean, and an edit page with an edit bean. And the edit bean contains the following methods: @Begin(nested=true) public String create() {...} //To create a new entry @Begin(nested=true) public String edit() {...} //To edit an existing entry @End public String cancel() {...} //If the cancel button on the edit page is pressed @End public String save() {...} //If the save button is pressed (and validation was successfull) @End public String delete() {...} //If the delete button is pressed That's the "classic" pattern. Maybe you do it another way, so I wanted to make clear what I'm talking about ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960333#3960333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960333 From do-not-reply at jboss.com Mon Jul 24 08:19:47 2006 From: do-not-reply at jboss.com (Basel) Date: Mon, 24 Jul 2006 08:19:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Patterns and Seam Message-ID: <3469915.1153743587540.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.heute at jboss.com" wrote : We are already well advanced on a Seam book (it is at the review process) | It would be nice if we could participate in the review process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960334#3960334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960334 From do-not-reply at jboss.com Mon Jul 24 08:19:53 2006 From: do-not-reply at jboss.com (Goonie) Date: Mon, 24 Jul 2006 08:19:53 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <9293286.1153743593224.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your help. I have now implemented the TimedObject interface in my bean. The problem is now how to register the Timer. I'd like the (recurring) Timer to be run right from application startup, before I invoke any of the component interface methods. Is this possible? Ideally, I'd like to configure the Timer somewhere in the Container configuration, not within the bean itself. Best regards, Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960335#3960335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960335 From do-not-reply at jboss.com Mon Jul 24 08:26:54 2006 From: do-not-reply at jboss.com (subhanikhan_mca) Date: Mon, 24 Jul 2006 08:26:54 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE, Eclipse 3.1 and upcoming WTP versions Message-ID: <14330827.1153744014129.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the difference between Run and RunAs in Eclipse IDe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960336#3960336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960336 From do-not-reply at jboss.com Mon Jul 24 08:36:53 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 24 Jul 2006 08:36:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - WebApp Development Message-ID: <20338521.1153744613683.JavaMail.jboss@colo-br-02.atl.jboss.com> Im trying to develop a web aplication based on the webapp example but without the JSF and Im using the Bean classes as normal classes and not as beans. Im geting the tasklist for a user but when I click on the link to the taks nothing happens, I'm redirecting the link to a Servelet tha calls the the HomeBean.selectTaskInstance(). In the webapp it seems thats the only thing its being done. Can anyone help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960337#3960337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960337 From do-not-reply at jboss.com Mon Jul 24 08:38:47 2006 From: do-not-reply at jboss.com (petekol) Date: Mon, 24 Jul 2006 08:38:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - nested conversation kills its parent if id is specified Message-ID: <31213053.1153744727133.JavaMail.jboss@colo-br-02.atl.jboss.com> @Begin(id="newEmp", nested = true, ifOutcome = "newPage") kills it's parent conversation and creates two new conversations where newEmp is a root one. @Begin( nested = true, ifOutcome = "newPage") works without problems..... could it be a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960338#3960338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960338 From do-not-reply at jboss.com Mon Jul 24 08:39:00 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 08:39:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <2969947.1153744740417.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't have access to commit to the CVS (nor can I do so from work). I created/commented on a Jira though. The issue I talk about, is in the action handler. When you have the executionContext, and do a .getTimer() on it (during a timer action event), it would always return null. My fix assigns the timer to the ExecutionContext properly so it is there in the action handler if you need it. ephemeris-lappis wrote : at the time the task activates You mean task.start()? or when the task is created? You should be able to, I know we're editing timers during the execution of a timer, but we're doing mass timer updates, so we're using named queries. You should be able to do it through the API. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960339#3960339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960339 From do-not-reply at jboss.com Mon Jul 24 08:41:43 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 08:41:43 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A timer associated to a process instance ? Message-ID: <27356936.1153744903932.JavaMail.jboss@colo-br-02.atl.jboss.com> According to the XML Schema, you can put a create-timer element on a process definition, but it never did anything through my testing. What you could do, is put a create-timer on the start-node and then an cancel-timer on all end nodes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960340#3960340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960340 From do-not-reply at jboss.com Mon Jul 24 08:44:15 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 08:44:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Help needed- Regarding Regarding jbpm-jpd Message-ID: <14014770.1153745055248.JavaMail.jboss@colo-br-02.atl.jboss.com> I would not suggest jBPM for what you want to do. Just create a simple jsp/servlet, or use Struts, Spring, Java Server Faces (JSF). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960342#3960342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960342 From do-not-reply at jboss.com Mon Jul 24 08:46:54 2006 From: do-not-reply at jboss.com (petekol) Date: Mon, 24 Jul 2006 08:46:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <400215.1153745214229.JavaMail.jboss@colo-br-02.atl.jboss.com> "petekol" wrote : @Begin(id="newEmp", nested = true, ifOutcome = "newPage") | kills it's parent conversation and creates two new conversations where newEmp is a root one. | | @Begin( nested = true, ifOutcome = "newPage") works without problems..... | | could it be a bug? sorry, seam does not kills a parent one, but rearange ids and contexts that leads to wrong result View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960343#3960343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960343 From do-not-reply at jboss.com Mon Jul 24 08:48:06 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Mon, 24 Jul 2006 08:48:06 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size Message-ID: <10291057.1153745286135.JavaMail.jboss@colo-br-02.atl.jboss.com> Believe me, I hate to say it, but it does work for me here. . . Do you have any other EJB3 configuration deployed? Here is what I get: | 08:34:54,743 INFO [SettingsFactory] JDBC batch size: 19 | and here is my persistance.xml | | | | org.hibernate.ejb.HibernatePersistence | java:/MySqlDS | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960344#3960344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960344 From do-not-reply at jboss.com Mon Jul 24 08:49:05 2006 From: do-not-reply at jboss.com (wdfink) Date: Mon, 24 Jul 2006 08:49:05 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <28751610.1153745345969.JavaMail.jboss@colo-br-02.atl.jboss.com> often we have two cases: - do something for the depends on a timestamp from data (e.g. warning of a meeting in calendar) - start some checks for administrativ issues (cleaning or statistics ...) In the first case the entity manage the timer (it's easy) In the second case an administrator manage it. I create the Timer with a client (WEB or rich) with an administration console. But I think you can do it whit an mbean for JBoss as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960345#3960345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960345 From do-not-reply at jboss.com Mon Jul 24 08:52:35 2006 From: do-not-reply at jboss.com (matabo) Date: Mon, 24 Jul 2006 08:52:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <31564272.1153745555203.JavaMail.jboss@colo-br-02.atl.jboss.com> I changed log4j.xml as you suggested. Output is: | [INFO] PropertyConfigurator - -Found existing property editor for org.w3c.dom.Element: org.jboss.util.propertyeditor.ElementEditor at 5d173 | [INFO] PropertyConfigurator - -configure(): attribute size: 13 | [INFO] TreeCache - -setting cluster properties from xml to: UDP(bind_addr=1.6.64.159;ip_mcast=true;ip_ttl=64;loopback=true;mcast_addr=228.1.2.3;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) | [INFO] TreeCache - -interceptor chain is: | class org.jboss.cache.interceptors.CallInterceptor | class org.jboss.cache.interceptors.LockInterceptor | class org.jboss.cache.interceptors.UnlockInterceptor | class org.jboss.cache.interceptors.ReplicationInterceptor | [INFO] TreeCache - -cache mode is REPL_SYNC | [INFO] UDP - -sockets will use interface 1.6.64.159 | [INFO] UDP - -socket information: | local_addr=1.6.64.159:4231, mcast_addr=228.1.2.3:48866, bind_addr=ic2302299.ic.intra.infocamere.it/1.6.64.159, ttl=64 | sock: bound to 1.6.64.159:4231, receive buffer size=80000, send buffer size=150000 | mcast_recv_sock: bound to 1.6.64.159:48866, send buffer size=150000, receive buffer size=80000 | mcast_send_sock: bound to 1.6.64.159:4232, send buffer size=150000, receive buffer size=80000 | [INFO] TreeCache - -viewAccepted(): new members: [1.6.64.159:4231] | [INFO] TreeCache - -new cache is null (maybe first member in cluster) | [INFO] TreeCache - -state could not be retrieved (must be first member in group) | Same as usual. What I am trying to say is that whatever modification I apply to log4j.xml, the output doesn't change. If I delete log4j.xml, the output is always as above. It looks like JBossCache doesn't care about log4j.xml. regards matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960346#3960346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960346 From do-not-reply at jboss.com Mon Jul 24 08:53:03 2006 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Mon, 24 Jul 2006 08:53:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Eclipse RCP connect to JBoss EJB 3.0 Message-ID: <16797260.1153745583103.JavaMail.jboss@colo-br-02.atl.jboss.com> buddyclassloading should work, but remember it is the plugin that has the dynamic classloading jars that needs to be a buddy. Also remember to run eclipse with a -clean argument since eclipse can be stubborn in actually recognizing new things in manifest.mf/plugin.xml without it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960347#3960347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960347 From do-not-reply at jboss.com Mon Jul 24 08:53:25 2006 From: do-not-reply at jboss.com (klsateesh) Date: Mon, 24 Jul 2006 08:53:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Integrating AJAX Frameworks with SEAM Message-ID: <20933349.1153745605448.JavaMail.jboss@colo-br-02.atl.jboss.com> HI All, I am new to SEAM and wondering how easy to integrate an existing AJX Framework ( jMaki or DWR) into SEAM. Does seam comes with an AJAX Framework ?? Or it only works with JSF Components which support AJAX nature?? Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960348#3960348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960348 From do-not-reply at jboss.com Mon Jul 24 08:53:47 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 24 Jul 2006 08:53:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <9761298.1153745627699.JavaMail.jboss@colo-br-02.atl.jboss.com> I see your point. The thing is that those portlets (news) have caching enabled so if you customize a portlet and change identity, you still have the previous entry for a while which is a very confusing experience. Try to edit jboss-portal.sar/portal-samples.war/WEB-INF/portlet.xml and remove the caching entry for the news portlet and see what it gives. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960349#3960349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960349 From do-not-reply at jboss.com Mon Jul 24 08:59:36 2006 From: do-not-reply at jboss.com (biggef) Date: Mon, 24 Jul 2006 08:59:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A timer associated to a process instance ? Message-ID: <5241920.1153745976424.JavaMail.jboss@colo-br-02.atl.jboss.com> "cpob" wrote : According to the XML Schema, you can put a create-timer element on a process definition, but it never did anything through my testing ie nothing happens when the timer fires ? Was the timer cancelled when leaving a node ? "cpob" wrote : What you could do, is put a create-timer on the start-node and then an cancel-timer on all end nodes. The idea was indeed something like this, in order to set alerts dynamicaly on some sections of the workflow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960350#3960350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960350 From do-not-reply at jboss.com Mon Jul 24 09:00:12 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 09:00:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <25232086.1153746012654.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, i will try this. But: when i have a link in a template and a user doesnt press the save button is the conversation still open? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960351#3960351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960351 From do-not-reply at jboss.com Mon Jul 24 09:02:30 2006 From: do-not-reply at jboss.com (matabo) Date: Mon, 24 Jul 2006 09:02:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: unable to configure logging Message-ID: <24218270.1153746150082.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, log4j.xml was in my classpath, but log4j.jar wasn't :-) I added it and now I am able to configure logging output from JBossCache in a java stand alone application. Now I'll give a check to WebLogic. log4j.jar is in Weblogic system classpath, but no output is produced. thanks to everybody matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960352#3960352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960352 From do-not-reply at jboss.com Mon Jul 24 09:05:24 2006 From: do-not-reply at jboss.com (rpiaggio) Date: Mon, 24 Jul 2006 09:05:24 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - EXPLODED EAR won't redeploy even when touching application Message-ID: <6624367.1153746325007.JavaMail.jboss@colo-br-02.atl.jboss.com> OOOPS! That should have been "EXPLODED EAR won't redeploy..." in the subject... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960353#3960353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960353 From do-not-reply at jboss.com Mon Jul 24 09:10:41 2006 From: do-not-reply at jboss.com (bluetrade) Date: Mon, 24 Jul 2006 09:10:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - ConcurrentModificationException Message-ID: <11215168.1153746641349.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am getting a ConcurrentModificationException which I cannot really resolve, maybe someone has some hints... I have the following: | @Stateful | @Name("accBroker") | @Scope(CONVERSATION) | @LoggedIn | public class AccountBrokerBean implements AccountBroker{ | | @In(create=true) | private EntityManager em; | | @In(value="securityBroker",create=true) | private SecurityBroker securityBroker; | | @In | User user; | | @Begin(join=true) | public void find() { | List accounts = em.createQuery("from Account"); | securityBroker.filter(user,accounts); | | } | ... | @Stateful | @Name("securityBroker") | @Scope(CONVERSATION) | @LoggedIn | public class SecurityBrokerBean implements SecurityBroker{ | | @In(create=true) | private EntityManager em; | | public void filter(User u, Collection accounts) { | for (Account a : accounts) { | if (accounts.notAccessibleBy(user) { | accounts.remove(a); | } else if (accounts.accessibleBy(user) { | continue; | } else { | accounts.remove(a); | } | } | | } | | ... | I get the CME somehere in the filter method... Any clues? Thanks, Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960354#3960354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960354 From do-not-reply at jboss.com Mon Jul 24 09:10:46 2006 From: do-not-reply at jboss.com (olvin) Date: Mon, 24 Jul 2006 09:10:46 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - SQLBase (GUPTA) - getIndexInfo(...) => SQLException Message-ID: <20344586.1153746646839.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We try to access to a SQLBase database from Gupta and there's only one problem remaining... We have the last JDBC Driver from Gupta (v. 9.0.1) We try to deploy the example "cmproster" from the ejb directory from j2eetutorial1.4 from Sun : - With HyperSonic SQL => no problem. - with SQLBase => I can see the connection created in the Databases Manager but we have the following SQLException generated by the JDBC Driver : "Only approximate statistics are supported.!" After a short analyse, the exception is generated by the getIndexInfo method from the JDBC Driver. Here's the decompiled method : public ResultSet getIndexInfo(String s, String s1, String s2, boolean flag, boolean flag1) throws SQLException { String s3 = null; if(s != null) getIndexInfoCatalog = null; else getIndexInfoCatalog = "%"; if(s1 != null) getIndexInfoSchema = s1.toUpperCase(); else getIndexInfoSchema = "%"; if(!flag1) throw new SQLException("Only approximate statistics are supported.!"); getIndexInfoTable = s2.toUpperCase(); prepareQuery("Select null as TBALE_CAT, Tbcreator as TABLE_SCHEM, Tbname as TABLE_NAME, @Decode(Uniquerule,'D','True','False') as NON_UNIQUE, Ix.Creator as INDEX_QUALIFIER, Ix.Name as INDEX_NAME, @Decode(Ixtype, 'H', 2, 'B', 1, 0) as TYPE, Ky.Colseq as ORDINAL_POSITION, Ky.Colname as COLUMN_NAME, Ky.Ordering as ASC_OR_DESC, Ky.Distinctcount as CARDINALITY, Indexpagecount as PAGES, null as FILTER_CONDITION From Sysadm.Sysindexes Ix, Sysadm.Systables Tb, Sysadm.Syskeys Ky Where (Tbcreator = Tb.Creator) And (Tbname = Tb.Name) And (Ix.Name = Ky.IxName) And TBCreator like ? And (Tbname = ?) And (Uniquerule = ?) "); ps.setString(1, getIndexInfoSchema); ps.setString(2, getIndexInfoTable); if(flag) s3 = "U"; else s3 = "D"; ps.setString(3, s3); rs = ps.executeQuery(); return rs; } And the getIndexInfo method is called from "org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.getOldIndexes" : 14:29:06,093 WARN [ServiceController] Problem starting service jboss.j2ee:service=EjbModule,module=team-ejb.jar org.jboss.deployment.DeploymentException: Error while geting column names; - nested throwable: (java.sql.SQLException: Only approximate statistics are supported.!) at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.getOldIndexes(SQLUtil.java:1168) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:215) All that I have found is that (for another JDBC driver) : http://mail-archive.objectweb.org/c-jdbc/2005-02/msg00066.html You can see that the getIndexInfo method is called with false as the last parameter... So, here's my question : Someone could give me a way to configure JBoss (or the ejb) correctly to avoid the call of the method with false as the last parameter to avoid the SQLException returned from JDBC Driver ? Thanks, Olivier[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960355#3960355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960355 From do-not-reply at jboss.com Mon Jul 24 09:11:59 2006 From: do-not-reply at jboss.com (kingofhawks) Date: Mon, 24 Jul 2006 09:11:59 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - How to access remote file system from Swing client? Message-ID: <9397997.1153746719121.JavaMail.jboss@colo-br-02.atl.jboss.com> Deal All: I want to acess remote file system from my swing client running in different JVM.Does JBoss have some solutions for this purpose?Or anyone can recommend some open source library or any suggestions to satisfy this requirement? Any advice will be great appreciated. Best Regards! Kingofhawks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960357#3960357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960357 From do-not-reply at jboss.com Mon Jul 24 09:13:08 2006 From: do-not-reply at jboss.com (jainer) Date: Mon, 24 Jul 2006 09:13:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: problems integrating jbpm console with another applicati Message-ID: <32545373.1153746788949.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, thanx... i think the problem can has solution with Hibernate.initialize(), but i don't know what part of the session is closed. I used Hibernate.isInitialized() to see what is closed and where is closed, but Hibernate.isInitialized() prints the same that when works fine. Another idea? Regards! jainer e. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960358#3960358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960358 From do-not-reply at jboss.com Mon Jul 24 09:16:54 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 09:16:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A timer associated to a process instance ? Message-ID: <13403698.1153747014275.JavaMail.jboss@colo-br-02.atl.jboss.com> "biggef" wrote : "cpob" wrote : According to the XML Schema, you can put a create-timer element on a process definition, but it never did anything through my testing | ie nothing happens when the timer fires ? | Was the timer cancelled when leaving a node ? It never created the timer. The action to create the timer is in the DB, it just never gets created, and therefore never starts. Look at the create-timer and cancel-timer elements. They allow you to create a timer, only to cancel it anywhere else in the flow (Timer names must be unique). Check out section 16.4.22 of the User Guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960359#3960359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960359 From do-not-reply at jboss.com Mon Jul 24 09:19:48 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 09:19:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <10994773.1153747188366.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks for the article. Indeed, I don't have a create = true or new User(). but the problem was still there when I added the create = true or new User() in the registerActon.java actually, in the booking example I haven't see create= true or new user() in registerAction.java View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960360#3960360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960360 From do-not-reply at jboss.com Mon Jul 24 09:24:05 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 09:24:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <3724977.1153747445505.JavaMail.jboss@colo-br-02.atl.jboss.com> You seem to be missing @Out on user as well - or are there other beans involved that outject user? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960362#3960362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960362 From do-not-reply at jboss.com Mon Jul 24 09:25:18 2006 From: do-not-reply at jboss.com (QPool.Char) Date: Mon, 24 Jul 2006 09:25:18 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS-Security: a standalone client ? Message-ID: <6969194.1153747518198.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, any progress with this question? I have some same problems.... thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960363#3960363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960363 From do-not-reply at jboss.com Mon Jul 24 09:26:27 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 09:26:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <26090559.1153747587944.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunatley yes. But I think it's not likely that this will cause any problems. If the user opens another editor page later then it will get its own new conversation. The old conversation will remain in memory and get deleted after a certain amount of time. And there's even another problem you brought into my mind: After clicking save the user gets redirected to the list page. If he presses the back button of his browser he gets back to the edit page... with no active conversation. But this can be avoided by adding the follwing annotation to the edit bean: @Conversational(ifNotBegunOutcome="...backToTheList...") This redirects the user to the list page ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960364#3960364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960364 From do-not-reply at jboss.com Mon Jul 24 09:30:14 2006 From: do-not-reply at jboss.com (QPool.Char) Date: Mon, 24 Jul 2006 09:30:14 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WebService message security Message-ID: <30109630.1153747814937.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i thought of posting to the Security forum, but decided to post my question here because it is strongly related to WebServices. I m analysing Message security in combination with JAXWS WebServices. The Java EE 5 tutorial says that XWSS supports deployment onto any of the following containers: Sun Java System Application Server Sun Java System Web Server Apache Tomcat servlet container I like to have application-sided message security, so that you dont have to configure any JBoss server or deployment descriptors. Now my question: Is JBoss able to handle this type of message security? If yes, is there any helpful tutorial for it? thx in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960365#3960365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960365 From do-not-reply at jboss.com Mon Jul 24 09:30:20 2006 From: do-not-reply at jboss.com (peter74) Date: Mon, 24 Jul 2006 09:30:20 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: rotate logs while jboss is running Message-ID: <21446396.1153747820592.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Jaikiran, But I didn't quite understand by 'save the same', you just need to touch the file right. No changed on the server.log right? Just touch the log4j.xml file(so that its last modified timestamp changes) and anonymous wrote : save the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960366#3960366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960366 From do-not-reply at jboss.com Mon Jul 24 09:32:32 2006 From: do-not-reply at jboss.com (ana_oleski) Date: Mon, 24 Jul 2006 09:32:32 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Javassist throws SecurityException on new 4.0.4GA Message-ID: <27605476.1153747952326.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, how in the world did you change your setting from javassist to cglib? I've beeen fighting for hours with it now. I've tried -Dhibernate.bytecode.provider=cglib when starting jboss and in persistence.xml to no avail JBoss console: [Environment] Bytecode provider name : javassist I added a hibernate.properties to classpath with the entry hibernate.bytecode.provider=cglib JBoss console: INFO [Environment] loaded properties from resource hibernate.properties: {hibernate.bytecode.use_reflection_optimizer=false, hibernate.bytecode.provider=cglib} | INFO [Environment] Bytecode provider name : javassist which is just as frustrating. I've searched the jboss installation for the text "bytecode.provider" and found a file persistence.properties in ejb3.deployer/META-INF with the following lines # I don't think this is honored, but EJB3Deployer uses it | hibernate.bytecode.provider=javassist By the way, is this file mentioned anywhere in the EJB3 documentation and I missed it? Anyway, I commented out the lines, hoping my application setting will then finally be considered, but still no success. Then I figured that if no value is provided, javassist must be the default somewhere in jboss code so I changed the setting to hibernate.bytecode.provider=cglib and then jboss finally said INFO [Environment] Bytecode provider name : cglib Surely there must be a way to make changing this setting easier ... Ana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960367#3960367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960367 From do-not-reply at jboss.com Mon Jul 24 09:32:45 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 24 Jul 2006 09:32:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <13457847.1153747965831.JavaMail.jboss@colo-br-02.atl.jboss.com> Paste your code or copy any exception you are getting. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960368#3960368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960368 From do-not-reply at jboss.com Mon Jul 24 09:32:52 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 09:32:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <2740154.1153747972762.JavaMail.jboss@colo-br-02.atl.jboss.com> hi bfo, I tried your approach but now i get no changes to my entity. Steps: 1. I added a new entry 2. i click on the link and get on the edit page 3. i remove a property text that has a hibernate validator 4. i get the validator message 5. i fill in a new value 6. i click on the save button and come back to my list 7. the entity is the same without any changes. ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960369#3960369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960369 From do-not-reply at jboss.com Mon Jul 24 09:35:17 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 09:35:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <14234364.1153748117068.JavaMail.jboss@colo-br-02.atl.jboss.com> yes, the loginAction bean will outject user (@In @Out)but not in the registeraction bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960370#3960370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960370 From do-not-reply at jboss.com Mon Jul 24 09:36:06 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 24 Jul 2006 09:36:06 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: rotate logs while jboss is running Message-ID: <27964351.1153748166168.JavaMail.jboss@colo-br-02.atl.jboss.com> I meant, open the log4j.xml in a text editor and just do a save(you need not do any changes to the contents of the file). This will change the last modified time of the log4j.xml file and the Log4jTimerTask will pick up this change(in its next scheduled interval of 60 seconds) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960372#3960372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960372 From do-not-reply at jboss.com Mon Jul 24 09:38:16 2006 From: do-not-reply at jboss.com (alf_dave) Date: Mon, 24 Jul 2006 09:38:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - GPD deployment and commons file upload version Message-ID: <19155923.1153748296910.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, After some "tweaking" of the jBPM Console Webapp, I've managed to loosely integrate the bpm stack with Alfresco's tomcat stack (thanks to some help from Spring Modules), such that db connections, transactions etc are shared between jBPM and Alfresco. By "tweaking", I mean I've had to modify some oddities around using request scoped beans, request parameters, assigning unique ids to controls and using Alfresco's logged-in username for task list retrieval etc - I'm not the JSF expert, but for now it helps us test jBPM in the context of Alfresco's stack. Btw, we do intend to build Alfresco specific UI for task handling within Alfresco, but otherwise we intend to fully embed the jBPM engine as is (plus extensions). So, my first question, of which I'm sure there will be plenty more! Our stack is using commons-file-upload v1.1.1, and it seems this is incompatible with the GPD v3.1.2 deployment process. The gpd is passing a request containing a Content-type whose multipart seperator is "," whereas the file-upload utility is looking for ";" - file-upload v1.0 seems to check for "," (or at least it works). I think http specifices ";". Any ideas how to work-around this? I don't really want to have a special build of the GPD v3.1.2 (at least for now). Will v3.2 (HEAD) change this request? Unfortunately, we have to use file-upload v1.1.1 for portal compatibility. David Caruana Alfresco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960373#3960373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960373 From do-not-reply at jboss.com Mon Jul 24 09:40:25 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 09:40:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <16903677.1153748426009.JavaMail.jboss@colo-br-02.atl.jboss.com> Somewhere in the object graph is an instance of java.lang.Object, which does not implement Serializable. Looks like the ref is held by a fairly deep object graph rooted in an ArrayList; the ArrayList is object stored as a session attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960374#3960374 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960374 From do-not-reply at jboss.com Mon Jul 24 09:40:53 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 09:40:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ConcurrentModificationException Message-ID: <14938756.1153748453300.JavaMail.jboss@colo-br-02.atl.jboss.com> You cannot change the length of a Collection (by adding or removing items) while iterating through it. You can - make a copy of the account collections, delete accounts from that copy during iteration, clear the account collection and insert all elements of the copy into the account collection *uff* - insert all accounts to delete into a toDelete collection during iteration, and then iterate over the toDelete collection and delete items from the account collection. Confused? Here's an example for the second way: public void filter(...) { | Collection toDelete = new ArrayList(); | for (Account a: accounts) | if(accounts.notAccessibleBy(user) | toDelete.add(a); | else if (accounts.accessibleBy(user) | continue; | else | toDelete.add(a); | | for (Account a: toDelete) | accounts.remove(a); | } btw: The checks you make (notAccessiblyBy, accessibleBy) seem to be a bit weird ;). It looks like you want to keep ALL accounts in the collection or delete ALL of them. Wouldn't it work like this? public void filter(...) { | if (accounts.notAccessibleBy(user)) | accounts.clear(); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960375#3960375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960375 From do-not-reply at jboss.com Mon Jul 24 09:46:40 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 24 Jul 2006 09:46:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <19220898.1153748800398.JavaMail.jboss@colo-br-02.atl.jboss.com> "PeterJ" wrote : Why can't it be formatted using the Nphalanx theme? The style sheet and graphics are available. Besides, many systems that require logging on have a default (i.e., non-personalized) look for the login page. | Right. Thats the way it used to be. I'll see if I can get that behaviour back for 2.6, or even 2.4. "PeterJ" wrote : | In the Administration Portlet.... All items noted. The Admin Portlet will literally be gutted and completely redone for 2.6. Usability of that portlet is our main concern with it. If there is time, we also plan to introduce wizards. "PeterJ" wrote : | 8) Check the user interface against Firefox. Some things don't work. For example, tool tips for some icons which appear in IE don't appear in Firefox because the 'title' property was not defined. | Noted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960376#3960376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960376 From do-not-reply at jboss.com Mon Jul 24 09:48:08 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 24 Jul 2006 09:48:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <29352938.1153748888799.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok here goes, the console | 14:40:00,163 DEBUG [CommandExecutorThread] waiting for more messages | 14:40:00,163 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 12d9844) | 14:40:02,944 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 14:40:02,944 DEBUG [JbpmContext] creating JbpmContext | 14:40:02,944 INFO [STDOUT] Servelet | 14:40:02,944 INFO [STDOUT] ac??o verAccao | 14:40:02,944 INFO [STDOUT] opcao 274 | 14:40:02,944 DEBUG [HomeBean] entrou no homeBean | 14:40:02,944 DEBUG [DbPersistenceServiceFactory] creating persistence service | 14:40:02,944 DEBUG [DbPersistenceService] creating hibernate session | 14:40:02,944 DEBUG [DbPersistenceService] beginning hibernate transaction | 14:40:02,944 DEBUG [HomeBean] getTaskInstances(ernie) | 14:40:03,038 DEBUG [HomeBean] selectTaskInstance(274) | 14:40:03,085 DEBUG [HomeBean] TaskInstance[Send Updated Order] | 14:40:03,444 INFO [STDOUT] Controlador nao nulo | 14:40:04,022 DEBUG [Converters] adding converter 'D', 'org.jbpm.context.exe.converter.DoubleToStringConverter' | 14:40:04,038 DEBUG [Converters] adding converter 'C', 'org.jbpm.context.exe.converter.CharacterToStringConverter' | 14:40:04,038 DEBUG [Converters] adding converter 'B', 'org.jbpm.context.exe.converter.BooleanToStringConverter' | 14:40:04,038 DEBUG [Converters] adding converter 'Y', 'org.jbpm.context.exe.converter.BytesToByteArrayConverter' | 14:40:04,038 DEBUG [Converters] adding converter 'A', 'org.jbpm.context.exe.converter.DateToLongConverter' | 14:40:04,038 DEBUG [Converters] adding converter 'R', 'org.jbpm.context.exe.converter.SerializableToByteArrayConverter' | 14:40:04,054 DEBUG [Converters] adding converter 'I', 'org.jbpm.context.exe.converter.IntegerToLongConverter' | 14:40:04,054 DEBUG [Converters] adding converter 'H', 'org.jbpm.context.exe.converter.ShortToLongConverter' | 14:40:04,069 DEBUG [Converters] adding converter 'G', 'org.jbpm.context.exe.converter.FloatToDoubleConverter' | 14:40:04,069 DEBUG [Converters] adding converter 'F', 'org.jbpm.context.exe.converter.FloatToStringConverter' | 14:40:04,069 DEBUG [Converters] adding converter 'E', 'org.jbpm.context.exe.converter.ByteToLongConverter' | 14:40:04,476 DEBUG [TaskBean] initialized availableTransitions null | 14:40:04,694 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 14:40:04,694 DEBUG [JbpmContext] creating JbpmContext | 14:40:04,694 DEBUG [DbPersistenceServiceFactory] creating persistence service | 14:40:04,694 DEBUG [DbPersistenceService] creating hibernate session | 14:40:04,694 DEBUG [DbPersistenceService] beginning hibernate transaction | 14:40:04,694 DEBUG [SchedulerThread] checking for timers | 14:40:04,694 DEBUG [JbpmContext] closing JbpmContext | 14:40:04,694 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1816b6e | and here goes the servlet | private void processarAccao(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException | | { | | | | ServletContext context = getServletContext(); | | HttpSession session = req.getSession(true); | | | | try | | { | | System.out.println("Servelet"); | | System.out.println("ac??o " + req.getParameter("accao")); | | System.out.println("opcao " + req.getParameter("opcao")); | | if (req.getParameter("accao").equals("verAccao")) | | { | | String id = req.getParameter("opcao"); | | HomeBean hb = new beans.HomeBean(session); | | List lista = hb.getTaskInstances("ernie"); | | hb.selectTaskInstance(Long.valueOf(id)); | | } else | | { | | System.out.println("Falhou"); | | } | | } catch (Exception e) | | { | | System.out.println(e.getMessage()); | | System.out.println("MP----------"); | | System.out.println(e.getCause()); | | System.out.println("MP----------"); | | e.printStackTrace(); | | } | | } It doesnt return any error, just goes to a blank page, I tried to reproduce the same thing thats in the example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960377#3960377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960377 From do-not-reply at jboss.com Mon Jul 24 09:48:30 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 09:48:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JIRA-654 - Cancelling a TaskInstance "performs" the task Message-ID: <16881456.1153748910668.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBPM-654 I'm using jBPM 3.1.2, and though this bug was fixed, but I don't know if it is The task is properly ended and canceled, but then it just goes on to the node's default transition. What if you want to cancel a task and have the node go to a specific transition? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960378#3960378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960378 From do-not-reply at jboss.com Mon Jul 24 09:50:17 2006 From: do-not-reply at jboss.com (Goonie) Date: Mon, 24 Jul 2006 09:50:17 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <14796409.1153749017103.JavaMail.jboss@colo-br-02.atl.jboss.com> "wdfink" wrote : | - start some checks for administrativ issues (cleaning or statistics ...) | In the second case an administrator manage it. This is the case in my app. "wdfink" wrote : | I create the Timer with a client (WEB or rich) with an administration console. But I think you can do it whit an mbean for JBoss as well. Isn't there a place in the jboss configuration files to configure Timers? Where could I find information on writing MBeans that do the trick? Best regards, Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960379#3960379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960379 From do-not-reply at jboss.com Mon Jul 24 09:52:15 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 24 Jul 2006 09:52:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <25567808.1153749135185.JavaMail.jboss@colo-br-02.atl.jboss.com> "Frozen4Time" wrote : I think the biggest thing that is needed for the portal is a WYSIWYG style page layout. While I think the current tree view in the admin portlet is a nice way to get a big picture view of "what is where" in the portal, it's not very intuative or user freindly. | We actually discussed this idea for managing the layout of pages. You should see something of this nature in 2.6, when we introduce the ability for users to customize pages. Ideally, the same functionality can be introduced to the admin side. Google, actually had something like this (drag-n-drop wysiwyg layout builder) in their first versions of their portal. For some reason, I can't find it anymore, but it was a killer feature. "Frozen4Time" wrote : | For example giving them a container that will layout portlets in row or column order, being able to specify the number of rows or columns, specifying pixle or percentage widths to these containers. A good idea, but it gets tricky. Layouts (# and names of columns) are currently defined in jsps, so this would have to change in to making layouts dynamic. "Frozen4Time" wrote : | The current JBoss Portal layou engine locks the user into a predefined structure and the layout utility is not that user friendly. | True. The only workaround for now, is to have X# layouts deployed, allowing for the user/admin to pick whichever he wants. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960380#3960380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960380 From do-not-reply at jboss.com Mon Jul 24 09:56:22 2006 From: do-not-reply at jboss.com (ephemeris-lappis) Date: Mon, 24 Jul 2006 09:56:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <22900947.1153749382803.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok for the fix you did on the JIRA... Now, more details about my needs... After a task terminates, the process decides to follow a transition to a new task. This last one must start initializing a timer that must fire after a given timeout. This timeout must be calculated according to business informations that are provided by the finishing step. Ideally, a script expression directly given in the timer definition in the XML file could be perfect i the value formula is not too complicated. But i suppose that such a solution doesn't exist... The alternative i had tried, was to intercept the task creation event, and change the timer delay. But if i understand what you say, it seems it's not a possible solution... So what should i do ?... Thanks anyway for your help, and any new idea is welcome... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960383#3960383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960383 From do-not-reply at jboss.com Mon Jul 24 09:58:27 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 09:58:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <11058619.1153749507511.JavaMail.jboss@colo-br-02.atl.jboss.com> First: Forget what I just said about @Conversational. When clicking the back button the browser loads the page from its cache. Ok, now back to your prob. Maybe your list isn't up to date. Try it like this: EditBean: public String save() { | ... | Events.instance().raiseEvent("whateverListChanged"); | return "saved"; | ); ListBean: @Observer("whateverListChanged") | public void theMethodThatLoadsTheListFromTheDb(..) {...} If this isn't the source of the problem just post your code and I'll have a look over it ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960384#3960384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960384 From do-not-reply at jboss.com Mon Jul 24 09:59:38 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Mon, 24 Jul 2006 09:59:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.4 CR2 Download Sizes are smaller than advertised Message-ID: <13510068.1153749578832.JavaMail.jboss@colo-br-02.atl.jboss.com> The CR2 release is missing quite a bit of documentation files, so you see a smaller download size. Also, since CR1 we have removed the thirdparty libs from the source distribution, which makes this bundle smaller as well. Aside from the download size, do you have any problems on Portal Startup (that have not been discussed in the docs)? rali View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960385#3960385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960385 From do-not-reply at jboss.com Mon Jul 24 09:59:44 2006 From: do-not-reply at jboss.com (sellerjd) Date: Mon, 24 Jul 2006 09:59:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB3 and Filter Annotation Message-ID: <17304108.1153749584264.JavaMail.jboss@colo-br-02.atl.jboss.com> Some interested parties, but no chatter on this. Leads me to assume that EJB3 does not, is not, going to support the @Filter Annotation anytime soon. Bummer... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960386#3960386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960386 From do-not-reply at jboss.com Mon Jul 24 10:00:55 2006 From: do-not-reply at jboss.com (rali.genova@jboss.com) Date: Mon, 24 Jul 2006 10:00:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Edit a File without creating a new file Message-ID: <8727396.1153749655548.JavaMail.jboss@colo-br-02.atl.jboss.com> No, this is due to Version Control - you can recover files from previous versions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960387#3960387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960387 From do-not-reply at jboss.com Mon Jul 24 10:01:09 2006 From: do-not-reply at jboss.com (rajeshchande) Date: Mon, 24 Jul 2006 10:01:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <17259799.1153749669464.JavaMail.jboss@colo-br-02.atl.jboss.com> Surprisingly the following jars do not exist in the distribution, so am unable to perform the steps 15,16 and 17. 15. Copy jboss-ejb3-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client - jboss-ejb3-client.jar DOES NOT EXIST in the EJB 3.0 RC8 distribution 16. Copy jboss-annotations-ejb3.jar from the lib/ directory of the distribution to jboss-4.0.x/client - jboss-annotations-ejb3.jar DOES NOT EXIST in the EJB 3.0 RC8 distribution 17. Copy hibernate-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client - hibernate-client.jar DOES NOT EXIST in the EJB 3.0 RC8 distribution Please Alex, Let me know, whats to be done, in that case. Regards, Rajesh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960388#3960388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960388 From do-not-reply at jboss.com Mon Jul 24 10:02:30 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 10:02:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JIRA-654 - Cancelling a TaskInstance Message-ID: <5882265.1153749750227.JavaMail.jboss@colo-br-02.atl.jboss.com> or cancel it and don't have it go to any transition? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960389#3960389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960389 From do-not-reply at jboss.com Mon Jul 24 10:02:35 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 10:02:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: TreeCache.startService() hang Message-ID: <12108184.1153749755636.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't call channel.connect(), let the cache do it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960390#3960390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960390 From do-not-reply at jboss.com Mon Jul 24 10:03:47 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 24 Jul 2006 10:03:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <9129746.1153749827541.JavaMail.jboss@colo-br-02.atl.jboss.com> What are the parameters you are getting in the request? Is it going into the "if" block? Did you try debugging? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960391#3960391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960391 From do-not-reply at jboss.com Mon Jul 24 10:07:25 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 10:07:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <11113132.1153750045220.JavaMail.jboss@colo-br-02.atl.jboss.com> The list component is a stateless session bean. | @Stateless | @Name("clientPersonService") | public class ClientPersonServiceImpl implements ClientPersonService { | | @PersistenceContext | private EntityManager em; | | public List getAllClientPerson() | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | return clientPersonDAO.getAllClientPerson(); | } | } so there is nothing cached or saved. the list must be up to date because the new created entities of my "root problem" appear after the update of the "original" entity. and i checked the list against the database. everything is in sync. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960392#3960392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960392 From do-not-reply at jboss.com Mon Jul 24 10:09:05 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 10:09:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <14961272.1153750145349.JavaMail.jboss@colo-br-02.atl.jboss.com> Couldnt it be a Scope problem with the property? | @In(required=false) | @Out(scope=ScopeType.PAGE,required=false) | @Valid | private ClientPerson newClientPerson; | i have no clue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960393#3960393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960393 From do-not-reply at jboss.com Mon Jul 24 10:09:36 2006 From: do-not-reply at jboss.com (wolfc) Date: Mon, 24 Jul 2006 10:09:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: TimerService Injection Failure Message-ID: <21337887.1153750176804.JavaMail.jboss@colo-br-02.atl.jboss.com> TimerService on 3.0 entities are not supported. >From JSR 220: Enterprise JavaBeans TM, Version 3.0, Final Release, Chapter 18.2 2nd paragraph: anonymous wrote : Timers can be created for stateless session beans, message-driven beans, and 2.1 entity beans. | Timers cannot be created for stateful session beans[94] or EJB 3.0 entities. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960394#3960394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960394 From do-not-reply at jboss.com Mon Jul 24 10:12:23 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 10:12:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JIRA-654 - Cancelling a TaskInstance Message-ID: <30429915.1153750343307.JavaMail.jboss@colo-br-02.atl.jboss.com> Good point. It's simple enough to change the jBPM code to do what I want, but I'm just curious as to any though process behind what is done currently. Also, I wanted to bring up the question if bug JBPM-654 was actually completed, or marked closed incorrectly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960395#3960395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960395 From do-not-reply at jboss.com Mon Jul 24 10:13:31 2006 From: do-not-reply at jboss.com (iradix) Date: Mon, 24 Jul 2006 10:13:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Proper way to instantiate seam managed component Message-ID: <1833658.1153750411896.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for the delay in replying. anonymous wrote : In any case, see if adding @Intercept(InterceptionType.ALWAYS) to your component definitions help. As I said before, I already tried the @Intercept annotation; no dice. anonymous wrote : So you want to be able to manually create a list of new uniquely isolated SFSBs on each call to your JSF action? This sounds like a bad thing. What is your use case? No, the unique instances are created when the "parent" SFSB is initialized, not on each call. I'm somewhat new to the EJB model but these instances recieve JSF actions (therefore they must be transactional themselves) and maintain state across invocations so it seems to me that SFSB are the way to go. anonymous wrote : How are you determining that it does not get injected? Actually, I didn't even go so far as to load the debugger up. I got a null pointer exception on my logging call so I threw a quick System.err.println statement in to confirm that the Log instance was indeed null during the method invocation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960396#3960396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960396 From do-not-reply at jboss.com Mon Jul 24 10:15:18 2006 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Mon, 24 Jul 2006 10:15:18 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - EJB 3.0 on JBoss Server and JSF client on Apache Tomcat Message-ID: <14170530.1153750518659.JavaMail.jboss@colo-br-02.atl.jboss.com> i've jboss-4.0.4.GA and a'm using EJB 3.0 on my local machine i've created one table on DataBase and Entity Bean also i've remote session fasade bean . it's all working when i run client on my machine client code : | try { | InitialContext ctx = new InitialContext(); | StudentFasade bean = (StudentFasade) ctx | .lookup("StudentFasadeBean/remote"); | for (int i = 0; i < 10; i++) { | StudentBean stbean = new StudentBean(); | stbean.setName("Paata"); | stbean.setSurname("Lominadze"); | stbean.setAge(new BigDecimal(24)); | | GroupsBean gbean = new GroupsBean(); | gbean.setFaculty("Economic with Informatics"); | gbean.setGroupnumber(new BigDecimal(108940)); | gbean.setSpecial("Programming"); | | Integer retID = bean.addStudent(stbean, gbean); | System.out.println(retID); | } | } catch (NamingException e) { | e.printStackTrace(); | } | but i want run my client in other machine on the network using tomcat client code : | Properties jndiProps = new Properties(); jndiProps.setProperty(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); jndiProps.setProperty(Context.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interface"); | jndiProps.setProperty(Context.PROVIDER_URL, "jnp://192.168.9.6:1099"); | InitialContext ctx = new InitialContext(jndiProps ); | StudentFasade bean = (StudentFasade) ctx | .lookup("StudentFasadeBean/remote"); | for (int i = 0; i < 10; i++) { | StudentBean stbean = new StudentBean(); | stbean.setName("Paata"); | stbean.setSurname("Lominadze"); | stbean.setAge(new BigDecimal(24)); | GroupsBean gbean = new GroupsBean(); | gbean.setFaculty("Economic with Informatics"); | gbean.setGroupnumber(new BigDecimal(108940)); | gbean.setSpecial("Programming"); | Integer retID = bean.addStudent(stbean, gbean); | System.out.println(retID); | but i get an error like this : | javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: | java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: | java.net.MalformedURLException: no protocol: 5.5/common/classes/] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at com.magti.jsf.doConnect(jsf.java:44) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126) | at javax.faces.component.UICommand.broadcast(UICommand.java:305) | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: | java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: | java.net.MalformedURLException: no protocol: 5.5/common/classes/ | 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(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:625) | ... 29 more | Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: | java.net.MalformedURLException: no protocol: 5.5/common/classes/ | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:282) | 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) | ... 1 more | can anybody help me :( it's make me crazy. :( thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960397#3960397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960397 From do-not-reply at jboss.com Mon Jul 24 10:18:23 2006 From: do-not-reply at jboss.com (wdfink) Date: Mon, 24 Jul 2006 10:18:23 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <22630346.1153750703158.JavaMail.jboss@colo-br-02.atl.jboss.com> Timers are an EJB 2.1 feature so the application has to manage. MBeans are helpful to do something server/system specific for the EJB's. A point to start for MBeans are JBoss admin guide (http://docs.jboss.org/jbossas/jboss4guide/r5/html/) chapter '2.4.3. Writing JBoss MBean Services' View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960399#3960399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960399 From do-not-reply at jboss.com Mon Jul 24 10:19:15 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 10:19:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <3972861.1153750755526.JavaMail.jboss@colo-br-02.atl.jboss.com> Create an action handler and register it with the task-create. Have that handler create a new timer per whatever rules/data you need (which could be from your database, or an context variable). Code to create a timer: (This is from the CreateTimerAction code - around line 72) Timer timer = new Timer(executionContext.getToken()); | timer.setName(timerName); | timer.setRepeat(repeat); | Duration duration = new Duration(dueDate); | Date dueDate = businessCalendar.add( new Date(), duration ); | timer.setDueDate(dueDate); | timer.setAction(timerAction); | timer.setTransitionName(transitionName); | timer.setGraphElement(executionContext.getEventSource()); | timer.setTaskInstance(executionContext.getTaskInstance()); Now, don't forget to create the cancel-timer action to end that timer if you finish the next task within the time limit, or else that timer will keep on ticking even if you finish the task. You can find that code in JpdlXmlReader.java, in the readNodeTimer method (around line 479) All this assumes there isn't a timer already configured on it. This is programmatically creating a NEW timer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960400#3960400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960400 From do-not-reply at jboss.com Mon Jul 24 10:20:16 2006 From: do-not-reply at jboss.com (bluetrade) Date: Mon, 24 Jul 2006 10:20:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ConcurrentModificationException Message-ID: <30775558.1153750816578.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thanks for your help. mhm... I was so sure that it is related to some transactional stuff that I didn't even think about that :) - the first example works... there are actually a couple of access rules that I left out, so it's quite a complex scheme since accounts have default visibility rules and can be hidden from specific users and can be shared with specific users... Thanks!!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960401#3960401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960401 From do-not-reply at jboss.com Mon Jul 24 10:20:40 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 24 Jul 2006 10:20:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <171186.1153750840579.JavaMail.jboss@colo-br-02.atl.jboss.com> yes its going into the if and I had put some debug messages in the bean, its going tru evering, I think. The message DEBUG [TaskBean] initialized availableTransitions null it is send in the task bean . de console its basicly the same if I run my aplication and the webapp , View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960402#3960402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960402 From do-not-reply at jboss.com Mon Jul 24 10:21:03 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 24 Jul 2006 10:21:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <31869541.1153750863326.JavaMail.jboss@colo-br-02.atl.jboss.com> Welllllll, good luck, we have been tasked with the job of finding a good near-complete workflow for over a month now, and truly have met with limited results (short of jBPM) first we were fleshing out the details for our own system, but were told of increasing requirements, so started looking on the web for other solutions... We came upon Bonita first, which seemed to fit the bill. We spent a month on it, and were very frustrated with the lack of being able to do anything and serious gaps in all the documentation. So we switched to jBPM, we were able to get it compiled and up and running fairly quickly, within a few days. The other features have taken a little while to get to, and as you can see it is not complete, and the web app provided was just a sample. Someone else has mentioned another system recently "Initia" or something like that. We havnt looked at that. So far with jBPM though we have been able to show everything except the Group Task assignment. And that appears to work, just not show up on the web app. Now the combobox I assume you need will be in the web app? If so that is really a small detail, (concerning a workflow system) and would probably be something you will have to do for yourself, as the web app part is more open and easier to implement anything you need.. Or wait fo rthe next set of web tools to come out. That appears to be one thing that will be focused on next, and an upgraded interface is definitely a necessary item for afull complete system. James Ratcliff (Falazar) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960403#3960403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960403 From do-not-reply at jboss.com Mon Jul 24 10:27:03 2006 From: do-not-reply at jboss.com (jensmcramer) Date: Mon, 24 Jul 2006 10:27:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Eclipse RCP connect to JBoss EJB 3.0 Message-ID: <19523413.1153751223728.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Max, thanks for your reply. You're right, buddy classloading IS working when you do things right :) I've missed to include my Domain-Classes-JAR in the Classpath section of the Runtime Tab. A hole weekend of work and it was only one line in the manifest missing to get thinks done :) Thank again, Jens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960404#3960404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960404 From do-not-reply at jboss.com Mon Jul 24 10:32:38 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 24 Jul 2006 10:32:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <25393005.1153751558561.JavaMail.jboss@colo-br-02.atl.jboss.com> I think that when I do the comandhb.selectTaskInstance(Long.valueOf(id)); There sould be something that redirects the browser page into the next page, right? at least I didnt find anything else in the webapp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960405#3960405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960405 From do-not-reply at jboss.com Mon Jul 24 10:33:54 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Mon, 24 Jul 2006 10:33:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: GPD deployment and commons file upload version Message-ID: <28021126.1153751634623.JavaMail.jboss@colo-br-02.atl.jboss.com> I saw this issue earlier. I will change this for the next GPD releases into a ';' if http requires this. Unfortunately this is hardcoded so it requires recompilation :-( Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960406#3960406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960406 From do-not-reply at jboss.com Mon Jul 24 10:36:33 2006 From: do-not-reply at jboss.com (EstrellaRichardson) Date: Mon, 24 Jul 2006 10:36:33 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Dynamic lookup for wsdl-java config file Message-ID: <8812308.1153751793499.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for your suggestion. We ended up using a core ant task and we placed a token string inside of the wsdl-java config file. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960407#3960407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960407 From do-not-reply at jboss.com Mon Jul 24 10:38:33 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 10:38:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <24078955.1153751913486.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe. I only use @In(required=false) and @Out(required=false). If that doesn't help, post your current code ;). btw: @Valid is half-deprecated. So try in the JSF instead. That's what Gavin said ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960408#3960408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960408 From do-not-reply at jboss.com Mon Jul 24 10:41:00 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 24 Jul 2006 10:41:00 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <18553573.1153752060121.JavaMail.jboss@colo-br-02.atl.jboss.com> Not sure exactly what happened there but not cache won't register with the mbean server directly. Some client code is doing that registration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960410#3960410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960410 From do-not-reply at jboss.com Mon Jul 24 10:41:29 2006 From: do-not-reply at jboss.com (emailmsgbox) Date: Mon, 24 Jul 2006 10:41:29 -0400 (EDT) Subject: [jboss-user] [JBossCache] - simple Message-ID: <32801692.1153752089746.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JBoss 4.0.4 with cache 1.4 in a cluster in JVM 1.5 I use the sample code a Course.java and us it as is with JDK5.0 field level annotations | PojoCacheMBean myCache; | .... | Course course = new Course() | myCache.putObject(1234, course); | | and I get anonymous wrote : | PojoCache.putObject(): Object type is neither aspectized nor Serializable nor an array of primitives. Object class name is com.test.data.Course | why ?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960411#3960411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960411 From do-not-reply at jboss.com Mon Jul 24 10:43:27 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 24 Jul 2006 10:43:27 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Hibernate 2nd lvl Cache for EJB3 Message-ID: <29115408.1153752207398.JavaMail.jboss@colo-br-02.atl.jboss.com> Marc, sorry to reply back late on this one. I am still trying to fix the problem of nested sfsb with cache passivation/eviction (this is not related to JBossCache, btw). I will post something when I have a proper fix (in 4.0.5 branch). -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960412#3960412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960412 From do-not-reply at jboss.com Mon Jul 24 10:43:35 2006 From: do-not-reply at jboss.com (yantriki) Date: Mon, 24 Jul 2006 10:43:35 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: RMI Message-ID: <27869513.1153752215127.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you looked up the following article. It may be helpful. http://www.javaranch.com/newsletter/200310/NewsletterOctober2003.jsp#a6 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960414#3960414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960414 From do-not-reply at jboss.com Mon Jul 24 10:43:54 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 10:43:54 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l Message-ID: <9207371.1153752234557.JavaMail.jboss@colo-br-02.atl.jboss.com> Look up the EJB using the name in the global namepsace. If you deploy your EJB, you can easily find out it's name in the global namespace by using the jmx-console. In the jmx-console, under the "jboss" namespace, click "service=JNDIView", and on the JNDIView page click the Invoke button under the list() operation. You EJBs will be listed under "Global JNDI Namepsace". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960415#3960415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960415 From do-not-reply at jboss.com Mon Jul 24 10:46:23 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 10:46:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JIRA-654 - Cancelling a TaskInstance Message-ID: <23830809.1153752383680.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually, these are good design forum issues. Those are read by Tom more frequent than the user forum. Shall start the discussion again but in the other forum? Besides that, opening a (new) jira issue with these requirements (cancelling a task should have the option of taking the default, a specific or no transition) will not hurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960416#3960416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960416 From do-not-reply at jboss.com Mon Jul 24 10:47:25 2006 From: do-not-reply at jboss.com (mrwhite) Date: Mon, 24 Jul 2006 10:47:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <1794985.1153752445087.JavaMail.jboss@colo-br-02.atl.jboss.com> hey bfo, when i remove the @Valid field i get curiouse class loader exceptions. But i think here is a big confusion about the scope of objects (components and their properties). I thougt that my property is annotated with scope=ScopeType.PAGE because it "lives" as long as i (or the user) is on the specfic page. you can see my code on the first page of this topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960417#3960417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960417 From do-not-reply at jboss.com Mon Jul 24 10:47:53 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 10:47:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Need help building Jboss Portal Server from source Message-ID: <2857059.1153752473937.JavaMail.jboss@colo-br-02.atl.jboss.com> Try setting JBOSS_HOME to the non-EJB3 build and see if that works. I have compiled the portal source successfully that way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960418#3960418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960418 From do-not-reply at jboss.com Mon Jul 24 10:54:29 2006 From: do-not-reply at jboss.com (jsicotte2) Date: Mon, 24 Jul 2006 10:54:29 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: HASingleton Services on 4.0.4 not working Message-ID: <24627116.1153752869073.JavaMail.jboss@colo-br-02.atl.jboss.com> Try using: jboss.ha:service=HASingletonDeployer,type=Barrier | Note the depends and not depend View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960419#3960419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960419 From do-not-reply at jboss.com Mon Jul 24 10:54:51 2006 From: do-not-reply at jboss.com (amitguz) Date: Mon, 24 Jul 2006 10:54:51 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem in deployment in 4.0.4 GA due to mutual dependec Message-ID: <17973306.1153752891564.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it a bug in the injection mechanism? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960420#3960420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960420 From do-not-reply at jboss.com Mon Jul 24 10:55:51 2006 From: do-not-reply at jboss.com (adamw) Date: Mon, 24 Jul 2006 10:55:51 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Common classes deployed in a .jar Message-ID: <1558670.1153752951290.JavaMail.jboss@colo-br-02.atl.jboss.com> So here are the stack traces in all 3 scenarios: 1. The .jar is in the WEB-INF/lib directory of the .war - everything works 2. The .jar is in the deploy directory, "parallel" to the .war (I though for a while that this was beacuse of deploy order, but I tried changing the names so that the .war goes first and then the .jar, and the other way ruond, but the effect is the same): | 08:32:58,359 ERROR [[fileAccessServlet]] Servlet.service() for servlet fileAccessServlet threw exception | java.lang.NoClassDefFoundError: org/jboss/forge/fileaccess/DownloadsFileAccessMonitor : org/jboss/shotoku/fileaccess/FileAccessMonitor | at java.lang.ClassLoader.defineClass(Ljava.lang.String;[BIILjava.security.ProtectionDomain;)Ljava.lang.Class;(Unknown Source) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | at java.net.URLClassLoader.access$100(URLClassLoader.java:56) | at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672) | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652) | at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown Source) | at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580) | at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1339) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) | at java.lang.ClassLoader.loadClassFromNative(Ljava.lang.String;)Ljava.lang.Class;(Unknown Source) | at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source) | at java.lang.Class.forName(Ljava.lang.String;I)Ljava.lang.Class;(Unknown Source) | at org.jboss.shotoku.fileaccess.FileAccessConfiguration.(FileAccessConfiguration.java:35) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.getConfiguration(FileAccessConfigurationWatcher.java:37) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.init(FileAccessConfigurationWatcher.java:42) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.init(FileAccessConfigurationWatcher.java:18) | 3. The .jar is not present at all, so the classes are simply not there: | 08:53:16,108 ERROR [FileAccessServlet] Error loading a file access monitor. | java.lang.ClassNotFoundException: org.jboss.forge.fileaccess.TempFilesFileAccessMonitor | at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source) | at java.lang.Class.forName(Ljava.lang.String;I)Ljava.lang.Class;(Unknown Source) | at org.jboss.shotoku.fileaccess.FileAccessConfiguration.(FileAccessConfiguration.java:35) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.getConfiguration(FileAccessConfigurationWatcher.java:37) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.init(FileAccessConfigurationWatcher.java:42) | at org.jboss.shotoku.fileaccess.FileAccessConfigurationWatcher.init(FileAccessConfigurationWatcher.java:18) | at org.jboss.shotoku.cache.ShotokuCacheItem.get(ShotokuCacheItem.java:107) | at org.jboss.shotoku.fileaccess.FileAccessServlet.doGet(FileAccessServlet.java:57) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run()V(Unknown Source) | -- Cheers and thanks for the help, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960421#3960421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960421 From do-not-reply at jboss.com Mon Jul 24 10:57:54 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 10:57:54 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <26930147.1153753074423.JavaMail.jboss@colo-br-02.atl.jboss.com> The cluster code itself doesn't, but perhaps some component you've deployed does? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960422#3960422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960422 From do-not-reply at jboss.com Mon Jul 24 10:58:24 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 10:58:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <3672317.1153753104629.JavaMail.jboss@colo-br-02.atl.jboss.com> James, For the process to show up in the processlist, you have to have a task in the startnode. For the group tasks, I got committer access recently, so can try to find out how to implement this. For the combobox, I'm creating a small demo process which uses lots of ui components (list, radiobutton, date etc) with input from one process variable and output into another. It will demonstrate how to define a list in the pd or get it from a file/db/... and display it. The selection will go into the other process variable. It will also be possible to display the lists from another backingbean (your own) and put the result in the other processvariable. So stay tuned for a much more usable ui. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960423#3960423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960423 From do-not-reply at jboss.com Mon Jul 24 10:59:34 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 24 Jul 2006 10:59:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JIRA-654 - Cancelling a TaskInstance Message-ID: <18421897.1153753174291.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBPM-710 Created the JIRA issue, will create new thread in design forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960424#3960424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960424 From do-not-reply at jboss.com Mon Jul 24 11:01:54 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 24 Jul 2006 11:01:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <5191878.1153753315008.JavaMail.jboss@colo-br-02.atl.jboss.com> The Page Scope is shorter than you think. And it's got nothing to do with the JSF page you're on. This was confusing to me, too ;). The code on the first page isn't all I need. And it's been changed. In particular I'd like to see the list page cause it should start the edit conversation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960425#3960425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960425 From do-not-reply at jboss.com Mon Jul 24 11:04:04 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 24 Jul 2006 11:04:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <12041395.1153753444755.JavaMail.jboss@colo-br-02.atl.jboss.com> i am really stuck here... any suggestion wuld be highly appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960427#3960427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960427 From do-not-reply at jboss.com Mon Jul 24 11:07:46 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 11:07:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot download using Firefox Message-ID: <24675926.1153753666619.JavaMail.jboss@colo-br-02.atl.jboss.com> I was going to submit a support request to SourceForge, but when I tried to download it worked. The difference is that now I am at work and earlier I was at home. I have the same version of Firefox in both locations, but slightly different sets of plugins, so I am now suspecting a plugin is causing the problem. If I figure out which plugin caused the problem, I will let you know. Thanks for your help, Rali. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960428#3960428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960428 From do-not-reply at jboss.com Mon Jul 24 11:11:10 2006 From: do-not-reply at jboss.com (JXerXes) Date: Mon, 24 Jul 2006 11:11:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ClassCastException - problem with session timeout? Message-ID: <10240198.1153753870653.JavaMail.jboss@colo-br-02.atl.jboss.com> but now when i optimize my SFSB timeouts i have a new problem. the classcastexception occurs no more because the http session is over and the JAAS login screen appears again. when the user now logs in again the app shows not the main screen but the screen that would have been next if the session hadn't been over. this becomes a real problem when another user logs in, because he now sees the screen and data of the user that was previously logged out because of session timeout... now it seems that the SFSBs still don't get destroyed when the session is over. but they're both annotated with @Scope(SESSION), this annotation means the http session right? if thats not the problem its maybe something with the jaas login. i've set up the security for URL like i found it here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=74300 but without logged in interceptor. (i don't think jaas is the cause but that the SFSBs live after the http session is destroyed, so here is one of my SFSBs) | package com.evo_solutions.evocompetition.confirmation; | | import java.io.Serializable; | import java.util.ResourceBundle; | | import javax.annotation.EJB; | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.faces.application.FacesMessage; | | import javax.faces.context.FacesContext; | | import org.hibernate.validator.Valid; | import static org.jboss.seam.ScopeType.SESSION; | | import org.jboss.annotation.ejb.cache.simple.CacheConfig; | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.Conversational; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.IfInvalid; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.Outcome; | import org.jboss.seam.annotations.Scope; | | import com.evo_solutions.commons.exceptions.EVODatabaseException; | import com.evo_solutions.commons.exceptions.EVOQueryException; | | | /** | * @author XerXes | */ | @Stateful | @Scope(SESSION) | @Name("loaddata") | @Conversational(ifNotBegunOutcome="main") | @CacheConfig(idleTimeoutSeconds = 950) | public class LoadDataAction implements LoadData, Serializable{ | | | private static final long serialVersionUID = -2470166101310936137L; | | | @In | private transient FacesContext facesContext; | | @In | @Out @Valid | private Confirmation confirmation; | | @In(create=true) | @Out | private PDCProdOrderConfirmation pdcpoc; | | private transient ResourceBundle messages; | | @In(create=true) @Out | private Lists lists; | | @EJB | @Out | private BOConfirmation boconfirmation; | | @Out | private Integer confirmationPossible; | | | @IfInvalid(outcome=Outcome.REDISPLAY) | @Begin(ifOutcome = "poconfirmation") | public String loadData(){ | ... | } | | | | @Destroy @Remove | public void destroy(){ | } | } | do you have an idea what i could have missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960429#3960429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960429 From do-not-reply at jboss.com Mon Jul 24 11:14:30 2006 From: do-not-reply at jboss.com (wei_jiang) Date: Mon, 24 Jul 2006 11:14:30 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - LimpidLog: get everything without doing anything Message-ID: <1270631.1153754070876.JavaMail.jboss@colo-br-02.atl.jboss.com> LimpidLog is a revolutionary logging system at http://www.acelet.com/limpidlog/. You do not need to hard code log statements. At runtime, you can register a class of interest and the system will log all important information about the class. When you are done, you can de-register the class and the class will not generate any log information. LimpidLog is an open source project with LGPL license. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960430#3960430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960430 From do-not-reply at jboss.com Mon Jul 24 11:20:42 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 11:20:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <7243835.1153754442182.JavaMail.jboss@colo-br-02.atl.jboss.com> Googling the error (socketexception error setting options), I noticed that this is a fairly common error if the computer is not commected to a network (most cases I found were disconnected laptops). Is your computer connected to the network? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960431#3960431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960431 From do-not-reply at jboss.com Mon Jul 24 11:20:54 2006 From: do-not-reply at jboss.com (dhartford) Date: Mon, 24 Jul 2006 11:20:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: How Do Install jboss-4.0.4.GA On Redhat ES 4 ? Message-ID: <3128523.1153754454344.JavaMail.jboss@colo-br-02.atl.jboss.com> As for the JVM on the recent/upcoming Redhat Enterprise/FC series - which is preferred? *jpackage version of (sun) JVM *straight binary install of (sun) JVM *gcj (based on post - no, but recognize as invalid option) And, once the JVM is installed, what is the common install location of jboss (and versioning of jboss) i.e. /usr/share/jboss/jboss-4.0.4.GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960432#3960432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960432 From do-not-reply at jboss.com Mon Jul 24 11:24:43 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 24 Jul 2006 11:24:43 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: how to run an java program continously on jboss Message-ID: <8937165.1153754683956.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, It's perhaps cleaner to use a mbean service, for this use the jboss annotations @Service and @Management. See the tutorial : http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html Regards. Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960433#3960433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960433 From do-not-reply at jboss.com Mon Jul 24 11:26:38 2006 From: do-not-reply at jboss.com (ovidiucn) Date: Mon, 24 Jul 2006 11:26:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Stateless Injection Message-ID: <5585114.1153754798813.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I encountered a strange behaviour of the stateless components. It seems that, even i'm requesting the container to inject a certain bean, the injection never occurs and, of course the value of the bean is null. If i'm removing the @Stateless annotation, it works just fine. Can anybody help me with this? PS: for this one, i've studied the jboss seam registration example and i followed the same pattern. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960434#3960434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960434 From do-not-reply at jboss.com Mon Jul 24 11:26:44 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Mon, 24 Jul 2006 11:26:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem Installing GPD Eclipse Plugin/Features Message-ID: <30684533.1153754804041.JavaMail.jboss@colo-br-02.atl.jboss.com> James, I have the impression that you try to use the GPD with an already existing workspace. Is that right? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960435#3960435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960435 From do-not-reply at jboss.com Mon Jul 24 11:30:30 2006 From: do-not-reply at jboss.com (andydale) Date: Mon, 24 Jul 2006 11:30:30 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Problems with postgresql and bytea columns Message-ID: <31103905.1153755030025.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Are current message parsing application works perfectly when using Hypersonic as the datasource, but i am currently experiencing a lot of problems when trying to use PostgreSQL (8.1.4) as the datasource. The currunt description/workflow of the application is as follows. A byte array of around 300 k is received and then an Object is created from it, this is then persisted (via javax.persistance.EntityManager.persist()) and then also flushed. The saved object is then queried and parsed further by the program. This is where the problem occurs because sometimes it cannot find the saved object even though you can view it via the db admin GUI. It is like it is trying to query the object before it is properly saved in the DB and thus returning null from the DB. I am also getting lots of error/warning messages in the log file like the one below. anonymous wrote : 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000 | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] StartTransactionCommand | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000 | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] ProcessUtility | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000 | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] CommitTransactionCommand | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000 | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] CommitTransaction | 2006-07-24 15:02:21,204 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState: 00000 Has anybody else experienced a similar issue to this when using Postgres as the datasource, and if so how should i go about fixing it? Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960436#3960436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960436 From do-not-reply at jboss.com Mon Jul 24 11:31:04 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 11:31:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss with JDK1.5 Message-ID: <32485678.1153755064731.JavaMail.jboss@colo-br-02.atl.jboss.com> Which patch release of the JVM are you running? Is it the original 1.5? I am running patch release 6 (1.5.0_06). I googled thep roblem and it seems that others have had problems with running JBoss on earlier versions of 1.5. I have run 3.2.7, 4.0.2, 4.0.3SP1 and 4.0.4 on JVM 1.5.0_06 without problems. Also, set JAVA_HOME to the JDK, not to the JRE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960437#3960437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960437 From do-not-reply at jboss.com Mon Jul 24 11:32:10 2006 From: do-not-reply at jboss.com (catchupvijay) Date: Mon, 24 Jul 2006 11:32:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <26780332.1153755130391.JavaMail.jboss@colo-br-02.atl.jboss.com> We investigated the application code and Ibatis sources. 1. All the application classes (Beans, Actionforms, Decorators) are serializable. (This takes care of all the objects in chain) 2. We suspected that Ibatis could be problem area and made all the classes serializable (For sanity sake) Yet the java.io.NotSerializableException: java.lang.Object is seen. Its becomming impossible to understand what could be the reason for this. Help Appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960438#3960438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960438 From do-not-reply at jboss.com Mon Jul 24 11:33:52 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Mon, 24 Jul 2006 11:33:52 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JDBCCacheLoader Problems Message-ID: <12207817.1153755232640.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your earlier replies Mr Manik Surtani I tried what you suggested but still i have problems with JDBC Cache Loader...I am assumging that there is some problem with XML file i am posting it maybe you can let me know the problem. When i use a properties file and pass it on to JDBC Cache Loader class explictly i have no problem but when i configure using xml i am not able to bind the TreeCache to JDBC. Here is the XML jboss:service=Naming jboss:service=TransactionManager org.jboss.cache.JBossTransactionManagerLookup REPEATABLE_READ LOCAL true 15000 org.jboss.cache.eviction.LRUPolicy 5 0 0 false / false org.jboss.cache.loader.JDBCCacheLoader 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.node.type=blob cache.jdbc.parent.column=parent cache.jdbc.driver=oracle.jdbc.OracleDriver cache.jdbc.url=jdbc:oracle:thin:@localhost:1521:XE cache.jdbc.user=system cache.jdbc.password=seshu true true true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960439#3960439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960439 From do-not-reply at jboss.com Mon Jul 24 11:35:00 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Mon, 24 Jul 2006 11:35:00 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: JDBCCacheLoader Problems Message-ID: <437583.1153755300031.JavaMail.jboss@colo-br-02.atl.jboss.com> false / false org.jboss.cache.loader.JDBCCacheLoader 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.node.type=blob cache.jdbc.parent.column=parent cache.jdbc.driver=oracle.jdbc.OracleDriver cache.jdbc.url=jdbc:oracle:thin:@localhost:1521:XE cache.jdbc.user=system cache.jdbc.password=password true true true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960440#3960440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960440 From do-not-reply at jboss.com Mon Jul 24 11:38:45 2006 From: do-not-reply at jboss.com (rupshall) Date: Mon, 24 Jul 2006 11:38:45 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CMP databse link at runtime? Message-ID: <10864228.1153755525738.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to have CMP beans running on the same server instance access two seperate databases based on username for example? I have an app server connected to an IBM iSeries, I have a library with production data, and a library with test data. For example, I need to know if its possible to pont user TRAIN1 to a CMP bean linked to the table in the test library while pointing the CMP bean that user JOEDOE accesses to the production library? Can I do this or do I need to setup 2 server instances, one pointing to the training database and the other to the production database? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960442#3960442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960442 From do-not-reply at jboss.com Mon Jul 24 11:46:36 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 24 Jul 2006 11:46:36 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <11162907.1153755996290.JavaMail.jboss@colo-br-02.atl.jboss.com> You can use quartz instead of a Timer in you MBean. For using quartz you need two file : in $JBOSS_HOME\server\default\lib\quartz-all-1.5.2.jar org\quartz\ee\jmx\jboss\doc-files\quartz-service.xml-example --> ..\deploy\quartz-service.xml And you Quartz DS definition file: quartz-ds.xml | | | | | | | | QuartzDS | jdbc:mysql://xxxx:3306/quartz | com.mysql.jdbc.Driver | quatrzUser | xxxxx | | SELECT CURDATE(); | SELECT CURDATE(); | | | | | | 1 | 10 | | | | 5 | | | | com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter | com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker | | | | | mySQL | | | | For creating the database schema see the quartz site. After this you can use quartz in your MBean like this : Regards, Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960443#3960443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960443 From do-not-reply at jboss.com Mon Jul 24 11:49:35 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 11:49:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <33315621.1153756175475.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem isn't that any application class or iBatis class isn't Serializable. It's that one of the fields of one of those classes is of type java.lang.Object. That field is not Serializable, because java.lang.Object isn't. You need to find that field. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960444#3960444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960444 From do-not-reply at jboss.com Mon Jul 24 11:50:09 2006 From: do-not-reply at jboss.com (falazar) Date: Mon, 24 Jul 2006 11:50:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem Installing GPD Eclipse Plugin/Features Message-ID: <33134011.1153756209418.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm correct. Must a remove the workspace as well? Can I easily import the old workspaces afterwards? James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960445#3960445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960445 From do-not-reply at jboss.com Mon Jul 24 11:50:36 2006 From: do-not-reply at jboss.com (adogg) Date: Mon, 24 Jul 2006 11:50:36 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: EJB SecurityDomain across servers Message-ID: <15494578.1153756236771.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, I tried stripping everything down and I couldn't find a way to secure the remote interface only. Perhaps I'm doing something wrong, but the method in this class, for example: @Remote @SecurityDomain("mydomain") public interface RemoteTestEJB3InterfaceSecured extends TestEJB3InterfaceSecured { @RolesAllowed("admin") void doSecure(); } can be called by remote callers without having to authenticate, unless security is also placed on the implementation bean. I couldn't find a section of the spec that mentions this, either. Kind of disappointing that I can't place security restrictions on remote callers exclusively. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960446#3960446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960446 From do-not-reply at jboss.com Mon Jul 24 11:51:39 2006 From: do-not-reply at jboss.com (adogg) Date: Mon, 24 Jul 2006 11:51:39 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only Message-ID: <22468255.1153756299449.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, I tried stripping everything down and I couldn't find a way to secure the remote interface only. Perhaps I'm doing something wrong, but the method in this class, for example: @Remote @SecurityDomain("mydomain") public interface RemoteTestEJB3InterfaceSecured extends TestEJB3InterfaceSecured { @RolesAllowed("admin") void doSecure(); } can be called by remote callers without having to authenticate, unless security is also placed on the implementation bean. I couldn't find a section of the spec that mentions this, either. Kind of disappointing that I can't place security restrictions on remote callers exclusively. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960447#3960447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960447 From do-not-reply at jboss.com Mon Jul 24 11:52:08 2006 From: do-not-reply at jboss.com (adogg) Date: Mon, 24 Jul 2006 11:52:08 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: EJB SecurityDomain across servers Message-ID: <13370590.1153756328976.JavaMail.jboss@colo-br-02.atl.jboss.com> Whoops. Posted that to the wrong thread. Meant to post to http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960447 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960448#3960448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960448 From do-not-reply at jboss.com Mon Jul 24 11:57:11 2006 From: do-not-reply at jboss.com (Olivier_Debels) Date: Mon, 24 Jul 2006 11:57:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: GPD deployment and commons file upload version Message-ID: <20960057.1153756631209.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, You can also take a look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85253&postdays=0&postorder=asc&start=0 For a temporary solution (until this is fixed in gpd) you can tweak the DeployServlet (in webapp) to use your own DiskFileUploadEx (extension of DiskFileUpload in commons-fileupload). Just override the getBoundary method to use a ',' when calling parser.parse instead of a ';'. protected byte[] getBoundary(String contentType) { | ParameterParser parser = new ParameterParser(); | parser.setLowerCaseNames(true); | Map params = parser.parse(contentType, ','); | String boundaryStr = (String) params.get("boundary"); | if (boundaryStr == null) | return null; | byte boundary[]; | try { | boundary = boundaryStr.getBytes("ISO-8859-1"); | } catch (UnsupportedEncodingException e) { | boundary = boundaryStr.getBytes(); | } | return boundary; | } This will at this moment let you deploy using gpd without having to switch back to commons-fileupload 1.0... Olivier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960449#3960449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960449 From do-not-reply at jboss.com Mon Jul 24 11:58:12 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Mon, 24 Jul 2006 11:58:12 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <10972052.1153756692571.JavaMail.jboss@colo-br-02.atl.jboss.com> google still has wysiwyg page layout editing: http://www.google.com/ig. Was it different in the first version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960450#3960450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960450 From do-not-reply at jboss.com Mon Jul 24 11:58:32 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Mon, 24 Jul 2006 11:58:32 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <2950673.1153756712720.JavaMail.jboss@colo-br-02.atl.jboss.com> The naming service is what uses port 1098. This port is used even if you start the "default" server (i.e., no cluster) so it's not associated with cluster communications. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960451#3960451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960451 From do-not-reply at jboss.com Mon Jul 24 12:02:15 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Mon, 24 Jul 2006 12:02:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: GPD deployment and commons file upload version Message-ID: <4558409.1153756935862.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the suggestion Olivier Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960453#3960453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960453 From do-not-reply at jboss.com Mon Jul 24 12:09:20 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Mon, 24 Jul 2006 12:09:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <8977411.1153757360996.JavaMail.jboss@colo-br-02.atl.jboss.com> Show your code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960454#3960454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960454 From do-not-reply at jboss.com Mon Jul 24 12:16:00 2006 From: do-not-reply at jboss.com (d1g) Date: Mon, 24 Jul 2006 12:16:00 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Did somebody post issues to JIRA for this? Otherwise I will. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960455#3960455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960455 From do-not-reply at jboss.com Mon Jul 24 12:17:38 2006 From: do-not-reply at jboss.com (alf_dave) Date: Mon, 24 Jul 2006 12:17:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: GPD deployment and commons file upload version Message-ID: <635073.1153757858171.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks - that worked well. Regards, David Caruana Alfresco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960456#3960456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960456 From do-not-reply at jboss.com Mon Jul 24 12:18:06 2006 From: do-not-reply at jboss.com (a_yang1970) Date: Mon, 24 Jul 2006 12:18:06 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - jboss debug not avaliable Message-ID: <7194796.1153757886406.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i am trying with the ide tutorial by the step: http://docs.jboss.org/jbosside/tutorial/build/en/html/jboss.config.html the jboss2.0 jboss 3.0 options r not avaliable, what did i do wrong? Andre View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960457#3960457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960457 From do-not-reply at jboss.com Mon Jul 24 12:20:18 2006 From: do-not-reply at jboss.com (catchupvijay) Date: Mon, 24 Jul 2006 12:20:18 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <20926273.1153758018552.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I think this has got to do with the way Ibatis is implemented. Here's an example. private List runQueryForList(SqlStatement localSql, Connection conn, Object parameterObject, int skipResults, int maxResults, RowHandler rowHandler) throws SQLException { List list; if(log.isDebugEnabled()) { log.debug("executeQueryForList: " + name); conn = ConnectionLogProxy.newInstance(conn); } ErrorField errorField = new ErrorField(); if(rowHandler == null) list = new ArrayList(); else list = null; ResultSet rs = null; PreparedStatement ps = null; String errorMessage = "Check the SQL statement."; try { sqlMap.incrementExecutionThrottle(conn); ps = createStatement(conn, localSql, parameterObject); if(sqlMap.isDriverHintsEnabled() && maxResults != -1 && skipResults != -1) { ps.setFetchSize(maxResults + skipResults); ps.setMaxRows(maxResults + skipResults); } errorMessage = "Check the Parameter Map (or inline parameters)."; applyParameterMap(localSql, ps, parameterObject, errorField); errorField.errorField = null; errorMessage = "Check the SQL statement."; rs = ps.executeQuery(); for(int i = 0; i < skipResults; i++) if(!rs.next()) break; errorMessage = "Check the Result Map."; int n = 0; if(rowHandler == null) { for(; (maxResults == -1 || n < maxResults) && rs.next(); n++) { Object object = applyResultMap(conn, rs, null, errorField); list.add(object); } errorField.errorField = null; } else { for(; (maxResults == -1 || n < maxResults) && rs.next(); n++) { Object object = applyResultMap(conn, rs, null, errorField); rowHandler.handleRow(object); } errorField.errorField = null; } } catch(Throwable t) { Throwable tt = unwrapProxyException(t); String msg = ""; if(errorField.errorField != null) msg = "Error executing '" + name + "' in '" + resourceName + "'. " + errorMessage + " Check the '" + errorField + "' property. Cause: " + t; else msg = "Error executing '" + name + "' in '" + resourceName + "'. " + errorMessage + " Cause: " + t; if(log.isErrorEnabled()) log.error(msg, t.fillInStackTrace()); if(t instanceof SQLException) throw (SQLException)t; else throw new SQLException(msg); } finally { closeResultSet(rs); closeStatement(ps); sqlMap.decrementExecutionThrottle(conn); } notifyListeners(); return list; } BELOW IS THE applyResultMap METHOD private Object applyResultMap(Connection conn, ResultSet rs, Object resultObject, ErrorField errorField) throws SQLException { Object object = resultObject; String typeName = null; if(getResultMapName() != null) { ResultMap map = getSqlMap().getResultMap(getResultMapName()); typeName = map.getClassName(); if(object == null) object = instantiate(map.getClassName()); ResultMapping mapping; for(Iterator names = map.getMappedPropertyNames(); names.hasNext(); setBeanProperty(mapping, object, conn, rs, errorField)) { String propertyName = (String)names.next(); mapping = map.getResultMapping(propertyName); } } else if(resultClass != null) { typeName = resultClass; if(object == null) object = instantiate(resultClass); if(object instanceof BaseValue) { ResultMapping mapping = new ResultMapping(); mapping.setPropertyName("value"); mapping.setColumnName("VALUE"); mapping.setColumnIndex(new Integer(1)); setBeanProperty(mapping, object, conn, rs, errorField); } else if(object instanceof Map) { ResultSetMetaData rsmd = rs.getMetaData(); int i = 0; for(int n = rsmd.getColumnCount(); i < n; i++) { String columnName = rsmd.getColumnLabel(i + 1); ((Map)object).put(columnName, rs.getObject(i + 1)); } } else { autoMapResultSet(conn, rs, object, errorField); } } if(typeName != null && object != null && (object instanceof BaseValue) && !object.getClass().getName().equals(typeName)) object = StaticBeanProbe.getObject(object, "value"); return object; } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960458#3960458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960458 From do-not-reply at jboss.com Mon Jul 24 12:26:59 2006 From: do-not-reply at jboss.com (hdwangyi) Date: Mon, 24 Jul 2006 12:26:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can JBoss Portal can be localized? Message-ID: <18852019.1153758419986.JavaMail.jboss@colo-br-02.atl.jboss.com> "julien at jboss.com" wrote : we use resource bundle files to localize content. | | look in the different war files of jbos-portal.sar, they contains .properties file with language translations. Thanks. Does it mean that i put a resourse file:Resource_zh_CN.properties in the classes folder and set the browser encoding set,it will work for me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960459#3960459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960459 From do-not-reply at jboss.com Mon Jul 24 12:29:42 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 24 Jul 2006 12:29:42 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to access remote file system from Swing client? Message-ID: <32709742.1153758582144.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, You could use an EJB : - read file and send byte[] - receive byte[] and write file The client convert byte[] to a Temp File. Regards, louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960460#3960460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960460 From do-not-reply at jboss.com Mon Jul 24 12:32:33 2006 From: do-not-reply at jboss.com (rtul) Date: Mon, 24 Jul 2006 12:32:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <4134582.1153758753526.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running my personal PC with internet access, why would i require a network connection ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960461#3960461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960461 From do-not-reply at jboss.com Mon Jul 24 12:33:00 2006 From: do-not-reply at jboss.com (cjspring) Date: Mon, 24 Jul 2006 12:33:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - the error caused by [size=18]Asian font [/size]when maximize Message-ID: <6257710.1153758780460.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm come from china. jboss portal 2.2 sp3, ms sqlserver 2000. I have define a new portal instance, if i set HelloPortal , which are all work well. but if set Asian font parameter to portal-name,when i click maximized/minimized button, it causes a exception: ERROR [CoreController] Object not found org.jboss.portal.core.ObjectNotFoundException: Not allowed to access resourcecyportal.??????.weatherportletWindow at org.jboss.portal.core.command.WindowCommand.create(WindowCommand.java:110)...... i saw the source from IE, i found such content:
    from table JBP_OBJECT_NODE, if i change PATH value "cyportal.??.weatherportletWindow" to "cyportal.index.weatherportletWindow", maximized/minimized work well. i don't know what function of PATH column. how to resolve the maximized/minimized error of portal name is Asian font . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960462#3960462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960462 From do-not-reply at jboss.com Mon Jul 24 12:46:45 2006 From: do-not-reply at jboss.com (williwurzel) Date: Mon, 24 Jul 2006 12:46:45 -0400 (EDT) Subject: [jboss-user] [JBossCache] - How does JBoss Cache physically organise the cached files? Message-ID: <23466873.1153759605852.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody! How does JBoss Cache physically organise the cached files? Does it create one file per node? If so, what happens if the file number outnumbers the file systems limit? Thx. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960463#3960463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960463 From do-not-reply at jboss.com Mon Jul 24 12:47:19 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 24 Jul 2006 12:47:19 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <810612.1153759639884.JavaMail.jboss@colo-br-02.atl.jboss.com> "alex.pinkin at jboss.com" wrote : google still has wysiwyg page layout editing: http://www.google.com/ig. Was it different in the first version? Yes. Their new layout editting isn't wysiwyg. Before, they had an AJAX-powered editor, that would show a small representation of "yourpage" and you were able to drag-n-drop "portlets" on to it. You could even add new ones, or delete some from within the small representation. Maybe the new one is more "useable". Don't know, I prefered the old way, but I could see how it would confuse most users. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960464#3960464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960464 From do-not-reply at jboss.com Mon Jul 24 12:54:26 2006 From: do-not-reply at jboss.com (yelkoury) Date: Mon, 24 Jul 2006 12:54:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Make decision on a business process Message-ID: <9992592.1153760066922.JavaMail.jboss@colo-br-02.atl.jboss.com> In the examples there isn't enough information about what i'am looking for in fact i'am looking for who to use ? "decision node" in a business process, but in the examples there is a simple "task node" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960465#3960465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960465 From do-not-reply at jboss.com Mon Jul 24 13:02:29 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 13:02:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <12169409.1153760549065.JavaMail.jboss@colo-br-02.atl.jboss.com> If you have internet access, you have a network connection. (Not having a network connection means either the network cable was unplugged from the computer, or there was no connection made to a wireless network.) So the next question is, do you have a firewall? If so, if you turn the firewall off, does it work? If that is the case, then there is a firewall setting that is causing the problem. Another possibility is in regards to your internet connection. How is that done? Dialup? Cable/DSL modem? If the later, do you have a router or do you connect directly to the modem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960466#3960466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960466 From do-not-reply at jboss.com Mon Jul 24 13:03:25 2006 From: do-not-reply at jboss.com (dbatcn) Date: Mon, 24 Jul 2006 13:03:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <13631712.1153760605821.JavaMail.jboss@colo-br-02.atl.jboss.com> I hope this is not too off-topic, but I'm having some difficulty getting my Seam app up with @ManyToMany (though I suspect it's not really a Seam problem). I've got two entity beans, User and Group, with a many-to-many relationship where User is the owner. I have a GroupManagerBean class which is a stateful session bean where I'd like to have a create() method that will create a new group with an initial user. I'm trying to figure out exactly how to annotate the classes and do the data update; my first few attempts haven't worked and I was hoping somebody could offer some advice about how to get this right: cascade types, idioms for object creation and update, etc. I've tried to extract the relevant code snippets below. Pointers on how to do this or to previous discussions of this topic gratefully accepted. Thanks. User.java | @Entity | @Name("user") | @Role(name="currentUser", scope=SESSION) | @Table(name="USERS") | public class User implements Serializable { | ... | private Set groups = new HashSet(); | @ManyToMany(cascade=CascadeType.ALL) | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | } | Group.java | @Entity | @Name("group") | @Table(name="GROUPS") | public class Group implements Serializable { | ... | @ManyToMany(cascade=CascadeType.ALL) | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | } | GroupManagerBean.java | @Stateful | @Name("groupManager") | @LoggedIn | public class GroupManagerBean implements GroupManager, Serializable { | ... | public void create() { | group = new Group(); | group.setGroupname( newGroupname() ); | orgmobDatabase.persist( group ); | // User owns the bidirectional many-to-many relationship with Group | user.getGroups().add( group ); | orgmobDatabase.merge( user ); | orgmobDatabase.refresh( group ); | // PROBLEM: | // I thought that group.getUsers() would contain user, but it doesn't! | //debug | log.debug( "for user "+user+" created group: "+group); | log.debug( "user "+user+" has "+user.getGroups().size()+" groups"); | log.debug( "group "+group+" has "+group.getUsers().size()+" users"); | for ( Group g : user.getGroups() ) { | log.debug( "a group for user "+user+": "+g); | } | for ( User u : group.getUsers() ) { | log.debug( "a user for group"+group+": "+u); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960467#3960467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960467 From do-not-reply at jboss.com Mon Jul 24 13:03:39 2006 From: do-not-reply at jboss.com (laxmantr) Date: Mon, 24 Jul 2006 13:03:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - How to map DSN name with actual database ? Please help. Message-ID: <14606271.1153760619452.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to connect to database using hibernate in a seam project. I have put the following code in hibernate.cfg.xml com.mysql.jdbc.Driver jdbc:mysql://localhost/testdb root 10 true org.hibernate.dialect.MySQLDialect update I have a test program which uses the DSN to insert a record. Code goes like this: SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); session =sessionFactory.openSession(); Contact contact = new Contact(); contact.setId(3); contact.setFirstName("Deepak"); contact.setLastName("Kumar"); contact.setEmail("deepak_38 at yahoo.com"); session.save(contact); when I run this program , database gets connected but it throws a strange exception ( ehCache exception ) in the first line of test program. I tried various possible options. But no luck. I have been trying this from past 1 week. Please help me. Please let me know if anyone needs more information. regards, Laxman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960468#3960468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960468 From do-not-reply at jboss.com Mon Jul 24 13:09:25 2006 From: do-not-reply at jboss.com (mamgoncalves) Date: Mon, 24 Jul 2006 13:09:25 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Need clarification: Trying to return an unknown connecti Message-ID: <17940700.1153760965030.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Hibernate 3 do not use the ?Thread Local? semantic, but uses a transaction listener to close the connection. I have created some code to behave like Hibernate. The code has the follow semantic: 1) The client call a EJB method ?doThing? that have required transaction 2) The method ?doThing? gets a connection to the database and register a transaction listener that will close the connection 3) The method ?doThing? call another EJB method ?doOtherThinkOnDiferentTransacton? that have requires new transaction 4) The method ?doOtherThinkOnDiferentTransacton? gets a new connection to the database and register a transaction listener that will close the connection When the method ?doOtherThinkOnDiferentTransacton? is over, the container invokes the transactions listeners and then the exception ?Trying to return an unknown connection2? is written to the log. If the step 2) is not done, the exception does not appear in the log. Here is the code: public class Connection2BugBean implements SessionBean { public Connection2BugBean() { // Empty } public void ejbCreate() throws CreateException { // Empty } public void setSessionContext(SessionContext sessionContext) throws EJBException { // Empty } public void ejbRemove() throws EJBException { // Empty } public void ejbActivate() throws EJBException { // Empty } public void ejbPassivate() throws EJBException { // Empty } public void doThing() { MyConnectionManager.getConnection(); try { Context context = new InitialContext(); Connection2BugHome home = (Connection2BugHome) PortableRemoteObject.narrow(context.lookup("ejb/Connection2Bug"), Connection2BugHome.class); Connection2Bug object = home.create(); object.doOtherThinkOnDiferentTransacton(); } catch (Exception e) { throw new RuntimeException(e); } } public void doOtherThinkOnDiferentTransacton() { MyConnectionManager.getConnection(); } } class MyConnectionManager implements Synchronization { private static final Hashtable CONNECTIONS_BY_TRANSACTIONS = new Hashtable(); private static final Logger log = Logger.getLogger(Connection2BugBean.class); private Transaction t; public MyConnectionManager(Transaction t) { this.t = t; } public static Connection getConnection() { try { Context context = new InitialContext(); TransactionManager tm = (TransactionManager) context.lookup("java:/TransactionManager"); Transaction t = tm.getTransaction(); Connection conn = (Connection) CONNECTIONS_BY_TRANSACTIONS.get(t); if (conn == null) { log.warn("Creating a connection binded to " + t); DataSource ds = (DataSource) context.lookup("java:/DefaultDS"); conn = ds.getConnection(); CONNECTIONS_BY_TRANSACTIONS.put(t, conn); t.registerSynchronization(new MyConnectionManager(t)); } return conn; } catch (Exception e) { throw new RuntimeException(e); } } public void beforeCompletion() { Connection conn = (Connection) CONNECTIONS_BY_TRANSACTIONS.remove(t); if (conn != null) { log.warn("Closing the connection binded to " + t); try { conn.close(); } catch (Exception e) { e.printStackTrace(); } } } public void afterCompletion(int i) { } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960469#3960469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960469 From do-not-reply at jboss.com Mon Jul 24 13:10:24 2006 From: do-not-reply at jboss.com (fabiorusso) Date: Mon, 24 Jul 2006 13:10:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - How to access a join table column?! Message-ID: <11457173.1153761024930.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. I hope this is not a dumb question. I have two Entities with a ManyToMany bidirectional relationship. Up to this point everything is ok. But there is a column in the join table I would like to access and I really don't know how :-( Here are my Entities: the Partner, the OptionRate and the join table. There is a column named 'isDefault' in the join table that I need to check. Here is my code: This is the Partner entity: | @Entity | @Table(name="VOW_PARTNERS") | public class AbbeyphonePartner implements Serializable | { | private String partnerId; | private String passKey; | private String partnerDescription; | private List rateOptions; | | @Id | @Column(name="PARTNER_ID") | public String getPartnerId() | { | return this.partnerId; | } | | public void setPartnerId(String partnerId) | { | this.partnerId = partnerId; | } | | @Column(name="PARTNER_DESCRIPTION") | public String getPartnerDescription() | { | return this.partnerDescription; | } | | public void setPartnerDescription(String partnerDescription) | { | this.partnerDescription = partnerDescription; | } | | @Column(name="PASS_KEY") | public String getPassKey() | { | return this.passKey; | } | | public void setPassKey(String passKey) | { | this.passKey = passKey; | } | | @ManyToMany(fetch = FetchType.EAGER , mappedBy ="partners") | public List getRateOptions() | { | return rateOptions; | } | | public void setRateOptions (List options) | { | this.rateOptions = options; | } | } | and the RateOption Entity: | @Entity | @Table(name="BILLING_RATEOPTIONS") | public class RateOption implements java.io.Serializable | { | private Integer rateoptionId; | private Integer calculationalgorithmId; | private Integer priceprofileId; | private String description; | //private char isdefault; | private List partners; | | @Id | @Column (name="RATEOPTION_ID") | public Integer getRateoptionId() | { | return this.rateoptionId; | } | | public void setRateoptionId(Integer rateoptionId) | { | this.rateoptionId = rateoptionId; | } | | @Column (name="CALCULATIONALGORITHM_ID") | public Integer getCalculationAlgorithmId() | { | return this.calculationalgorithmId; | } | | public void setCalculationAlgorithmId(Integer calculationalgorithmId) | { | this.calculationalgorithmId = calculationalgorithmId; | } | | @Column (name="DESCRIPTION") | public String getDescription() | { | return this.description; | } | | public void setDescription(String description) | { | this.description = description; | } | | @Column (name="PRICEPROFILE_ID") | public Integer getPriceprofileId() | { | return this.priceprofileId; | } | | public void setPriceprofileId(Integer priceprofileId) | { | this.priceprofileId = priceprofileId; | } | | // @Column(name="ISDEFAULT") | // public char getIsdefault() | // { | // return this.isdefault; | // } | // | // /** | // * @param isdefault the isdefault to set | // */ | // public void setIsdefault(char isdefault) | // { | // this.isdefault = isdefault; | // } | | @ManyToMany(fetch = FetchType.EAGER) | @JoinTable (name="VOW_PARTNER_RATEOPTIONS", //TODO: HERE! | joinColumns={@JoinColumn (name="RATEOPTION_ID")}, | inverseJoinColumns={@JoinColumn (name="PARTNER_ID")}) | public List getPartners() | { | return this.partners; | } | | public void setPartners(List partners) | { | this.partners = partners; | } | } | The join table would be like this: - RATEOPTION_ID Integer not null - PARTNER_ID Integer not null - ISDEFAULT char(1) // can be Y or N. I need that ISDEFAULT field but I really don't know how to do it. Thank you very much for any help you can supply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960470#3960470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960470 From do-not-reply at jboss.com Mon Jul 24 13:16:25 2006 From: do-not-reply at jboss.com (fsl) Date: Mon, 24 Jul 2006 13:16:25 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Javassist errors with latest jboss Message-ID: <26222270.1153761385996.JavaMail.jboss@colo-br-02.atl.jboss.com> Would someone be kind enough to post a fixed javassit.jar that we can install over the jboss-4.0.4 supplied one? This bug is preventing my applications (and I guess other people apps also) from running. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960472#3960472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960472 From do-not-reply at jboss.com Mon Jul 24 13:17:07 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Mon, 24 Jul 2006 13:17:07 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only Message-ID: <2556395.1153761427469.JavaMail.jboss@colo-br-02.atl.jboss.com> adogg, I am sure you can not add security role restrictions on a non-EJB3 class. Since the interface is not either a stateless/statefull session bean or a message driven bean, it is not a true EJB3 object. As such you can not add security restrictions. I would suggest you place the restrictions on methods of the bean class. Provide two implementations of the method (or call one from the other with run-as) then place a restriction on one method. Finally, put the restricted version in remote interface, and the non-restricted in local interface. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960473#3960473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960473 From do-not-reply at jboss.com Mon Jul 24 13:22:13 2006 From: do-not-reply at jboss.com (kryptontri) Date: Mon, 24 Jul 2006 13:22:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Stale Session Objects ? DataModelSelection Problems Message-ID: <21649461.1153761733965.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss 4.0.4.GA JBoss Seam 1.0.1 GA Hi I am having issues dealing with 1 to many relationships and DataModelSelection, in that session data i think, doesn't seem to be cleared, this issue happens sporadically, i am looking for a pattern to see when it fails. Basically, I have a set of rate objects that i can add for a contractor's page This is the vew anonymous wrote : | | | | | | Empty Rates | | | | | | | | | | | | | | | | | | | | | Action | Delete | | | | | | | | | | | | | | | | Duration: | | Unit: | | Currency: | | Cost: | | | | | | | | | | | | | For the Session bean behind this anonymous wrote : | @Stateful | @Scope(ScopeType.SESSION) | @Name("ratesPageManager") | @Interceptors(SeamInterceptor.class) | @LoggedIn | public class RatesPageManagerBean implements RatesPageManager { | | private static final Log log = LogFactory.getLog(RatesPageManagerBean.class.getName()); | | @In | @Out | @Valid | private User user; | | @In | @Out | @Valid | private Profile profile; | | @In(required = false) | @Out | @Valid | private RatesPage ratesPage; | | @PersistenceContext | private EntityManager em; | | @In | private transient FacesContext facesContext; | | @DataModel | private List rates = new ArrayList(); | | @Out(required=false) | @DataModelSelection | private Rate selectedRate; | | @In(required = false, create = true) | @Out(required=false) | private Rate rate; | | public Rate getRate() { | return rate; | } | | public void setRate(Rate rate) { | this.rate = rate; | } | | @IfInvalid(outcome = REDISPLAY) | public String create() { | if (profile.getRatesPage() == null) { | em.persist(ratesPage); | profile.setRatesPage(ratesPage); | profile = em.merge(profile); | return "viewRatesPage"; | } else { | facesContext.addMessage(null, new FacesMessage("RatesPage already exists")); | return "viewProfile"; | } | } | | public String select() { | profile = user.getProfile(); | ratesPage = profile.getRatesPage(); | rates.clear(); | rates.addAll(ratesPage.getRates()); | clearRatesOnDisplay(); | return "viewRatesPage"; | } | | | private boolean isUnSet(Rate rateToCheck) { | | boolean isOk = ( | (rateToCheck.getCost() == 0) || (rateToCheck.getCurrency().equals("-")) || | (rateToCheck.getDuration() == 0) || (rateToCheck.getUnit().equals("-")) | ); | log.info("Rate check:: cost=" + rateToCheck.getCost() + " currency=" +rateToCheck.getCurrency() | + " duration=" + rateToCheck.getDuration() + " unit=" + rateToCheck.getUnit()); | return isOk; | } | | | public String addRate() { | log.info("addRate() called"); | | if(isUnSet(rate)) { | log.warn("Failed rates check"); | rate = null; | facesContext.addMessage(null, new FacesMessage("Please enter rates")); | return "viewRatesPage"; | } | log.info("trying to add rate .."); | rate.setRatesPage(ratesPage); | em.persist(rate); | ratesPage.addRate(rate); | ratesPage = em.merge(ratesPage); | profile = em.merge(profile); | log.info("Persisted! and trying to remove"); | clearRatesOnDisplay(); | return select(); | } | | public String deleteRate() { | log.info("deleteRate() called, removing " + selectedRate); | rates.remove(selectedRate); | ratesPage.removeRate(selectedRate); | em.remove(selectedRate); | clearRatesOnDisplay(); | return "viewRatesPage"; | } | | public List getRates() { | log.info("getRates() called size = " + this.rates.size()); | return this.rates; | } | public void setRates(List in) { | this.rates = in; | } | public int getRowCount() { | return this.rates.size(); | } | | | | public String delete() { | profile.setGalleryPage(null); | em.remove(ratesPage); | profile = em.merge(profile); | return "viewProfile"; | } | | @IfInvalid(outcome = REDISPLAY) | public String edit() { | ratesPage = em.merge(ratesPage); | return "viewRatesPage"; | } | | @Destroy | @Remove | public void destroy() { | } | | private void clearRatesOnDisplay() { | Contexts.getPageContext().remove("rate"); | rate = null; | selectedRate = null; | } | The rate object which forms the many side of the relationship anonymous wrote : | @Entity | @Name("rate") | @Scope(SESSION) | public class Rate implements Serializable { | | protected int Id = 0; | | protected int duration = 0; | protected String unit = null; | protected String currency = null; | protected int cost = 0; | protected RatesPage ratesPage = null; | | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | public int getId() { | return Id; | } | | public void setId(int id) { | Id = id; | } | | @NotNull | public int getDuration() { | return duration; | } | | public void setDuration(int duration) { | this.duration = duration; | } | | @NotNull | public String getUnit() { | return unit; | } | | public void setUnit(String unit) { | this.unit = unit; | } | | @NotNull | public String getCurrency() { | return currency; | } | | public void setCurrency(String currency) { | this.currency = currency; | } | | @NotNull | public int getCost() { | return cost; | } | | public void setCost(int cost) { | this.cost = cost; | } | | @ManyToOne | @JoinColumn(name = "RATES_PAGE_ID") | public RatesPage getRatesPage() { | return ratesPage; | } | | public void setRatesPage(RatesPage ratesPage) { | this.ratesPage = ratesPage; | } | | public boolean equals(Object o) { | if (this == o) return true; | if (o == null || getClass() != o.getClass()) return false; | | final Rate rate = (Rate) o; | | if (Id != rate.Id) return false; | if (cost != rate.cost) return false; | if (duration != rate.duration) return false; | if (currency != null ? !currency.equals(rate.currency) : rate.currency != null) return false; | if (ratesPage != null ? !ratesPage.equals(rate.ratesPage) : rate.ratesPage != null) return false; | if (unit != null ? !unit.equals(rate.unit) : rate.unit != null) return false; | | return true; | } | | public int hashCode() { | int result; | result = Id; | result = 29 * result + duration; | result = 29 * result + (unit != null ? unit.hashCode() : 0); | result = 29 * result + (currency != null ? currency.hashCode() : 0); | result = 29 * result + cost; | result = 29 * result + (ratesPage != null ? ratesPage.hashCode() : 0); | return result; | } | | public String toString() { | StringBuffer buffer = new StringBuffer(); | buffer.append("Id=").append(Id); | buffer.append(" Duration=").append(duration); | buffer.append(" Unit=").append(unit); | buffer.append(" Currency=").append(currency); | buffer.append(" Cost=").append(cost); | // buffer.append(" RatesPageId=").append(ratesPage.getId()); | return buffer.toString(); | } | | } | | What happens is that the debug server log will show an old rate, perhaps the previous one add or that exists in the session and displays anonymous wrote : | 2006-07-24 18:07:50,055 DEBUG [org.jboss.seam.Component] selected row: Id=39 Duration=1 Unit=Week Currency=$ Cost=150 | I added the clearRatesOnDisplay method to nullify any existence of state, in an attempt to ensure that the select menus in the view are cleaned. Any ideas people? TIA Krypt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960474#3960474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960474 From do-not-reply at jboss.com Mon Jul 24 13:22:49 2006 From: do-not-reply at jboss.com (rtul) Date: Mon, 24 Jul 2006 13:22:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <30774953.1153761769262.JavaMail.jboss@colo-br-02.atl.jboss.com> Ya i have a firewall, just now i turned it off and retried. Still giving problem. My DSL modem is connected directly to PC network card. thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960475#3960475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960475 From do-not-reply at jboss.com Mon Jul 24 13:26:37 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 24 Jul 2006 13:26:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <12436702.1153761997283.JavaMail.jboss@colo-br-02.atl.jboss.com> In the default web app (jbpm default webapp which uses JSF) the redirection is done using the faces-config.xml. Where are you doing your redirection? If everything is fine in the servlet, where do you tell the system that redirect to next page? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960476#3960476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960476 From do-not-reply at jboss.com Mon Jul 24 13:29:29 2006 From: do-not-reply at jboss.com (EstrellaRichardson) Date: Mon, 24 Jul 2006 13:29:29 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: A class as a parameter in a webservice Message-ID: <26812289.1153762169474.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually, I think what you need to do is to add getter/setter methods to your class. Make it comply with the Java beans rules and when you run WSTools, it will give the specifics of your libro class. Example: import java.io.Serializable; public class InfoObj implements Serializable { private static final long serialVersionUID = 0; private String contactName = null; private String address = null; private String city = null; private String state = null; private String zip = null; public void setContactName(String name){ contactName = name; } public void setAddress(String addr){ address = addr; } public void setCity(String iCity){ city = iCity; } public void setState(String st){ state = st; } public void setZip(String iZip){ zip = iZip; } public String getContactName(){ return contactName; } public String getAddress(){ return address; } public String getCity(){ return city; } public String getState(){ return state; } public String getZip(){ return zip; } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960477#3960477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960477 From do-not-reply at jboss.com Mon Jul 24 13:32:18 2006 From: do-not-reply at jboss.com (wconroy) Date: Mon, 24 Jul 2006 13:32:18 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Dates in Web Services Message-ID: <27803513.1153762338928.JavaMail.jboss@colo-br-02.atl.jboss.com> I am having trouble using dates in web services. I have the following | @WebService(name = "EndpointInterface", | targetNamespace = "http://test.com/test", | serviceName = "TestWebservice") | @SOAPBinding(style = SOAPBinding.Style.RPC) | @Stateless | public class TestWebservice implements TestWebserviceRemote { | | @WebMethod | public void getData(Date theDate) { | Logger.getLogger(TestWebservice.class).info("Got Date: " + theDate); | } | } | It produces this as the wsdl when I deploy it on 4.0.4.GA with JbossWS 1.0.1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When I try to consume the service, the server throws the following exception | 12:29:47,089 ERROR [SOAPFaultExceptionHelper] SOAP request exception | org.jboss.ws.WSException: Java type 'class java.util.Date' is not assignable from: java.util.GregorianCalendar | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:277) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:115) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:219) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:109) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Is there something that I need to do in order for the dates in my request to get parsed correctly? I have looked through the samples, but they are very trivial and dont seem to have dates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960478#3960478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960478 From do-not-reply at jboss.com Mon Jul 24 13:33:05 2006 From: do-not-reply at jboss.com (yantriki) Date: Mon, 24 Jul 2006 13:33:05 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: RMI Message-ID: <24507305.1153762385118.JavaMail.jboss@colo-br-02.atl.jboss.com> Section 2.7.2.9 in the admin guide provides a detailed description of how to do it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960479#3960479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960479 From do-not-reply at jboss.com Mon Jul 24 13:38:31 2006 From: do-not-reply at jboss.com (mosabua) Date: Mon, 24 Jul 2006 13:38:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration Message-ID: <4820495.1153762711101.JavaMail.jboss@colo-br-02.atl.jboss.com> So you should use the JEMS installer rather than the JBoss AS installer. It should work then.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960480#3960480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960480 From do-not-reply at jboss.com Mon Jul 24 13:40:31 2006 From: do-not-reply at jboss.com (awmobjects) Date: Mon, 24 Jul 2006 13:40:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.4 CR2 Download Sizes are smaller than advertised Message-ID: <21838020.1153762831237.JavaMail.jboss@colo-br-02.atl.jboss.com> I had some error messages with regards to incomplete deployment...not in front of me at this time. I was able to log in,however, I just checked the file sizes (downloaded vs advertised sizes) and hit the forum. Thanks, Anthony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960481#3960481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960481 From do-not-reply at jboss.com Mon Jul 24 13:52:10 2006 From: do-not-reply at jboss.com (mosabua) Date: Mon, 24 Jul 2006 13:52:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Connect to hsqldb Message-ID: <1192905.1153763530207.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I would like to connect to the hsqldb when using the examples from Seam with the default hsqldb configuration. For some reason I can not see any tables even though the schema export worked and the data is there (e.g. the hotels in the booking app). What are the proper connection parameters? I cant see any tables with jdbc:hsqldb:. nor with jdbc:hsqldb:file:C:/javatools/jboss-4.0.4.GA/server/default/data/hypersonic although the connection works from squirrel sql client. Do I have to run hsqldb in server mode to be able to connect from outside the app server? manfred PS: this might be good to have in the docs as well.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960483#3960483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960483 From do-not-reply at jboss.com Mon Jul 24 13:53:00 2006 From: do-not-reply at jboss.com (annecotter) Date: Mon, 24 Jul 2006 13:53:00 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <23877877.1153763580118.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the answer Brian. I have two machines with multiple interfaces. Clustering traffic is configured to go over bge2, and all other traffic (JNDI/RMI/JMS) is over bge1. If the two machines don't have IP connectivity over bge1 I get the following messages when a new member joins the cluster: 2006.07.21 12:51:20 WARN [org.jgroups.protocols.pbcast.NAKACK] [dino2:11800 (additional data: 17 bytes)] discarded message from non-member 10.10.10.10:11800 When the two machines can see each other over bge1 (as well as bge2), clustering works fine. In this case when a new member joins the cluster, I see traffic over 1098 at the beginning of the join. This is why I was suspecting RMI calls between the servers. Am I missing any obvious reasons why the first case doesn't work? What causes my second machine (10.10.10.10) to go from being a non-member, to being considered a member so that the first machine won't discard it's messages? Thanks Anne View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960484#3960484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960484 From do-not-reply at jboss.com Mon Jul 24 13:54:26 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 24 Jul 2006 13:54:26 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.4 CR2 Download Sizes are smaller than advertised Message-ID: <9742631.1153763666780.JavaMail.jboss@colo-br-02.atl.jboss.com> I noticed that there is no MD5 or SHA-256 checksum like there is for some of the other JBoss downloads. Perhaps providing checksums would enable downloaders to verify that the download is clean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960485#3960485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960485 From do-not-reply at jboss.com Mon Jul 24 14:00:37 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 14:00:37 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <4505725.1153764037393.JavaMail.jboss@colo-br-02.atl.jboss.com> >From looking at that, it would seem the the type of the object put in the list would be controlled by the mapping iBatis is using. If some db field is mapped to java.lang.Object, that's what you'll get. Hard to see why a db field would be mapped to java.lang.Object, though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960486#3960486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960486 From do-not-reply at jboss.com Mon Jul 24 14:08:26 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 14:08:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: How does JBoss Cache physically organise the cached file Message-ID: <464474.1153764506077.JavaMail.jboss@colo-br-02.atl.jboss.com> I assume you are talking about what FileCacheLoader does; JBoss Cache itself does not use files, and other cache loader implementations use whatever files the underlying database uses. FileCacheLoader creates one directory per node. If the node contains data, the directory will have one file containing a serialized form of the data map. If you have more files than the file system allows, it will break. We generally recommend FileCacheLoader for early development or prototyping anyway; for a large production cache you would be better off with something like JDBCCacheLoader. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960487#3960487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960487 From do-not-reply at jboss.com Mon Jul 24 14:17:36 2006 From: do-not-reply at jboss.com (ptmain) Date: Mon, 24 Jul 2006 14:17:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Entity Beans, Hibernate, etc. Message-ID: <4232480.1153765056661.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm really unclear on the relationship between EJB Entity Beans and Hibernate, with respect to Seam. I haven't used Entity Beans for years and years, back when they were declared evil and unusable. I've always used CMP session beans and either home grown persistence (ugh) or Hibernate. It's probable that Entity Beans have improved considerably since the dark age of their inception, but with the growth of Hibernate, I never saw any need for them. I had (have) no interest in having my entities be distributed objects, so I didn't see any use for them. Having said all that, how does all this work with Seam? The examples seem to fall into the categories of "with EJB" and "with no EJB". What about using EJB3 session beans and Hibernate persistence? Are there arguments for or against this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960488#3960488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960488 From do-not-reply at jboss.com Mon Jul 24 14:21:44 2006 From: do-not-reply at jboss.com (asarubbi) Date: Mon, 24 Jul 2006 14:21:44 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JBoss Cache Manager Exception Message-ID: <2386889.1153765304812.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi. Need help with jboss 4.0.4.Ga Although does not stop my development, how to make dissapear this exception? Pops out when i deploy applications (either new or existent). | 14:20:33,213 INFO [JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2 | 14:20:33,213 ERROR [JBossCacheManager] JBossCacheService to Tomcat clustering not found | java.lang.NoClassDefFoundError: org/jboss/cache/CacheException | at org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:144) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java: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 $Proxy30.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.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy31.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor60.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 $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | 14:20:33,233 ERROR [TomcatDeployer] Failed to setup clustering, clustering disabled. Exception: | org.jboss.web.tomcat.tc5.session.ClusteringNotSupportedException: JBossCacheService to Tomcat clustering not found | at org.jboss.web.tomcat.tc5.session.JBossCacheManager.init(JBossCacheManager.java:150) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java: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 $Proxy30.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.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy31.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor60.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 $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | [/code | | | Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960489#3960489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960489 From do-not-reply at jboss.com Mon Jul 24 14:28:42 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 24 Jul 2006 14:28:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entity Beans, Hibernate, etc. Message-ID: <18072899.1153765722411.JavaMail.jboss@colo-br-02.atl.jboss.com> EJB 3.0 entity beans are modelled after Hibernate and other POJO-based ORM solutions, and the Hibernate team was deeply involved in writing the new spec. And, of course, in JBoss, the EJB 3 persistence implementation is just a very thin wrapper around Hibernate. At a high level there is very little difference between using Seam with Hibernate or EJB3 persistence, though obviously Hibernate is more feature-rich. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960490#3960490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960490 From do-not-reply at jboss.com Mon Jul 24 14:29:02 2006 From: do-not-reply at jboss.com (hms) Date: Mon, 24 Jul 2006 14:29:02 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - how to get the value of a property in oracle-ds.xml from my Message-ID: <31642041.1153765742258.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, In oracle-ds.xml, my application wanna read its value and do some biz logic, so how could I get the value of those properties? for example etc.. Thanks for any input, hms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960491#3960491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960491 From do-not-reply at jboss.com Mon Jul 24 14:32:17 2006 From: do-not-reply at jboss.com (ptmain) Date: Mon, 24 Jul 2006 14:32:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entity Beans, Hibernate, etc. Message-ID: <13551600.1153765937611.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin, Thanks for the quick reply! If I needed (or just wanted) to use Hibernate, could I still use session beans with Seam? Is it all or nothing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960492#3960492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960492 From do-not-reply at jboss.com Mon Jul 24 14:37:02 2006 From: do-not-reply at jboss.com (ovidiu.feodorov@jboss.com) Date: Mon, 24 Jul 2006 14:37:02 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <3884016.1153766222890.JavaMail.jboss@colo-br-02.atl.jboss.com> toddjtidwell wrote : Well, right now I can't get the selectors to work at all. It seems the first consumer with a selector to connect to the destination gets messages, but then none of the other consumers do. Tim wrote : Secondly there is a known bug in JBoss Messaging http://jira.jboss.com/jira/browse/JBMESSAGING-275 which means only the first consumer will get the message, as you have found out. | This bug is due to be fixed in 1.0.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960493#3960493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960493 From do-not-reply at jboss.com Mon Jul 24 14:41:02 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 24 Jul 2006 14:41:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entity Beans, Hibernate, etc. Message-ID: <25115213.1153766462650.JavaMail.jboss@colo-br-02.atl.jboss.com> Of course, you can inject a Seam-managed Hibernate session into a session bean. Or, when running in JBoss, you can get the underlying Hibernate session from the EJB3 EntityManager anytime you like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960494#3960494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960494 From do-not-reply at jboss.com Mon Jul 24 14:42:21 2006 From: do-not-reply at jboss.com (catchupvijay) Date: Mon, 24 Jul 2006 14:42:21 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <20037671.1153766541847.JavaMail.jboss@colo-br-02.atl.jboss.com> 1. Based on some further research, I did not find any "java.lang.Object" declaration in the (Beans/VO, Action forms, Decorators) of the application classes. 2. The Mappings are clean and theres no DB -> field mapping of type Object. 3. Although, In "com.ibatis.db.sqlmap.cache.memory" package, MemoryCacheController has a inner class declaration "StrongReference", which has java.lang.Object declaration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960495#3960495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960495 From do-not-reply at jboss.com Mon Jul 24 14:45:51 2006 From: do-not-reply at jboss.com (ovidiu.feodorov@jboss.com) Date: Mon, 24 Jul 2006 14:45:51 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <614333.1153766751368.JavaMail.jboss@colo-br-02.atl.jboss.com> toddjtidwell wrote : As for the connections, I'm using the default connection factory that comes with JBoss Messaging and getting it via JNDI and casting it to a TopicConnection. Is that the JCA connector or do I need to go about something else? java:/JmsXA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960496#3960496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960496 From do-not-reply at jboss.com Mon Jul 24 14:55:34 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 24 Jul 2006 14:55:34 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: how to get the value of a property in oracle-ds.xml from Message-ID: <31727831.1153767334491.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently there is no way to do this from the JDBC api. You could probably call getUnderlyingConnection() on the connection retrieved from the DataSource, but you would have to cast it to the appropriate type. In this case, Oracle. At that point, the underlying OracleConnection would have to provide a way to retrieve underlying properties. The other way to do it would be via JMX and query the ConnectionFactory for the particular attribute you are interested in reading. Easiest way to do it would be to proxy the underlying RARDeployment MBean and execute the getManagedConnectionFactoryAttribute() operation. Finally, you could always just read the *-ds.xml file using JAXP and look for the property you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960497#3960497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960497 From do-not-reply at jboss.com Mon Jul 24 15:03:51 2006 From: do-not-reply at jboss.com (tazo) Date: Mon, 24 Jul 2006 15:03:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: booking example and db2 Message-ID: <1393373.1153767831921.JavaMail.jboss@colo-br-02.atl.jboss.com> Got same problem with MSSQL and Derby on Glassfish. Booking conformation action handler (HotelBookingAction.confirm method) invokes BookingListAction.getBookings method to update bookings list used in main page after inserting new booking to DB: | // HotelBookingAction.java | @End | public String confirm() | { | if (booking==null || hotel==null) return "main"; | em.persist(booking); | facesMessages.add("Thank you, #{user.name}, your confimation number for #{hotel.name} is #{booking.id}"); | log.info("New booking: #{booking.id} for #{user.username}"); | events.raiseEvent("bookingConfirmed"); | return "confirmed"; | } | | // BookingListAction.java | @SuppressWarnings("unchecked") | @Factory | @Observer("bookingConfirmed") | public void getBookings() { | bookings = em | .createQuery( | "from Booking b where b.user.username = :username order by b.checkinDate") | .setParameter("username", user.getUsername()).getResultList(); | } | | | BookingListAction is annotated with @TransactionAttribute(REQUIRES_NEW). That's why deadlock. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960499#3960499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960499 From do-not-reply at jboss.com Mon Jul 24 15:24:06 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 24 Jul 2006 15:24:06 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <22880700.1153769046491.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you post your JGroups protocol stack config? (IIRC you're using TCP). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960500#3960500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960500 From do-not-reply at jboss.com Mon Jul 24 15:38:24 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 15:38:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Make decision on a business process Message-ID: <2971525.1153769904736.JavaMail.jboss@colo-br-02.atl.jboss.com> That is why I said examples/testcases. See src\java.jbpm.test\org\jbpm\jpdl\exe for jbpm 3.1 or jpdl\jar\src\test\java\org\jbpm\jpdl\exe in cvs-head Or ...... STFF, this fine forum.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960501#3960501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960501 From do-not-reply at jboss.com Mon Jul 24 15:38:38 2006 From: do-not-reply at jboss.com (wondermike) Date: Mon, 24 Jul 2006 15:38:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration Message-ID: <24782359.1153769918120.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, did you make sure, that you really recompiled the whole project, i.e. you removed the build tree and rebuilt it? For me rebuilds solved a lot of migration problems in the past. ciao - Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960502#3960502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960502 From do-not-reply at jboss.com Mon Jul 24 15:52:12 2006 From: do-not-reply at jboss.com (laxmantr) Date: Mon, 24 Jul 2006 15:52:12 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Null Pointer exception with new Configuration() Message-ID: <20199049.1153770732135.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to connect to mysql through Hibernate I have created a normal java project in eclipse. I created hibernate.cfg.xml , test.hbm.xml I have created a POJO and a test client which has the following line Configuration c = new Configuration(); It gives me null pointer exception. I have hibernate-all.jar, hibernate.cfg.xml in classpath and I am able to compile all classes. Please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960503#3960503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960503 From do-not-reply at jboss.com Mon Jul 24 15:52:25 2006 From: do-not-reply at jboss.com (artyap) Date: Mon, 24 Jul 2006 15:52:25 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - 'Can't create EJB3 Project Message-ID: <9582245.1153770745647.JavaMail.jboss@colo-br-02.atl.jboss.com> When creating EJB3 Project, after selecting JBoss configuation, the only choices activated are and Finish are grayed out. Pls. help. Thanks. I'm using Eclipse 3.2 and JBoss Eclipse IDE 2.0.0.Alpha1a. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960504#3960504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960504 From do-not-reply at jboss.com Mon Jul 24 16:00:05 2006 From: do-not-reply at jboss.com (koriel) Date: Mon, 24 Jul 2006 16:00:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - jboss and https Message-ID: <2001158.1153771205085.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to enable ssl with jboss and that works fine..the part tha I can't figure out is how to redirect all requests from http to https. Is there some configuration trick or something View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960505#3960505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960505 From do-not-reply at jboss.com Mon Jul 24 16:01:35 2006 From: do-not-reply at jboss.com (koriel) Date: Mon, 24 Jul 2006 16:01:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss and https Message-ID: <28468611.1153771295667.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry wrong forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960506#3960506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960506 From do-not-reply at jboss.com Mon Jul 24 16:01:54 2006 From: do-not-reply at jboss.com (Cvirko) Date: Mon, 24 Jul 2006 16:01:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Beginner - questions Message-ID: <18198162.1153771314747.JavaMail.jboss@colo-br-02.atl.jboss.com> 1. Is there any plan to add nicer - visual represenation of swimlanes in the workflow editor as some other editors have? 2. Are there any other editors available for jBPL? --- Tomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960507#3960507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960507 From do-not-reply at jboss.com Mon Jul 24 16:04:10 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 16:04:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <20778572.1153771450079.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey newbie, change your name... it should be expert007 now, or maybe expert42 (you know, life, the universe....) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960508#3960508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960508 From do-not-reply at jboss.com Mon Jul 24 16:04:51 2006 From: do-not-reply at jboss.com (dbatcn) Date: Mon, 24 Jul 2006 16:04:51 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: style and idioms for @ManyToMany definition and update Message-ID: <28993192.1153771491972.JavaMail.jboss@colo-br-02.atl.jboss.com> Adding a flush between the merge and refresh seems to help a lot. | group = new Group(); | group.setGroupname( newGroupname() ); | orgmobDatabase.persist( group ); | // User owns the bidirectional many-to-many relationship with Group | user.getGroups().add( group ); | orgmobDatabase.merge( user ); | orgmobDatabase.flush(); | orgmobDatabase.refresh( group ); Also, after some more reading persistence type PERSIST also seems more appropriate to my needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960509#3960509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960509 From do-not-reply at jboss.com Mon Jul 24 16:05:50 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 16:05:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Beginner - questions Message-ID: <24983824.1153771550331.JavaMail.jboss@colo-br-02.atl.jboss.com> 1: no, not in the short term 2: jPDL? There is an adromda cartridge that can do some things. I never tried it out though View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960511#3960511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960511 From do-not-reply at jboss.com Mon Jul 24 16:06:38 2006 From: do-not-reply at jboss.com (dbatcn) Date: Mon, 24 Jul 2006 16:06:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <292718.1153771598260.JavaMail.jboss@colo-br-02.atl.jboss.com> In my example, adding a flush between the merge and refresh seems to help a lot. | group = new Group(); | group.setGroupname( newGroupname() ); | orgmobDatabase.persist( group ); | // User owns the bidirectional many-to-many relationship with Group | user.getGroups().add( group ); | orgmobDatabase.merge( user ); | orgmobDatabase.flush(); | orgmobDatabase.refresh( group ); Also, after some more reading persistence type PERSIST also seems more appropriate to my needs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960512#3960512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960512 From do-not-reply at jboss.com Mon Jul 24 16:09:41 2006 From: do-not-reply at jboss.com (llowrey0) Date: Mon, 24 Jul 2006 16:09:41 -0400 (EDT) Subject: [jboss-user] [JBossCache] - POJO Mutations Message-ID: <19918556.1153771781945.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a way to deal with pojo structural chages? I believe Sleepycat calls such changes mutations. For example, say I convert a state variable from an int to an enum. What would PojoCache do in this case? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960513#3960513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960513 From do-not-reply at jboss.com Mon Jul 24 16:18:41 2006 From: do-not-reply at jboss.com (palin) Date: Mon, 24 Jul 2006 16:18:41 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Dates in Web Services Message-ID: <25401372.1153772321371.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I solved the same problem using Calendar instead of Date for each parameters in SEI's methods; Calendar and Date are both mapped to xsd:dateTime. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960514#3960514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960514 From do-not-reply at jboss.com Mon Jul 24 16:22:30 2006 From: do-not-reply at jboss.com (phlogistic) Date: Mon, 24 Jul 2006 16:22:30 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: webservice runs on JBoss 4.0.3, throws exception on JBos Message-ID: <1202384.1153772550423.JavaMail.jboss@colo-br-02.atl.jboss.com> Heiko - thank you for the link. I did not see anything in the link to translate WSDL to Java using wstools for nodatabinding (message-endpoints). Additionally, using Java files generated from the Sun standard wscompile tool with no databinding will not run on JBoss 4.0.4 / JBossWS 1.0.1 - but it does run on JBoss 4.0.3. I hope the next stack of JBossWS supports this feature that was dropped until then I gotta find another container. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960515#3960515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960515 From do-not-reply at jboss.com Mon Jul 24 16:23:49 2006 From: do-not-reply at jboss.com (annecotter) Date: Mon, 24 Jul 2006 16:23:49 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <3735137.1153772629553.JavaMail.jboss@colo-br-02.atl.jboss.com> JGroups config: | | | ${jboss.partition.name:5620SAMPartition_SAM_4_0_B2_16} | | ${jboss.bind.address} | | False | | 30000 | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960516#3960516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960516 From do-not-reply at jboss.com Mon Jul 24 16:26:46 2006 From: do-not-reply at jboss.com (wconroy) Date: Mon, 24 Jul 2006 16:26:46 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Dates in Web Services Message-ID: <11523977.1153772806902.JavaMail.jboss@colo-br-02.atl.jboss.com> I was thinking about doing that, but I have the issue that I have some complex objects that I want to be part of my request that have dates in them. I have existing non- web service apis that take dates and I dont want to have to do the calendar/date translation myself. Is there no way to specify that I want to use a date instead of calendar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960517#3960517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960517 From do-not-reply at jboss.com Mon Jul 24 16:27:52 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 16:27:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <18727603.1153772872142.JavaMail.jboss@colo-br-02.atl.jboss.com> It would be easier to help if you posted a simplified example (lose the irrelvant fields) with some better formatting (some indentation would ease reading). The second part of your view isn't valid XML. Try the code format in the forum as well :) Sorry, I tried to understand what you were doing but it was just too much to plough through! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960518#3960518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960518 From do-not-reply at jboss.com Mon Jul 24 16:29:08 2006 From: do-not-reply at jboss.com (adogg) Date: Mon, 24 Jul 2006 16:29:08 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Security Roles On EJB3 Remote Interface Only Message-ID: <21278670.1153772948789.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. Yep. That's what I had to do. Less than elegant... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960519#3960519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960519 From do-not-reply at jboss.com Mon Jul 24 16:32:24 2006 From: do-not-reply at jboss.com (bbuchanan) Date: Mon, 24 Jul 2006 16:32:24 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Cannot create Users CAnnot login as default user Admin Message-ID: <668690.1153773144485.JavaMail.jboss@colo-br-02.atl.jboss.com> I am just setting up JBoss AS 4.0.4.GA and JBoss Portal 2.2. I run the AS startup and open the portal every thing looks normal. I cannot add users nor can I log into the portal as Admin. I am using MYSQL as the database and have the latest connector from their site. I know that there is something simple that I am missing but I can't put my finger on it. Thanks in advance for any help. Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960520#3960520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960520 From do-not-reply at jboss.com Mon Jul 24 16:32:42 2006 From: do-not-reply at jboss.com (jianame) Date: Mon, 24 Jul 2006 16:32:42 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - org.jboss.hibernate.jmx.Hibernate Message-ID: <27005596.1153773162680.JavaMail.jboss@colo-br-02.atl.jboss.com> We are using the mbean to create the sessionFactory for Hibernate in JBoss. We cannot find where to specify the lobHandler property, which of couse, is a must if one uses Clob or Blob. I suspect that I was missing something obvious. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960521#3960521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960521 From do-not-reply at jboss.com Mon Jul 24 16:37:27 2006 From: do-not-reply at jboss.com (petemuir) Date: Mon, 24 Jul 2006 16:37:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM Message-ID: <30300740.1153773447624.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like you are on the right track with the persist-flush-refresh sequence. Yep, I think em.persist() would be more suitable. If User is the owner I doubt you want CascadeType.ALL on the Group's Set (which you have as Set which I suspect is a typo?). Perhaps a subset of ALL? Regarding updates, you can just update an entity, and, assuming cascade is on, it will be merged to the database at the next flush (explicit or implicit at transaction boundary). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960522#3960522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960522 From do-not-reply at jboss.com Mon Jul 24 16:50:22 2006 From: do-not-reply at jboss.com (halversp) Date: Mon, 24 Jul 2006 16:50:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - SAR packaging Message-ID: <13304426.1153774222450.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to figure out the best way to package/deploy an extended application based on JBoss Portal. Our app consists of application portlets and JBoss service components (some application-specific, others replacing the stock JBP services like UserModule). Ideally I'd like to come up with a deployment packaging structure that minimizes production-time dependencies while also allowing individual modules to be hot-deployed during development. The portlets have to be packaged in a standard JSR168 .WAR archive, of course, but I'm struggling trying to figure out how to organize the service components and how to relate those to the .WAR. Seems like my options include: | * service beans in their own .SAR file, deploy in parallel with the .WAR file to the top-level "deploy" folder. Because some of my service beans depend on classes in jboss-portal.sar, I need to name my modules carefully to make sure the deployer sees the portal classes first. also, because my .WAR depends on classes in the .SAR, I need to manually reploy the former if I update the latter. | * use separate service .SAR and .WAR files, but organized into a common folder under the top-level folder (same naming tricks as #1). If I understand the URLDeploymentScanner behavior, as long as the subfolder doesn't have a period in its name, I can hot deploy either of the individual components. Same issue with manually tracking dependencies. | * everything in a single .SAR file (service beans in a "lib" folder?), with the WAR as a sub-deployment within the war. Seems to be the "cleanest" semantically. But if I deploy as an exploded .SAR folder, will the SARDeployer recognize if I change the .WAR submodule, or do I have to redeploy the entire .SAR archive every time? | Some of my confusion stems from an incomplete understanding of the SAR archive format (the packaging structure, not the jboss-service.xml deployment descriptor). Is this documented anywhere? Appreciate any suggestions. Thanks, pch View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960523#3960523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960523 From do-not-reply at jboss.com Mon Jul 24 17:01:15 2006 From: do-not-reply at jboss.com (lafr) Date: Mon, 24 Jul 2006 17:01:15 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to all oracle procedure in cmp bean? Message-ID: <18829706.1153774875438.JavaMail.jboss@colo-br-02.atl.jboss.com> CMP entity beans are for data and persistence only. SessionBeans are for business logic. Where do you want to use a procedure? Either build a session implementing the logic database independent or build an oracle PL/SQL module and call it from a session bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960524#3960524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960524 From do-not-reply at jboss.com Mon Jul 24 17:02:06 2006 From: do-not-reply at jboss.com (toddjtidwell) Date: Mon, 24 Jul 2006 17:02:06 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Best practices question Message-ID: <25536505.1153774926364.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, that's what I'm doing, so we're good to go. I appreciate all the help from everyone who replied. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960525#3960525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960525 From do-not-reply at jboss.com Mon Jul 24 17:12:50 2006 From: do-not-reply at jboss.com (jweaver@xaware.com) Date: Mon, 24 Jul 2006 17:12:50 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ClassCastException when accessing DatabaseMetaData.getTable( Message-ID: <21424867.1153775570918.JavaMail.jboss@colo-br-02.atl.jboss.com> On 4.0.3SP1, Oracle 10g database, XA transaction datasource, from a remote client, I get hold of the Datasource from the JNDI lookup (yes, I set the false). After doing a getConnection() on the datasource and a getMetaData() on the connection, I try do use the getTables(...), to get a list of tables and I get a ClassCastException. Any ideas on what to do to work around this? I made sure the Oracle10g version of the ojdbc14.jar was in the lib on the server and in the classpath for the client. I also have jbossall-client.jar in the classpath of the client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960526#3960526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960526 From do-not-reply at jboss.com Mon Jul 24 17:17:10 2006 From: do-not-reply at jboss.com (jkoek) Date: Mon, 24 Jul 2006 17:17:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <20696477.1153775830049.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for my late response. But on my work my machine is put is a secure zone, which doesn't allow me to access news feeds. But at home, no such thing. What I did/scenario; 1. Login as admin/admin 2. Set the user rights for user and admin to personalizerecursive on the page news. Set the expiration cache in portlet.xml in directory portal-samples.war to 0 Set the expires in portlet-instances.xml for the instance NewsPortletInstance2 to expires 0 3. logout admin 4. login as user/user 5. changes both newsfeed to http://www.sleutelstad.nl/rss/nieuws.xml 6. logout as user 7. login as admin 8. changes both newsfeed to http://radio538.nl/538/xml/rss/headlines.jsp 9. logout as admin Verification; 10. Login as user 11. Only one of the feeds is kept http://www.sleutelstad.nl/rss/nieuws.xml The other one shows the jboss matrix news feed. 12. Login as admin 13. None of the settings as been kept. Both NewsPorlets are showing the jboss newsfeed. I have even stopped the JBoss AE + Portal but that didn't bring me anything. So there seems to be a problem in what is saved and what not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960527#3960527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960527 From do-not-reply at jboss.com Mon Jul 24 17:27:29 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Mon, 24 Jul 2006 17:27:29 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <18498824.1153776449830.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Ben, Can you help me find out the cause of this classcast exception and resolve it , That would be of great help. JMX registration Does Jboss cache registers with the available MBean server , when the jvm is started with the jmx agent enabled by setting the property in the weblogic startup "-Dcom.sun.management.jmxremote" I think it does thats the reason I see two cache mbeans exposed on the jconsole. 1. Under MBeans tab , it shows this kind of structure Tree -jboss.cache --TreeCache-Cluster --- CacheMgmtInterceptor 2. Again under Mbeas tab but under my own custom object names Tree -Web -- testBean2 (Of Type AopCache, no interceptos etc are listed here).. Thanks for your time . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960529#3960529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960529 From do-not-reply at jboss.com Mon Jul 24 17:28:37 2006 From: do-not-reply at jboss.com (saravanag) Date: Mon, 24 Jul 2006 17:28:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Multiple Instance of JBoss Message-ID: <17341283.1153776517994.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have installed JBoss 4.0.2. How do I create Multiple Instance of JBoss with only one JBoss Installed? Thanks In Adavnce Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960530#3960530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960530 From do-not-reply at jboss.com Mon Jul 24 17:36:08 2006 From: do-not-reply at jboss.com (mosabua) Date: Mon, 24 Jul 2006 17:36:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Connect to hsqldb Message-ID: <32545374.1153776968155.JavaMail.jboss@colo-br-02.atl.jboss.com> Btw. when I run in server mode all works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960531#3960531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960531 From do-not-reply at jboss.com Mon Jul 24 17:59:10 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 24 Jul 2006 17:59:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <16851953.1153778350056.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a problem here, and its not with the portlets or the preference settings. I just tested, using your scenario, and found the page itself is being cached. After I login as user, I see the original settings. Then I minimize a newsportlet and then normalize it.. it then shows the stored preferences I inputted before I logged out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960532#3960532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960532 From do-not-reply at jboss.com Mon Jul 24 18:06:41 2006 From: do-not-reply at jboss.com (hms) Date: Mon, 24 Jul 2006 18:06:41 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: how to get the value of a property in oracle-ds.xml from Message-ID: <18219130.1153778801146.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Price, thanks for your answering, I just found an easy way to do it, String url = connection.getMetaData().getUrl(); hms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960533#3960533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960533 From do-not-reply at jboss.com Mon Jul 24 18:16:14 2006 From: do-not-reply at jboss.com (wconroy) Date: Mon, 24 Jul 2006 18:16:14 -0400 (EDT) Subject: [jboss-user] [JBossWS] - View Incoming Requests Message-ID: <27784650.1153779374606.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a logging category I can turn on in order to see the incoming requests to my web services? I would like to see the entire soap message if possible. also, I have seen a few posts that talk about performance with array types talking about this jira issue. http://jira.jboss.com/jira/browse/JBWS-75 Is the performance with large arrays fixed with 1.0.2, and I cant find a schedule for releases. Is that available on the website somewhere? Thanks, Bo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960534#3960534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960534 From do-not-reply at jboss.com Mon Jul 24 18:21:06 2006 From: do-not-reply at jboss.com (alf_dave) Date: Mon, 24 Jul 2006 18:21:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - 3.2 Timeline? Message-ID: <17289401.1153779666965.JavaMail.jboss@colo-br-02.atl.jboss.com> I understand you're busy working on 3.2, but are there any public release dates you're aiming for. This is so we can determine whether to stick with 3.1.2 or move to 3.2 head for our own development cycle. Thanks, David Caruana Alfresco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960535#3960535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960535 From do-not-reply at jboss.com Mon Jul 24 18:21:49 2006 From: do-not-reply at jboss.com (andrew.rw.robinson) Date: Mon, 24 Jul 2006 18:21:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - FacesMessages looses component ID for validation? Message-ID: <19604886.1153779709619.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, I am observing some odd behavior. I have a backing bean with a custom validation method. In there I added a validation error message using the FacesMessages.add(String, FacesMessage) method. However, when I debug the faces context, the message is there, but the component ID is not. If I use the normal FacesContext to add the message it works. Works: public void validUniqueName(FacesContext context, | UIComponent toValidate, Object value) | { | ... | context.addMessage(toValidate.getClientId(context), | FacesUtils.createErrorMessage("liverep_uniquename", name)); Doesn't work: public void validUniqueName(FacesContext context, | UIComponent toValidate, Object value) | { | ... | facesMessages.add(toValidate.getClientId(context), | FacesUtils.createErrorMessage("liverep_uniquename", name)); When it works, my debugging code prints: 16:14:05,231 DEBUG [DebugPhaseListener] Faces message found. | Component: lreActionPane:name | Severity : Error | Summary : A template already exists with the name 'Test report' | Detail : A template already exists with the name 'Test report' When I use facesMessages: 16:14:05,231 DEBUG [DebugPhaseListener] Faces message found. | Component: null | Severity : Error | Summary : A template already exists with the name 'Test report' | Detail : A template already exists with the name 'Test report' What am I missing? Why is the client ID not included? Thanks, Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960536#3960536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960536 From do-not-reply at jboss.com Mon Jul 24 18:28:56 2006 From: do-not-reply at jboss.com (alf_dave) Date: Mon, 24 Jul 2006 18:28:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Process instance export & import Message-ID: <16109430.1153780136279.JavaMail.jboss@colo-br-02.atl.jboss.com> Anyone have any advice / experience of exporting and importing process instances? Obviously, a db dump / load could be used, but I wonder if an xml based export / import is available. In particular, to support the migration from one make of database to another e.g. mysql to oracle. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960537#3960537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960537 From do-not-reply at jboss.com Mon Jul 24 18:29:36 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 24 Jul 2006 18:29:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: WebApp Development Message-ID: <16245514.1153780176629.JavaMail.jboss@colo-br-02.atl.jboss.com> Ronald, Thanks for the compliments :-). I will create a new user id. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960538#3960538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960538 From do-not-reply at jboss.com Mon Jul 24 18:42:24 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 24 Jul 2006 18:42:24 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: how to get the value of a property in oracle-ds.xml from Message-ID: <21996857.1153780944115.JavaMail.jboss@colo-br-02.atl.jboss.com> Correct. Your initial post seemed like you wanted to do this prior to making a connection to the DB, as if you wanted to perform some logic prior to making a connection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960539#3960539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960539 From do-not-reply at jboss.com Mon Jul 24 18:44:39 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 18:44:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: 3.2 Timeline? Message-ID: <15174034.1153781079910.JavaMail.jboss@colo-br-02.atl.jboss.com> David, Since you seem to be developing your own UI, there are not to many differences that are important while starting development. Probably the only thing is the clusterability when using jms with jbpm or as an alternative the clusterable proprietary command executor (currently not clusterable yet, but there have been some suggestions on achieving that) What I do not know is at what moment of your development cycle you still dare to switch to jBPM 3.2. Personally I would not expect it within 2 months, but I could be wrong and will ask Koen to check this. btw, are you guys thinking of a jsf or xforms based ui? Maybe we can help eachother here, since my jsf knowledge is still limited, at least for developing good ui components. I do have some xforms knowledge (chiba) but that is not a jBPM focus (it is a little for the company I work for) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960540#3960540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960540 From do-not-reply at jboss.com Mon Jul 24 18:51:39 2006 From: do-not-reply at jboss.com (bluetrade) Date: Mon, 24 Jul 2006 18:51:39 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Collection - Depth Problem Message-ID: <27078757.1153781499407.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have some problems with a select query. I have the following classes | Person { | | Set
    addresses; | | } | | Addresses { | Set accessRight; | | } | | AccessRight { | Set members; | } | now I have a query that says: "select person.addresses from Person person where :user in (person.addresses.accessRight.members)"... However I get the output "could not resolve property: members of my.core.Addresses" - however, "members" is as you can see actually in accessRight... What's wrong with my syntax? I might have to use MySQL 4, so I might not have the option to go for subqueries... Any clues? Thanks, Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960541#3960541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960541 From do-not-reply at jboss.com Mon Jul 24 18:56:59 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 24 Jul 2006 18:56:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <30081660.1153781819202.JavaMail.jboss@colo-br-02.atl.jboss.com> There is no xml based export/import available, nor is it on the todo list. I do not know of people having any experience at all with migrating instances from one db to another even with a dump... If it is important (the xml based solution), please file a jira issue for it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960542#3960542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960542 From do-not-reply at jboss.com Mon Jul 24 19:05:03 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 24 Jul 2006 19:05:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: FacesMessages looses component ID for validation? Message-ID: <25509531.1153782303741.JavaMail.jboss@colo-br-02.atl.jboss.com> Use the server id, not the client id. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960543#3960543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960543 From do-not-reply at jboss.com Mon Jul 24 19:13:27 2006 From: do-not-reply at jboss.com (ravi2box) Date: Mon, 24 Jul 2006 19:13:27 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Endpoint does not contain operation meta data for: Message-ID: <10296685.1153782807625.JavaMail.jboss@colo-br-02.atl.jboss.com> can you paste the client code? did you check if the client is using RPC/Lit or Doc/Lit and the server understands the corresponding binding?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960544#3960544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960544 From do-not-reply at jboss.com Mon Jul 24 19:18:57 2006 From: do-not-reply at jboss.com (mailinator) Date: Mon, 24 Jul 2006 19:18:57 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Permission Denied when MBean starts a new Thread Message-ID: <7310281.1153783137038.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a MBean that starts a new thread in its constructor that tries to bind to the SSL socket. I get a Permission Denied. How can I bypass this? I am using Jboss 3.0.8 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960545#3960545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960545 From do-not-reply at jboss.com Mon Jul 24 19:59:33 2006 From: do-not-reply at jboss.com (anatoly.osiko) Date: Mon, 24 Jul 2006 19:59:33 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: View Incoming Requests Message-ID: <9576068.1153785573520.JavaMail.jboss@colo-br-02.atl.jboss.com> Just have log4j.properties file in your classpath, and have set logging to debug level | # Set root category priority to DEBUG and its appender to LOGFILE. | log4j.rootCategory=DEBUG, LOGFILE | #log4j.rootCategory=INFO, LOGFILE | #log4j.rootCategory=WARN, LOGFILE | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960547#3960547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960547 From do-not-reply at jboss.com Mon Jul 24 20:03:35 2006 From: do-not-reply at jboss.com (javatwo) Date: Mon, 24 Jul 2006 20:03:35 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - deploy exploded war file, page not available Message-ID: <3712510.1153785815198.JavaMail.jboss@colo-br-02.atl.jboss.com> http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideJBoss I followed the instruction to deploy Roller into JBoss using exploded war file. But http://localhost:8080/roller The requested resource (/roller/) is not available. Other applications were available (the JBoss is running). Thanks for help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960548#3960548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960548 From do-not-reply at jboss.com Mon Jul 24 20:26:20 2006 From: do-not-reply at jboss.com (dbatcn) Date: Mon, 24 Jul 2006 20:26:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <775994.1153787180833.JavaMail.jboss@colo-br-02.atl.jboss.com> Does support @DataModel, @DataModelSelection, etc.? I couldn't find any evidence of it in the reference and I tried looking at the code but got lost... ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960549#3960549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960549 From do-not-reply at jboss.com Mon Jul 24 20:28:33 2006 From: do-not-reply at jboss.com (javajedi) Date: Mon, 24 Jul 2006 20:28:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Can't get Message-ID: <6239676.1153787313018.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Portal 2.4.0-CR2 Seam 1.0.0 JBoss 4.0.4 I've got a Seam app that works fine on its own. When I deploy it as a portlet, the initial page of the portlet displays fine, but when I submit a form from that first page, the Seam action doesn't get invoked. The page is just redisplayed. I've changed FaceletViewHandler and SeamExtendedManagedPersistencePhaseListener to FaceletPortletViewHandler and SeamExtendedManagedPersistencePortletPhaseListener in faces-config.xml. I've added very simple jboss-portlet.xml, portlet-instances.xml, portlet.xml, and myapp-object.xml files. I've commented StartupServletContextListener out of my web.xml. These are the only changes that I've made to the app from when it was working fine as a standalone Seam application. Here is the debug output from Seam when the app is running as a portlet, and not working: 2006-07-24 17:14:28,807 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1) | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelector | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener] committing transaction after phase: RESTORE_VIEW(1) | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2) | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6) | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(3) | 2006-07-24 17:14:28,979 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.Component] instantiating Seam component: uploadBean | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-07-24 17:14:28,981 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 3 | 2006-07-24 17:14:28,981 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener] committing transaction after phase: RENDER_RESPONSE(6) | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Contexts] destroying: uploadBean | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request | 2006-07-24 17:18:08,577 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:18:08,577 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context Here is the same debug output from the working, non-portlet version of the same app: 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1) | 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:55,964 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:21:56,517 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2) | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.Component] instantiating Seam component: uploadBean | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: perfImportUploadAction | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.Component] instantiating Seam component: perfImportUploadAction | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-07-24 17:21:56,538 DEBUG [org.jboss.seam.Component] instantiating Seam component: fooPerfImporter | 2006-07-24 17:21:56,538 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,539 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,539 INFO [MyActionBean] HERE IS WHERE THE SEAM ACTION GETS INVOKED | 2006-07-24 17:21:56,542 DEBUG [org.jboss.seam.Component] instantiating Seam component: hibSession | 2006-07-24 17:21:56,551 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,756 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] committing transaction after phase: INVOKE_APPLICATION(5) | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,758 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6) | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,760 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam component | 2006-07-24 17:21:56,763 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 2 | 2006-07-24 17:21:56,767 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context | 2006-07-24 17:21:56,776 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,777 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] committing transaction after phase: RENDER_RESPONSE(6) | 2006-07-24 17:21:56,777 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] Transaction: org.jboss.tm.usertx.client.ServerVMClientUserTransaction at be8dd0, UserTransaction | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Contexts] destroying: uploadBean | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: hibSession | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} Any suggestions as to what I might be doing wrong? Is there some extra missing piece of glue between Seam and Portal that I need? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960550#3960550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960550 From do-not-reply at jboss.com Mon Jul 24 20:30:31 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Mon, 24 Jul 2006 20:30:31 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <23197970.1153787431128.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Cache will register with an MBean server if you have statistics enabled. You can disable this behavior by adding the following attribute to your JBoss cache instance definition. false The statistics (e.g., hit/miss ratio) are dispalyed via interceptor mbeans that are associated with your cache's mbean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960551#3960551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960551 From do-not-reply at jboss.com Mon Jul 24 20:31:21 2006 From: do-not-reply at jboss.com (javajedi) Date: Mon, 24 Jul 2006 20:31:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Can't get Seam application to work as a Portlet Message-ID: <19142390.1153787481835.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for the duplicate posting. The topic somehow got truncated in my last post. JBoss Portal 2.4.0-CR2 Seam 1.0.0 JBoss 4.0.4 I've got a Seam app that works fine on its own. When I deploy it as a portlet, the initial page of the portlet displays fine, but when I submit a form from that first page, the Seam action doesn't get invoked. The page is just redisplayed. I've changed FaceletViewHandler and SeamExtendedManagedPersistencePhaseListener to FaceletPortletViewHandler and SeamExtendedManagedPersistencePortletPhaseListener in faces-config.xml. I've added very simple jboss-portlet.xml, portlet-instances.xml, portlet.xml, and myapp-object.xml files. I've commented StartupServletContextListener out of my web.xml. These are the only changes that I've made to the app from when it was working fine as a standalone Seam application. Here is the debug output from Seam when the app is running as a portlet, and not working: 2006-07-24 17:14:28,807 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener | ] beginning transaction prior to phase: RESTORE_VIEW(1) | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelecto | r | 2006-07-24 17:14:28,808 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener | ] committing transaction after phase: RESTORE_VIEW(1) | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea | m.core.manager | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j | boss.seam.core.init | 2006-07-24 17:14:28,809 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers | ation context: ConversationContext(2) | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener | ] beginning transaction prior to phase: RENDER_RESPONSE(6) | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea | m.core.manager | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j | boss.seam.core.init | 2006-07-24 17:14:28,978 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers | ation context: ConversationContext(3) | 2006-07-24 17:14:28,979 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages | | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.Component] instantiating Seam component: uploadBean | 2006-07-24 17:14:28,980 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon | ent | 2006-07-24 17:14:28,981 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 3 | 2006-07-24 17:14:28,981 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePortletPhaseListener | ] committing transaction after phase: RENDER_RESPONSE(6) | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying | contexts | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Contexts] destroying: uploadBean | 2006-07-24 17:14:28,983 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man | ager | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation | context | 2006-07-24 17:14:28,984 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request | 2006-07-24 17:18:08,577 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:18:08,577 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context Here is the same debug output from the working, non-portlet version of the same app: 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] begin | ning transaction prior to phase: RESTORE_VIEW(1) | 2006-07-24 17:21:55,963 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:55,964 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request | 2006-07-24 17:21:56,517 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.sea | m.core.manager | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.core.Manager] No stored conversation | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.j | boss.seam.core.init | 2006-07-24 17:21:56,518 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring convers | ation context: ConversationContext(2) | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.Component] instantiating Seam component: uploadBean | 2006-07-24 17:21:56,519 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon | ent | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,520 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon | ent | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: perfImportUp | loadAction | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.Component] instantiating Seam component: perfImportUpl | oadAction | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,523 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon | ent | 2006-07-24 17:21:56,538 DEBUG [org.jboss.seam.Component] instantiating Seam component: fooPerfImport | er | 2006-07-24 17:21:56,538 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,539 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,539 INFO [MyActionBean] | HERE IS WHERE THE SEAM ACTION GETS INVOKED | | 2006-07-24 17:21:56,542 DEBUG [org.jboss.seam.Component] instantiating Seam component: hibSession | 2006-07-24 17:21:56,551 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,756 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] commi | tting transaction after phase: INVOKE_APPLICATION(5) | 2006-07-24 17:21:56,757 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,758 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] begin | ning transaction prior to phase: RENDER_RESPONSE(6) | 2006-07-24 17:21:56,759 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,760 DEBUG [org.jboss.seam.Component] instantiating Seam component: facesMessages | | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: uploadBean | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.contexts.Contexts] found in event context: uploadBean | 2006-07-24 17:21:56,762 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to seam compon | ent | 2006-07-24 17:21:56,763 DEBUG [org.jboss.seam.core.Manager] Discarding conversation state: 2 | 2006-07-24 17:21:56,767 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing page context | 2006-07-24 17:21:56,776 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,777 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] commi | tting transaction after phase: RENDER_RESPONSE(6) | 2006-07-24 17:21:56,777 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] Trans | action: org.jboss.tm.usertx.client.ServerVMClientUserTransaction at be8dd0, UserTransaction | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying | contexts | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context | 2006-07-24 17:21:56,778 DEBUG [org.jboss.seam.contexts.Contexts] destroying: uploadBean | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.man | ager | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: hibSession | 2006-07-24 17:21:56,779 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation | context | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request | 2006-07-24 17:21:56,780 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.nami | ng.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.n | aming:org.jnp.interfaces} | | Any suggestions as to what I might be doing wrong? Is there some extra missing piece of glue between Seam and Portal that I need? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960552#3960552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960552 From do-not-reply at jboss.com Mon Jul 24 20:32:30 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Mon, 24 Jul 2006 20:32:30 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <24151440.1153787550692.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry - my response needed to have HTML disabled. Here it is again. false View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960553#3960553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960553 From do-not-reply at jboss.com Mon Jul 24 20:33:50 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Mon, 24 Jul 2006 20:33:50 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <33406634.1153787630480.JavaMail.jboss@colo-br-02.atl.jboss.com> try putting it inside the code tags View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960554#3960554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960554 From do-not-reply at jboss.com Mon Jul 24 20:35:38 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Mon, 24 Jul 2006 20:35:38 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <9515987.1153787738965.JavaMail.jboss@colo-br-02.atl.jboss.com> Aargh! Reponse looks fine in preview mode but is wrong when displayed. Once again. <attribute name="UseInterceptorMbeans">false</attribute> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960555#3960555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960555 From do-not-reply at jboss.com Mon Jul 24 20:38:09 2006 From: do-not-reply at jboss.com (javajedi) Date: Mon, 24 Jul 2006 20:38:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can't get Seam application to work as a Portlet Message-ID: <1597178.1153787889849.JavaMail.jboss@colo-br-02.atl.jboss.com> BTW, this is my web page: | | | |
    | | |
    | |
    and these are the referenced components: @Name("uploadBean") | public class UploadBackingBean { | private UploadedFile _file; | public void setFile(UploadedFile file) { | _file = file; | } | @NotNull | public UploadedFile getFile() { | return _file; | } | } @Stateless | @Name("perfImportUploadAction") | public class PerfImportUploadActionBean implements PerfImportUploadAction { | | @In | private UploadBackingBean uploadBean; | | @Begin(join=true) | public String upload() { | ... public interface PerfImportUploadAction { | String upload(); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960556#3960556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960556 From do-not-reply at jboss.com Mon Jul 24 21:01:06 2006 From: do-not-reply at jboss.com (mailinator) Date: Mon, 24 Jul 2006 21:01:06 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Unique constraint violation with JMS Message-ID: <11777412.1153789266824.JavaMail.jboss@colo-br-02.atl.jboss.com> We're getting unique constraint violations with JMS messaging and Oracle (9 & 10 we've tried both). This isn't happening often, and we're not sure what exactly is making JBoss re-use the same primary key. There is only one instance of JMS accessing the database. We're using JBoss Messaging 1.0.1.CR2. Here's the sql that JBoss uses to put a message into the database: INSERT INTO JMS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, PAYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINATION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (466672, 'Y', 0, 1153260324109, '4', '', 'java.io.ByteArrayInputStream at 46cf2', 1, '5', '', '', '', 0, '', '') Then about an hour later, another message with the same primary key was sent to the database: INSERT INTO JMS_MESSAGE (MESSAGEID, RELIABLE, EXPIRATION, TIMESTAMP, PRIORITY, COREHEADERS, PAYLOAD, CHANNELCOUNT, TYPE, JMSTYPE, CORRELATIONID, CORRELATIONID_BYTES, DESTINATION_ID, REPLYTO_ID, JMSPROPERTIES) VALUES (466672, 'Y', 0, 1153264744496, '4', '', 'java.io.ByteArrayInputStream at 11a6b20', 1, '5', '', '', '', 2, '', '') I've searched the forums, someone else is getting the same error but not sure what DB they are using, and there weren't any ideas there. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=85368&view=previous If anyone has any ideas of what would cause this I would appreciate the input. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960557#3960557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960557 From do-not-reply at jboss.com Mon Jul 24 21:04:51 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 24 Jul 2006 21:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <6574160.1153789491971.JavaMail.jboss@colo-br-02.atl.jboss.com> What I decided to do was make it instantiate a new instance if the id is null. This is the most useful behavior in crud-style screens. OK with you? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960558#3960558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960558 From do-not-reply at jboss.com Mon Jul 24 21:13:52 2006 From: do-not-reply at jboss.com (markfoerstein) Date: Mon, 24 Jul 2006 21:13:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Self-referencing foreign keys Message-ID: <12708111.1153790032717.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks anyway. Max probably got my idea. The seam templates doesn't handle self referencing tables. I though I could solve this problem by doing some changes to the code, but my expertise is limited. ;-) I will save this example I did for later, and go on learning other Seam aspects... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960559#3960559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960559 From do-not-reply at jboss.com Mon Jul 24 21:26:51 2006 From: do-not-reply at jboss.com (jmalonzo) Date: Mon, 24 Jul 2006 21:26:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - PersistenceException on createEntityManagerFactory while uni Message-ID: <5293268.1153790811634.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I'm using Chapter 12 of the Seam reference manual as a guild for unit testing my seam components, specifically section 12.1 where one uses an application-managed EM. But everytime I run TestNG (using the eclipse plugin), I'm getting this error: javaxpersistence.PersistenceException: No Persistence Provider for EntityManager Named TestDS. Is there an additional setup that I'm missing here? How can I instruct javax.persistence.Persistence to look for my persistence.xml in ${META-INF}? Cheers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960560#3960560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960560 From do-not-reply at jboss.com Mon Jul 24 21:34:43 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 24 Jul 2006 21:34:43 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: POJO Mutations Message-ID: <17388294.1153791283949.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you elaborate a bit more? Still not quite clear what you meant. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960561#3960561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960561 From do-not-reply at jboss.com Mon Jul 24 21:36:45 2006 From: do-not-reply at jboss.com (ryhadley) Date: Mon, 24 Jul 2006 21:36:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - How to dispatch workflows/create an event handler loop? Message-ID: <32643148.1153791405375.JavaMail.jboss@colo-br-02.atl.jboss.com> When I think of what a workflow engine does, it is essentially an event handler loop that is configured to appropriately dispatch the incoming messages: event loop | get message from queue | handle message by one of: | - start new workflow, or | - start next activity in a (suspended) workflow | repeat Based on the user guide http://docs.jboss.org/jbpm/v3/userguide/index.html, I can see how to define a workflow (as XML) and give the code behind the activities in the workflow (implement ActionHandler interface), but I don't understand how jBPM takes incoming "messages" and dispatches to the appropriate ActionHandlers. i.e. The user guide only has code snippets that are JUnit tests which create a workflow from an XML definition (ProcessDefinition.parseXmlString()) and then execute the workflow by pushing the token through it with token.signal() (i.e. 3.2. Database example in User Guide); there is no practical code example for a workflow application. Does jBPM provide such an event loop/dispatch capability? Or do I need to figure out how to implement this myself (using something like the code in ProcessInstanceBean.java, from the webapp example, and tie it into the Scheduler from chapter 12 in the User Guide)? If so, is there a simple example available? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960562#3960562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960562 From do-not-reply at jboss.com Mon Jul 24 22:10:52 2006 From: do-not-reply at jboss.com (dclancey) Date: Mon, 24 Jul 2006 22:10:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - HelloWorld IPC broken in Portal 2.4 CR1 and CR2 Message-ID: <23431144.1153793452375.JavaMail.jboss@colo-br-02.atl.jboss.com> The HelloWorld IPC portlet works in portal 2.2, but seems to be broken in 2.4 CR1 and CR2. I am running the bundled distribution of JBoss 4.04.GA and Portal 2.4CR2 on Windows XP using JDK 1.5. Here is the stacktrace: 2006-07-24 21:01:36,953 DEBUG [org.jboss.deployment.SARDeployer] create operation failed for package file:/C:/jboss-portal-2.4.0-CR2/server/default/deploy/helloworldipcportlet.sar | org.jboss.deployment.DeploymentException: no protocol: org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml; - nested throwable: (java.net.MalformedURLException: no protocol: org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor87.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.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor88.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 $Proxy8.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: java.net.MalformedURLException: no protocol: org/jboss/portal/core/event/PortalEventListenerServiceImpl.xml | at java.net.URL.(URL.java:567) | at java.net.URL.(URL.java:464) | at java.net.URL.(URL.java:413) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:206) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | Could someone indicate what I need to update between Portal versions? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960564#3960564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960564 From do-not-reply at jboss.com Mon Jul 24 22:30:11 2006 From: do-not-reply at jboss.com (yuan_hang) Date: Mon, 24 Jul 2006 22:30:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - ACL in Seam Message-ID: <1506389.1153794611924.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to Seam and not familiar with JAAS as well. As I know, we can use JAAS to build method level permission control. But I am wondering how to implement object level permission control, i.e. ACL. Do we have a framework, like acegisecurity, can be used with EJB and Seam or have to develop by our own? Or Seam alread has relevant functions I overlooked? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960565#3960565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960565 From do-not-reply at jboss.com Mon Jul 24 22:34:05 2006 From: do-not-reply at jboss.com (burrsutter) Date: Mon, 24 Jul 2006 22:34:05 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Creating a JSR181 service from Java. Message-ID: <18650917.1153794845144.JavaMail.jboss@colo-br-02.atl.jboss.com> Check out: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld And let me know what you think. Burr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960566#3960566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960566 From do-not-reply at jboss.com Mon Jul 24 23:11:21 2006 From: do-not-reply at jboss.com (jewhit) Date: Mon, 24 Jul 2006 23:11:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JSF / IPC / Portal 2.4 Message-ID: <12238960.1153797081443.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello - just wondering if anyone has any recommendations on what they think is the best method of communicating between portlets without a dependence on IPC, which is currently not finished in portal 2.4. I am building a large collection of JSF portlets, and inter-communication between the portlets is critical to functionality. Any info / recommendations would be most appreciated! thanks Jim W. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960568#3960568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960568 From do-not-reply at jboss.com Mon Jul 24 23:42:57 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Mon, 24 Jul 2006 23:42:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple Instance of JBoss Message-ID: <30330261.1153798977393.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Refer the link http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85108 This might be helpful for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960570#3960570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960570 From do-not-reply at jboss.com Mon Jul 24 23:57:04 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 24 Jul 2006 23:57:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <22147746.1153799824205.JavaMail.jboss@colo-br-02.atl.jboss.com> EJB 3.0 provides method-level permissioning as a standard feature. You can use that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960571#3960571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960571 From do-not-reply at jboss.com Tue Jul 25 00:03:46 2006 From: do-not-reply at jboss.com (Basel) Date: Tue, 25 Jul 2006 00:03:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <11815632.1153800226353.JavaMail.jboss@colo-br-02.atl.jboss.com> The needs a list of objects to iterate over, this has nothing to do with support. You can find an example is the dvd-store sample application bundled with Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960573#3960573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960573 From do-not-reply at jboss.com Tue Jul 25 00:15:56 2006 From: do-not-reply at jboss.com (Basel) Date: Tue, 25 Jul 2006 00:15:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: PersistenceException on createEntityManagerFactory while Message-ID: <459908.1153800956714.JavaMail.jboss@colo-br-02.atl.jboss.com> what do you have as the value of under your persistence.xml? Can you show the complete file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960574#3960574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960574 From do-not-reply at jboss.com Tue Jul 25 00:18:33 2006 From: do-not-reply at jboss.com (Basel) Date: Tue, 25 Jul 2006 00:18:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: PersistenceException on createEntityManagerFactory while Message-ID: <18361148.1153801113835.JavaMail.jboss@colo-br-02.atl.jboss.com> The provider element of persistence.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960575#3960575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960575 From do-not-reply at jboss.com Tue Jul 25 00:39:23 2006 From: do-not-reply at jboss.com (alesj) Date: Tue, 25 Jul 2006 00:39:23 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: org.jboss.hibernate.jmx.Hibernate Message-ID: <12295363.1153802363144.JavaMail.jboss@colo-br-02.atl.jboss.com> Wrong forum maybe? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960576#3960576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960576 From do-not-reply at jboss.com Tue Jul 25 00:50:29 2006 From: do-not-reply at jboss.com (redijedi) Date: Tue, 25 Jul 2006 00:50:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Maven Repo Message-ID: <4549609.1153803029179.JavaMail.jboss@colo-br-02.atl.jboss.com> I did a search, but didn't come up with anything. Pardon this if it has been answered before. Will JBoss ever provide a maven repo for any of it's resources? EJB3 embeddable is especially annoying to set up since I have to manually install some 20 libs. It would be soooo much more condusive to development if there was a centralized repo. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960577#3960577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960577 From do-not-reply at jboss.com Tue Jul 25 01:08:55 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 01:08:55 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: deploy exploded war file, page not available Message-ID: <10673265.1153804136001.JavaMail.jboss@colo-br-02.atl.jboss.com> Move to your roller.war directory(which is exploded) and run the following command from the prompt and post the output: dir /b /s This will show the contents of the roller.war folder. Just wanted to confirm that the contents of the exploded war are proper. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960578#3960578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960578 From do-not-reply at jboss.com Tue Jul 25 01:11:12 2006 From: do-not-reply at jboss.com (baz) Date: Tue, 25 Jul 2006 01:11:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin and @End Message-ID: <3029415.1153804272231.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, after determining that with the current CVS you have to have specify idClass | | de.bafz.lims.model.Project | #{bazDatabase} | #{bazProjectID} | java.lang.String | | it works for me. In my case, i do not need the new instance. But i can imagine usecases where this behaviour is appreciated. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960579#3960579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960579 From do-not-reply at jboss.com Tue Jul 25 01:24:04 2006 From: do-not-reply at jboss.com (kingofhawks) Date: Tue, 25 Jul 2006 01:24:04 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to access remote file system from Swing client? Message-ID: <33513510.1153805044258.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi tournayre: The problem is that i want to browse remote file system with a FileChooser in Swing client.So how can i retrive the tree struct of server file system?If i build the tree on server side and transfer it to client,can i operate on all components of that tree,that is to say,maybe i need modify/delete some files. Thanks a lot anyway. Kingofhawks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960580#3960580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960580 From do-not-reply at jboss.com Tue Jul 25 01:31:31 2006 From: do-not-reply at jboss.com (jkoek) Date: Tue, 25 Jul 2006 01:31:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <2688093.1153805491469.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I wait for your answer on a fix/workaround. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960581#3960581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960581 From do-not-reply at jboss.com Tue Jul 25 01:32:02 2006 From: do-not-reply at jboss.com (bhupeshs) Date: Tue, 25 Jul 2006 01:32:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Unable to add security constraint to portlets Message-ID: <12622362.1153805522129.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded and started using JBoss-Portal 2.4.0-CR2 . I guess there are some changes to the security constraints. Even the documentation is better. I was able to restrict the view access through management console. But I am still unable to restrict access through deployment descriptors. Are you still supporting security-constraints through deployment descriptors? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960582#3960582 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960582 From do-not-reply at jboss.com Tue Jul 25 01:45:20 2006 From: do-not-reply at jboss.com (ccanning) Date: Tue, 25 Jul 2006 01:45:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <25447051.1153806320843.JavaMail.jboss@colo-br-02.atl.jboss.com> This would be great. I am trying to learn seam/facelets/jsf and get it working with the embedded ejb container. It would be great to have the maven pom generated so that I don't have to figure out all of the package layouts and dependencies to get this running with my maven environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960583#3960583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960583 From do-not-reply at jboss.com Tue Jul 25 02:01:44 2006 From: do-not-reply at jboss.com (markfrench) Date: Tue, 25 Jul 2006 02:01:44 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - MDB fails to deploy when placed in deploy-hasingleton Message-ID: <32175342.1153807304504.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a MBean service which I am trying to deploy in the hasingleton-deploy directory. I have added the ejb3 depends annotation for the default datasource: @Management(InitialisationMBeanInterface.class) | @Service(objectName = "eventmanager:service=initialisation") | @Remote | @RemoteBinding(jndiBinding = "InitialisationMBeanInterface") | @Depends( value = { "jboss.jca:service=DataSourceBinding,name=DefaultDS" }) | public class InitialisationMBean implements InitialisationMBeanInterface { | When the container starts up it fails miserably with following trace: | 15:55:31,075 ERROR [HASingletonController] Controlled Singleton MBean failed to | become master | javax.management.MBeanException | at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptio | ns(ReflectedDispatcher.java:180) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:163) | 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.ha.singleton.HASingletonController.invokeSingletonMBeanMeth | od(HASingletonController.java:207) | at org.jboss.ha.singleton.HASingletonController.startSingleton(HASinglet | onController.java:144) | at org.jboss.ha.singleton.HASingletonSupport.makeThisNodeMaster(HASingle | tonSupport.java:197) | at org.jboss.ha.singleton.HASingletonSupport.partitionTopologyChanged(HA | SingletonSupport.java:133) | at org.jboss.ha.jmx.HAServiceMBeanSupport$1.replicantsChanged(HAServiceM | BeanSupport.java:243) | at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.notifyK | eyListeners(DistributedReplicantManagerImpl.java:844) | at org.jboss.ha.framework.server.DistributedReplicantManagerImpl.add(Dis | tributedReplicantManagerImpl.java:408) | at org.jboss.ha.jmx.HAServiceMBeanSupport.registerDRMListener(HAServiceM | BeanSupport.java:251) | at org.jboss.ha.jmx.HAServiceMBeanSupport.startService(HAServiceMBeanSup | port.java:173) | 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.GeneratedMethodAccessor10.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:302) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor50.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.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.GeneratedMethodAccessor10.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:302) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database | State: CONFIGURED | I Depend On: | jboss.jca:service=DataSourceBinding,name=DefaultDS | | ObjectName: jboss:service=juddi | State: CONFIGURED | I Depend On: | jboss.jca:service=DataSourceBinding,name=DefaultDS | | ObjectName: jboss.admin:service=PluginManager | State: CONFIGURED | I Depend On: | jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory | Depends On Me: | jboss.web.deployment:war=web-console.war,id=1832444850 | | ObjectName: jboss.web.deployment:war=web-console.war,id=1832444850 | State: NOTYETINSTALLED | I Depend On: | jboss.admin:service=PluginManager | | ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo | State: CONFIGURED | I Depend On: | jboss:service=TransactionManager | jboss.jca:service=DataSourceBinding,name=DefaultDS | | ObjectName: jboss.mq:service=InvocationLayer,type=HTTP | State: CONFIGURED | I Depend On: | jboss.mq:service=Invoker | jboss.web:service=WebServer | | ObjectName: jboss.mq.destination:service=Topic,name=testTopic | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | ObjectName: jboss.mq.destination:service=Topic,name=securedTopic | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | ObjectName: jboss.mq.destination:service=Queue,name=testQueue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | ObjectName: jboss.mq.destination:service=Queue,name=A | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=B | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=C | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=D | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=ex | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq:service=Invoker | State: CONFIGURED | I Depend On: | jboss.mq:service=TracingInterceptor | jboss:service=Naming | Depends On Me: | jboss.mq:service=InvocationLayer,type=HTTP | jboss.mq:service=InvocationLayer,type=JVM | jboss.mq:service=InvocationLayer,type=UIL2 | | ObjectName: jboss.mq:service=TracingInterceptor | State: CONFIGURED | I Depend On: | jboss.mq:service=SecurityManager | Depends On Me: | jboss.mq:service=Invoker | | ObjectName: jboss.mq:service=SecurityManager | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | Depends On Me: | jboss.mq.destination:service=Topic,name=testTopic | jboss.mq.destination:service=Topic,name=securedTopic | jboss.mq.destination:service=Topic,name=testDurableTopic | jboss.mq.destination:service=Queue,name=testQueue | jboss.mq:service=TracingInterceptor | jboss.mq.destination:service=Queue,name=DLQ | | ObjectName: jboss.mq.destination:service=Queue,name=DLQ | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | jboss.mq:service=SecurityManager | | ObjectName: jboss.mq:service=InvocationLayer,type=JVM | State: CONFIGURED | I Depend On: | jboss.mq:service=Invoker | | ObjectName: jboss.mq:service=StateManager | State: CONFIGURED | I Depend On: | jboss.jca:service=DataSourceBinding,name=DefaultDS | Depends On Me: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq:service=DestinationManager | State: CONFIGURED | I Depend On: | jboss.mq:service=MessageCache | jboss.mq:service=PersistenceManager | jboss.mq:service=StateManager | Depends On Me: | jboss.mq.destination:service=Topic,name=testTopic | jboss.mq.destination:service=Topic,name=securedTopic | jboss.mq.destination:service=Topic,name=testDurableTopic | jboss.mq.destination:service=Queue,name=testQueue | jboss.mq.destination:service=Queue,name=A | jboss.mq.destination:service=Queue,name=B | jboss.mq.destination:service=Queue,name=C | jboss.mq.destination:service=Queue,name=D | jboss.mq.destination:service=Queue,name=ex | jboss.mq:service=SecurityManager | jboss.mq.destination:service=Queue,name=DLQ | jboss.mq.destination:service=Queue,name=roadside | jboss.mq.destination:service=Queue,name=ocrInconclusive | jboss.mq.destination:service=Queue,name=classMismatch | jboss.mq.destination:service=Queue,name=motorcycleWithFrontLPN | jboss.mq.destination:service=Queue,name=lpnMismatchWithTrailer | jboss.mq.destination:service=Queue,name=lpnMismatch | jboss.mq.destination:service=Queue,name=noVehicleClass | jboss.mq.destination:service=Queue,name=unpaidAfterGracePeriod | jboss.mq.destination:service=Queue,name=registrationStateRequired | jboss.mq.destination:service=Queue,name=watchList | jboss.mq.destination:service=Queue,name=foreignPassReject | jboss.mq.destination:service=Queue,name=issuerRejected | jboss.mq.destination:service=Queue,name=manualDebitRejected | jboss.mq.destination:service=Queue,name=foreignPassExpired | jboss.mq.destination:service=Queue,name=rtaEnforcement | jboss.mq.destination:service=Queue,name=rtaAuthorisation | jboss.mq.destination:service=Queue,name=illegibleToSupervisor | jboss.mq.destination:service=Queue,name=escalationToSupervisor | jboss.mq.destination:service=Queue,name=ipbDecision | jboss.mq.destination:service=Queue,name=violationReferral | jboss.mq.destination:service=Queue,name=escalationToManager | jboss.mq.destination:service=Queue,name=manualDebitResponseOverdue | jboss.mq.destination:service=Queue,name=EventManagerQueue | jboss.mq.destination:service=Queue,name=AlertManagerQueue | jboss.mq.destination:service=Queue,name=tasksQueue | jboss.mq.destination:service=Queue,name=ftpOkQueue | | ObjectName: jboss.mq:service=PersistenceManager | State: CONFIGURED | I Depend On: | jboss.jca:service=DataSourceBinding,name=DefaultDS | Depends On Me: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=roadside | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=ocrInconclusive | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=classMismatch | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=motorcycleWithFrontLPN | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=lpnMismatchWithTrailer | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=lpnMismatch | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=noVehicleClass | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=unpaidAfterGracePeriod | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=registrationStateRequired | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=watchList | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=foreignPassReject | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=issuerRejected | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=manualDebitRejected | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=foreignPassExpired | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=rtaEnforcement | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=rtaAuthorisation | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=illegibleToSupervisor | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=escalationToSupervisor | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=ipbDecision | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=violationReferral | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=escalationToManager | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=manualDebitResponseOverdue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=EventManagerQueue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=AlertManagerQueue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=tasksQueue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq.destination:service=Queue,name=ftpOkQueue | State: CONFIGURED | I Depend On: | jboss.mq:service=DestinationManager | | ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 | State: CONFIGURED | I Depend On: | jboss.mq:service=Invoker | | ObjectName: jboss.j2ee:jar=eventmanager-management.jar,name=InitialisationMBean, | service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.jca:service=DataSourceBinding,name=DefaultDS | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS | State: NOTYETINSTALLED | Depends On Me: | jboss.ejb:service=EJBTimerService,persistencePolicy=database | jboss:service=juddi | jboss:service=KeyGeneratorFactory,type=HiLo | jboss.mq:service=StateManager | jboss.mq:service=PersistenceManager | jboss.j2ee:jar=eventmanager-management.jar,name=InitialisationMBean,service= | EJB3 | | ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFacto | ry | State: NOTYETINSTALLED | Depends On Me: | jboss.admin:service=PluginManager | | | at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDepl | oyer.java:1367) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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) | ... 107 more | Am I missiing something? I also have a similiar issue when deploying MDB to this directory in an ear. Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960585#3960585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960585 From do-not-reply at jboss.com Tue Jul 25 02:03:45 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Tue, 25 Jul 2006 02:03:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <2248075.1153807425288.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem i have about dependencies is that it depends on which environment you want it to run. So far i added the pom files for jboss-seam.jar jboss-seam-ui.jar jboss-seam-debug.jar in our maven2 repository without dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960586#3960586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960586 From do-not-reply at jboss.com Tue Jul 25 02:08:34 2006 From: do-not-reply at jboss.com (confuz) Date: Tue, 25 Jul 2006 02:08:34 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Eviction Policies Message-ID: <24102687.1153807714804.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I found that statement in the jbosscache document "Eviction policies specify the behavior of a node residing inside the cache" , that means the policy only support NODE level? currently, I need the such policy that support on node's value level. E.G set MAXVALUE of a node, if the number of the value exceeds the MAXVALUE, some values will be evicted to keep the note only contains MAXVALUE numbers. any suggestions on this issue? regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960587#3960587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960587 From do-not-reply at jboss.com Tue Jul 25 02:13:25 2006 From: do-not-reply at jboss.com (paradigmza) Date: Tue, 25 Jul 2006 02:13:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Need help with using ValueChangeEvent and SEAM Message-ID: <27807477.1153808005718.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a simple application that has a radio box and displays the value of the radio box to the screen. Everything seems to be working except when I browse away from that page and then browse back I get and Exception. | | | | | and the code is @Stateless() | @Name("advancedSearch") | public class AdvancedSearchBean implements AdvancedSearchLocal { | | private SelectItem currentType; | | @Out | private List searchTypeList; | | @In | private FacesContext facesContext; | | @Factory("searchTypeList") | public void loadList() { | setSearchTypeList(new ArrayList()); | getSearchTypeList().add(new SelectItem("1","1")); | getSearchTypeList().add(new SelectItem("2","2")); | } | | public void typeSelected(ValueChangeEvent event) { | String value = (String) event.getNewValue(); | if ("1".equals(value)) { | currentType = getSearchTypeList().get(0); | } else if ("2".equals(value)) { | currentType = getSearchTypeList().get(1); | } | //Not sure if this line is needed, it work without it | facesContext.renderResponse(); | } | | public SelectItem getCurrentType() { | return currentType; | } | | public void setCurrentType(SelectItem currentType) { | this.currentType = currentType; | } | | public List getSearchTypeList() { | return searchTypeList; | } | | public void setSearchTypeList(List searchTypeList) { | this.searchTypeList = searchTypeList; | } | } | the exception is | 08:06:05,616 ERROR [STDERR] Jul 25, 2006 8:06:05 AM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/search.xhtml] | java.lang.IllegalArgumentException: Value is no String and component _id27:_id28with path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /search.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id27][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: _id28]} does not have a Converter | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedStringValue(RendererUtils.java:536) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlRadioRendererBase.encodeEnd(HtmlRadioRendererBase.java:93) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 08:06:05,616 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalArgumentException: Value is no String and component _id27:_id28with path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /search.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id27][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: _id28]} does not have a Converter | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getConvertedStringValue(RendererUtils.java:536) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlRadioRendererBase.encodeEnd(HtmlRadioRendererBase.java:93) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 08:06:25,276 ERROR [STDERR] Jul 25, 2006 8:06:25 AM com.sun.facelets.FaceletViewHandler handleRenderException | Any help at all? am I think I am doing something fundementally wrong with the life cycle, buy I am not sure what? Thanks Sean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960588#3960588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960588 From do-not-reply at jboss.com Tue Jul 25 02:21:02 2006 From: do-not-reply at jboss.com (rschlege) Date: Tue, 25 Jul 2006 02:21:02 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <13987297.1153808462982.JavaMail.jboss@colo-br-02.atl.jboss.com> I had exactly the same question was told that this is basic J2EE, which not even requires a special configuration. There is a good page explaining the Timer: http://www.onjava.com/pub/a/onjava/2004/10/13/j2ee-timers.html Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960589#3960589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960589 From do-not-reply at jboss.com Tue Jul 25 02:28:28 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 25 Jul 2006 02:28:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: 3.2 Timeline? Message-ID: <28695678.1153808908378.JavaMail.jboss@colo-br-02.atl.jboss.com> David, The alpha1 release of jBPM 3.2 is planned for this month (though I am not really sure we will be able to make it before next Monday). Expect a first beta for October and the final release near the end of the year. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960590#3960590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960590 From do-not-reply at jboss.com Tue Jul 25 02:47:34 2006 From: do-not-reply at jboss.com (bruce@dpi) Date: Tue, 25 Jul 2006 02:47:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <2230202.1153810054794.JavaMail.jboss@colo-br-02.atl.jboss.com> The generics example above uses the @PersistenceContext annotation in an abstract superclass: public abstract class PersistentBean implements Serializable, PersistentLocal { @PersistenceContext(unitName="hrsystem", type=PersistenceContextType.EXTENDED) private EntityManager entityManager; // Other code which I have omitted } Can anyone point me to EJB3 documentation which specifies that using the @PersistenceContext in an abstract superclass is valid according to the specification and will therefore be portable across application servers? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960591#3960591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960591 From do-not-reply at jboss.com Tue Jul 25 02:59:23 2006 From: do-not-reply at jboss.com (justinwalsh) Date: Tue, 25 Jul 2006 02:59:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to map DSN name with actual database ? Please help. Message-ID: <19188428.1153810763777.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : when I run this program , database gets connected but it throws a strange exception ( ehCache exception ) in the first line of test program. Post the relevant code and your exception. I suspect you may need ehcache on your classpath - but without the above, I can only guess. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960592#3960592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960592 From do-not-reply at jboss.com Tue Jul 25 03:05:15 2006 From: do-not-reply at jboss.com (faizal.rashid) Date: Tue, 25 Jul 2006 03:05:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: getting node Class type when getting process definition Message-ID: <8618357.1153811115746.JavaMail.jboss@colo-br-02.atl.jboss.com> this help. but it still not allow me to cast it to the real object. so after looking around, this is the solution that i found : | if (node instanceof HibernateProxy) { | node = (Node) ((HibernateProxy) node).getHibernateLazyInitializer() | .getImplementation(); | } | then i can do something like : | if (node instanceof TaskNode) { | taskNode = (TaskNode) node; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960593#3960593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960593 From do-not-reply at jboss.com Tue Jul 25 03:09:26 2006 From: do-not-reply at jboss.com (thhal) Date: Tue, 25 Jul 2006 03:09:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <9617911.1153811366813.JavaMail.jboss@colo-br-02.atl.jboss.com> So, in essence there is no way to control the transaction timeout for an MDB unless you change the global transaction timeout? If that's true, I would consider it a fairly serious flaw in JBoss. A work around involving new threads won't help me much since it's essential that the popping of the queue must is synchronized with the many inserts that causes the timeout. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960594#3960594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960594 From do-not-reply at jboss.com Tue Jul 25 03:14:51 2006 From: do-not-reply at jboss.com (ephemeris-lappis) Date: Tue, 25 Jul 2006 03:14:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <17253990.1153811691775.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, again ! I've tried what you said, and it seems to work, except i have had to add two lines or three to register the created timer with the scheduler service. Now, i think this is not a perfect solution ! First, the process definition file doesn't show that a timer is associated with the task, and the business user needs to know about the java code to manage it. Next, the java code must explicitly use jpdl transition ids that might change in the process definition file with no possible crossed verification. I'm sure a way to configure dynamic timer directly from within the jpdl file should be a better solution, using some scripting form as i've suggested it before. I don't know if somebody could do something for that !... Thanks anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960595#3960595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960595 From do-not-reply at jboss.com Tue Jul 25 03:16:25 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 25 Jul 2006 03:16:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo Message-ID: <31933983.1153811785507.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Refer the link. http://wiki.jboss.org/wiki/Wiki.jsp?page=MavenBuildCreation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960596#3960596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960596 From do-not-reply at jboss.com Tue Jul 25 03:19:47 2006 From: do-not-reply at jboss.com (abl) Date: Tue, 25 Jul 2006 03:19:47 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <17792300.1153811987519.JavaMail.jboss@colo-br-02.atl.jboss.com> you have to define the join table yourselve as entity - something like: @Entity | public class PartnerToRate ... | { | int partnerId; | int rateOptionId | boolean default; | | ... | } and use "mappedBy" attribute. this way we defined all our ManyToMany relations cause it's more flexible and extensible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960597#3960597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960597 From do-not-reply at jboss.com Tue Jul 25 03:20:16 2006 From: do-not-reply at jboss.com (js8523) Date: Tue, 25 Jul 2006 03:20:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <27733639.1153812016721.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Gavin, I think that you missed yaun point, which is object level permission, like one user can edit one customer, but only view another customer. I was thinking a Entity Users_Role which you could then inherit (therefore extend the data model), and add custom properties (i.e. customer foreign key, or any other type of datamodel object). You could do the equiverlent of this to the Role Entity allowing people to custom design the priveledges a Role can have. You could then add a equiverlent to isUserInRole called hasPriveledge that checks the current principal has the priveledge. In answer to the original question, people have tried to use acegi with Seam with some success, please search this forum for previous posts. If you come up with any firm information you could post it on the Wiki. HTH, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960598#3960598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960598 From do-not-reply at jboss.com Tue Jul 25 03:31:28 2006 From: do-not-reply at jboss.com (vivek_koul) Date: Tue, 25 Jul 2006 03:31:28 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Connection handle has been closed and is unusable Message-ID: <20113704.1153812688948.JavaMail.jboss@colo-br-02.atl.jboss.com> hii im using jboss-4.0.1 im runnig some sql query in some method i have closed connections in the finally block but still i get this error on console 12:42:07,695 INFO [STDOUT] Exception in transactionjava.lang.NullPointerException 12:42:07,695 INFO [STDOUT] java.sql.SQLException: Connection handle has been closed and is unusable please help in this regard thank you in advance vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960599#3960599 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960599 From do-not-reply at jboss.com Tue Jul 25 03:32:43 2006 From: do-not-reply at jboss.com (mrwhite) Date: Tue, 25 Jul 2006 03:32:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <8971490.1153812763154.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok bfo81 lets see: My Entity Class: package org.jboss.seam.example.client; | | import javax.persistence.Entity; | | import org.hibernate.validator.Length; | import org.hibernate.validator.NotNull; | | @Entity | public class ClientPerson extends Client { | | private static final long serialVersionUID = 7829975195914473729L; | private String firstname; | private String lastname; | | @NotNull | @Length(min=2, max=5) | public String getFirstname() { | return firstname; | } | | public void setFirstname(String firstname) { | this.firstname = firstname; | } | | @NotNull | public String getLastname() { | return lastname; | } | | public void setLastname(String lastname) { | this.lastname = lastname; | } | | | | | | } | My Edit Action: package org.jboss.seam.example.client; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.hibernate.validator.Valid; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.RequestParameter; | import org.jboss.seam.annotations.Scope; | | @Stateful | @Name("clientPersonAction") | public class ClientPersonEditAction implements ClientPersonEdit{ | | @PersistenceContext | private EntityManager em; | | @RequestParameter() | private Long clientPersonId; | | @In(required=false) | @Out(scope=ScopeType.PAGE,required=false) | private ClientPerson newClientPerson; | | @Begin(join=true) | @Factory("newClientPerson") | public void createNewClientPerson() | { | if(clientPersonId != null) | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | newClientPerson = clientPersonDAO.getClientPersonById(clientPersonId); | System.out.println("createNewClientPerson:" + newClientPerson.getId()); | } | else | { | newClientPerson = new ClientPerson(); | } | } | | @End | public String saveClientPerson() { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | System.out.println("newClientPerson.getId():" + newClientPerson.getId()); | clientPersonDAO.merge(newClientPerson); | return "home"; | } | | @Destroy @Remove | public void detroy() | { | } | | @End | public String removeClientPerson() { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | clientPersonDAO.remove(newClientPerson); | return "home"; | } | | } | My DAO Class for the Entity: package org.jboss.seam.example.client; | | import java.util.List; | | import javax.persistence.EntityManager; | import javax.persistence.Query; | | public class ClientPersonDAO { | | private EntityManager entityManager; | | public ClientPersonDAO() | { | | } | | public ClientPersonDAO(EntityManager entityManager) | { | this.entityManager = entityManager; | } | | public EntityManager getEntityManager() { | return entityManager; | } | | public void setEntityManager(EntityManager entityManager) { | this.entityManager = entityManager; | } | | public void persist(Object obj) | { | getEntityManager().persist(obj); | } | | public void merge(Object obj) | { | getEntityManager().merge(obj); | } | | public List getAllClientPerson() { | return getEntityManager().createQuery("select c from ClientPerson c").getResultList(); | } | | public ClientPerson getClientPersonById(long id) { | Query q = getEntityManager().createQuery("select c from ClientPerson c where c.id = :id"); | q.setParameter("id", id); | return (ClientPerson) q.getSingleResult(); | } | | public void remove(ClientPerson clientPerson) { | getEntityManager().remove(clientPerson); | } | | } My Facelet page: | | | | | | | | | |

    Kundenverwaltung

    | | |
    | Vorname: |
    |
    | | |
    |
    | Nachname: |
    |
    | | |
    | | | | | |
    |
    | | | | | | | |
    | | | | | |
    | | | The ClientPerson service that provides the list: package org.jboss.seam.example.client; | | import java.util.List; | | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.hibernate.validator.Valid; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.RequestParameter; | | @Stateless | @Name("clientPersonService") | public class ClientPersonServiceImpl implements ClientPersonService { | | @PersistenceContext | private EntityManager em; | | public List getAllClientPerson() | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | return clientPersonDAO.getAllClientPerson(); | } | } | The List facelet page/component: |
    | |

    Kundenverwaltung

    | | | | #{clientPerson.firstname} #{clientPerson.lastname} - ID: #{clientPerson.id} | | | | | | |
    And thanks bfo81 for your time. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960600#3960600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960600 From do-not-reply at jboss.com Tue Jul 25 03:36:09 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 03:36:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Simple injection of SessionContext not working Message-ID: <20564458.1153812969612.JavaMail.jboss@colo-br-02.atl.jboss.com> I have just started with EJB3. Certainly, i am doing something wrong, because a simple injection is not working for me. I have StatelessSessionBean in which i am trying to inject the SessionContext. When i am trying to deploy the bean, server throws exceptions indicating a NullPointerException and subsequently the application is not deployed. Here's the code: | package org.myapp.ejb; | | import java.util.Random; | | import javax.annotation.Resource; | import javax.annotation.security.PermitAll; | import javax.annotation.security.RolesAllowed; | import javax.ejb.SessionContext; | import javax.ejb.Stateless; | import javax.jms.Queue; | | import org.jboss.annotation.security.SecurityDomain; | | @Stateless | @SecurityDomain("other") | public class TestEJB3 implements TestEJB3Interface { | | @Resource | SessionContext sessionContext; | | @PermitAll | public void print() { | System.out.println("Print Default: Hi"); | } | | @RolesAllowed({"Admin"}) | public String getDisplayValue() { | return "Hi, user: " + new Random().nextInt(); | } | | @RolesAllowed({"AnyUser"}) | public void print(String text) { | System.out.println("Print: " + text); | } | | | | } Here's the exception stacktrace when the application is being deployed: anonymous wrote : 12:52:11,816 INFO [EARDeployer] Init J2EE application: file:/D:/JBoss4.0.4GCA/jboss-4.0.4.GA/server/default/deploy/MyEJB3.ear/ | 12:52:12,160 INFO [Ejb3Deployment] EJB3 deployment time took: 188 | 12:52:12,270 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyEJB3.ear,jar=myapp_ejb.jar,name=TestEJB3,service=EJB3 with dependencies: | 12:52:12,691 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MyEJB3.ear,jar=myapp_ejb.jar,name=TestEJB3,service=EJB3 | java.lang.NullPointerException | at org.jboss.ejb3.injection.ResourceHandler.loadFieldInjectors(ResourceHandler.java:283) at org.jboss.ejb3.injection.ResourceHandler.loadInjectors(ResourceHandler.java:401) | at org.jboss.ejb3.injection.ResourceHandler.loadInjectors(ResourceHandler.java:381) | at org.jboss.ejb3.EJBContainer.resolveInjectors(EJBContainer.java:640) | at org.jboss.ejb3.EJBContainer.initializePool(EJBContainer.java:576) | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:507) | at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:82) | at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:80) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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 $Proxy56.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82) | at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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 $Proxy29.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | 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.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 $Proxy30.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor49.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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 12:52:13,457 INFO [EJB3Deployer] Deployed: file:/D:/JBoss4.0.4GCA/jboss-4.0.4.GA/server/default/deploy/MyEJB3.ear/myapp_ejb.jar/ | 12:52:13,473 INFO [TomcatDeployer] deploy, ctxPath=/myapp, warUrl=.../deploy/MyEJB3.ear/myapp_web.war/ | 12:52:13,770 INFO [EARDeployer] Started J2EE application: file:/D:/JBoss4.0.4GCA/jboss-4.0.4.GA/server/default/deploy/MyEJB3.ear/ | 12:52:13,785 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:ear=MyEJB3.ear,jar=myapp_ejb.jar,name=TestEJB3,service=EJB3 | State: FAILED | Reason: java.lang.NullPointerException | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.j2ee:ear=MyEJB3.ear,jar=myapp_ejb.jar,name=TestEJB3,service=EJB3 | State: FAILED | Reason: java.lang.NullPointerException I am using JBoss - 4.0.4 GCA. I followed the following steps after installing the server: 1) I downloaded jboss-EJB-3.0_RC8-FD 2) Copied ejb3-persistence.jar in server/default/lib 3) Copied ejb3-interceptors-aop.xml in server/default/deploy 4) ejb3.deployer in server/default/deploy Is there something else, i need to do to get injection working? Note that with the injection part commented out, everything works fine, the EJB gets deployed and i am able to invoke methods on the EJB. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960601#3960601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960601 From do-not-reply at jboss.com Tue Jul 25 03:41:41 2006 From: do-not-reply at jboss.com (Luntain) Date: Tue, 25 Jul 2006 03:41:41 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - ConstructorInvocation and ConstructionInvocation? Message-ID: <9528608.1153813301354.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a difference between the two? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960602#3960602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960602 From do-not-reply at jboss.com Tue Jul 25 03:45:42 2006 From: do-not-reply at jboss.com (ovidiucn) Date: Tue, 25 Jul 2006 03:45:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <20942626.1153813542849.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for being so quick. /***********************************/ /* local interface */ @Local public interface UserManagementLocal { public Collection getUsers (); } /***********************************/ /* business logic */ @Name("userManagement") @Stateless public class UserManagement implements UserManagementLocal { /* The login context created when a user previously logged-in. */ @In(value="loginContext", create=false, required=true) private LoginContext loginContext; @In (value="user", create=true, required=true) private User user; @In Context sessionContext; public Collection getUsers() { Collection users = new ArrayList (); /* user bean is null !!! */ /* sessionContext is null !!! */ /* the loginContext is null !!! */ System.out.println("user: " + user); System.out.println("sessionContext: " + sessionContext); System.out.println("loginContext: " + loginContext); try { SecurityDataService sds = SecurityDataServiceFactory.getService(loginContext.getSubject()); Set attributeNames = new HashSet(); users.addAll(sds.getAllUsers(attributeNames)); } catch (SSDataManagementException e) { e.printStackTrace(); users.clear(); } return users; } } /***********************************/ /* JBoss Seam configuration(s) */ org.jboss.seam.servlet.SeamListener org.jboss.seam.jsf.SeamPhaseListener true false emp/#{ejbName}/local Environment: JRE 1.5.0_06 JBOSS Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) - installed with JEMS & ejb3 configuration enabled JBoss Seam 1.0.1.GA MyFaces 1.1.3 Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960603#3960603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960603 From do-not-reply at jboss.com Tue Jul 25 03:49:40 2006 From: do-not-reply at jboss.com (nabieh) Date: Tue, 25 Jul 2006 03:49:40 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JVM Memory information Message-ID: <32224402.1153813780386.JavaMail.jboss@colo-br-02.atl.jboss.com> Dears, I have explored the JBoss Web-Console and found these information: JVM Environment Free Memory: 137 MB Max Memory: 988 MB Total Memory: 220 MB I am wondering what is the difference between these parameters, thanks in advance. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960604#3960604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960604 From do-not-reply at jboss.com Tue Jul 25 03:52:28 2006 From: do-not-reply at jboss.com (mrwhite) Date: Tue, 25 Jul 2006 03:52:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <27404658.1153813948534.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey you all, i solved my problem you were right bfo81. i had to use the conversation scope for my component and its member ( @Out(scope=ScopeType.CONVERSATION) | @Stateful | @Name("clientPersonAction") | @Scope(ScopeType.CONVERSATION) | public class ClientPersonEditAction implements ClientPersonEdit{ | | @PersistenceContext | private EntityManager em; | | @RequestParameter() | private Long clientPersonId; | | @In(required=false) | @Out(scope=ScopeType.CONVERSATION,required=false) | private ClientPerson newClientPerson; | | @Begin(join=true) | @Factory("newClientPerson") | public void createNewClientPerson() | { | if(clientPersonId != null) | { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | newClientPerson = clientPersonDAO.getClientPersonById(clientPersonId); | System.out.println("createNewClientPerson:" + newClientPerson.getId()); | } | else | { | newClientPerson = new ClientPerson(); | } | } | | @End | public String saveClientPerson() { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | System.out.println("newClientPerson.getId():" + newClientPerson.getId()); | clientPersonDAO.merge(newClientPerson); | return "home"; | } | | @Destroy @Remove | public void detroy() | { | } | | @End | public String removeClientPerson() { | ClientPersonDAO clientPersonDAO = new ClientPersonDAO(em); | clientPersonDAO.remove(newClientPerson); | return "home"; | } | | }anonymous wrote : | | | | | | Thats the problem when you come from other webframeworks. Everybody has their own name for scopes and ways to store information in the session. | | | | Its a little bit confusing that every entity, component and their members can have other scopes. | | | | thanks | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960605#3960605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960605 From do-not-reply at jboss.com Tue Jul 25 04:13:29 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 04:13:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: 3.2 Timeline? Message-ID: <31608682.1153815209631.JavaMail.jboss@colo-br-02.atl.jboss.com> Koen, Would it be an idea to add this to the roadmap in JIRA? I would do it for you if I could, but I can't View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960606#3960606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960606 From do-not-reply at jboss.com Tue Jul 25 04:17:55 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 04:17:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <8138709.1153815475635.JavaMail.jboss@colo-br-02.atl.jboss.com> hmmm.. anonymous wrote : and the business user needs to know about the java code to manage it Should they? Or should there be an action with a kind of 'uml comment' on it that there is a time created. IMO uml comments on transitions/actions etc would eliminate the need for additional nodes sometimes. Reagding creating things from the jpdl, sometimes it indeed handy, but the combination of actionhandlers (with visible comments) sometimes (often?) are a very flexible solution. I not saying it is the best solution here, but we should watch out for creating a to complex language View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960607#3960607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960607 From do-not-reply at jboss.com Tue Jul 25 04:20:24 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 04:20:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dispatch workflows/create an event handler loop? Message-ID: <13053895.1153815624093.JavaMail.jboss@colo-br-02.atl.jboss.com> jBPM has the commandExecutor which can do most of what you want (AFAIK). It can be either simple (db based) or JMS based. Look at the docs, examples and testcases View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960608#3960608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960608 From do-not-reply at jboss.com Tue Jul 25 04:24:14 2006 From: do-not-reply at jboss.com (fabiorusso) Date: Tue, 25 Jul 2006 04:24:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <1774057.1153815854671.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. Do I still maintain the old code "as is" and simply put the mappedBy in the new PartnerToRate entity? I'm sorry if the question is dumb but there is not much documentation yet on this topic :-/ and I am sort of a newbie to ejb3. So let me see if I understood this well: 1) I keep the ManyToMany mapping between Partner and OptionRate 2) I add the third entity representing the joinTable and put a mappedBy attribute somewhere in it... Right? Could you please provide a little code as an example of this? Thank you very, very much :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960610#3960610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960610 From do-not-reply at jboss.com Tue Jul 25 04:28:45 2006 From: do-not-reply at jboss.com (qbacomarch) Date: Tue, 25 Jul 2006 04:28:45 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size Message-ID: <13750174.1153816125044.JavaMail.jboss@colo-br-02.atl.jboss.com> Finally, I found a solution to this. The property to set in persistence.xml is "hibernate.jdbc.fetch_size". Thank You azhurakousky, You were very helpful to me :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960611#3960611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960611 From do-not-reply at jboss.com Tue Jul 25 04:40:33 2006 From: do-not-reply at jboss.com (martin.eichhorn@teec.com) Date: Tue, 25 Jul 2006 04:40:33 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: migration to 4.0.4 GA deployment problem --- MBeans wait Message-ID: <20076666.1153816833386.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm facing the same problem and wonder if you have solved it yet. Could anyone please say something about it? Is it a bug in the new JBoss release or am I forgetting something? Thanks in advance, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960612#3960612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960612 From do-not-reply at jboss.com Tue Jul 25 04:49:14 2006 From: do-not-reply at jboss.com (fady.matar) Date: Tue, 25 Jul 2006 04:49:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration Message-ID: <29833899.1153817354048.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to do the update manually, even the installer does not come bundled with the EJB_RC_8 release View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960613#3960613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960613 From do-not-reply at jboss.com Tue Jul 25 04:52:21 2006 From: do-not-reply at jboss.com (nabieh) Date: Tue, 25 Jul 2006 04:52:21 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - GC statistics/info Message-ID: <11520026.1153817541744.JavaMail.jboss@colo-br-02.atl.jboss.com> Dears, When the GC performs its processes, it has been all logged some where, do you know how can I get the GC or DGC process logs in order to know when those processes ran and how long is the gap between one and another. Thanks in advance. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960614#3960614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960614 From do-not-reply at jboss.com Tue Jul 25 04:59:56 2006 From: do-not-reply at jboss.com (ericmacau) Date: Tue, 25 Jul 2006 04:59:56 -0400 (EDT) Subject: [jboss-user] [JBossWS] - How to return an array of class ? Message-ID: <7925998.1153817996382.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, how can I return an array of object in web service? Please look at the following example, if I want to return a set of User, what SoapBinding should I use? If I use RPC, it seems not work. Please help? for example: | class User { | String name; | int age; | Date birth; | ... | ... | } | | | @WebService(name = "UserInterface", targetNamespace = "http://mytest.mywebservice.com", serviceName = "UserService ") | @SOAPBinding( ..... ) | @Stateless | @Remote(UserServiceRemote.class) | @RemoteBinding(jndiBinding = "UserServiceBean/remote") | public class UserService implements UserRemote { | public User[] getUsers() { | | ..... | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960615#3960615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960615 From do-not-reply at jboss.com Tue Jul 25 05:01:41 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 05:01:41 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: GC statistics/info Message-ID: <22504278.1153818101348.JavaMail.jboss@colo-br-02.atl.jboss.com> You will have to add the java option -Xloggc:filename to the run.bat. Something like: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:D:/log/myLogFile.log You will then see the GC logs in D:/log/myLogFile.log file View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960616#3960616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960616 From do-not-reply at jboss.com Tue Jul 25 05:02:00 2006 From: do-not-reply at jboss.com (vrsreenath@rediffmail.com) Date: Tue, 25 Jul 2006 05:02:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: org.xml.sax.SAXNotRecognizedException Message-ID: <15140568.1153818120087.JavaMail.jboss@colo-br-02.atl.jboss.com> This is because you might be using older version of xalan, xerces jars. Try to update the latest versions of these jars.I did not tried with this approach. My approch i s: create a folder in jrehome\lib folder with name "endorsed" and put the following jars in it. 1. xalan.jar 2. xercesImpl.jar 3. xml-apis.jar. It works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960617#3960617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960617 From do-not-reply at jboss.com Tue Jul 25 05:02:11 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Tue, 25 Jul 2006 05:02:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JBoss Seam 1.0.1 Migration Message-ID: <23510363.1153818131504.JavaMail.jboss@colo-br-02.atl.jboss.com> The JEMS installer *does* include EJB3 RC8 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960618#3960618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960618 From do-not-reply at jboss.com Tue Jul 25 05:06:02 2006 From: do-not-reply at jboss.com (ericmacau) Date: Tue, 25 Jul 2006 05:06:02 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Which version of JBossWS supports JAX-WS 2.0 ? Message-ID: <18682867.1153818362497.JavaMail.jboss@colo-br-02.atl.jboss.com> Which version of JBossWS supports JAX-WS 2.0 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960619#3960619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960619 From do-not-reply at jboss.com Tue Jul 25 05:06:29 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 05:06:29 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: GC statistics/info Message-ID: <32073896.1153818389101.JavaMail.jboss@colo-br-02.atl.jboss.com> Along with the -Xloggc:filename you might also want to add -XX:+PrintGCDetails to get the details of GC. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Xloggc:D:/log/myLogFile.log -XX:+PrintGCDetails View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960620#3960620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960620 From do-not-reply at jboss.com Tue Jul 25 05:07:25 2006 From: do-not-reply at jboss.com (CarstenRudat) Date: Tue, 25 Jul 2006 05:07:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problems with EJB-QL - not empty, OR Message-ID: <26439904.1153818445097.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I tried to find some entities where a relation (relation) is null or a specific attibute of a related entity is x: SELECT o FROM MyObject o WHERE (o.relation is empty) OR ((o.relation is not empty) AND (o.relation.attribute LIKE 'x')) But this doesn't work. Debug enabled, I see the SQL-Statement (MySQL) and I guess the paranthesis are wrong: select ... where ... not (exists (select ...)) or (exists (select ...)) and (...attribute like 'x')) I need paranthesis around the last two blocks, but I realy don't know how?! Any help, thank you! Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960621#3960621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960621 From do-not-reply at jboss.com Tue Jul 25 05:15:13 2006 From: do-not-reply at jboss.com (alf_dave) Date: Tue, 25 Jul 2006 05:15:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: 3.2 Timeline? Message-ID: <9811934.1153818913876.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the prompt responses. Given our timelines (heading for a 1.4 qa cycle in sept), I think it's best to stick with 3.1.2 for now. However, your plans for 3.2 sound ideal, allowing us to try early 3.2 drops on our 1.5 dev line. Initially, we're going to build JSF components (inbox, start process, task view ) that integrate with the rest of Alfresco's JSF based UI and look & feel. Over time, we'll introduce more workflow interaction within Alfresco. I'm not the JSF expert, but members of our team have now gained deep experience from developing the Alfresco UI (and DCTM's Webtop) of this type of technology. I'm sure we can help each other. Our WCM team will be introducing Chiba into our stack, so who knows, we may in the future use xforms for managing tasks etc. We're just taking it step-by-step for now :-) Regards, David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960622#3960622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960622 From do-not-reply at jboss.com Tue Jul 25 05:35:59 2006 From: do-not-reply at jboss.com (rlhr) Date: Tue, 25 Jul 2006 05:35:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Logging using component from different contexts Message-ID: <32046504.1153820159012.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using JBoss 4.0.4.GA + Seam 1.0.1.GA I try to log some debug information in a remote method of a SFSB. When I use: log.debug("***** The user name is : " + user.getName()); // [1] Everything is fine. When I use: log.debug("***** The user name is : #{user.name}"); // [2] I get a NullPointerException. I use this in some other places and it works fine. Looking again at the doc, I came to the conclusion that [2] works only if the seam components are in the same context (which is not the case here). If someone can confirm this, so I don't need to worry about something wrong in the code, that would be great. Thanks. Below is the code and stacktrace. @Stateful | @Name("test") | @Scope(ScopeType.EVENT) | public class TestAction implements Test { | | @In(create = true) | @Out(scope = ScopeType.SESSION) | private User user; | | public String doSomething() { | | if ((user.getName() == null) || (user.getName().equals(""))) { | log.debug("***** No user name"); | return ""; | } | log.debug("***** The user name is : #{user.name}"); // throws an exception | log.debug("***** The user name is : " + user.getName()); // works fine | return user.getName(); | } | | @Destroy | @Remove | public void destroy() { | } | } | | @Local | public interface Sites { | | @WebRemote | public String doSomething(); | | public void destroy(); | } | @Stateless | @Name("user") | @Scope(ScopeType.SESSION) | public class UserBean implements User { | | private String name = null; | | public UserBean() { | } | | public UserBean(String name) { | this.name = name; | } | | public String getName() { | return name; | } | | public void setName(String name) { | this.name = name; | } | } | | @Local | public interface User extends Serializable { | | public String getName(); | public void setName(String name); | } | | I get the following exception: 2006-07-25 11:16:34,000 WARN [org.jboss.seam.core.Interpolator] exception interpolating string: ***** The user name is : #{user.name} | java.lang.NullPointerException | at org.jboss.seam.core.Interpolator.interpolate(Interpolator.java:70) | at org.jboss.seam.log.LogImpl.interpolate(LogImpl.java:158) | at org.jboss.seam.log.LogImpl.debug(LogImpl.java:78) | at com.myapp.app.actions.header.TestAction.doSomething(TestAction.java:67) | 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.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:64) | at sun.reflect.GeneratedMethodAccessor342.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:21) | at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) | at sun.reflect.GeneratedMethodAccessor340.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:33) | at sun.reflect.GeneratedMethodAccessor339.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.GeneratedMethodAccessor337.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.GeneratedMethodAccessor336.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor326.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy386.getCurrentLocation(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:585) | at org.jboss.seam.remoting.Call.execute(Call.java:121) | at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:92) | at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:56) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2006-07-25 11:16:34,093 DEBUG [com.myapp.app.actions.header.TestAction] ***** The user name is : | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960623#3960623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960623 From do-not-reply at jboss.com Tue Jul 25 05:42:12 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Tue, 25 Jul 2006 05:42:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <22581359.1153820532793.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your efforts in developing best practices. I think it is important to polish it. 1. (small one) In cancel action you should specify immediate="true". If not you will not be able to cancel without posting data back. For instance, you do not need validation if you want to cancel ;-) 2. Page flows are extremely convenient and easy to use. It removes all "flow logic" from beans and from views also. You bean methods can be void (return nothing). And you page actions do not need method binding. Thus one view can be reused in different scenarios (page flows). By clicking SAVE, it just signals "save" and in different scenarios can be executed different methods. | | | You page flow logic can be visualized by the eclipse plug in. And changed separately from a bean and view. More over, you can change a page flows without restarting app and server :-) Somewhere on your debug page, just put such an action. public void reloadJBPM() { | Contexts.removeFromAllContexts("org.jboss.seam.core.jbpm"); | Component.newInstance("org.jboss.seam.core.jbpm"); | } | 3. For all conditional logic like a context validation, decision making, changing something in some cases, I suggest to consider to use the Drools (jBoss Rules). It fits perfectly to jBpm (thanks to Gavin). See Seam sample ?drools?. After including Drools, in my bean code there is no more "if" sentences :-) almost. 4. Look at facelets template capabilities, specially user defined tags (Tag Source Files). With this you can create a building bricks for views. Imaging that you have Person entity. public class Person implements Serializable { | private String fio; | private PassportType passType; | private String passNumber; | ......... | } | Tag file: .... | |
    |
    |
    FIO
    |
    | |
    |
    |
    |
    |
    Document
    |
    | | | |
    |
    |
    |
    |
    Document number
    |
    | |
    |
    |
    |
    |
    | .... | page code (*.xhtml) .... | | | ..... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960624#3960624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960624 From do-not-reply at jboss.com Tue Jul 25 06:02:31 2006 From: do-not-reply at jboss.com (petekol) Date: Tue, 25 Jul 2006 06:02:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <28189190.1153821751744.JavaMail.jboss@colo-br-02.atl.jboss.com> in ConversationInterceptor.endOrBeginLongRunningConversation getOutcomeForConversationId is called before beginConversationIfNecessary that is wrong because it calls updateCurrentConversationId on old conversation. so i shifted beginConversationIfNecessary(method, result); up and it works now. anyway, interesting conversation with myself...... -( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960626#3960626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960626 From do-not-reply at jboss.com Tue Jul 25 06:03:05 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 25 Jul 2006 06:03:05 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JVM Memory information Message-ID: <31566741.1153821785064.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, The Free Memory gives the details of free heap memory space, Max Memory gives the details of maximum allocated heap space and Total memory gives the details of total heap memory space. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960627#3960627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960627 From do-not-reply at jboss.com Tue Jul 25 06:13:39 2006 From: do-not-reply at jboss.com (emailmsgbox) Date: Tue, 25 Jul 2006 06:13:39 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Problem Running JBoss Cache within JBoss Application Server Message-ID: <32722608.1153822419157.JavaMail.jboss@colo-br-02.atl.jboss.com> So, I'm using JBoss 4.0.4 with JBoss cache 1.4 on JVM 1.5 I using the Address class from the tutorial. | | PojoCacheMBean myCache; | .... | Address address = new adddress() | myCache.putObject("123",address ); | | and the error is ..... anonymous wrote : | ... | jboss.cache.TreeCache] putObject(): exception occurred: java.lang.IllegalArgumentException: PojoCache.putObject(): Object type is neither aspectized nor Serializable nor an array of primitives. Object class name is com.test.data.Address | it looks like that the 1.5 annotation are ignored if I remove the annotation @org.jboss.cache.aop.annotation.PojoCacheable the error is the same ?! the cache 1.4 upgreade : I replaced jboss-cache.jar with jboss-cache-jdk50.jar and jboss-aop-jdk50.jar As I understand jboss-aop.xml is not needed Please , Any ideas ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960628#3960628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960628 From do-not-reply at jboss.com Tue Jul 25 06:18:18 2006 From: do-not-reply at jboss.com (pilhuhn) Date: Tue, 25 Jul 2006 06:18:18 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Is snmp v3 supported ? Message-ID: <7756889.1153822698503.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, it is about security - what I suspected. I guess that for the integration of a commercial product you should see the support of the manufacturer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960629#3960629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960629 From do-not-reply at jboss.com Tue Jul 25 06:35:16 2006 From: do-not-reply at jboss.com (bfo81) Date: Tue, 25 Jul 2006 06:35:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <27638976.1153823716405.JavaMail.jboss@colo-br-02.atl.jboss.com> You still don't need @Out(scope=ScopeType.CONVERSATION, required=false) This is sufficient: @Out(required=false) Why? The ClientPersonEditAction has already the Conversation Scope, and so its properties have that scope, too. You only have to write down a scope for a property explicitly if it differs from its class's scope. And yes: Seam's Scopes are powerful but not always easy to understand. Before developing web apps the easy way you have to learn it the hard way ;). PS: If you would have posted the xhtml containing "Kundenverwaltung" earlier, we could have made a phone call ;). It's really weird how many guys are talking English to each other here (and often having problems with it) though they could have it easier... in Thomas Heute's native language ;D. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960630#3960630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960630 From do-not-reply at jboss.com Tue Jul 25 06:56:48 2006 From: do-not-reply at jboss.com (NigelWhite) Date: Tue, 25 Jul 2006 06:56:48 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Accessing correct bean version if multiple EARs deployed. Message-ID: <26411346.1153825008181.JavaMail.jboss@colo-br-02.atl.jboss.com> I need to be able to look up the appropriate EJB for the EAR file in which I am running. For example, we'll probably deploy named EAR files like Aspicio1-2-0.ear which will result in our Session Beans having a JNDI name of Aspicio1-2-0/BeanClassName. Some customers will continue to use the previous Apicio1-1-11.ear. In my code, I'll need to use String earName = ""; // How? new InitialContext.lookup(earName + "/BeanClassName/local"); How can I set earName? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960633#3960633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960633 From do-not-reply at jboss.com Tue Jul 25 06:58:29 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 06:58:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Simple injection of SessionContext not working Message-ID: <1409868.1153825109751.JavaMail.jboss@colo-br-02.atl.jboss.com> Downloaded the source code of JBoss-4.0.4 GCA and after debugging found that the culprit was the following statement in ResourceHandler.java of JBoss: Line number: 283 if (!ref.type().equals(Object.class)) ref.type() returns null and the subsequent call to equals method throws a NullpointerException. Surprisingly, this is a very simple injection and i have seen this type of injection being used in the EJB3 Trail. I even tried moving the annotation to method level: @Resource | public void setSessionContext(SessionContext sessionCtx) { | System.out.println("Setting the session context: " + sessionCtx); | this.sessionContext = sessionCtx; | } Even in this case i get the NullPointerException. This time at: anonymous wrote : java.lang.NullPointerException | at org.jboss.ejb3.injection.ResourceHandler.loadMethodInjectors(ResourceHandler.java:183) The reason is the same as mentioned above, this time in the loadMethodInjectors method. Am i doing something wrong? Cant believe that this simple injection fails. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960634#3960634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960634 From do-not-reply at jboss.com Tue Jul 25 07:03:56 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 07:03:56 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <24933433.1153825436012.JavaMail.jboss@colo-br-02.atl.jboss.com> I havent thought whether there are any other ways of doing this, but the first thing that comes to my mind is passing the earName as an . You may bind the earName through the env-entry and later on lookup the same in your code: String earName = ctx.lookup("java:/comp/env/earName"); | ctx.lookup(earName + "BeanClassName/local"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960635#3960635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960635 From do-not-reply at jboss.com Tue Jul 25 07:07:03 2006 From: do-not-reply at jboss.com (abl) Date: Tue, 25 Jul 2006 07:07:03 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <9039096.1153825623676.JavaMail.jboss@colo-br-02.atl.jboss.com> no - you have to deal with your m:m entity. you will have something like (was misleading in first post - sorry): @Entity | class PartnerToRate | { | Partner partner; | ... | | @ManyToOne | Partner getPartner() | { | return partner; | } | ... | } and in Partner: @OneToMany( mappedBy="partner") | List getPartnerToRates() | { | return partnerToRates; | } of course you can add additional getter like: @Transient | List getPartners() | { | List ret = new Arraylist(); | for( PartnerToRate p2r : partnerToRates) | ret.add( p2r.getPartner()); | | return ret; | } ok? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960636#3960636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960636 From do-not-reply at jboss.com Tue Jul 25 07:12:57 2006 From: do-not-reply at jboss.com (javatwo) Date: Tue, 25 Jul 2006 07:12:57 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: deploy exploded war file, page not available Message-ID: <15677597.1153825977453.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. Solved. There is a jar file that needs to be downloaded separately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960638#3960638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960638 From do-not-reply at jboss.com Tue Jul 25 07:14:11 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 07:14:11 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size Message-ID: <11878536.1153826051480.JavaMail.jboss@colo-br-02.atl.jboss.com> Ahh. . . So it wasn't a "batch size", but a "fetch_size". Different property, but I am glad you found a way Oleg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960639#3960639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960639 From do-not-reply at jboss.com Tue Jul 25 07:21:17 2006 From: do-not-reply at jboss.com (shah_d_p) Date: Tue, 25 Jul 2006 07:21:17 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - javax.naming.NameNotFoundException: jdbc not bound in tusc.c Message-ID: <27080330.1153826477057.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have used Postgres as the database in the tusc tutorial. Though the ear gets deployed successfully when I run SessionClient it gives "javax.naming.NameNotFoundException: jdbc not Bound". The server log is as given below. Can you please help me out and also give me the link to refer to for furthur chapters (3 onwards) of tusc.com.au Thanks and Regards, Dhaval P Shah View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960640#3960640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960640 From do-not-reply at jboss.com Tue Jul 25 07:26:37 2006 From: do-not-reply at jboss.com (crni) Date: Tue, 25 Jul 2006 07:26:37 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4 Message-ID: <7611844.1153826797684.JavaMail.jboss@colo-br-02.atl.jboss.com> Or at least if somenoe could give us an estimate on the release date of IPC in portal 2.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960641#3960641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960641 From do-not-reply at jboss.com Tue Jul 25 07:26:44 2006 From: do-not-reply at jboss.com (fabiorusso) Date: Tue, 25 Jul 2006 07:26:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <875144.1153826804513.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok! Now it's clear! So I do m:jointable and jointable:m That's it then. So I can of course also map the OptionRates in the PartnerToRate with: | @ManyToOne | Partner getOptionRate() | { | return optionrate; | } | and in the OptionRate entity with: | @OneToMany( mappedBy="optionrate") | List getPartnerToRates() | { | return partnerToRates; | } | So from now on I know I can use the Many2Many only if I don't need to access any column in the join table and have to use the Many2One with a join entity in the middle otherwise. I will try this immediately. :-) Thank you very much!! Your code was very helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960642#3960642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960642 From do-not-reply at jboss.com Tue Jul 25 07:30:04 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 25 Jul 2006 07:30:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <23179492.1153827004428.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIK you can iterate using ui:repeat over a DataModel but @DataModelSelection definitely won't work (but probably better to just iterate over an outjected list?) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81781#3939903 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960643#3960643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960643 From do-not-reply at jboss.com Tue Jul 25 07:37:27 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 25 Jul 2006 07:37:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Need help with using ValueChangeEvent and SEAM Message-ID: <2936733.1153827447463.JavaMail.jboss@colo-br-02.atl.jboss.com> The 'value' of the selectOne is not a SelectItem but a String (unless a converter is supplied). You might want to look at one of the @SelectItems annotations that will create the SelectItem list for you (based on a list of Strings). @Stateless() | @Name("advancedSearch") | public class AdvancedSearchBean implements AdvancedSearchLocal { | | private String currentType; | | @Out | private List searchTypeList; | | @In | private FacesContext facesContext; | | @Factory("searchTypeList") | public void loadList() { | setSearchTypeList(new ArrayList()); | getSearchTypeList().add(new SelectItem("1","1")); | getSearchTypeList().add(new SelectItem("2","2")); | } | | public void typeSelected(ValueChangeEvent event) { | String value = (String) event.getNewValue(); | if ("1".equals(value)) { | currentType = getSearchTypeList().get(0); | } else if ("2".equals(value)) { | currentType = getSearchTypeList().get(1); | } | //Not sure if this line is needed, it work without it | facesContext.renderResponse(); | } | | public String getCurrentType() { | return currentType; | } | | public void setCurrentType(String currentType) { | this.currentType = currentType; | } | | public List getSearchTypeList() { | return searchTypeList; | } | | public void setSearchTypeList(List searchTypeList) { | this.searchTypeList = searchTypeList; | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960644#3960644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960644 From do-not-reply at jboss.com Tue Jul 25 07:39:13 2006 From: do-not-reply at jboss.com (rschlege) Date: Tue, 25 Jul 2006 07:39:13 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l Message-ID: <7505513.1153827553687.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a similar problem, but checking the JNDIView doesnt help because the bean is not there at all. To create the Bean I used the Netbeans GUI just to be sure that I dont miss anything, but it still doesn't seem to deploy the bean properly. I use JBoss 4.0.4 and Netbeans 5.5 Beta2. The server log doesn't show any errors. Thanks for any hints. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960645#3960645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960645 From do-not-reply at jboss.com Tue Jul 25 07:43:47 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 25 Jul 2006 07:43:47 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound in tu Message-ID: <27980513.1153827827187.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, anonymous wrote : javax.naming.NameNotFoundException: jdbc not Bound This may due to not setting the following parametes . In jboss-web.xml jdbc/jndi-name javax.sql.DataSource java:jndi-name In web.xml jdbc/jndi-name javax.sql.DataSource Container please post the complete stack trace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960646#3960646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960646 From do-not-reply at jboss.com Tue Jul 25 07:50:16 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 25 Jul 2006 07:50:16 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Which version of JBossWS supports JAX-WS 2.0 ? Message-ID: <11178865.1153828216296.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSSpecStatus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960647#3960647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960647 From do-not-reply at jboss.com Tue Jul 25 07:56:14 2006 From: do-not-reply at jboss.com (mrwhite) Date: Tue, 25 Jul 2006 07:56:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <1023343.1153828574206.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : PS: If you would have posted the xhtml containing "Kundenverwaltung" earlier, we could have made a phone call ;). It's really weird how many guys are talking English to each other here (and often having problems with it) though they could have it easier... in Thomas Heute's native language ;D. You?re right, but due to the situation that this is an english forum we have to write down everything in english to get support. Vielleicht k?nnte man ja mal eine deutsche Community-Seite gr?nden? anonymous wrote : This is sufficient: | @Out(required=false) I tested it. When i remove the scope=ScopeType.CONVERSATION the entity id gets lost between the validation and the next submit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960648#3960648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960648 From do-not-reply at jboss.com Tue Jul 25 08:06:43 2006 From: do-not-reply at jboss.com (nabieh) Date: Tue, 25 Jul 2006 08:06:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JVM Memory information Message-ID: <1620726.1153829203433.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : - Total memory gives the details of total heap memory space. | We have set the maximum heap size to 1 GB, I am asking why I have only 137 free? And what do you mean by "Details of Total space"? I am lost! Total of what? Let us refer to a simple case, when I have 100 space, and the current free space is 30, then the used space must be 70. Where is the case in our example of Heap Size details? Thanks in advance. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960649#3960649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960649 From do-not-reply at jboss.com Tue Jul 25 08:07:02 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Tue, 25 Jul 2006 08:07:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <24274242.1153829222509.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't get confused by my last name, i am *very* French. Angry, stubborn and such... ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960650#3960650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960650 From do-not-reply at jboss.com Tue Jul 25 08:10:04 2006 From: do-not-reply at jboss.com (nabieh) Date: Tue, 25 Jul 2006 08:10:04 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: GC statistics/info Message-ID: <7448713.1153829404385.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear Jaikiran, Your reply was so helpful, I really appreciate that. Thanks. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960651#3960651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960651 From do-not-reply at jboss.com Tue Jul 25 08:17:45 2006 From: do-not-reply at jboss.com (fali) Date: Tue, 25 Jul 2006 08:17:45 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Postgres 8.1.4 and CMP Error: CVE-2006-2313 Message-ID: <32079123.1153829865763.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've developed an application with JBoss AS 4.0.4 and CMP Entity Beans, and Postgres 8.1.0 as the datasource. This works well. Postgres recently released version 8.1.4 as a security update, documented in CVE-2006-2313 and CVE-2006-2314, which covers invalidly escaped UTF-8 data. We've since upgraded to Postgres 8.1.4 as a security measure. Since then, I've started picking up errors in queries generated by the JBOSS CMP engine under certain conditions, and all related to "Text" fields in the database. Enabling debug support in JBoss shows that the query itself is being generated correctly, an example of which is shown below: UPDATE scheduler SET status=?, response=? WHERE sched_id=? where status is a java.lang.Integer, and response and sched_id are java.lang.String's. However the query submitted to the database yields numerous exceptions stemming from a UTF-8 problem. I've included a stack trace at the end of this message. Data being inserted into this database is definately 7-bit ASCII data, which maps directly onto UTF-8 without any problems. My datasource has been explicitly configured to use the UTF-8 encoding, and I'm using the latest JDBC driver. I'm not sure exactly what the problem is, or where the problem lies, and I was hoping someone would be able to help out. I suspect that JBossAS is generating a string query that the new Postgres 8.1.4 is not happy with. If so, is there any way to alter the generated code. If not, then any and all other help/suggestions will be appreciated. Thanks fali Documentation for the Postgres problem may be found at: http://www.postgresql.org/docs/techdocs.50 The stack trace is: 3:23:26,420 DEBUG [SchedulerE] Executing SQL: UPDATE scheduler SET status=?, response=? WHERE sched_id=? 13:23:26,439 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract void beans.schedulerebean.interfaces.SchedulerE.saveResponse(java.util.Collection) throws java.rmi.RemoteException, causedBy: 13:23:26,446 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 13:23:26,448 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 13:23:26,448 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=faximt1.elabco.co.za/189, BranchQual=, localId=189] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.ejb.EJBException: Store failed) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:372) at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:361) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:520) at org.jboss.ejb.Container.invoke(Container.java:954) at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) at sun.rmi.transport.Transport$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Unknown Source) at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: javax.ejb.EJBException: Store failed at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:158) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.storeEntity(JDBCStoreManager.java:666) at org.jboss.ejb.plugins.CMPPersistenceManager.storeEntity(CMPPersistenceManager.java:428) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.storeEntity(CachedConnectionInterceptor.java:273) at org.jboss.ejb.EntityContainer.storeEntity(EntityContainer.java:749) at org.jboss.ejb.GlobalTxEntityMap$2.synchronize(GlobalTxEntityMap.java:149) at org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.synchronize(GlobalTxEntityMap.java:295) at org.jboss.ejb.GlobalTxEntityMap$GlobalTxSynchronization.beforeCompletion(GlobalTxEntityMap.java:345) at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1491) at org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1110) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:324) ... 28 more Caused by: org.postgresql.util.PSQLException: ERROR: invalid byte sequence for encoding "UTF8": 0x00 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1309) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:308) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:251) at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.execute(JDBCStoreEntityCommand.java:150) ... 38 more [/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960652#3960652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960652 From do-not-reply at jboss.com Tue Jul 25 08:21:12 2006 From: do-not-reply at jboss.com (r.marinho.gomes) Date: Tue, 25 Jul 2006 08:21:12 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <15906085.1153830072060.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey Galera!!! Try this: ... -- Ricardo Marinho Gomes r.marinho.gomes at gmail.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960653#3960653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960653 From do-not-reply at jboss.com Tue Jul 25 08:22:19 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Tue, 25 Jul 2006 08:22:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <22628706.1153830139545.JavaMail.jboss@colo-br-02.atl.jboss.com> Remove @Valid annotation. does not require this. Pure hibernate @Valid throws exception on invalid cases, that is not caught by the Seam. That is why you will always get an exception page on invalid data. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960654#3960654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960654 From do-not-reply at jboss.com Tue Jul 25 08:26:27 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Tue, 25 Jul 2006 08:26:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hibernate Validation / Page Scope --> allways new entity Message-ID: <4396183.1153830387506.JavaMail.jboss@colo-br-02.atl.jboss.com> Ops. I did not notice that was said already. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960655#3960655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960655 From do-not-reply at jboss.com Tue Jul 25 08:35:05 2006 From: do-not-reply at jboss.com (SchlauFuchs) Date: Tue, 25 Jul 2006 08:35:05 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <11922651.1153830905256.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I have a similar problem. I want to deploy a "service" or something which is automatically working after deployment in a timed fashion. An EJB isn't created before first request for it AFAIK. So I can't use the EJB to ask for a timer to execute an action. Or am I wrong? How should I do it? Ciao! SF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960656#3960656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960656 From do-not-reply at jboss.com Tue Jul 25 08:35:12 2006 From: do-not-reply at jboss.com (NigelWhite) Date: Tue, 25 Jul 2006 08:35:12 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <19567903.1153830912962.JavaMail.jboss@colo-br-02.atl.jboss.com> In which of the many XML config files would this element go, and what would the syntax be? (Thanks for helping BTW!) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960657#3960657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960657 From do-not-reply at jboss.com Tue Jul 25 08:43:17 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 25 Jul 2006 08:43:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <10550331.1153831397179.JavaMail.jboss@colo-br-02.atl.jboss.com> I know in 3.1.1 there was the JpdlXmlWriter class, though it is deprecated, and says "xml generation was never finished and will be removed in the future." If your process is simple it might work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960658#3960658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960658 From do-not-reply at jboss.com Tue Jul 25 08:43:48 2006 From: do-not-reply at jboss.com (NigelWhite) Date: Tue, 25 Jul 2006 08:43:48 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <345719.1153831428373.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah, just a thought. Each EAR would have to have its own env-entry. So they'd have tro be called different names, so we're back where we started. We need to be able to enquire of the container what EAR fiel we are executing out of. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960659#3960659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960659 From do-not-reply at jboss.com Tue Jul 25 08:45:02 2006 From: do-not-reply at jboss.com (CarstenRudat) Date: Tue, 25 Jul 2006 08:45:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problems with EJB-QL - not empty, OR Message-ID: <32839550.1153831502887.JavaMail.jboss@colo-br-02.atl.jboss.com> For everyone with the same problem (and the same less expirience as me ;-)): Selecting all entities and then using member of worked for me. Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960660#3960660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960660 From do-not-reply at jboss.com Tue Jul 25 08:47:32 2006 From: do-not-reply at jboss.com (jianame) Date: Tue, 25 Jul 2006 08:47:32 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: org.jboss.hibernate.jmx.Hibernate Message-ID: <26893479.1153831652356.JavaMail.jboss@colo-br-02.atl.jboss.com> Possibly. What do you suggest? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960662#3960662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960662 From do-not-reply at jboss.com Tue Jul 25 08:48:48 2006 From: do-not-reply at jboss.com (Haludun) Date: Tue, 25 Jul 2006 08:48:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - How to run Message-ID: <23943224.1153831728959.JavaMail.jboss@colo-br-02.atl.jboss.com> I am a very very new in this subject and if some?ne can help me I will be happy. I have a Jboss-4.0.4.GA up and running. I like to deploy a simple webservice I downloaded from a side http://www.informit.com/guides/content.asp?g=java&seqNum=163&rl=1 but I think the locations may be wrong so it is not working. Is there a simple document describing how to deploy simply. where following files and directories has to be: Age.java AgeServlet.java AgeService.wsdl config.xml mapping.xml web.xml webservices.xml classes (directory) WEB-INF(Directory) wsdl(directory) age.war(directory) I copied all the files from the site above. Bu its is not running. Help is very much appreciated. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960663#3960663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960663 From do-not-reply at jboss.com Tue Jul 25 08:51:40 2006 From: do-not-reply at jboss.com (Fush) Date: Tue, 25 Jul 2006 08:51:40 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Excessive logging to server.log Message-ID: <12637818.1153831901004.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! This may be a newbie question, but Hibernate keeps logging excessive amounts of data to my server.log. My log4j.xml is set to INFO for all entries, but hibernate still logs DEBUG to server.log. Where is this configured? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960664#3960664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960664 From do-not-reply at jboss.com Tue Jul 25 08:53:41 2006 From: do-not-reply at jboss.com (Jose Inacio Silva Junior) Date: Tue, 25 Jul 2006 08:53:41 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: SSO Configuration Message-ID: <1248090.1153832021651.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! Have you already implemented SSO with Jboss? There is few documentation about it. Could you help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960665#3960665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960665 From do-not-reply at jboss.com Tue Jul 25 08:53:48 2006 From: do-not-reply at jboss.com (alesj) Date: Tue, 25 Jul 2006 08:53:48 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: org.jboss.hibernate.jmx.Hibernate Message-ID: <2299781.1153832028527.JavaMail.jboss@colo-br-02.atl.jboss.com> Hibernate forum? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960666#3960666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960666 From do-not-reply at jboss.com Tue Jul 25 08:53:54 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 08:53:54 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <6183750.1153832034318.JavaMail.jboss@colo-br-02.atl.jboss.com> You can add it to the web.xml file. Here's an extract from the dtd of the web.xml: | | | | | | | | | | For more information, you can find the dtd at: http://java.sun.com/dtd/web-app_2_3.dtd So your entry will look like, in Apicio1-1-11.ear : | Name of my application ear | earName | Apicio1-1-11 | java.lang.String | And in Apicio1-2-0.ear it would be: | Name of my application ear | earName | Apicio1-2-0 | java.lang.String | You will have to change the value of this env-entry for each application ear, when you are deploying the application. Your code, however would remain the same: String earName = ctx.lookup("java:comp/env/earName"); | ctx.lookup(earName + "BeanClassName/local"); So for Apicio1-2-0.ear, the lookup of env-entry would return the value Apicio1-2-0 and for Apicio1-1-11.ear, it would return Apicio1-1-11 Try it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960667#3960667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960667 From do-not-reply at jboss.com Tue Jul 25 09:01:07 2006 From: do-not-reply at jboss.com (Jose Inacio Silva Junior) Date: Tue, 25 Jul 2006 09:01:07 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Jboss Single Sign-On Message-ID: <4975454.1153832467955.JavaMail.jboss@colo-br-02.atl.jboss.com> Please, how can I implement Single Sign-On with JBoss? Is there any documentation? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960668#3960668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960668 From do-not-reply at jboss.com Tue Jul 25 09:05:37 2006 From: do-not-reply at jboss.com (rgruet) Date: Tue, 25 Jul 2006 09:05:37 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Calling an EJB method from a servlet via its Local interface Message-ID: <30430722.1153832737659.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all Is it possible to call an EJB3 Stateless Session Bean method from a servlet via its Local interface ? I'm using the Tomcat embedded in JBoss 4.0.4, and it's not clear to me whether Tomcat and JBoss are in the same JVM (thus making the call theorically possible). I have no problem calling my EJB method via its Remote interface. I get the bean ref from JNDI without problem, but that's the actual call that fails with an IllegalArgumentException: Wrong target. class theBeanClass . I'm calling the method via the reflexion API: method.invoke(ejb, params) Any help would be greatly appreciated Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960669#3960669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960669 From do-not-reply at jboss.com Tue Jul 25 09:06:31 2006 From: do-not-reply at jboss.com (juan_pane) Date: Tue, 25 Jul 2006 09:06:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Searching CMS stored content... Message-ID: <3964782.1153832791510.JavaMail.jboss@colo-br-02.atl.jboss.com> Did anyone had this issue resolved?, I`m new to all this technology and I need some advice here... Many Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960670#3960670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960670 From do-not-reply at jboss.com Tue Jul 25 09:07:35 2006 From: do-not-reply at jboss.com (Jose Inacio Silva Junior) Date: Tue, 25 Jul 2006 09:07:35 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - LDAP, Groups and Roles Message-ID: <32772488.1153832855294.JavaMail.jboss@colo-br-02.atl.jboss.com> My ldap structure is configured using the following model: Users inside groups; Groups and even single users inside roles. Is there a way to configure this scenario using LdapExtLoginModule in login-config.xml? Must I develop a Custom LoginModule to implement this model? If so, is there any example or documentation? Thank you very much!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960671#3960671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960671 From do-not-reply at jboss.com Tue Jul 25 09:08:18 2006 From: do-not-reply at jboss.com (jianame) Date: Tue, 25 Jul 2006 09:08:18 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - org.jboss.hibernate.jmx.Hibernate Message-ID: <31617600.1153832898691.JavaMail.jboss@colo-br-02.atl.jboss.com> We are using the mbean (in the subject) to create the sessionFactory for Hibernate in JBoss. We cannot find where to specify the lobHandler property, which of couse, is a must if one uses Clob or Blob. I suspect that I was missing something obvious. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960672#3960672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960672 From do-not-reply at jboss.com Tue Jul 25 09:10:42 2006 From: do-not-reply at jboss.com (bfo81) Date: Tue, 25 Jul 2006 09:10:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Avoiding the DRY Principle with beans Message-ID: <27801323.1153833042038.JavaMail.jboss@colo-br-02.atl.jboss.com> 1) Yes, that's what I found out, too. Thanks ;). 4) Sounds good. At the end of each edit page I have something like anonymous wrote : | | It would be quite nice to have it like that: anonymous wrote : Even the list page could get more decorated, so that I only need to enter the columns shown. The surrounding dataTable-Tags, the "edit item" buttons, the "create new" button, and even the "No items found" or other messages shouldn't be typed in by the developer explicitly. Well, there's a lot of work to do for me. I already have a working list/edit example, but there are so many more ideas. Pagination on the list page is another thing I haven't built in yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960673#3960673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960673 From do-not-reply at jboss.com Tue Jul 25 09:11:37 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 09:11:37 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <21013709.1153833097104.JavaMail.jboss@colo-br-02.atl.jboss.com> Sometime back a similar question was asked. On searching the JBossAS JIRA, found this: http://jira.jboss.com/jira/browse/EJBTHREE-617 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960674#3960674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960674 From do-not-reply at jboss.com Tue Jul 25 09:19:23 2006 From: do-not-reply at jboss.com (gmournos) Date: Tue, 25 Jul 2006 09:19:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Bug in process designer Message-ID: <28826107.1153833563334.JavaMail.jboss@colo-br-02.atl.jboss.com> The following process taken from testcase Wfp05SimpleMergeTest does not open in the latest version of the process designer. Throws: java.lang.NullPointerException at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addTargetConnection(AbstractGraphicalEditPart.java:261) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refreshTargetConnections(AbstractGraphicalEditPart.java:657) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:556) at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212) at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198) at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:727) at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:554) at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212) at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198) at org.eclipse.gef.editparts.SimpleRootEditPart.setContents(SimpleRootEditPart.java:101) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:583) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:592) at org.jbpm.ui.editor.DesignerModelViewer.initContents(Unknown Source) at org.jbpm.ui.editor.DesignerModelViewer.createControl(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.addModelViewer(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.createPartControl(Unknown Source) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:183) 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:276) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:290) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:140) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:394) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1144) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960675#3960675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960675 From do-not-reply at jboss.com Tue Jul 25 09:22:51 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 09:22:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Jboss Single Sign-On Message-ID: <26377690.1153833771410.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960676#3960676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960676 From do-not-reply at jboss.com Tue Jul 25 09:25:27 2006 From: do-not-reply at jboss.com (gmournos) Date: Tue, 25 Jul 2006 09:25:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bug in process designer Message-ID: <6260455.1153833927829.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, the process definition is (I hope it gets it right in this post): | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960677#3960677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960677 From do-not-reply at jboss.com Tue Jul 25 09:28:18 2006 From: do-not-reply at jboss.com (Fush) Date: Tue, 25 Jul 2006 09:28:18 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Excessive logging to server.log Message-ID: <15545822.1153834098383.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I posted this over in the hibernate forums as well, but maybe it belongs here. My hibernate classes keep logging excessive amounts of data to my server.log. My log4j.xml is set to INFO on all entries, but the server.log still contains loads of DEBUG messages. We're talking more than 1 MB an hour, even if the container is "idle". Where is this debug level configured? I can't seem to find it... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960678#3960678 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960678 From do-not-reply at jboss.com Tue Jul 25 09:29:05 2006 From: do-not-reply at jboss.com (emailmsgbox) Date: Tue, 25 Jul 2006 09:29:05 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem Running JBoss Cache within JBoss Application Ser Message-ID: <11151096.1153834145629.JavaMail.jboss@colo-br-02.atl.jboss.com> I've been over the documents and got some bits and pieces if I want to have Load time and not precompiled instrumentation 1. In the jboss-aop-jdk50.deployer\META-INF\jboss-service.xml , set the EnableLoadtimeWeaving to true . 2. In the command line the following args -Djboss.aop.path=${output}/resources/jboss-aop.xml -javaagent:${lib-50}/jboss-aop-jdk50.jar but still no cigar ;( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960679#3960679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960679 From do-not-reply at jboss.com Tue Jul 25 09:29:15 2006 From: do-not-reply at jboss.com (NigelWhite) Date: Tue, 25 Jul 2006 09:29:15 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <17899548.1153834155977.JavaMail.jboss@colo-br-02.atl.jboss.com> Not quite the same. They were asking to snip any version information off so that you would just use Aspicio/BeanClassName/local. I want to *preserve* version information, and have multiple versions of the EJBs in the JNDI tree. It's just that inside the EAR, the code needs to know which is the appropriate one to look up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960680#3960680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960680 From do-not-reply at jboss.com Tue Jul 25 09:32:45 2006 From: do-not-reply at jboss.com (davidgeary) Date: Tue, 25 Jul 2006 09:32:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam? Message-ID: <15689899.1153834365906.JavaMail.jboss@colo-br-02.atl.jboss.com> Writing a Maven archetype involves writing two POMs, in addition to the layout and files that you want the archetype to generate. (btw, my comment about 10 minutes meant that you can learn to create an archetype in 10 mins. Ce n'est pas le meme chose, Thomas. 8-)) I think we need several archetypes, one for each environment, for example: JBoss/Hibernate Tomcat/EJB ... I won't have any time to work on this until next week. I'd like to put together a simple archetype that we could use as a starting point. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960682#3960682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960682 From do-not-reply at jboss.com Tue Jul 25 09:33:58 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 09:33:58 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <23992109.1153834438650.JavaMail.jboss@colo-br-02.atl.jboss.com> My understanding of http://jira.jboss.com/jira/browse/EJBTHREE-617 is that the user will be provided an option of configuring the name through some descriptor file like application.xml. The stripping of the version from the name might *just be an example*. I might be wrong, but this is what i understood out of it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960683#3960683 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960683 From do-not-reply at jboss.com Tue Jul 25 09:37:43 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 09:37:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Excessive logging to server.log Message-ID: <735157.1153834663387.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : My hibernate classes keep logging excessive amounts of data to my server.log Can you post a small sample from the server.log? anonymous wrote : My log4j.xml is set to INFO on all entries Are you referring to the log4j.xml present in the %JBOSS_HOME%/server/default/conf directory? If not, are you using your own log4j.xml file in your application? Also, post the contents of your log4j.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960684#3960684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960684 From do-not-reply at jboss.com Tue Jul 25 09:39:01 2006 From: do-not-reply at jboss.com (tonydg) Date: Tue, 25 Jul 2006 09:39:01 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: migration to 4.0.4 GA deployment problem --- MBeans wait Message-ID: <1612380.1153834741954.JavaMail.jboss@colo-br-02.atl.jboss.com> hello I have the same problem , on jBoss 4.0.4 sp1 everiting is working for me bit on 4.0.4GA not ! may there is some migrating howto in jboss site . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960685#3960685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960685 From do-not-reply at jboss.com Tue Jul 25 09:39:08 2006 From: do-not-reply at jboss.com (seanulyate) Date: Tue, 25 Jul 2006 09:39:08 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 and env-entry injection Message-ID: <10972888.1153834748892.JavaMail.jboss@colo-br-02.atl.jboss.com> I thought I was having a similar problem to Jeremy. In the end I found that it was my own fault. I had packaged my ejb-xml file in 'meta-inf' folder (lower case). I tried using upper case, 'META-INF', and it worked fine. It's quite a novice mistake to make but sure I'm not the only one who has made it so hopefully this post will benefit someone else. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960686#3960686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960686 From do-not-reply at jboss.com Tue Jul 25 09:47:45 2006 From: do-not-reply at jboss.com (gmournos) Date: Tue, 25 Jul 2006 09:47:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bug in process designer Message-ID: <32612231.1153835265113.JavaMail.jboss@colo-br-02.atl.jboss.com> Same exception is also thrown from the process of test case Wfp08MultiMergeTest View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960687#3960687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960687 From do-not-reply at jboss.com Tue Jul 25 09:48:50 2006 From: do-not-reply at jboss.com (kuzmiigo) Date: Tue, 25 Jul 2006 09:48:50 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <26330331.1153835330521.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I understand that disabling or flushing cache doesn't help. It helps when user logs in again, but doesn't help to update "Roles" group of the Subject on the fly (while user is still logged in). Nevertheless, is it possible to update user roles without need for user to log out? Best regards, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960688#3960688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960688 From do-not-reply at jboss.com Tue Jul 25 09:49:43 2006 From: do-not-reply at jboss.com (Fush) Date: Tue, 25 Jul 2006 09:49:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Excessive logging to server.log Message-ID: <31653644.1153835383760.JavaMail.jboss@colo-br-02.atl.jboss.com> "jaikiran" wrote : | Can you post a small sample from the server.log? Here's a small sample: | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Hydrating entity: [no.nsb.eos.domain.Regnskapsmaned#14] | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.DateType] returning '10 juli 2006' as column: FRADATO19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.DateType] returning '10 august 2006' as column: TILDATO19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.IntegerType] returning '1' as column: STATUS19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.IntegerType] returning null as column: STATUS5_19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.IntegerType] returning null as column: STATUS6_19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.DateType] returning '24 juli 2006' as column: RAPPORT7_19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.DateType] returning '24 juli 2006' as column: SALDERING8_19_ | 2006-07-24 15:24:54,306 DEBUG [org.hibernate.type.BooleanType] returning 'true' as column: AVSLUTTBAR19_ | 2006-07-24 15:24:54,307 DEBUG [org.hibernate.type.IntegerType] returning '30' as column: UKENUMMER19_ | 2006-07-24 15:24:54,307 DEBUG [org.hibernate.loader.Loader] done processing result set (1 rows) | 2006-07-24 15:24:54,307 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2006-07-24 15:24:54,307 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-24 15:24:54,307 DEBUG [org.hibernate.jdbc.AbstractBatcher] closing statement | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.loader.Loader] total objects hydrated: 1 | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [no.nsb.eos.domain.Regnskapsmaned#14] | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [no.nsb.eos.domain.Regnskapsmaned#14] | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] flushing session | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushing entities and processing referenced collections | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Processing unreferenced collections | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Scheduling collection removes/(re)creates/updates | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections | 2006-07-24 15:24:54,308 DEBUG [org.hibernate.pretty.Printer] listing entities: "jaikiran" wrote : Are you referring to the log4j.xml present in the %JBOSS_HOME%/server/default/conf directory?Yes, that's the one. It's rather big, more than 500 lines. But all categories are set to INFO or higher, like this: | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960689#3960689 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960689 From do-not-reply at jboss.com Tue Jul 25 09:56:31 2006 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 25 Jul 2006 09:56:31 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Excessive logging to server.log Message-ID: <18282366.1153835791905.JavaMail.jboss@colo-br-02.atl.jboss.com> | | | | You are using Hibernate-3.x. The package structure of Hibernate-3.x has changed. So your config file should look like: | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960690#3960690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960690 From do-not-reply at jboss.com Tue Jul 25 09:57:30 2006 From: do-not-reply at jboss.com (halversp) Date: Tue, 25 Jul 2006 09:57:30 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Security Lockdown Message-ID: <17778120.1153835850667.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to lock down our 2.4 portal server by removing all unneeded JBoss services and interfaces (RMI invokers, JMS stuff, tomcat AJP listeners, etc). Has anyone done this before? Is it documented anywhere what the minimal set of services JBP needs? If not, can someone identify which (if any) of the following standard JBoss services are needed by JBP? | * RMI/JRMP/HTTP invokers (port 4444) | * WebService access for remote classloading (8083) | * remote JNDI access (1098,1099) | * JBoss MQ | * JBoss WS | Does clustering have any additional service requirements? Thanks, Pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960691#3960691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960691 From do-not-reply at jboss.com Tue Jul 25 10:02:24 2006 From: do-not-reply at jboss.com (andydale) Date: Tue, 25 Jul 2006 10:02:24 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems with Postgres, Persistence, and large objects Message-ID: <11101034.1153836144956.JavaMail.jboss@colo-br-02.atl.jboss.com> We currently have an JBoss application that receives a byte stream and persists it with hibernate EntityManager and then reads it from the db for further parsing before saving it again. When using the default Hypersonic datasource hibernate manages it without any problems, but when trying to use PostgreSQL as the datasource we run into problems, with the reading/retrieval of the initially persisted object for further parsing. I have turned on all the logging in jboss for hibernate and the output is as so: 2006-07-25 14:42:40,615 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 11538313605 | 2006-07-25 14:42:40,616 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-25 14:42:40,616 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2006-07-25 14:42:40,622 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization | 2006-07-25 14:42:40,625 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2006-07-25 14:42:40,625 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Transaction already joined | 2006-07-25 14:42:40,632 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2006-07-25 14:42:40,632 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2006-07-25 14:42:40,632 DEBUG [org.hibernate.SQL] select nextval ('hibernate_sequence') | 2006-07-25 14:42:40,637 DEBUG [org.hibernate.id.SequenceGenerator] Sequence identifier generated: 1 | 2006-07-25 14:42:40,637 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-25 14:42:40,637 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection | 2006-07-25 14:42:40,637 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2006-07-25 14:42:40,637 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 1, using strategy: org.hibernate.id.SequenceGenerator | 2006-07-25 14:42:40,663 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades | 2006-07-25 14:42:40,664 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections | 2006-07-25 14:42:40,670 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects | 2006-07-25 14:42:40,670 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections | 2006-07-25 14:42:40,673 DEBUG [org.hibernate.pretty.Printer] listing entities: | 2006-07-25 14:42:40,675 DEBUG [org.hibernate.pretty.Printer] de.comsoft.cadas_ims.common.Messages.RawMessage{mID=1, mTli=null, mBuffer=81c4c1c1b0b0b8b3a0b0b5b0b9b4b68d8ac7c7a0ccd1d3c1d9ced9d8a0ccd1cdcfd9ced9d8a0ccd1d4dad9ced9d88d8ab0b5b0b9b4b6a0ccc9c9c1d9ced9d88d8a82a8c2b0b5b7b4afb0b3a0cecfd4c1cdce8d8ad1a9ccc9cdcdafd1cdd2ccc3afc9d6afcec2cfafc1afb0b0b0afb9b9b9afb4b5b4b0ceb0b0b9b4b2c5b0b0b18d8ac1a9ccc9cdc5a0c2a9b0b3b0b2b0b8b0b0b0b0a0c3a9b0b3b0b2b1b6b0b5b5b08d8ac4a9c6c5c2a0b0b8a0b0b0b0b1adb0b5b0b0a0b2b3b1b0adb0b5b5b0a0b1b4a0b2b3b5b0adb0b5b5b0a0c1cec4a0b1b6a0b0b0b5b0adb0b5b5b08d8ac5a9cdd3c7a0b0b1a0a0a0d2d7d9a0b1b1afb2b9a0c3ccd3c4a0c4d5c5a0d4cfa0d7c9d0a98d8a8b83, mChannel=AFTN, mReceptionDate=2006-07-25 14:42:40} | 2006-07-25 14:42:40,677 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2006-07-25 14:42:40,677 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2006-07-25 14:42:40,678 DEBUG [org.hibernate.SQL] /* insert de.comsoft.cadas_ims.common.Messages.RawMessage */ insert into TRAFFIC_TBL (TRANSMISSION_CHANNEL, RECEPTION_DATE, BUFFER, TLI, mID) values (?, ?, ?, ?, ?) | 2006-07-25 14:42:40,683 DEBUG [org.hibernate.jdbc.AbstractBatcher] Executing batch size: 1 | 2006-07-25 14:42:40,687 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-25 14:42:40,687 DEBUG [org.hibernate.jdbc.ConnectionManager] skipping aggressive-release due to flush cycle | 2006-07-25 14:42:40,688 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection | 2006-07-25 14:42:40,688 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2006-07-25 14:42:40,688 INFO [STDOUT] written to database with PK = 1 | 2006-07-25 14:42:40,688 INFO [STDOUT] waiting for 10 seconds... | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Size: 289 | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Version: 49 | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Type: 49 | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Id: 0000010ca5b57e9b0001 | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Data Size: 273 | 2006-07-25 14:42:50,437 DEBUG [de.comsoft.cadas.mep.MEPRequestHandler] Data received: 0000010ca5b57e9b0001 | 2006-07-25 14:42:50,437 INFO [STDOUT] Received message [19309576] @ 1153831370437 | 2006-07-25 14:42:50,693 INFO [STDOUT] done | 2006-07-25 14:42:50,695 INFO [STDOUT] JMS message ID = null | 2006-07-25 14:42:50,714 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades | 2006-07-25 14:42:50,714 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections | 2006-07-25 14:42:50,714 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 insertions, 0 updates, 0 deletions to 1 objects | 2006-07-25 14:42:50,714 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections | 2006-07-25 14:42:50,715 DEBUG [org.hibernate.pretty.Printer] listing entities: | 2006-07-25 14:42:50,715 DEBUG [org.hibernate.pretty.Printer] de.comsoft.cadas_ims.common.Messages.RawMessage{mID=1, mTli=null, mBuffer=81c4c1c1b0b0b8b3a0b0b5b0b9b4b68d8ac7c7a0ccd1d3c1d9ced9d8a0ccd1cdcfd9ced9d8a0ccd1d4dad9ced9d88d8ab0b5b0b9b4b6a0ccc9c9c1d9ced9d88d8a82a8c2b0b5b7b4afb0b3a0cecfd4c1cdce8d8ad1a9ccc9cdcdafd1cdd2ccc3afc9d6afcec2cfafc1afb0b0b0afb9b9b9afb4b5b4b0ceb0b0b9b4b2c5b0b0b18d8ac1a9ccc9cdc5a0c2a9b0b3b0b2b0b8b0b0b0b0a0c3a9b0b3b0b2b1b6b0b5b5b08d8ac4a9c6c5c2a0b0b8a0b0b0b0b1adb0b5b0b0a0b2b3b1b0adb0b5b5b0a0b1b4a0b2b3b5b0adb0b5b5b0a0c1cec4a0b1b6a0b0b0b5b0adb0b5b5b08d8ac5a9cdd3c7a0b0b1a0a0a0d2d7d9a0b1b1afb2b9a0c3ccd3c4a0c4d5c5a0d4cfa0d7c9d0a98d8a8b83, mChannel=AFTN, mReceptionDate=2006-07-25 14:42:40} | 2006-07-25 14:42:50,715 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection | 2006-07-25 14:42:50,719 INFO [STDOUT] | | mParser = de.comsoft.cadas_ims.Parser.MessageParserImpl at fb7ac7 | 2006-07-25 14:42:50,720 INFO [STDOUT] MessageHandler::onMessage begin @ 1153831370720 for message with ID ID:3-11538313706951 | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 11538313707 | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2006-07-25 14:42:50,720 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Transaction already joined | 2006-07-25 14:42:50,724 DEBUG [org.hibernate.loader.Loader] loading entity: [de.comsoft.cadas_ims.common.Messages.RawMessage#1] | 2006-07-25 14:42:50,728 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2006-07-25 14:42:50,728 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection | 2006-07-25 14:42:50,734 DEBUG [org.hibernate.SQL] /* load de.comsoft.cadas_ims.common.Messages.RawMessage */ select rawmessage0_.mID as mID0_0_, rawmessage0_.TRANSMISSION_CHANNEL as TRANSMIS2_0_0_, rawmessage0_.RECEPTION_DATE as RECEPTION3_0_0_, rawmessage0_.BUFFER as BUFFER0_0_, rawmessage0_.TLI as TLI0_0_ from TRAFFIC_TBL rawmessage0_ where rawmessage0_.mID=? | 2006-07-25 14:42:50,737 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2006-07-25 14:42:50,737 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2006-07-25 14:42:50,737 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-25 14:42:50,737 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection | 2006-07-25 14:42:50,737 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2006-07-25 14:42:50,740 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2006-07-25 14:42:50,740 DEBUG [org.hibernate.loader.Loader] done entity load | 2006-07-25 14:42:50,740 INFO [STDOUT] | | rm is null, pKey is 1 | 2006-07-25 14:42:50,740 INFO [STDOUT] MessageHandler::onMessage end @ 1153831370740 for message with ID ID:3-11538313706951 | 2006-07-25 14:42:50,747 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-25 14:42:50,748 DEBUG [org.jboss.ejb3.entity.ManagedEntityManagerFactory] ************** closing entity managersession ************** | 2006-07-25 14:42:50,748 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-25 14:42:50,784 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-25 14:42:50,784 DEBUG [org.jboss.ejb3.entity.ManagedEntityManagerFactory] ************** closing entity managersession ************** | 2006-07-25 14:42:50,784 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered The line "rm is null, pKey is 1" is a debug line. rm is the result of EntityManager.find() passing it the primary key (1 is the above case) of the already persisted object. I have a quick question about the hibernate logging, how do i display what the ? are in the perparedStatements ? Currently the application is behaving like it is trying to read (SELECT) the data after it has been persisted, but it is not there, I have veryfied it is with the pgAdmin application, I also enabled full trace logging on PostgreSQL itself, and i can't see where the problems is, as commits take place at the correct time in my opinion. My gut feeling is that this might have something to do with the fact that we are using the bytea datatype in postgres, and i know from personal experience that large objects can cause issues in postgres. Can anyone offer my any adive on how to solve this problem ?? Thanks in advance, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960692#3960692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960692 From do-not-reply at jboss.com Tue Jul 25 10:03:00 2006 From: do-not-reply at jboss.com (Fush) Date: Tue, 25 Jul 2006 10:03:00 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Excessive logging to server.log Message-ID: <27342131.1153836180286.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960693#3960693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960693 From do-not-reply at jboss.com Tue Jul 25 10:05:54 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 25 Jul 2006 10:05:54 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: MDB fails to deploy when placed in deploy-hasingleton Message-ID: <16020783.1153836354056.JavaMail.jboss@colo-br-02.atl.jboss.com> The DefaultDS isn't being deployed. You need to track down why that is the case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960695#3960695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960695 From do-not-reply at jboss.com Tue Jul 25 10:08:01 2006 From: do-not-reply at jboss.com (yuan_hang) Date: Tue, 25 Jul 2006 10:08:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <10991002.1153836481819.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks both of you for quick response, I think James got my point. I think I can add 'hasPriveledge' annotation to implement this function like James suggested and migrate some codes from Acegi (or do some customization to make it work with seam). But I want to make sure this is a good way to go and I am not re-inventing wheel as well. In addition, I did some search before opening this discuss, only found this one http://jboss.com/index.html?module=bb&op=viewtopic&t=81833. But seems no result came out in the end. I will appreciate if you can give me some pointers I missed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960696#3960696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960696 From do-not-reply at jboss.com Tue Jul 25 10:09:42 2006 From: do-not-reply at jboss.com (Haludun) Date: Tue, 25 Jul 2006 10:09:42 -0400 (EDT) Subject: [jboss-user] [JBossWS] - samples of jbossws Message-ID: <22700042.1153836582880.JavaMail.jboss@colo-br-02.atl.jboss.com> I would appreciate if somebody can tell me how to deploy jbossws-samples-1.0.1.GA to jboss-4.0.4.Ga application server regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960697#3960697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960697 From do-not-reply at jboss.com Tue Jul 25 10:15:28 2006 From: do-not-reply at jboss.com (rschlege) Date: Tue, 25 Jul 2006 10:15:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem in Deployment in JBoss 4.0.4 Message-ID: <6759397.1153836928499.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the exact same behaviour, not after migration but after creating classes using the Netbeans 5.5 Beta2 GUI for Persistence Entities and Facades. Did you already find a solution? Regards /R View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960698#3960698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960698 From do-not-reply at jboss.com Tue Jul 25 10:16:50 2006 From: do-not-reply at jboss.com (adik) Date: Tue, 25 Jul 2006 10:16:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: View the file itself Message-ID: <11988416.1153837010406.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Rali thanks for your answer but it seems that I'm not able to reach the file Even if I go to JBOSS_HOME/default\data\portal\cms folder i'm not seeing the files although in the portal I see the title of the file in the CMS Admin... Maybe It just the title and it's not actually upload it, or maybe it on the Oracle DB? Do you have any clue Don't know what to do.. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960699#3960699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960699 From do-not-reply at jboss.com Tue Jul 25 10:23:05 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 25 Jul 2006 10:23:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <4303956.1153837385751.JavaMail.jboss@colo-br-02.atl.jboss.com> I think that fact that your network card is directly hooked up to the DSL modem is the cause of the problem. Running the 'all' configuration assumes clustering, and I think that either the modem or your DSL provider doesn't like the network traffic generated by the clustering. Try putting a router between your PC and the DSL modem (which is a good idea anyway because most routers have a built-in firewall). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960701#3960701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960701 From do-not-reply at jboss.com Tue Jul 25 10:27:32 2006 From: do-not-reply at jboss.com (QPool.Char) Date: Tue, 25 Jul 2006 10:27:32 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WebService message security Message-ID: <11747030.1153837652860.JavaMail.jboss@colo-br-02.atl.jboss.com> hmm, isnt there anyone who knows if JBoss can handle message security? :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960702#3960702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960702 From do-not-reply at jboss.com Tue Jul 25 10:30:17 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Tue, 25 Jul 2006 10:30:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: View the file itself Message-ID: <12567939.1153837817846.JavaMail.jboss@colo-br-02.atl.jboss.com> You can't view the complete file on the FS. Once you upload a file, you can view it in the portal by going to http://localhost:8080/portal/content/path/to/file.txt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960703#3960703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960703 From do-not-reply at jboss.com Tue Jul 25 10:38:46 2006 From: do-not-reply at jboss.com (acxjbertr) Date: Tue, 25 Jul 2006 10:38:46 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WebService message security Message-ID: <7856955.1153838326258.JavaMail.jboss@colo-br-02.atl.jboss.com> This might help: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSSpecStatus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960704#3960704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960704 From do-not-reply at jboss.com Tue Jul 25 10:45:07 2006 From: do-not-reply at jboss.com (ngtdave) Date: Tue, 25 Jul 2006 10:45:07 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalAccessError initializing ehcache.CacheManager Message-ID: <23427308.1153838707255.JavaMail.jboss@colo-br-02.atl.jboss.com> Try upgrading to ehcache 1.2. http://jira.jboss.com/jira/browse/JBAS-3209 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960705#3960705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960705 From do-not-reply at jboss.com Tue Jul 25 10:45:43 2006 From: do-not-reply at jboss.com (Arnaud.SOYER) Date: Tue, 25 Jul 2006 10:45:43 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Get source code Message-ID: <27842737.1153838743289.JavaMail.jboss@colo-br-02.atl.jboss.com> Could anyone tell me how to get the source code and documentation related to the package org.jboss.ide.eclipse.packaging.core ? I need both as I want to perform an Eclipse like 'Run packaging' from command line. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960706#3960706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960706 From do-not-reply at jboss.com Tue Jul 25 10:47:40 2006 From: do-not-reply at jboss.com (dhartford) Date: Tue, 25 Jul 2006 10:47:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo Message-ID: <6389911.1153838860168.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also interested in this. The wiki with the referenced link in the wiki http://repository.jboss.com/maven2/ does not contain EJB3 embeddable resources. Will these resources be added? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960707#3960707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960707 From do-not-reply at jboss.com Tue Jul 25 10:50:58 2006 From: do-not-reply at jboss.com (dhartford) Date: Tue, 25 Jul 2006 10:50:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Audit Log implementation for EJB3 persistence Message-ID: <9126666.1153839058366.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also in standby, as I haven't found/developed a clean solution yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960708#3960708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960708 From do-not-reply at jboss.com Tue Jul 25 10:51:53 2006 From: do-not-reply at jboss.com (dhartford) Date: Tue, 25 Jul 2006 10:51:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 508 accessibility - what are the pieces? Message-ID: <6669894.1153839113561.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960709#3960709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960709 From do-not-reply at jboss.com Tue Jul 25 10:52:23 2006 From: do-not-reply at jboss.com (js8523) Date: Tue, 25 Jul 2006 10:52:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <1789316.1153839143429.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Yuan, Unfortuneatly I have not attempted acegi, and instead created my own security layer (using JACC and database authetication on some custom user, role, and user_role entities), but I have not been succesful in implimenting hasPriveledge yet! I followed the wiki items on JACC container security. THANKS TO THOSE GUYS. I believe from looking at CVS that Shane is specing out a Seam security layer , using a servlet filter, but this looks very work in progress. I don't know how far they have got or what scope there implementation will be (method level role, or user object level permissions). I hope they look into user object level permissions as this could be done quite elegantly with Entity inheritance. So I imagine if you have any valid learning points it would be useful to the Seam guys. Hope this helps, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960710#3960710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960710 From do-not-reply at jboss.com Tue Jul 25 10:52:59 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 25 Jul 2006 10:52:59 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Big problem!How to lookup a entitybean which only have l Message-ID: <21620659.1153839179143.JavaMail.jboss@colo-br-02.atl.jboss.com> If JNDIView does not show the bean, and there is nothing on the console output, then NetBeans did not deploy the bean properly. You should probably search the "JBoss and Netbeans" forum (http://www.jboss.com/index.html?module=bb&op=viewforum&f=234) to see if there is already a post about this, and if not, ask the question there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960711#3960711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960711 From do-not-reply at jboss.com Tue Jul 25 10:56:12 2006 From: do-not-reply at jboss.com (ShadenS) Date: Tue, 25 Jul 2006 10:56:12 -0400 (EDT) Subject: [jboss-user] [JBossWS] - [JAX-RPC] DII doesn't work. [Help] Message-ID: <30769939.1153839372976.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi JBoss Community, With the following WSDL, how is source code of a DII client? :_( http://slide.altervista.org/HelloBean.xml I've created many example but they don't work. Web service is deployed in JBoss 4.0.4 GA. ServiceEndpointAddress is http://notebook:8080/NewVersionAll/HelloBean?wsdl My last DII Client obtain this error: anonymous wrote : operation style: "rpc" not supported | at com.sun.xml.rpc.client.dii.BasicCall.unsupportedOperationStyleException(BasicCall.java:566) | at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:498) | at src.clients.DIIClient.main(DIIClient.java:55) | I've tried to change "rpc" with "document" but without success. Following client code: package src.clients; | | import java.net.URL; | | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceFactory; | import javax.xml.rpc.Call; | import javax.xml.rpc.JAXRPCException; | import javax.xml.namespace.QName; | import javax.xml.rpc.ParameterMode; | import javax.xml.rpc.encoding.XMLType; | | public class DIIClient { | | public static void main(String[] args) { | try { | // Create a service class with no WSDL information. You | // still must know something about the WSDL, however: the | // service's name. | QName serviceName = new QName( | "http://notebook:8080/NewVersionAll/HelloBean?wsdl", | "Risposta"); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(serviceName); | // Now create a dynamic Call object from this service. | // This call object is not yet associated with any | // operation. We'll do that below. | Call call = service.createCall(); | // Next, build up the information about the operation... | // The operation name | QName operationName = new QName("http://org.jboss.ws/samples/jsr181ejb","reply"); | call.setOperationName(operationName); | // The input parameter | call.addParameter( | "String_1", // parameter name | XMLType.XSD_STRING, // parameter XML type QName | String.class, // parameter Java type class | ParameterMode.IN); // parameter mode | // The return | call.setReturnType(XMLType.XSD_STRING); | // The operation is an RPC-style operation. | call.setProperty(Call.OPERATION_STYLE_PROPERTY,"rpc"); | | // The encoding style property value comes from the | // binding's operation's input clauses encodingStyle | // attribute. Note that, in this case, this call is not | // really necessary - the value we're setting this | // property to is the default. | /*call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, | "http://schemas.xmlsoap.org/soap/encoding/");*/ | // The target endpoint | call.setTargetEndpointAddress("http://notebook:8080/NewVersionAll/HelloBean"); | | String[] params = {"ABC"}; | String result = (String) call.invoke(params); | System.out.println(result); | } | catch (Throwable t) { | t.printStackTrace(); | } | /**try{ | String urlstr = "http://notebook:8080/NewVersionAll/HelloBean?wsdl"; | String argument = "Aaaah!"; | System.out.println("Contacting webservice at " + urlstr); | URL url = new URL(urlstr); | String ns = "http://org.jboss.ws/samples/jsr181ejb"; | QName qname = new QName(ns, "Risposta"); | QName port = new QName(ns, "EndpointInterface"); | QName operation = new QName(ns, "reply"); | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | | Call call = service.createCall(port, operation); | call.setProperty( | com.sun.xml.rpc.client.dii.CallPropertyConstants.CONTENT_NEGOTIATION_PROPERTY, | "pessimistic"); | System.out.println("hello.hello(" + argument + ")"); | System.out.println("output:" + call.invoke(new Object[] {argument})); | | }catch(Exception e){ | e.printStackTrace(); | }**/ | } | | } Thanks to everybody! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960712#3960712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960712 From do-not-reply at jboss.com Tue Jul 25 10:56:17 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 10:56:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expert needed ASAP Part Time Denver, CO or Dallas, Message-ID: <11759675.1153839377805.JavaMail.jboss@colo-br-02.atl.jboss.com> qqChuck, I sent the phone number, if you are still interested. I will be out Wednesday, but can get you another number if needed. I will actually be heading up to denver for vacation in a few weeks as well... So it would be possible to meet in either dallas or denver. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960713#3960713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960713 From do-not-reply at jboss.com Tue Jul 25 10:56:50 2006 From: do-not-reply at jboss.com (amitguz) Date: Tue, 25 Jul 2006 10:56:50 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: migration to 4.0.4 GA deployment problem --- MBeans wait Message-ID: <3428340.1153839410251.JavaMail.jboss@colo-br-02.atl.jboss.com> yes I finaly solved it. in the places I have this problem of mutual dependecny I remove the injection in one side and use lookup instead. | @Remote ({YY.class}) | public @Stateless class YYBean implements YY { | @PostConstruct | public void PostConstruct() { | Context c; | try { | c = new InitialContext(); | Object reference = (Object)c.lookup("ear/XXX/local"); | XXX xBean = (XXX)PortableRemoteObject.narrow(reference, XXX.class); | | } catch (Exception e) { | Logger.getLogger(this.getClass()).error("failed to XXX",e); | } | | | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960714#3960714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960714 From do-not-reply at jboss.com Tue Jul 25 10:58:54 2006 From: do-not-reply at jboss.com (desole) Date: Tue, 25 Jul 2006 10:58:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem with class loaders and isolation Message-ID: <9557651.1153839534599.JavaMail.jboss@colo-br-02.atl.jboss.com> I just downladed 4.0.4, and in an attempt to solve a problem with JSF that seems related to class loading I added a jboss-app.xml to my ear file that looks like this: | | | myear:loader=myear.ear | java2ParentDelegation=false | | | With this file I have a problem when I start JBoss. Jakarta commons logging is complaining because more than one version of the same class is visible. When I looked at my repository bean in the console I noticed that commons-logging.jar is actually present twice: once in my ear and once in server/default/lib. This is surprising, since my xml file should turn isolation on and prevent the classes loaded by the parent to be seen. Is there a way to solve this? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960715#3960715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960715 From do-not-reply at jboss.com Tue Jul 25 11:00:02 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 25 Jul 2006 11:00:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bug in process designer Message-ID: <30455307.1153839602032.JavaMail.jboss@colo-br-02.atl.jboss.com> It is due to the merge node. They really aren't supported yet (both in the GPD or the database). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960716#3960716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960716 From do-not-reply at jboss.com Tue Jul 25 11:00:16 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 25 Jul 2006 11:00:16 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Calling an EJB method from a servlet via its Local inter Message-ID: <12188636.1153839616029.JavaMail.jboss@colo-br-02.atl.jboss.com> Tomcat and the app server (actually, EJB container) are runnign in the same JVM so you can use the local interface. However, if you use the remote interface, JBoss is smart enough to know that the session bean is local and use a local connection anyway. I've never tried using the relfection API to make ejb method calls. I always either cast the ejb to the local interface, or use PortableRemoteObject.narrow for the remote interface, and then make the calls directly on the resulting proxy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960717#3960717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960717 From do-not-reply at jboss.com Tue Jul 25 11:02:19 2006 From: do-not-reply at jboss.com (Jose Inacio Silva Junior) Date: Tue, 25 Jul 2006 11:02:19 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Jboss Single Sign-On Message-ID: <18897538.1153839739842.JavaMail.jboss@colo-br-02.atl.jboss.com> I really appreciate your help! Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960718#3960718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960718 From do-not-reply at jboss.com Tue Jul 25 11:10:27 2006 From: do-not-reply at jboss.com (mjrother) Date: Tue, 25 Jul 2006 11:10:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Entity Lifecycle Method Message-ID: <17639087.1153840227714.JavaMail.jboss@colo-br-02.atl.jboss.com> I am attempting to intercept the removal of entity beans. In certain cases, I would like not delete the entity from the database. I have a column that marks if an object is deleted. SO I would intercept the @PreRemove and sent the entity is deleted property. How can I make the system update the entity instead of removing it? This is especially problematic when the entity is held in a collection by another entity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960719#3960719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960719 From do-not-reply at jboss.com Tue Jul 25 11:15:30 2006 From: do-not-reply at jboss.com (alex.pinkin@jboss.com) Date: Tue, 25 Jul 2006 11:15:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo Message-ID: <22789016.1153840530055.JavaMail.jboss@colo-br-02.atl.jboss.com> This might be helpful for you: JEMS Installer allows to install AS, EJB3, and JBoss Portal with no manual configuration work. http://labs.jboss.com/portal/jemsinstaller/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960720#3960720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960720 From do-not-reply at jboss.com Tue Jul 25 11:17:00 2006 From: do-not-reply at jboss.com (trulore) Date: Tue, 25 Jul 2006 11:17:00 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8 Message-ID: <5742708.1153840620125.JavaMail.jboss@colo-br-02.atl.jboss.com> Has there been any solution to this problem? I have run into as well using JBoss 4.0.3SP1 (and 4.0.4GA). In my Web Applications, I can login with English usernames and passwords just fine. But when I try to login with a Russian or Chineese username, the login always fails. >From the tracing I've done, it seems the username is getting converted to ISO-8859-1, and that's why it's failing. I've done all the "standard" things to make our pages UTF-8, and this does work on every page except the login page. Something about "j_security_check" is ignoring UTF-8 and forcing a conversion to "ISO-8859-1". Any thoughts? Pointers? Robert Pappas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960721#3960721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960721 From do-not-reply at jboss.com Tue Jul 25 11:17:45 2006 From: do-not-reply at jboss.com (macios) Date: Tue, 25 Jul 2006 11:17:45 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - dynamic create queue Message-ID: <32029064.1153840665479.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi It's possible to dymaic create queue in my code and than assign MDBean to it ? I don't konow how to get access to ServerPeer i my code. Thanks for any hints. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960722#3960722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960722 From do-not-reply at jboss.com Tue Jul 25 11:19:55 2006 From: do-not-reply at jboss.com (acxjbertr) Date: Tue, 25 Jul 2006 11:19:55 -0400 (EDT) Subject: [jboss-user] [JBossWS] - JBossWS 1.0.2 release early? Message-ID: <33344246.1153840795993.JavaMail.jboss@colo-br-02.atl.jboss.com> I noticed in the JIRA roadmap for JBossWS 1.0.2 that the only "issue" left is to release the binary. It appears that all other issues have been resolved. If this is true, can we expect the binary to be release early (i.e. before July 31)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960723#3960723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960723 From do-not-reply at jboss.com Tue Jul 25 11:25:27 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 11:25:27 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: 3.2 Timeline? Message-ID: <22294118.1153841127123.JavaMail.jboss@colo-br-02.atl.jboss.com> We are in a similar situation, but hopefully can hold out a few weeks to grab the 3.2 version, then we can start modifying from there out. So keep pushing forward :} James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960724#3960724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960724 From do-not-reply at jboss.com Tue Jul 25 11:27:09 2006 From: do-not-reply at jboss.com (mygol) Date: Tue, 25 Jul 2006 11:27:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Maven2 and Embeddable EJB3 Message-ID: <13960341.1153841229332.JavaMail.jboss@colo-br-02.atl.jboss.com> java.lang.RuntimeException: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.init()V at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391) at net.youngsoft.erp.test.EjbTest.setUp(EjbTest.java:20) 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.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.init()V at org.jboss.kernel.plugins.config.xml.JavaBeanSchemaInitializer.(JavaBeanSchemaInitializer.java:96) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.addSchemaInitializer(DefaultSchemaResolver.java:165) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:83) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:104) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:64) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:41) at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.(BeanXMLDeployer.java:53) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:377) ... 21 more i miss something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960725#3960725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960725 From do-not-reply at jboss.com Tue Jul 25 11:28:46 2006 From: do-not-reply at jboss.com (mculpepper@jboss.com) Date: Tue, 25 Jul 2006 11:28:46 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Get source code Message-ID: <27673967.1153841326940.JavaMail.jboss@colo-br-02.atl.jboss.com> Our packaging implementation outputs and utilizes an ant script called "packaging-build.xml" which should live in your project directory. You should be able to call this ant script manually like so: ant -f packaging-build.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960726#3960726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960726 From do-not-reply at jboss.com Tue Jul 25 11:29:19 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 11:29:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Selectively Showing Task Start Links Message-ID: <4578508.1153841359714.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We have created a number of test Task Process Definitions, but as we plan to deploy with a large amount of users, 500+, is there a simple way to control who is allowed to start which task... I have been looking around, but have not seen anything yet. Presumably this would use the identity groups. This way not everyone would be allowed to start every task. Or is this another improovement that would have to be made mostly on teh web app side. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960727#3960727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960727 From do-not-reply at jboss.com Tue Jul 25 11:30:23 2006 From: do-not-reply at jboss.com (kryptontri) Date: Tue, 25 Jul 2006 11:30:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <29549123.1153841423445.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry about the bad formatting and being lazy. I am tying to provide add/remove functionality through a page, where by there is a 1 to many relationship. If I now take the messages example and modify it to add messages (remove already exists) I cannot get this to work properly, can anyone point me in the right direction or to an example that does this ie managed relationships for objects? In the view - messages.jsp I added (I tried make it format nice, but for some mysterious reason it does not want to, i have previoued this severla times :-( ) anonymous wrote : | | | | | | Title: | | | | | | Text: | | | | | | | | | | | | | | For the MessageManager anonymous wrote : | @Local | public interface MessageManager | { | public void findMessages(); | public void select(); | public void delete(); | public void destroy(); | public void addMessage(); | } | For the MessageManagerBean anonymous wrote : | public class MessageManagerBean implements Serializable, MessageManager | { | | @DataModel | private List messageList; | | @DataModelSelection | @Out(required=false) | private Message selectedMessage; | | // --- Added ----- // | @In(required = false, create = true) | @Out(required=false) | private Message message; | | @PersistenceContext(type=EXTENDED) | private EntityManager em; | | @Factory("messageList") | public void findMessages() | { | messageList = em.createQuery("from Message msg order by msg.datetime desc").getResultList(); | } | | public void select() | { | selectedMessage.setRead(true); | } | | public void delete() | { | messageList.remove(selectedMessage); | em.remove(selectedMessage); | message=null; | } | | @Remove @Destroy | public void destroy() {} | | // --- Added ----- // | public void addMessage() { | message.setRead(false); | message.setDatetime(new Date()); | em.persist(message); | messageList.add(message); | //messageList = em.merge(messageList); | message = null; | } | | } | Do you see where I am going wrong ? As it stands I can add 1 message, but then I cannot add a second and the input box never gets cleared. I am after a clean example that adds/removes etc ? Any ideas ? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960728#3960728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960728 From do-not-reply at jboss.com Tue Jul 25 11:38:49 2006 From: do-not-reply at jboss.com (kryptontri) Date: Tue, 25 Jul 2006 11:38:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <21780666.1153841929262.JavaMail.jboss@colo-br-02.atl.jboss.com> I think I need to look at the issues example, which has something in there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960729#3960729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960729 From do-not-reply at jboss.com Tue Jul 25 11:39:38 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 11:39:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <9635265.1153841978411.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem. I haven't modified anything - I just followed the "Getting Started with JBoss Seam" instructions. The example applications seem to load okay, but when I try to submit any page (register a new user, for example), I get the error mentioned above. I'm using JDK 1.5.0_07 and JBoss 4.0.4 (GA) with EJB3 enabled. According to my logs, the error above was caused (on my system) by this: Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:128) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) ... 45 more Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod) 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) ... 52 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960730#3960730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960730 From do-not-reply at jboss.com Tue Jul 25 11:46:16 2006 From: do-not-reply at jboss.com (petemuir) Date: Tue, 25 Jul 2006 11:46:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <304311.1153842376654.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you sure you used the JEMS Installer as linked from http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html to install JBoss (or updated to EJB3RC8)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960731#3960731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960731 From do-not-reply at jboss.com Tue Jul 25 11:46:59 2006 From: do-not-reply at jboss.com (the_dude) Date: Tue, 25 Jul 2006 11:46:59 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Handling process definitions Message-ID: <10802733.1153842419980.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am writing an admin application, where the user is able to deploy new process definitions (from file system) and gets a view of the currently deployed process definitions. For the deployed definitions I would like to show the process image + definition / xml. The picture is inside the database, no prob, but I can't find the process definition. Is this information lost the minute a definition is deployed to the database or is there a way to retrieve it? Thanks, the_dude View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960732#3960732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960732 From do-not-reply at jboss.com Tue Jul 25 11:47:11 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 11:47:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <6331712.1153842431889.JavaMail.jboss@colo-br-02.atl.jboss.com> Now please post it all again, but with code tags. What is in ejb-jar.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960733#3960733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960733 From do-not-reply at jboss.com Tue Jul 25 11:49:27 2006 From: do-not-reply at jboss.com (RayDeCampo) Date: Tue, 25 Jul 2006 11:49:27 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Browsing the JNDI ENC of a web application Message-ID: <33468691.1153842567609.JavaMail.jboss@colo-br-02.atl.jboss.com> I understand how to use the JNDIView MBean via the jmx-console to browse the global JNDI and the ENC contexts of EJBs. How can one browse the ENC contexts (i.e. java:comp namespace) of web applications? I have tried searching the web, the wiki and these forums without any luck. Thanks, Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960734#3960734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960734 From do-not-reply at jboss.com Tue Jul 25 11:55:14 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 11:55:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Logging using component from different contexts Message-ID: <12150186.1153842914381.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently we don't have a way to execute EL outside the context of a JSF invocation. This is a big limitation, and one we need to get fixed. Since this is a Seam Remoting call, there is no JSF-EL available. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960735#3960735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960735 From do-not-reply at jboss.com Tue Jul 25 11:55:25 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 25 Jul 2006 11:55:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <23236516.1153842925945.JavaMail.jboss@colo-br-02.atl.jboss.com> Alex, Are you sure this is the only thing to do? I am struggling with the same issue here and it does not go away by replacing the namespace.jar... Asaksena, did this work for you? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960736#3960736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960736 From do-not-reply at jboss.com Tue Jul 25 11:57:33 2006 From: do-not-reply at jboss.com (Arnaud.SOYER) Date: Tue, 25 Jul 2006 11:57:33 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: Get source code Message-ID: <11382366.1153843053089.JavaMail.jboss@colo-br-02.atl.jboss.com> Works perfectly. Really good support. Thanks a lot ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960737#3960737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960737 From do-not-reply at jboss.com Tue Jul 25 11:57:37 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 11:57:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <33064005.1153843057712.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah, good point, I had JBoss 4.0.4 already with EJB3 enabled, so I didn't use that installer. Does that have some functionality that 4.0.4 GA doesn't provide? Is this 4.0.4-A? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960738#3960738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960738 From do-not-reply at jboss.com Tue Jul 25 11:57:55 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 11:57:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <23136387.1153843075448.JavaMail.jboss@colo-br-02.atl.jboss.com> It is almost always wrong to use a constant conversation id in @Begin. Have you actually properly understood the use of id in @Begin? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960739#3960739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960739 From do-not-reply at jboss.com Tue Jul 25 11:58:02 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 25 Jul 2006 11:58:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <28378597.1153843082477.JavaMail.jboss@colo-br-02.atl.jboss.com> How are you deploying the definition? Are you retreiving the process definition from the".par" file? Here is what you can do: ZipInputStream zipStream = new ZipInputStream(new FileInputStream(new File())); | ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zipStream); | jbpmContext.deployProcessDefinition(processDefinition); | The default jbpm web app already has that functionality (look at the "monitoring" menu of web app). Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960740#3960740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960740 From do-not-reply at jboss.com Tue Jul 25 12:00:04 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 25 Jul 2006 12:00:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <17248656.1153843204980.JavaMail.jboss@colo-br-02.atl.jboss.com> If you are not sure that the definition is persisted to the database, try loading it using graph session: ProcessDefinition processDefinition = graphSession.loadProcessDefinition(processDefinitionId); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960741#3960741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960741 From do-not-reply at jboss.com Tue Jul 25 12:00:33 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 12:00:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Selectively Showing Task Start Links Message-ID: <32468139.1153843233588.JavaMail.jboss@colo-br-02.atl.jboss.com> James, This is one of the things not supported yet by jbpm. JSF has options to selectivly show things or not, but you've got to get the information from somewhere else. Since we do not use the jbpm default webapp (we use a slightly customized version PER application) we can easily just show the one process the user is allowed to start if he is in the right application role. So currently yes, on the webapp side View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960742#3960742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960742 From do-not-reply at jboss.com Tue Jul 25 12:00:48 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 12:00:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <20033941.1153843248793.JavaMail.jboss@colo-br-02.atl.jboss.com> It has EJB3 RC8. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960743#3960743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960743 From do-not-reply at jboss.com Tue Jul 25 12:03:50 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 12:03:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <8360606.1153843430818.JavaMail.jboss@colo-br-02.atl.jboss.com> Worked like a charm! Sorry, I should know to RTFM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960744#3960744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960744 From do-not-reply at jboss.com Tue Jul 25 12:04:32 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 12:04:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <21149896.1153843472729.JavaMail.jboss@colo-br-02.atl.jboss.com> Chris, That was for the processDefinition, not a processInstance with all its log information etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960745#3960745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960745 From do-not-reply at jboss.com Tue Jul 25 12:06:29 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 12:06:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <31847252.1153843589645.JavaMail.jboss@colo-br-02.atl.jboss.com> Additional info: This JpdlXmlWriter was made obsolete because the process was stored in the db as full text. So you can retrieve it like the processImage or so. The advantage of this is that you can turn off validation of the process in the server and add custom info to the process!!! This should (imo) be solved in a better way in the future but it can be handy as it is is now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960746#3960746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960746 From do-not-reply at jboss.com Tue Jul 25 12:11:02 2006 From: do-not-reply at jboss.com (cpob) Date: Tue, 25 Jul 2006 12:11:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <1874874.1153843862039.JavaMail.jboss@colo-br-02.atl.jboss.com> Oops, sorry, I didn't read instance, i just saw process and my mind took control there :) Yeah, we wish the JpdlXmlWriter (or something similar) was implemented, because we are programmatically modifying our process definitions before we deploy it. It'd be nice to get a new xml back which reflects all our changes :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960747#3960747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960747 From do-not-reply at jboss.com Tue Jul 25 12:15:04 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 12:15:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Process instance export & import Message-ID: <23457541.1153844104638.JavaMail.jboss@colo-br-02.atl.jboss.com> James, Why not simple create an xmlbeans representation of the xsd and use that before deploying. Then you have the option to get string xml back. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960748#3960748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960748 From do-not-reply at jboss.com Tue Jul 25 12:16:11 2006 From: do-not-reply at jboss.com (dlipski) Date: Tue, 25 Jul 2006 12:16:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Task parameters Message-ID: <21488080.1153844171802.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Is it possible to define in process definition file some parameters for tasks? I'm asking because i have few very similar tasks and i would like to use one task in many task nodes but i have to 'configure' it. If it is possible how to read these parameters by jBPM API ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960749#3960749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960749 From do-not-reply at jboss.com Tue Jul 25 12:24:08 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 25 Jul 2006 12:24:08 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Does clustering require traffic over 1098 as well as 118 Message-ID: <21545834.1153844648846.JavaMail.jboss@colo-br-02.atl.jboss.com> A support case for this issue has been opened, so the discussion is continuing there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960750#3960750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960750 From do-not-reply at jboss.com Tue Jul 25 12:27:40 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Tue, 25 Jul 2006 12:27:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <12614017.1153844860480.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey Koen, I just reorganized the BPEL project structure and noticed the actual QName class used by JBoss comes from lib/endorsed/xml-apis.jar. Section 4.1.4 of the manual guides you through replacing the default implementations of the XML APIs. However, the JDK 1.5 subsection says that only the TrAX implementation has issues. This is true, except for the binary incompatibility above. To solve the incompatibility, add the following entry to the process deployment template: | ... | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960751#3960751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960751 From do-not-reply at jboss.com Tue Jul 25 12:30:00 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Tue, 25 Jul 2006 12:30:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <21957831.1153845000133.JavaMail.jboss@colo-br-02.atl.jboss.com> I will change the manual to say both the JAXP and TrAX implementations have to be replaced. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960752#3960752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960752 From do-not-reply at jboss.com Tue Jul 25 12:40:01 2006 From: do-not-reply at jboss.com (the_dude) Date: Tue, 25 Jul 2006 12:40:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <16986605.1153845601688.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the quick reply. You are describing the deployment of a process definition. What I was looking for is how to retrieve the xml of an already deployed process definition (from the database). I haven't used the default web app for some time - however I doubt they show you the plain xml there. Why I want to deliver this functionality: Normally, you are making some minor changes to your process, e.g. changing timer setting or expressions. These changes are not shown in a process image. In order to document the progress of your process definition I thought it might be a good idea to show the xml file to the user, which contains all necessary definition information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960754#3960754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960754 From do-not-reply at jboss.com Tue Jul 25 12:41:57 2006 From: do-not-reply at jboss.com (newbie007) Date: Tue, 25 Jul 2006 12:41:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <29367738.1153845717198.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess that is possible using the variables. When you configure your task (by adding actions, swimlane etc in JPD), you can specify the variables using the "Controller" menu. These variables can be retrived using the API: taskInstance.getTask().getTaskController().getVariableAccesses() Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960755#3960755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960755 From do-not-reply at jboss.com Tue Jul 25 12:47:45 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 25 Jul 2006 12:47:45 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Browsing the JNDI ENC of a web application Message-ID: <23574671.1153846065160.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think that is possible. I think that each ENC is local, and private, to the application. For this reason, I always include a simple jsp in my application that I can use to get at the application's ENC. The jsp is posted at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=83213 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960756#3960756 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960756 From do-not-reply at jboss.com Tue Jul 25 12:54:24 2006 From: do-not-reply at jboss.com (saravanag) Date: Tue, 25 Jul 2006 12:54:24 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple Instance of JBoss Message-ID: <23644946.1153846464425.JavaMail.jboss@colo-br-02.atl.jboss.com> In the link u mentioned that "Other option to run the multiple instances of JBoss is done by using two different configurations with different port numbers for each service. " Can u give one example of which conf files to change and how to give different port number for each services. Thanks in Advance Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960758#3960758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960758 From do-not-reply at jboss.com Tue Jul 25 13:05:43 2006 From: do-not-reply at jboss.com (jkoek) Date: Tue, 25 Jul 2006 13:05:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Dynamic creating portals Message-ID: <20244876.1153847143129.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello guys, In my task to create user specific portals, I have another question. At this moment I'm able to; change a page, create a page dynamic using a portlet or a servlet. But Let's say I have template that contains a portal root and pages. The portal root is defined by a macro, so I can replace it. When a new user logs on, I want to kick in the template in case the user is new. Based on the entered criteria I can determine what kind of portal the user should get. The template contains a regular defined portal (such as *-object.xml) Within the template all user constrains (read roles) are defined. So I need to read in the xml file, parse the template and then call the J2EE deployment/portal XML translator to generate the portal for me. What is the best approach to hook in and reuse some existing functionality of the JBoss portal? When the template principle is supported the login can be used to create user (pre)defined portals. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960759#3960759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960759 From do-not-reply at jboss.com Tue Jul 25 13:12:20 2006 From: do-not-reply at jboss.com (gurkanerdogdu) Date: Tue, 25 Jul 2006 13:12:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - JSF 1.2 Implementation Message-ID: <1276432.1153847540105.JavaMail.jboss@colo-br-02.atl.jboss.com> To Seam stuffs; JBoss Seam uses MyFaces that is implementation of the JSF 1.1 from the Apache with apache related licence. Is there any plan to implement JSF 1.2 as LPGL that own by the JBoss? Thanks for advance; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960760#3960760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960760 From do-not-reply at jboss.com Tue Jul 25 13:15:39 2006 From: do-not-reply at jboss.com (llowrey0) Date: Tue, 25 Jul 2006 13:15:39 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: POJO Mutations Message-ID: <2332572.1153847739407.JavaMail.jboss@colo-br-02.atl.jboss.com> Consider two scenarios. First: (i) Class A has member 'int state' where 'state' is set using a set of 'final static int' constants. (ii) Now, A gets altered so that 'state' is now an instance of an enum 'STATE {...}'. A node with class version (i) adds an instance of A into the PojoCache. What happens when a node with version (ii) tries to retrieve that same instance of A? Or, similarly, what happens when the CacheLoader tries to read a version (i) object when it has only the version (ii) class in its ClassLoader? Second: (i) Class B extends A Say we need to change the structure so that we introduce a new class, C, so that... (ii) Class B extends C extends A If I have a serialized instance of (i) and try to deserialize with an instance of (ii) I'm going to have some heartburn. Granted, PojoCache is not (de)serializing, but I don't understand the logic well enough to understand how it will treat this case. Basically, as classes evolve over time, how does PojoCache handle the adding, deleting, and retyping of member fields? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960761#3960761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960761 From do-not-reply at jboss.com Tue Jul 25 13:17:42 2006 From: do-not-reply at jboss.com (kryptontri) Date: Tue, 25 Jul 2006 13:17:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <9187327.1153847862851.JavaMail.jboss@colo-br-02.atl.jboss.com> I looked at the issue example, its a bit more complex and i can't find the simple example i am looking for. Can anyone post any example code if they have done something simple like this pls ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960762#3960762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960762 From do-not-reply at jboss.com Tue Jul 25 13:19:59 2006 From: do-not-reply at jboss.com (ShadenS) Date: Tue, 25 Jul 2006 13:19:59 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: [JAX-RPC] DII doesn't work. [Help] Message-ID: <28949478.1153847999015.JavaMail.jboss@colo-br-02.atl.jboss.com> Other my client obtain following exception: unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual= ect etc :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960763#3960763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960763 From do-not-reply at jboss.com Tue Jul 25 13:20:35 2006 From: do-not-reply at jboss.com (jschuetter) Date: Tue, 25 Jul 2006 13:20:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <7583137.1153848035619.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, logger is not injected on a stateful bean either. Somehow I feel Seam annotations are not correctly processed for @Startup components. Would like to know as well if anyone has an idea why @Create works on stateless beans? Thanks a lot Jens [Btw, if anyone from Jboss listens, org.jboss.seam.remoting.wrapper.DateWrapper is not registered for remoting in 1.0.1GA --> dates cannot be passed from Javascript] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960764#3960764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960764 From do-not-reply at jboss.com Tue Jul 25 13:20:47 2006 From: do-not-reply at jboss.com (RayDeCampo) Date: Tue, 25 Jul 2006 13:20:47 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Browsing the JNDI ENC of a web application Message-ID: <24550217.1153848047746.JavaMail.jboss@colo-br-02.atl.jboss.com> I do not see why the ENC for an EJB would be accessible via the JNDIView but the ENC for a web application would not be. From a J2EE perspective the ENC for an EJB or web application is equally local and private. I think you may posted the wrong link, that contains a JSP for displaying the system properties. Not that I do not appreciate your effort. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960765#3960765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960765 From do-not-reply at jboss.com Tue Jul 25 13:27:09 2006 From: do-not-reply at jboss.com (laxmantr) Date: Tue, 25 Jul 2006 13:27:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to map DSN name with actual database ? Please help. Message-ID: <14695380.1153848429795.JavaMail.jboss@colo-br-02.atl.jboss.com> Justin, thanks alot for your attention. Here is the code. hibernate.cfg.xml -------------------- org.gjt.mm.mysql.Driver jdbc:mysql://localhost/testdb root 10 true org.hibernate.dialect.MySQLDialect update POJO ------ package org.jboss.seam.example.booking; /** * * Java Class to map to the datbase Contact Table */ public class Contact { private String firstName; private String lastName; private String email; private long id; /** * @return Email */ public String getEmail() { return email; } /** * @return First Name */ public String getFirstName() { return firstName; } /** * @return Last name */ public String getLastName() { return lastName; } /** * @param string Sets the Email */ public void setEmail(String string) { email = string; } /** * @param string Sets the First Name */ public void setFirstName(String string) { firstName = string; } /** * @param string sets the Last Name */ public void setLastName(String string) { lastName = string; } /** * @return ID Returns ID */ public long getId() { return id; } /** * @param l Sets the ID */ public void setId(long l) { id = l; } } user.hbm.xml ---------------- Test Client to insert record in database -------------------------------------------- package org.jboss.seam.example.booking; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; /** * @author Deepak Kumar * * http://www.roseindia.net * Hibernate example to inset data into Contact table */ public class FirstExample { public static void main(String[] args) { Session session = null; try{ // This step will read hibernate.cfg.xml and prepare hibernate for use SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); session =sessionFactory.openSession(); //Create new instance of Contact and set values in it by reading them from form object System.out.println("jjjjjjjjjjj jjj j j j j j Inserting Record"); Contact contact = new Contact(); contact.setId(3); contact.setFirstName("Deepak"); contact.setLastName("Kumar"); contact.setEmail("deepak_38 at yahoo.com"); session.save(contact); System.out.println("Done"); session.flush(); session.close(); }catch(Exception e){ System.out.println("Exception vachindi:"+e.getMessage()); }finally{ // Actual contact insertion will happen at this step } } } Exception that I get ----------------------- INFO 25-07 22:38:48,375 (Log4JLogger.java:info:94) -Hibernate 3.2 cr2 INFO 25-07 22:38:48,390 (Log4JLogger.java:info:94) -hibernate.properties not found INFO 25-07 22:38:48,390 (Log4JLogger.java:info:94) -Bytecode provider name : cglib INFO 25-07 22:38:48,390 (Log4JLogger.java:info:94) -using JDK 1.4 java.sql.Timestamp handling INFO 25-07 22:38:48,468 (Log4JLogger.java:info:94) -configuring from resource: /hibernate.cfg.xml INFO 25-07 22:38:48,468 (Log4JLogger.java:info:94) -Configuration resource: /hibernate.cfg.xml INFO 25-07 22:38:48,593 (Log4JLogger.java:info:94) -Reading mappings from resource: user.hbm.xml INFO 25-07 22:38:48,703 (Log4JLogger.java:info:94) -Mapping class: org.jboss.seam.example.booking.Contact -> CONTACT INFO 25-07 22:38:48,734 (Log4JLogger.java:info:94) -Configured SessionFactory: null INFO 25-07 22:38:48,796 (Log4JLogger.java:info:94) -Using Hibernate built-in connection pool (not for production use!) INFO 25-07 22:38:48,796 (Log4JLogger.java:info:94) -Hibernate connection pool size: 10 INFO 25-07 22:38:48,796 (Log4JLogger.java:info:94) -autocommit mode: false INFO 25-07 22:38:48,812 (Log4JLogger.java:info:94) -using driver: org.gjt.mm.mysql.Driver at URL: jdbc:mysql://localhost/testdb INFO 25-07 22:38:48,812 (Log4JLogger.java:info:94) -connection properties: {user=root, password=****} INFO 25-07 22:38:49,015 (Log4JLogger.java:info:94) -RDBMS: MySQL, version: 4.0.26-nt INFO 25-07 22:38:49,015 (Log4JLogger.java:info:94) -JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.2-beta ( $Date: 2005-11-17 16:14:47 +0100 (Thu, 17 Nov 2005) $, $Revision: 4560 $ ) INFO 25-07 22:38:49,046 (Log4JLogger.java:info:94) -Using dialect: org.hibernate.dialect.MySQLDialect INFO 25-07 22:38:49,046 (Log4JLogger.java:info:94) -Using default transaction strategy (direct JDBC transactions) INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Automatic flush during beforeCompletion(): disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Automatic session close at end of transaction: disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -JDBC batch size: 15 INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -JDBC batch updates for versioned data: disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Scrollable result sets: enabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -JDBC3 getGeneratedKeys(): enabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Connection release mode: auto INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Maximum outer join fetch depth: 2 INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Default batch fetch size: 1 INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Generate SQL with comments: disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Order SQL updates by primary key: disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Using ASTQueryTranslatorFactory INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Query language substitutions: {} INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Second-level cache: enabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Query cache: disabled INFO 25-07 22:38:49,062 (Log4JLogger.java:info:94) -Cache provider: org.hibernate.cache.EhCacheProvider Exception in thread "main" java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) at java.lang.Class.getConstructor0(Class.java:2640) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:346) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:220) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) at org.jboss.seam.example.booking.FirstExample.main(FirstExample.java:25) Then I have downloaded ehcache1-1.jar and put it in classpath. Then I get different error which is related purely to ehcache.jar. Here is the error. Exception in thread "main" java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:124) at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:180) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) at org.jboss.seam.example.booking.FirstExample.main(FirstExample.java:25) Actually the following line in test client is throwing ehcache exception for some reason. SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); The errors I have copied above are just related to that exception cache not found. But the actual problem i different. If everything would have worked fine, it would not have thrown ehcache exception at all. Please ask me if you need further information. I am using Jboss eclipse IDE jboss-4.0.4.GA please help regards, Laxman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960766#3960766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960766 From do-not-reply at jboss.com Tue Jul 25 13:32:50 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 13:32:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <27413424.1153848770257.JavaMail.jboss@colo-br-02.atl.jboss.com> I would advise against using the pd from jBPM as the truth. Using a separated process (cvs with cmdb or whatever). You would want to have the changes to e.g. en expression (which could have a major impact) in there as well. Don't you want them tested in some way or another? Even if you want to do it runtime, the process is in the db in string format, so you can retrieve the latest that way, adapt it and deploy it again. No need to reverse engineer anything this way. Think of it as jbpm not beeing xml beans or something like that ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960767#3960767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960767 From do-not-reply at jboss.com Tue Jul 25 13:34:02 2006 From: do-not-reply at jboss.com (ovidiu.feodorov@jboss.com) Date: Tue, 25 Jul 2006 13:34:02 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: dynamic create queue Message-ID: <16761232.1153848843001.JavaMail.jboss@colo-br-02.atl.jboss.com> Use ServerPeer's "createQueue" JMX method. It will create a queue (and the associated MBean) for you. ServerPeer is an MBean. It can be programatically accessed as any other MBean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960768#3960768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960768 From do-not-reply at jboss.com Tue Jul 25 13:47:31 2006 From: do-not-reply at jboss.com (laxmantr) Date: Tue, 25 Jul 2006 13:47:31 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalAccessError initializing ehcache.CacheManager Message-ID: <3693668.1153849651705.JavaMail.jboss@colo-br-02.atl.jboss.com> Hurry. the problem is solved. Please download ehcache1-2.zip from http://www.ibiblio.org/maven2/net/sf/ehcache/ehcache/1.2/ rename zip to jar and put it in classpath. It works. Thanks for the above post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960770#3960770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960770 From do-not-reply at jboss.com Tue Jul 25 13:50:08 2006 From: do-not-reply at jboss.com (laxmantr) Date: Tue, 25 Jul 2006 13:50:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: How to map DSN name with actual database ? Please help. Message-ID: <18982185.1153849808058.JavaMail.jboss@colo-br-02.atl.jboss.com> Hurry. problem is solved. I have downloaded ehcache1-2.jar and replaced it in the classpath. my test client works successfully, thanks alot justin, Laxman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960771#3960771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960771 From do-not-reply at jboss.com Tue Jul 25 13:50:19 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Tue, 25 Jul 2006 13:50:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: dvd example - get process instance from order id questio Message-ID: <27513029.1153849819024.JavaMail.jboss@colo-br-02.atl.jboss.com> Is this a case where I need to read the docs again or has no one encountered how this works? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960772#3960772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960772 From do-not-reply at jboss.com Tue Jul 25 13:55:14 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Tue, 25 Jul 2006 13:55:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <31133079.1153850114404.JavaMail.jboss@colo-br-02.atl.jboss.com> Acegi's voter mechanism provides the ability to assemble permissions dynamically based on changing events. Does anyone one know if JAAS provides an equivalent. A common situation people may encounter is the need to dynamically add permissions to a user when a task is assigned to them using jBPM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960773#3960773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960773 From do-not-reply at jboss.com Tue Jul 25 13:59:06 2006 From: do-not-reply at jboss.com (ryhadley) Date: Tue, 25 Jul 2006 13:59:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dispatch workflows/create an event handler loop? Message-ID: <26912336.1153850346409.JavaMail.jboss@colo-br-02.atl.jboss.com> In the user guide, both "Chapter 9. Process Modelling" and "Chapter 13. Asynchronous continuations" talk at a very high/abstract level and only briefly mention CommandExecutorThread. (And the JavaDocs for these classes are empty). So, in theory, it sounds like jBPM does what I want, but I can't find any specifics on how to go about implementing a solution in practice. Is there any example of code for how to use the CommandExecutorThread? i.e. If I wanted a very simple program that just started a CommandExecutorThread and responded to messages by invoking the correct workflow, what would I put in the main() method to (fully) configure and start the CommandExecutorThread? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960774#3960774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960774 From do-not-reply at jboss.com Tue Jul 25 14:07:11 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 14:07:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dispatch workflows/create an event handler loop? Message-ID: <31313310.1153850831811.JavaMail.jboss@colo-br-02.atl.jboss.com> in my previous response I mention the examples and testcases, so yes there are. Testcases are normally in the sourcecode, so that is at least what you need. I personnaly do not know the advances/changes between 3.1.x and the yet unreleaseed 3.2. In the 3.2 there is also an example using async continuations but I think it is based on jms View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960775#3960775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960775 From do-not-reply at jboss.com Tue Jul 25 14:14:35 2006 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 25 Jul 2006 14:14:35 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Browsing the JNDI ENC of a web application Message-ID: <7660297.1153851275740.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh shoot, I searched for the wrong code! I have two common jsps, one for the system properties, the other for JNDI. I thought I had a version of the JNDI jsp that was all-inclusive, but I can't seem to find it (perhaps on my laptop at home). The simplest version I can find is one that uses servlets, JSPs and the JSTL (I usually port this code to whatever framework I am studying). If interested, I could post it (without comments it's not too long, but I do have to clean it up some). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960776#3960776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960776 From do-not-reply at jboss.com Tue Jul 25 14:23:51 2006 From: do-not-reply at jboss.com (cavani) Date: Tue, 25 Jul 2006 14:23:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JSF 1.2 Implementation Message-ID: <25462676.1153851831478.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, this is not exactlly an answer for your question, but take a look at version 1.2 of MyFaces: http://issues.apache.org/jira/browse/MYFACES?report=com.atlassian.jira.plugin.system.project:roadmap-panel I like MyFaces, Tomahawk, Sandbox and Trinidad... Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960777#3960777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960777 From do-not-reply at jboss.com Tue Jul 25 14:30:53 2006 From: do-not-reply at jboss.com (fireisfun) Date: Tue, 25 Jul 2006 14:30:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - per-page layout Message-ID: <13952362.1153852253904.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using portal 2.2 and want to be able to have a different layout on my home page than the rest of the portal. As per a post from awhile ago I added the to my page definition. Home mylayout This does not work however. It does not throw any errors that I could find. It just displays the layout defined for the rest of the portal. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960778#3960778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960778 From do-not-reply at jboss.com Tue Jul 25 14:34:50 2006 From: do-not-reply at jboss.com (yuan_hang) Date: Tue, 25 Jul 2006 14:34:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <2722318.1153852490514.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks James! The information you provided is very helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960779#3960779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960779 From do-not-reply at jboss.com Tue Jul 25 14:35:37 2006 From: do-not-reply at jboss.com (kryptontri) Date: Tue, 25 Jul 2006 14:35:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <26179770.1153852537181.JavaMail.jboss@colo-br-02.atl.jboss.com> Can anyone help me morph the messages example to add messages ? I tried, but what i have done as posted above seems to fail ? Any ideas pls? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960780#3960780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960780 From do-not-reply at jboss.com Tue Jul 25 15:00:36 2006 From: do-not-reply at jboss.com (jkoek) Date: Tue, 25 Jul 2006 15:00:36 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <30303449.1153854036558.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried what you said; minimize and restore. I conclude the following; 1. Only the user user/user is able to save preferences 2. When I do it with the user admin, the default are used. 3. Only a portlet without preferences will save the url. So in the news case only the top window of the two news windows is able to save the preference. In case you try to save preference on the second window it will fail. So I think there is some kind of bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960781#3960781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960781 From do-not-reply at jboss.com Tue Jul 25 15:01:35 2006 From: do-not-reply at jboss.com (jkoek) Date: Tue, 25 Jul 2006 15:01:35 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <25112680.1153854095323.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried what you said; minimize and restore. I conclude the following; 1. Only the user user/user is able to save preferences 2. When I do it with the user admin, the default are used. 3. Only a portlet without preferences will save the url. So in the news case only the top window of the two news windows is able to save the preference. In case you try to save preference on the second window it will fail. So I think there is some kind of bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960782#3960782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960782 From do-not-reply at jboss.com Tue Jul 25 15:05:58 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Tue, 25 Jul 2006 15:05:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <23203916.1153854358664.JavaMail.jboss@colo-br-02.atl.jboss.com> I am currently writing additional test cases for this and found a couple of bugs. That will be fixed in the next CR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960783#3960783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960783 From do-not-reply at jboss.com Tue Jul 25 15:20:56 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 15:20:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <30494439.1153855256764.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, you guys are doing something very wrong here. A stateless session bean is supposed to be bound to the STATELESS scope. Hence it cannot have an @Startup annotation, since @Startup applies only to APPLICATION and SESSION scoped components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960785#3960785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960785 From do-not-reply at jboss.com Tue Jul 25 15:21:32 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 15:21:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <29430988.1153855292510.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Btw, if anyone from Jboss listens, org.jboss.seam.remoting.wrapper.DateWrapper is not registered for remoting in 1.0.1GA --> dates cannot be passed from Javascript Please report this in JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960786#3960786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960786 From do-not-reply at jboss.com Tue Jul 25 15:26:14 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Tue, 25 Jul 2006 15:26:14 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <29437782.1153855574136.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi , I was trying the example supplied by JBossCacheMBeansWithBeaWeblogic (http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheMBeansWithBeaWeblogic) Few Questions 1. On Server startup I get the following exception 2. How can the MBean registered with the Server be seen from the weblogic admin console ? 3. When I try to see the MBeans of the server using JConsole I got a classcast exception on the server. Somthing is missing some where View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960787#3960787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960787 From do-not-reply at jboss.com Tue Jul 25 15:30:03 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 15:30:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <21994826.1153855803841.JavaMail.jboss@colo-br-02.atl.jboss.com> Note also that @Startup components are instantiated outside of the context of JSF, so not all functionality is available from the @Create method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960788#3960788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960788 From do-not-reply at jboss.com Tue Jul 25 15:34:07 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 15:34:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ACL in Seam Message-ID: <7748403.1153856047558.JavaMail.jboss@colo-br-02.atl.jboss.com> "jbpmndc" wrote : Acegi's voter mechanism provides the ability to assemble permissions dynamically based on changing events. Does anyone one know if JAAS provides an equivalent. | | A common situation people may encounter is the need to dynamically add permissions to a user when a task is assigned to them using jBPM. Interesting, this is a really good example of something thats not easy to do in Java EE security out of the box. I'll point Shane over here and maybe he can look at it as part of the work he is doing now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960789#3960789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960789 From do-not-reply at jboss.com Tue Jul 25 15:40:07 2006 From: do-not-reply at jboss.com (yi_zhang) Date: Tue, 25 Jul 2006 15:40:07 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Message Faults not signed Message-ID: <30896199.1153856407214.JavaMail.jboss@colo-br-02.atl.jboss.com> We have WSSE configured for our web service to sign the entire body of the responses. If the request is successful, the response comes back signed with our private key as expected. However, if any exception is thrown and a SOAP fault is returned, then the SOAP body is not signed. Is this expected behavior? How do we get JBoss to also sign the SOAP faults? Thanks, Yi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960790#3960790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960790 From do-not-reply at jboss.com Tue Jul 25 15:41:41 2006 From: do-not-reply at jboss.com (gus888) Date: Tue, 25 Jul 2006 15:41:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Session bean inheritance Message-ID: <8558554.1153856501626.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I want to whether it is possible to use inheritance in session beans as follows: public interface BaseInterface { | public boolean isNew(); | | public void destroy(); | } | | @Local | public interface ProjectEditor extends BaseInterface { | ... | //other business logic | } | | public class BaseBean implements BaseInterface { | | @In(create=true) | private EntityManager entityManager; | | @TransactionAttribute(NOT_SUPPORTED) | public boolean isNew() { | return isNew; | } | | @Destroy @Remove | public void destroy() {} | | } | | | | @Name("projectEditor") | @Stateful | public class ProjectEditorBean extends BaseBean implements ProjectEditor { | ... | //other business logic | } Thank you in advance for any guidance! Gus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960791#3960791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960791 From do-not-reply at jboss.com Tue Jul 25 16:02:26 2006 From: do-not-reply at jboss.com (pwilt) Date: Tue, 25 Jul 2006 16:02:26 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - 2.0 alpha does not seem to like 0.0.0.0 as bind address Message-ID: <18255145.1153857746061.JavaMail.jboss@colo-br-02.atl.jboss.com> The new Server configuration dialog in 2.00 Alpha does not seem to like 0.0.0.0 as a --host value (internally). We run JBoss version 3.2.7. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960792#3960792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960792 From do-not-reply at jboss.com Tue Jul 25 16:03:01 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Tue, 25 Jul 2006 16:03:01 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Generic Service Message-ID: <6993065.1153857781633.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am currently running JBoss 4.0.4.GA with EJB3 and JBossWS 1.0.0. I would like to programatically deploy a service at runtime. Ideally, I would like to register an endpoint; have all requests for the new endpoint sent to a generic service and send the responses from the generic service. I have been trying to instantiate an instance of ServiceEndpointInfo but DeploymentInfo requires a URL which points to a WAR file. Obviously, my fake services don't have a WAR file. Is it possible to programatically register an endpoint? Is it also possible to define the class and method that should be invoked by the endpoint? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960793#3960793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960793 From do-not-reply at jboss.com Tue Jul 25 16:03:33 2006 From: do-not-reply at jboss.com (jkoek) Date: Tue, 25 Jul 2006 16:03:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <32311112.1153857813413.JavaMail.jboss@colo-br-02.atl.jboss.com> ok, topic closed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960794#3960794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960794 From do-not-reply at jboss.com Tue Jul 25 16:03:40 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Tue, 25 Jul 2006 16:03:40 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Problem reusing an EJB infrastructure layer Message-ID: <4359993.1153857820295.JavaMail.jboss@colo-br-02.atl.jboss.com> I just found a rather interesting approch used by weblogic 9, application scoped resources.. http://e-docs.bea.com/wls/docs90/jdbc_admin/packagedjdbc.html#1055301 http://e-docs.bea.com/wls/docs90/jms_admin/deployjms.html#1061792 Basically, resources can be defined as part of the application and isolated from other applications. All resources will be part of the local namespace of the application. Lovely! :-) Does JBoss have anything similar to this? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960795#3960795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960795 From do-not-reply at jboss.com Tue Jul 25 16:31:15 2006 From: do-not-reply at jboss.com (chane) Date: Tue, 25 Jul 2006 16:31:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - InvocationContext missing getTarget Exception Message-ID: <25407383.1153859475481.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to run Seam 1.0.1 (grabbed the binaries from sf) and AS 4.0.4GA. When I run the application I get the following exception. It looks like a mismatch between class version. The InvocationContext installed in 4.0.4 uses getBean instead of getTarget. Is 1.0.1 supposed to run with 4.0.4? | javax.ejb.EJBTransactionRolledbackException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:93) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy153.initialize(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getValue(AstValue.java:106) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | at org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135) | at org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.itsolut.servlet.LoggingFilter.doFilter(LoggingFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) | at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) | at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) | at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) | at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:128) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | ... 74 more | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | ... 83 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960796#3960796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960796 From do-not-reply at jboss.com Tue Jul 25 16:44:50 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 16:44:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: InvocationContext missing getTarget Exception Message-ID: <15418371.1153860290232.JavaMail.jboss@colo-br-02.atl.jboss.com> Install jboss using the JEMS installer as per: http://labs.jboss.com/portal/jbossseam/gettingstarted View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960798#3960798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960798 From do-not-reply at jboss.com Tue Jul 25 16:48:03 2006 From: do-not-reply at jboss.com (wconroy) Date: Tue, 25 Jul 2006 16:48:03 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Type Hiererchy Message-ID: <23818130.1153860483313.JavaMail.jboss@colo-br-02.atl.jboss.com> If I have the following classes | public class Animal { | ... | } | | public class Cat extends Animal { | ... | } | | public class Dog extends Animal { | ... | } | and the following method exposed through a web service | public Animal[] getAnimalsByOwnerName(String ownerName) { | ... | } | I am using the javax.jws annotation and deploying without running wstools or anything and it looks like the definition of Cat and Dog are not in the wsdl that gets generated. Does JbossWS not support type hierarchies like this? If they do, is there anything that I need to do to get it to work correctly? Do the WSTools java-wsdl do anything that the annotations alone will not do? Thanks, Bo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960799#3960799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960799 From do-not-reply at jboss.com Tue Jul 25 16:56:19 2006 From: do-not-reply at jboss.com (mmc97006) Date: Tue, 25 Jul 2006 16:56:19 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - cannot find listAccount.sql and insert.sql Message-ID: <28181027.1153860979301.JavaMail.jboss@colo-br-02.atl.jboss.com> i don't know if i get the right jbossj2ee-src.zip. but there're two scripts missing in this zip file. if you happened to have these two scripts, could you please send to me? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960803#3960803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960803 From do-not-reply at jboss.com Tue Jul 25 16:58:07 2006 From: do-not-reply at jboss.com (mmc97006) Date: Tue, 25 Jul 2006 16:58:07 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: cannot find listAccount.sql and insert.sql Message-ID: <7546020.1153861087827.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to mention, these files are for DUke's bank example. I am new in Jboss, following the getting start manual is very frustrating. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960804#3960804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960804 From do-not-reply at jboss.com Tue Jul 25 17:00:55 2006 From: do-not-reply at jboss.com (maiklust) Date: Tue, 25 Jul 2006 17:00:55 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: examples: bank Message-ID: <32038357.1153861255826.JavaMail.jboss@colo-br-02.atl.jboss.com> I also have the exact same problem (exceptions) trying using the database to authenticate - as it is described in the tutorial. It seems, that the authentication with database data works, but an issue with the security-domain param still exists... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960805#3960805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960805 From do-not-reply at jboss.com Tue Jul 25 17:03:08 2006 From: do-not-reply at jboss.com (chane) Date: Tue, 25 Jul 2006 17:03:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: InvocationContext missing getTarget Exception Message-ID: <6633286.1153861388671.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks that worked. I did not realize there was a difference between the JEMS installer and the AS downloadable installer. Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960806#3960806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960806 From do-not-reply at jboss.com Tue Jul 25 17:07:26 2006 From: do-not-reply at jboss.com (mmc97006) Date: Tue, 25 Jul 2006 17:07:26 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Re: cannot find listAccount.sql and insert.sql Message-ID: <6943326.1153861646294.JavaMail.jboss@colo-br-02.atl.jboss.com> Never mind. I think I found the right one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960807#3960807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960807 From do-not-reply at jboss.com Tue Jul 25 17:19:03 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 17:19:03 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <8698748.1153862343471.JavaMail.jboss@colo-br-02.atl.jboss.com> How goes the RMI programming? I need to test a small RMI call for the jbpm myself. James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960808#3960808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960808 From do-not-reply at jboss.com Tue Jul 25 17:23:02 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 17:23:02 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <31780416.1153862582314.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, this appears to be the wrong forum. (Unless anyone can send me the answer...) James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960809#3960809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960809 From do-not-reply at jboss.com Tue Jul 25 17:23:46 2006 From: do-not-reply at jboss.com (epbernard) Date: Tue, 25 Jul 2006 17:23:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Entity Lifecycle Method Message-ID: <33278568.1153862626033.JavaMail.jboss@colo-br-02.atl.jboss.com> You can"t do it as per the EJB3 spec but you can do that using an Hibernate interceptor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960810#3960810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960810 From do-not-reply at jboss.com Tue Jul 25 17:27:28 2006 From: do-not-reply at jboss.com (epbernard) Date: Tue, 25 Jul 2006 17:27:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Simple injection of SessionContext not working Message-ID: <11887701.1153862848505.JavaMail.jboss@colo-br-02.atl.jboss.com> open a JIRA issue please, NPE should not occurs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960811#3960811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960811 From do-not-reply at jboss.com Tue Jul 25 17:30:06 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 17:30:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jbpm rmi Message-ID: <17916524.1153863006202.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am just getting started with trying to connect to JBPM with RMI, can you get me a easy sample of your code for a basic connection. Our first task is to remotely start a task, but mainly I need the actual RMI code, as its not astrong point of mine (yet) James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960812#3960812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960812 From do-not-reply at jboss.com Tue Jul 25 17:30:21 2006 From: do-not-reply at jboss.com (saurabhrais) Date: Tue, 25 Jul 2006 17:30:21 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - JMS provider failure detected: javax.jms.InvalidDestinationE Message-ID: <9331402.1153863021568.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Guys, I am trying to point an EJB 3.0 MDB to a Q on a remote server, and I am getting below given exception: Any help will be highly appriciated. JMS provider failure detected: 15:58:05,796 WARN [MDB] JMS provider failure detected: javax.jms.InvalidDestinationException: The destination QUEUE.PMSOrderQueue does not exist ! at org.jboss.mq.server.ClientConsumer.addSubscription(ClientConsumer.java:131) at org.jboss.mq.server.JMSDestinationManager.subscribe(JMSDestinationManager.java:596) at org.jboss.mq.server.JMSServerInterceptorSupport.subscribe(JMSServerInterceptorSupport.jav a:297) =========================================== Configuration of Server having MDB jms-ds.xml ======= DefaultJMSProvider 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=oradev.comcom.com:1199 standardjboss.xml ============ message-driven-bean default org.jboss.ejb.plugins.jms.JMSContainerInvoker java:/DefaultJMSProvider StdJMSPool 1 30000 15 1 10 queue/DLQ 10 0 =============================================== MDB Config @MessageDriven(activateConfig = { @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="PMSOrderQueue"), @ActivationConfigProperty(propertyName="connectionFactoryJndiName",propertyValue="java:jms/PMSQueueConnectionFactory") } ) =============================================== Config of Server having Q standardjboss.xml ============ message-driven-bean default org.jboss.ejb.plugins.inflow.JBossJMSMessageEndpointFactory providerAdapterJNDI DefaultJMSProvider minSession 1 maxSession 15 keepAlive 60000 maxMessages 1 reconnectInterval 10 useDLQ true DLQHandler org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJNDIName queue/DLQ DLQMaxResent 10 org.jboss.proxy.ClientMethodInterceptor org.jboss.ejb.plugins.inflow.MessageEndpointInterceptor org.jboss.proxy.TransactionInterceptor org.jboss.invocation.InvokerInterceptor jbossmq-destination-service.xml ===================== jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager jms/PMSOrderQueue -1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960813#3960813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960813 From do-not-reply at jboss.com Tue Jul 25 17:32:23 2006 From: do-not-reply at jboss.com (epbernard) Date: Tue, 25 Jul 2006 17:32:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <31665009.1153863143471.JavaMail.jboss@colo-br-02.atl.jboss.com> One a JIRA feature request please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960814#3960814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960814 From do-not-reply at jboss.com Tue Jul 25 17:34:09 2006 From: do-not-reply at jboss.com (epbernard) Date: Tue, 25 Jul 2006 17:34:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB3 and Filter Annotation Message-ID: <27002595.1153863249933.JavaMail.jboss@colo-br-02.atl.jboss.com> Filter is a unique feature of Hibernate so I doubt this will be standardize soon. It would be boring if all products had the same features ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960815#3960815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960815 From do-not-reply at jboss.com Tue Jul 25 17:41:41 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Tue, 25 Jul 2006 17:41:41 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <6784245.1153863701952.JavaMail.jboss@colo-br-02.atl.jboss.com> re: 3) You might try debugging further by eliminating WebLogic and Spring from the mix. You can try a standalone JBossCache client and see if jconsole will display its mbeans successfully. How to do this is described in the TreeCache user documentation under the section titled Accessing Cache MBeans in a Standalone Environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960818#3960818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960818 From do-not-reply at jboss.com Tue Jul 25 17:55:59 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Tue, 25 Jul 2006 17:55:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Dynamic creating portals Message-ID: <18070560.1153864559996.JavaMail.jboss@colo-br-02.atl.jboss.com> could you give an example please ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960819#3960819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960819 From do-not-reply at jboss.com Tue Jul 25 17:57:59 2006 From: do-not-reply at jboss.com (goose-dog) Date: Tue, 25 Jul 2006 17:57:59 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - PLEASE HELP: maxFileSize in web.xml is useless Message-ID: <5196685.1153864679896.JavaMail.jboss@colo-br-02.atl.jboss.com> I have setup the config in the web.xml specifying maxFileSize as 500m for MyFacesExtnsionFilter but when ever I upload a big file < maxFileSize I get this error: 14:56:56,597 INFO [MultipartRequestWrapper] user tried to upload a file that exceeded file-size limitations. org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because it's size exceeds allowed range at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:317) If anyone knows what other settings I should look at please let me know. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960821#3960821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960821 From do-not-reply at jboss.com Tue Jul 25 18:12:54 2006 From: do-not-reply at jboss.com (goose-dog) Date: Tue, 25 Jul 2006 18:12:54 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: PLEASE HELP: maxFileSize in web.xml is useless Message-ID: <27653381.1153865574139.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry, the config file i got is using the wrong string "uploadMaxFileSize" is the right string View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960822#3960822 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960822 From do-not-reply at jboss.com Tue Jul 25 18:13:57 2006 From: do-not-reply at jboss.com (maiklust) Date: Tue, 25 Jul 2006 18:13:57 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: examples: bank Message-ID: <19777341.1153865637726.JavaMail.jboss@colo-br-02.atl.jboss.com> I solved it. Turns out, that you mustn't add the security-domain tag to the EJB jboss.xml descriptor. Then it worked for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960823#3960823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960823 From do-not-reply at jboss.com Tue Jul 25 18:19:09 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Tue, 25 Jul 2006 18:19:09 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Generic Service Message-ID: <33312095.1153865949974.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think my first message is clear. Basically what I need is to deploy a Message Style endpoint. At runtime I need to add extra endpoints that are serviced by the original endpoint. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960824#3960824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960824 From do-not-reply at jboss.com Tue Jul 25 18:20:18 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Tue, 25 Jul 2006 18:20:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <18576924.1153866018345.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960825#3960825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960825 From do-not-reply at jboss.com Tue Jul 25 18:33:05 2006 From: do-not-reply at jboss.com (rdoust) Date: Tue, 25 Jul 2006 18:33:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - multiple class loaders found for pkg Message-ID: <28846650.1153866785102.JavaMail.jboss@colo-br-02.atl.jboss.com> I am still trying to move an EAR which had successfully deployed in JBoss 4.0.1 to JBoss 4.0.4. The EAR contains a WAR and several JARs. I had problems getting the application to work until I found a post by Adrian Brock that explains how to use the pre-4.0.2 classloading configuration. The problem was that I was getting a ClassCastException when using the PortableRemoteObject.narrow method to retrieve a class that would allow access to an EJBHome object. After changing the configuration files to support the pre-4.0.2 classloading, I got past this problem. Now, however, I have a new problem when an EJB attempts to create an instance of a private inner class on initialization. It's getting a java.lang.IllegalAccessException, which to me, sounds like I have more class loading issues. I'm also seeing entries in server.log that say: multiple class loaders found for pkg: [package name] when the EJB Jar file is deployed. Is there anyplace that someone can direct me to where I can learn all that I need to know about class loading issues that result from deploying EARs, WARs, and JARs to an EJB container in the post 4.0.1 era? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960826#3960826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960826 From do-not-reply at jboss.com Tue Jul 25 18:34:39 2006 From: do-not-reply at jboss.com (epbernard) Date: Tue, 25 Jul 2006 18:34:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <13055527.1153866880009.JavaMail.jboss@colo-br-02.atl.jboss.com> This is exactly why Spring templates are evil. They wrap a one line of useful code (duh), and hide the actual Hibernate JavaDoc explaining the difference between get() and load() load return a lazy object. Use get most of the time View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960827#3960827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960827 From do-not-reply at jboss.com Tue Jul 25 18:35:16 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 18:35:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remote accessible MBean Message-ID: <7972224.1153866916999.JavaMail.jboss@colo-br-02.atl.jboss.com> Has there been any advancement in this area, or is there another current way of accessing the JBPM objects through some RMI or other simple call? James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960828#3960828 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960828 From do-not-reply at jboss.com Tue Jul 25 18:38:21 2006 From: do-not-reply at jboss.com (falazar) Date: Tue, 25 Jul 2006 18:38:21 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Problem running remote MBean Message-ID: <13152823.1153867101302.JavaMail.jboss@colo-br-02.atl.jboss.com> Are tehre not currently any RMI serveres running that we can connect to? Or do we need to fully create them and do all the rest of this work. James Ratcliff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960829#3960829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960829 From do-not-reply at jboss.com Tue Jul 25 18:39:15 2006 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 25 Jul 2006 18:39:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Remote accessible MBean Message-ID: <7677161.1153867155786.JavaMail.jboss@colo-br-02.atl.jboss.com> if you do not mind using jms (which by itself is accessible via rmi) and do not mind a little experimentation (since it is not fully developed/documented yet), the commandExcecutor via jms is an option. See the testcases and small example in the 3.2 codebase View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960830#3960830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960830 From do-not-reply at jboss.com Tue Jul 25 18:45:16 2006 From: do-not-reply at jboss.com (stan.silvert@jboss.com) Date: Tue, 25 Jul 2006 18:45:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: JSF 1.2 Implementation Message-ID: <238230.1153867516776.JavaMail.jboss@colo-br-02.atl.jboss.com> For JBoss 5.0, we will ship Sun's version of JSF 1.2. If you build the server from jboss-head you can already play around with it. It includes resource injection and lifecycle annotations on manged beans, which is optional for JSF 1.2 but required for JEE 5. It's not there yet, but it will also include integration with JBoss Serialization which will make JSF faster for server side state saving. See [url]http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL [/url] Stan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960831#3960831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960831 From do-not-reply at jboss.com Tue Jul 25 18:57:59 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 18:57:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Tutorial Feedback Message-ID: <4025509.1153868279086.JavaMail.jboss@colo-br-02.atl.jboss.com> These are questions I have regarding the tutorial. They may be answered later in the tutorial (in fact I know some of the answers now), but they caused confusion for me while I read the tutorial because they were unclear at that time. Although I'd like to get answers in this forum, my goal was to give you some feedback on the tutorial document from someone with no JSF/EJB3/Seam experience. Section numbers are from the PDF version of the "Reference Manual" with the tutorial embedded in it. Section 1.2.2 ("How it works") I'm confused about the initial rendering of the register.jsp page. What is the entry point? That is, the index.html forwards (redirects?) to a "register.seam" url. How does it know to render/display the JSP file? Does it just look for a jsp with the same name? (I can't find any references to "register.jsp" in any files in the project, so I'm assuming it's magic.) If I had wanted to go to a java bean first, before displaying the JSP, what url would I have put in the index.html file. Section 1.4 (ToDo list) I'm just generally confused about how the jsp gets the correct set of tasks from the list of tasks. There seems to be some magical component named "taskInstanceList" that isn't referenced anywhere in the code except for the todo.jsp file. It somehow has a list of only the "todo" tasks, but what would happen if there are other process definitions? For example, the login.java login() method goes directly to the todo.jsp page, without any reference to a particular process definition. Then the jsp page grabs what appears to be the list of all tasks... Also, the "update" action referenced from the JSP - what's up with that? Is that a magic action? Is it just refreshing the jsp page or is there something else happening? Incidently, it's annoying that the previously added todo item stays in the input field. While I can see why that happens, I presume that since I'm not using an instance variable on my action bean I can't set it to null after the "createTodo()" method. Sigh - I assume that all this will be cleared up in later examples - I'm just frustrated by the unkowns. Section 1.5 - I noticed that I can submit the page by hitting the enter key but it just reloads the page. Interestingly, it sort of submits the form, as it updates the "higher/lower" display. However, it doesn't update the other messages or the number of guesses remaining. I think that means that it's updating my bean's attributes based on the form inputs, but not calling the "guess" method. I assume there's a way in JSF/Seam to handle the form submission via the enter key, since it's a common feature of webapps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960832#3960832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960832 From do-not-reply at jboss.com Tue Jul 25 19:26:13 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 19:26:13 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when accessing DatabaseMetaData.getTa Message-ID: <25176174.1153869973363.JavaMail.jboss@colo-br-02.atl.jboss.com> What r u casting it too and can you post your code here? Also, see what it is returning by retrieving object as java.lang.Object (which will never throw ClassCastException) and see what it is. i.e., | Object obj = ds.getConnection().getMetaData(); | System.out.println("Object class: " + obj.getClass().getName()); | Regards Oleg Zhurakousky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960833#3960833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960833 From do-not-reply at jboss.com Tue Jul 25 19:27:41 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 19:27:41 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Null Pointer exception with new Configuration() Message-ID: <403817.1153870061106.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you post a stack trace? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960834#3960834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960834 From do-not-reply at jboss.com Tue Jul 25 19:29:05 2006 From: do-not-reply at jboss.com (markfrench) Date: Tue, 25 Jul 2006 19:29:05 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: MDB fails to deploy when placed in deploy-hasingleton Message-ID: <3082185.1153870145189.JavaMail.jboss@colo-br-02.atl.jboss.com> The defaultDS is defined in the deploy directory is the annotation usage corrent or should the data source xml be moved into the ha-deploy directory? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960835#3960835 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960835 From murtazah at sunriseexchange.com Tue Jul 25 19:29:54 2006 From: murtazah at sunriseexchange.com (Murtaza Hussain) Date: Wed, 26 Jul 2006 09:29:54 +1000 Subject: [jboss-user] Illegal access (timeout error) Message-ID: <200607252329.k6PNTnDd014715@sunriseexchange.com> Hi All, We are running Jboss 4 and we get the following error when we leave a client session (browser) idle for about 40 minutes. The symptoms are similar to a session timeout error that one usually gets but it doesn't seem to be that. Can someone please assist. The stack trace is included. java.lang.SecurityException: Illegal access at org.apache.jsp.www.admin.GIQteFind_jsp._jspService(org.apache.jsp.www.admin. GIQteFind_jsp:1190) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3 22) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.ja va:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalVal ve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssoci ationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java: 59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav a:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThre ad.java:112) at java.lang.Thread.run(Thread.java:595) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060726/29ec47ae/attachment.html From do-not-reply at jboss.com Tue Jul 25 19:40:08 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Tue, 25 Jul 2006 19:40:08 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <4058930.1153870808889.JavaMail.jboss@colo-br-02.atl.jboss.com> Just tried that , here is my observations. 1. There is no classcast exception in the jvm running stand alone cache client 2. The Jconsole mbean view of the treecache , under the attibutes tab I see the following attributes as red. Name Value a. Instance Unavailable (in red font on hovering the mouse it shows the following exception ... //java.rmi.unmarshalexception error unmarshalling return , nested exception is java.io.WriteAbortedException, writing aborted; java.io.NotSerializableException; org.jboss.cache.TreeCache b. Interceptors c. members 3. when I click on the operation tab the jconsole throws following exceptions Error setting Operation panel :org.jboss.cache.TreeCacheListener Error setting Operation panel :org.jboss.cache.TreeCacheListener Error setting Operation panel :org.jboss.cache.Fqn Error setting Operation panel :org.jboss.cache.Fqn Error setting Operation panel :org.jboss.cache.Fqn Error setting Operation panel :org.jboss.cache.Fqn Error setting Operation panel :org.jboss.cache.Fqn Error setting Operation panel :org.jboss.cache.GlobalTransaction Error setting Operation panel :org.jboss.cache.GlobalTransaction Error setting Operation panel :org.jboss.cache.GlobalTransaction Error setting Operation panel :org.jboss.cache.GlobalTransaction I am using following java version C:\Documents and Settings\shgoe>java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing) Jboss cache stand alone client code (Sleep is introduced just for it to wait for the jconsole to connect) public class SampleTreeCache { public static void main (String[] a) { SampleTreeCache sampleTreeCache = new SampleTreeCache(); TreeCache cache1 = null; try { cache1 = sampleTreeCache.createCache(); cache1.put("/jboss-cache-manager", "Sample Cache Entry", "This is a sample"); Thread.currentThread().sleep(600000); }catch(Exception e) { e.printStackTrace(); } } private TreeCache createCache() throws Exception { TreeCache cache = new TreeCache(); PropertyConfigurator config = new PropertyConfigurator(); config.configure(cache, "invalidationSync-service.xml"); System.out.println("Tree cache configured with META-INF/invalidationSync-service.xml "); cache.startService(); return cache; } sample configuration file | | | | | | | | | | | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | | | | | REPEATABLE_READ | | | INVALIDATION_SYNC | | | false | | | 0 | | | 0 | | | TreeCache-Cluster | | | | | | | | | | | | | | | | | | | | | | | | | true | | | 15000 | | | 15000 | | | 10000 | | | | | | false | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960836#3960836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960836 From do-not-reply at jboss.com Tue Jul 25 19:53:15 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Tue, 25 Jul 2006 19:53:15 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <28932561.1153871595781.JavaMail.jboss@colo-br-02.atl.jboss.com> Another observation is that lot of operations are displayed as disabled in the jconsole view . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960838#3960838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960838 From do-not-reply at jboss.com Tue Jul 25 20:24:06 2006 From: do-not-reply at jboss.com (asaksena) Date: Tue, 25 Jul 2006 20:24:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <11573219.1153873446055.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Koen, Alejandro: Thanks for the feedback and the update to the doc. I will try these changes. (To answer the question, the first change didn't work.. then I was sidetracked with some other trial downloads). Appreciate it! Thanks! Anju View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960839#3960839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960839 From do-not-reply at jboss.com Tue Jul 25 20:26:47 2006 From: do-not-reply at jboss.com (robertocarlos@gmail.com) Date: Tue, 25 Jul 2006 20:26:47 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Problem with EJB Transactions Message-ID: <27907476.1153873607429.JavaMail.jboss@colo-br-02.atl.jboss.com> I have three methods in one EJB, this methods are marked as follow: Method A: requires transaction Method B requiere new transaction Method C require new transaction Method A first call method B and then call Method C many times, the idea is that method C when fail do a rollback only for transaction generated in every call. In JBOSS when method C do a rollback, the rollback affects the other transactions. Any idea to solve this problem. Im doing something wrong?. Help me please View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960840#3960840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960840 From do-not-reply at jboss.com Tue Jul 25 20:28:59 2006 From: do-not-reply at jboss.com (dbatcn) Date: Tue, 25 Jul 2006 20:28:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Tutorial Feedback Message-ID: <3699085.1153873739653.JavaMail.jboss@colo-br-02.atl.jboss.com> As somebody who is also working with Seam without having previously used JSF/EJB3, I have another observation: I am only very slowly perceiving the boundaries of what's done by Seam vs. Facelets vs. JSF vs. Persistence API vs. EJB3, as well as conversations and a slightly different EL. Sometimes it takes a bit of sleuthing to figure out which piece(s) (if any) provides desired functionality. It's even a bit more difficult since so many things seem to happen by "magic" because 1. there is so much going on behind the scenes, 2. it's taking a little while to get used to the annotations, and 3. sometimes there are conflicting bits of documentation (e.g. meaning of "$" and "#" in EL). I am a fan of declarative programming and DRY though and do think that it's very cool that a lot of functionality is getting implemented with relatively little code to maintain. I can see that some of the problem comes from the fact that Seam can work with many different stacks of packages and that that is in fact a _good_ thing. I've picked JSF, facelets, and EJB3 for my new project based largely on the recommendations I've seen from Gavin. Before I started any coding, I did go through pretty much the complete O'Reilly EBJ3 book by Bill Burke (ISBN 0-596-00978-X, and no, I don't have a financial interest in it) and that has helped a great deal. I keep the Seam reference up in Acrobat constantly. I am also googling a lot. I do know that these manuals are a pain in the *** to write and am very grateful that a lot of serious work has obviously gone into it. I suppose that the answer that I just need to become more familiar with all the various technologies may well be legitimate. I'm sorry that I don't have a constructive alternative but perhaps people who are more immersed in these technologies might see a way to make it clearer to newbies. I expect that the real answer is that when various JSRs are finally adopted, there will be an accepted standard Java EE way of doing this and that this is just the price of using stuff on the bleeding edge. Sigh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960841#3960841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960841 From do-not-reply at jboss.com Tue Jul 25 20:29:35 2006 From: do-not-reply at jboss.com (jweaver@xaware.com) Date: Tue, 25 Jul 2006 20:29:35 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ClassCastException when accessing DatabaseMetaData.getTa Message-ID: <11949141.1153873775650.JavaMail.jboss@colo-br-02.atl.jboss.com> Oleg, Thanks for responding. The code is as follows where conn is a Connection returned from a call to getConnection() on a Datasource from a remote server to my client application using JNDI lookup: DatabaseMetaData dbMeta = conn.getMetaData(); ... try { tableRes = dbMeta.getTables(null, null, null, types); } catch (Exception e) { System.out.println(e); e.printStackTrace(System.err); } The types variable is an array of strings with values TABLE, VIEW, SYNONYM. As you can see I do not do any casting. It is the getTables(...) method that throws the exception. If you would like I can expose the datasource file here. It appears to me there is a problem with the proxy used to wrap the DatabaseMetaData and it is a problem when the datasource is to an Oracle database using the thin client driver. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960842#3960842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960842 From do-not-reply at jboss.com Tue Jul 25 20:44:50 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 20:44:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem in Deployment in JBoss 4.0.4 Message-ID: <4351196.1153874690374.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you declare persistence-unit element in your persistence.xml? i.e., | | | java:/MySqlDS | | . . . . . | | | | | It seems like you are telling your PersistenceContext, pointing it to persistence-unit phx4EJB @PersistenceContext(unitName="phx4EJB") , but EJB3 deployer can not find it. I was able to replicate it by doing just that. Regards Oleg Zhurakousky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960843#3960843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960843 From do-not-reply at jboss.com Tue Jul 25 21:03:09 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 21:03:09 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: simple Message-ID: <14097715.1153875789282.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you try to make your Course.java object Serializable? Oleg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960844#3960844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960844 From do-not-reply at jboss.com Tue Jul 25 21:11:29 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Tue, 25 Jul 2006 21:11:29 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: simple Message-ID: <9628708.1153876289668.JavaMail.jboss@colo-br-02.atl.jboss.com> do you use load-time (javagent option?) or compile-time (aopc) instrumentation for Course? My best suggestion is to run it standalone first, e.g., outside of AS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960845#3960845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960845 From do-not-reply at jboss.com Tue Jul 25 21:14:55 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 21:14:55 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: MDB fails to deploy when placed in deploy-hasingleton Message-ID: <23153473.1153876495916.JavaMail.jboss@colo-br-02.atl.jboss.com> could you post your *ds.xml file that defines DefaultDS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960846#3960846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960846 From do-not-reply at jboss.com Tue Jul 25 21:32:45 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Tue, 25 Jul 2006 21:32:45 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: EnableLoadTime weaving in Linux with JBoss 4.0.4GA Message-ID: <30174369.1153877565407.JavaMail.jboss@colo-br-02.atl.jboss.com> I agree, even though it will not affect anything you do, seeing those stack traces is somewhat anoying. Here is how I fixed it in AOP_DEPLOER/META-INF/jboss-service.xml I've made the following change: | . . . . | org.jboss.,org.apache.catalina.core.StandardServer, | org.apache.catalina.core.StandardContext, | | | . . . | Hope it helps Oleg Zhurakousky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960847#3960847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960847 From do-not-reply at jboss.com Tue Jul 25 21:37:06 2006 From: do-not-reply at jboss.com (johncena) Date: Tue, 25 Jul 2006 21:37:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Jboss Forum 2.2.1-SP3 Bug? Message-ID: <19829544.1153877826341.JavaMail.jboss@colo-br-02.atl.jboss.com> I've tried deploying the jboss-forum-2.2.1.-SP3 to the jboss portal 2.2.1-SP3, and when I tried to go to the forum, I get a blank page. So, I've tried logging in as admin and I got this Edit Preference icon where I can see two default forums under a Dummy demo category (First and Second Forums). I tried to edit the category name and forum names but again when I go to http://localhost:8080/portal/../forum I get a blank page again! Is this a bug or do I need more setup? I just followed the Forum docs, and it didnt work. Better... do you have a more detailed instructions for this? Please advise... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960848#3960848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960848 From do-not-reply at jboss.com Tue Jul 25 21:41:34 2006 From: do-not-reply at jboss.com (robbg) Date: Tue, 25 Jul 2006 21:41:34 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Calling EJBs within Weblogic from Jboss Message-ID: <2328916.1153878094039.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Does anybody know if it is possible for a session bean deployed with Jboss (3.2.7) to remotely invoke Session beans that are deployed in WebLogic (8.1)? Any tips appreciated? Id expect that classloading and versioning of jars could be a problem. thankyou. Graeme View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960849#3960849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960849 From do-not-reply at jboss.com Tue Jul 25 21:42:13 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 21:42:13 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Tutorial Feedback Message-ID: <5931667.1153878133306.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : How does it know to render/display the JSP file? Does it just look for a jsp with the same name? Yes, when a suffix mapping like *.seam is used for the JSF servlet, JSF uses the javax.faces.DEFAULT_SUFFIX to pick a view. By default, javax.faces.DEFAULT_SUFFIX="jsp". This is defined in section 2.2.1 of the JSF 1.2 spec. Actually, this URL mapping stuff is something I would like to see become *significantly* more flexible in the next rev of JSF. anonymous wrote : here seems to be some magical component named "taskInstanceList" that isn't referenced anywhere in the code except for the todo.jsp file Right, this is a built-in Seam component for working with jBPM task lists. One of the great things about Seam is that you get stuff like this for free that you would otherwise have to build yourself. The full list of built-in components is here: http://docs.jboss.com/seam/latest/reference/en/html/components.html And, of course, it is a growing list ;-) anonymous wrote : Also, the "update" action referenced from the JSP - what's up with that? Is that a magic action? Is it just refreshing the jsp page or is there something else happening? Actually its unnecessary. JSF ignores outcomes (its not an action, just an outcome) that have no navigation rule and treats them just like the null outcome. anonymous wrote : Incidently, it's annoying that the previously added todo item stays in the input field. While I can see why that happens, I presume that since I'm not using an instance variable on my action bean I can't set it to null after the "createTodo()" method. Well, this is just because the inputText in the JSP and the task in the jPDL are both bound to the same property. You could easily change this and have two different properties, and have createTodo copy from one to the other, nulling the first. anonymous wrote : I noticed that I can submit the page by hitting the enter key but it just reloads the page. Interestingly, it sort of submits the form, as it updates the "higher/lower" display. However, it doesn't update the other messages or the number of guesses remaining. I cannot reproduce this - it works fine for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960850#3960850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960850 From do-not-reply at jboss.com Tue Jul 25 21:42:22 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Tue, 25 Jul 2006 21:42:22 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: POJO Mutations Message-ID: <6967186.1153878142167.JavaMail.jboss@colo-br-02.atl.jboss.com> ic. Basically, PojoCache stores the class definition (Pojo Class) internally (in the cache) so they are static per se becuase we need it for replication purpose. So mutation won't really work, unless it is simple case of sub-classing. As for data evolution, I envision PojoCache is used for state not as entity. So the POJO should have a long life time but as not as long as entity, I'd say. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960851#3960851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960851 From do-not-reply at jboss.com Tue Jul 25 21:44:05 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Tue, 25 Jul 2006 21:44:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Tutorial Feedback Message-ID: <28065696.1153878245776.JavaMail.jboss@colo-br-02.atl.jboss.com> "dbatcn" wrote : As somebody who is also working with Seam without having previously used JSF/EJB3, I have another observation: I am only very slowly perceiving the boundaries of what's done by Seam vs. Facelets vs. JSF vs. Persistence API vs. EJB3, This just means we are succeeding in our goal to make this a single, seamless, user experience of a unified programming model. ;-) No more stovepipes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960852#3960852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960852 From do-not-reply at jboss.com Tue Jul 25 21:44:32 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Tue, 25 Jul 2006 21:44:32 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem Running JBoss Cache within JBoss Application Ser Message-ID: <12859474.1153878272159.JavaMail.jboss@colo-br-02.atl.jboss.com> can you try out the compile-time instrumentation mode first to see if it works? Load-time is more trickier since it is more difficult to debug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960853#3960853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960853 From do-not-reply at jboss.com Tue Jul 25 21:48:43 2006 From: do-not-reply at jboss.com (rtul) Date: Tue, 25 Jul 2006 21:48:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.04 GA not starting Message-ID: <13883788.1153878523435.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks Peter, I have given full access to Jboss_Home folder and this seems to have corrected the problem ...little weird though.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960854#3960854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960854 From do-not-reply at jboss.com Tue Jul 25 22:15:18 2006 From: do-not-reply at jboss.com (vlasov01) Date: Tue, 25 Jul 2006 22:15:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Migrating to JBOSS 4.0.4 GA and seam 1.0.1.GA @In doesnt Message-ID: <19014888.1153880118775.JavaMail.jboss@colo-br-02.atl.jboss.com> I think you shoud use only one Seam phase-listener instead of two. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960855#3960855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960855 From do-not-reply at jboss.com Tue Jul 25 22:15:30 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 22:15:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Tutorial Feedback Message-ID: <14278828.1153880130424.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin, As always, thanks for the quick response! I hope I didn't come accross too negatively in my original post - sometimes sarcasm is my primary form of communication. So far I am very impressed with Seam, and I suspect that will only improve as I dig deeper! Now I have to dig into that facelets example and figure out how that works! I truly prefer the Tapestry model for tags, which I think Facelets provides (more or less) for JSF. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960856#3960856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960856 From do-not-reply at jboss.com Tue Jul 25 22:25:35 2006 From: do-not-reply at jboss.com (ptmain) Date: Tue, 25 Jul 2006 22:25:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Remote EJBs Message-ID: <4224236.1153880735358.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having a difficult time with the concept of my JSP page directly working with EJBs, but I'm trying to let go of the past. I totally bought into the "business delegate" and "value object" architecture for hiding the fact that I used EJBs, etc. Any comments about how this (directly referencing EJB from a JSP) is no longer evil (if it ever was)? I do have a few EJB questions: 1. How do I access a remote EJB using Seam? I don't necessarily mean all beans would be remote. I'm working with an application that would need to interact with several sets of services, some local and some remote. I'm wondering if there is some Seam magic for this, so I don't have to have gooey jndi/home iface/remote iface junk in my app. 2. Also, is there anything special I need to do to make one of my EJB sessions also respond to remote calls? [I don't know too much of the EJB3 stuff yet, but I'm hoping I could just add the "@Remote" annotation to the interface - however, how would it be registered with jndi?] 3. What happens on my web page when the JSF listener is a remote session bean and its server is down (our old friend RemoteException)? Is that handled gracefully by Seam, or is there a mechanism for me to handle it gracefully? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960858#3960858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960858 From do-not-reply at jboss.com Tue Jul 25 22:32:25 2006 From: do-not-reply at jboss.com (Frozen4Time) Date: Tue, 25 Jul 2006 22:32:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <7899064.1153881145456.JavaMail.jboss@colo-br-02.atl.jboss.com> I definately realize that the suggestions I made aren't all that easy and would require some redsign in the layout engine. I guess the point is that I understand the challenges. Never the less I wanted to make my suggestion. An AJAX based lyout engine would be really nice, but it doesn't HAVE to be that dynamic. Even if the layout util has to make a round trip to the server when layout changes are made, that wouls still be nice enough. This is how EXO works. Its not AJAX, but when you add a container or portlet, an http request goes to the server and a new page comes back with the additions/modifcations. This isn't quite as slick as the google editor, but it gets the job done. Basically, the key being that you are looking at the page while you are making changes to it. The reason I have been mentioning EXO is because that is what I am currently using for a project. EXO isn't terribly stable, is a pain to install and hard to pre-configure. These are the things I love about JBoss portal. The only real hold up is the layout engine. The fact that you mention letting users layout their own pages says to me you guys are moving in the right direction since a portal user would expect a simple easy to use layout engine. I am really trying to champion JBoss portal in my organization and these features would make that task much easier. Being able to dynamically create any layout you want would be a big benefit, but as you say that would involve being able to cofigure this at runtime which would involve creating a lot of infrastructure as well as changing existing conventions. That being said I think it would be a great feature. Anyway thanks for your comments. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960859#3960859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960859 From do-not-reply at jboss.com Tue Jul 25 23:05:28 2006 From: do-not-reply at jboss.com (parid) Date: Tue, 25 Jul 2006 23:05:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: hot-redeployment fails because of CacheException: null Message-ID: <22527165.1153883128847.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having exactly the same problem. Did you ever find a solution or work-around? PLEASE, post it. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960861#3960861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960861 From do-not-reply at jboss.com Tue Jul 25 23:13:25 2006 From: do-not-reply at jboss.com (ScottMarlowNovell) Date: Tue, 25 Jul 2006 23:13:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: java.io.NotSerializableException: java.lang.Object -Clus Message-ID: <2922195.1153883605429.JavaMail.jboss@colo-br-02.atl.jboss.com> It might help to add some debug print code to java.util.ArrayList.writeObject() (in java.util.ArrayList.java around line 529). There are some hoops that you have to jump through to get the updated class ArrayList class file in to be used. It should be worthwhile if you get information about which field it is that isn't serializable, as you will then know which one needs to change. Don't do this in your production app server installation and don't leave the debug ArrayList in your production app server installation. I hope makes sense as my sleeping pill is kicking in. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960862#3960862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960862 From do-not-reply at jboss.com Tue Jul 25 23:41:06 2006 From: do-not-reply at jboss.com (confuz) Date: Tue, 25 Jul 2006 23:41:06 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problem using FileCacheLoader Message-ID: <25131080.1153885266398.JavaMail.jboss@colo-br-02.atl.jboss.com> "genman" wrote : | In terms of design, it's a good idea to make each tree node represent a relational database row (fixed in size), rather than store the contents of an entire database table. | | For example, if you were storing customers, each customer should have its own node. | Hi Genman, I can not found any passivation policy support node's value level. but what i need is 100,000 in one node, 20,000 in-memory and 80,000 in passivated status. so i implement that by what you suggested(one node represent a record), but currently in my local machine, the program will hang when putting nodes in to cache and nodes had exceeded 40,000 any suggestions on this issue, thanks regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960864#3960864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960864 From do-not-reply at jboss.com Tue Jul 25 23:58:35 2006 From: do-not-reply at jboss.com (visolvejboss) Date: Tue, 25 Jul 2006 23:58:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple Instance of JBoss Message-ID: <30752984.1153886315714.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, The details were explained in that link itself. For your reference we will provide the same information here. There are two methods of running multiple instances. 1. With the use ipaddress parameter # run.sh -b localhost # run.sh -b {ipaddess} Note that, with this method we are starting two instances of JBoss with the same configuration mode (default). One of the problem with this method is second JBoss instance will thorw an error if you configured to run Hsqldb as your database. 2. By specifying the different ports for each service To excute this method, you should have two configurations and you should specify different portnumber for each service in this two configurations. Manually changing the port number for each service is tedious job. So, we can use the ServiceBinding service avaiable in JBoss. Take an example, you want to run default and all mode in the same server. You can achive this by umcommenting the Service Binding section of the jboss-service.xml file in the conf directory of any of configuration (default or all). | ports-01 | ${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml | | org.jboss.services.binding.XMLServicesStoreFactory | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960865#3960865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960865 From do-not-reply at jboss.com Wed Jul 26 00:00:43 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Wed, 26 Jul 2006 00:00:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss Cache Manager Exception Message-ID: <14853991.1153886443867.JavaMail.jboss@colo-br-02.atl.jboss.com> You probably deploying it into default configuration or custom configuration that based on default and does not have clustering support. Remove tag from your web.xml. You probably used some version of JBossIDE to create this descriptor, and if I remember correctly it did it by default. OR: Deploy your application into the allconfiguration Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960866#3960866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960866 From do-not-reply at jboss.com Wed Jul 26 00:02:30 2006 From: do-not-reply at jboss.com (muyan) Date: Wed, 26 Jul 2006 00:02:30 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - help me! This error Unregistered handle that was not registe Message-ID: <21369228.1153886550051.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to know why? My database is oracle 10g, os is rh linux 4 .where I using datasources is error. The error is 16:54:49,810 INFO [TxConnectionManager] Unregistered handle that was not registered! org.jboss.resource.adapter.jdbc.WrappedConnection at 1d479cf for managedConnection: org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14f79cb who can help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960867#3960867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960867 From do-not-reply at jboss.com Wed Jul 26 00:10:36 2006 From: do-not-reply at jboss.com (azhurakousky) Date: Wed, 26 Jul 2006 00:10:36 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss Plugin for Eclipse 3.2.0 Message-ID: <32236892.1153887036718.JavaMail.jboss@colo-br-02.atl.jboss.com> Try this: Google "JBoss Plugin for Eclipse 3.2.0" which is exactly your topic and see how long will it take you to find an answer. Don't mean to be rude, but I think you could have save yourself a lot of time if you would just do that. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960868#3960868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960868 From do-not-reply at jboss.com Wed Jul 26 00:14:59 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Wed, 26 Jul 2006 00:14:59 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: help me! This error Unregistered handle that was not reg Message-ID: <30847184.1153887299423.JavaMail.jboss@colo-br-02.atl.jboss.com> First, what version of JBoss are you using? Also, what are you doing to make/close a connection and in what context (ie EJB, Servlet)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960869#3960869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960869 From do-not-reply at jboss.com Wed Jul 26 00:50:07 2006 From: do-not-reply at jboss.com (jboss-Nth-Fan) Date: Wed, 26 Jul 2006 00:50:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Could not register synchronization Message-ID: <32914235.1153889407199.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using 1.0.1GA, and identical code to the DvdStore AcceptAction.java, for a simple workflow - it seems pretty straightforward. However I'm getting a Seam uncaught exception due to a hibernate exception: Could not register synchronization. When executing the @EndTask method, the method itself is never executed. I've reviewed the code but there is nothing obvious, it's identical to the AcceptAction.java. Any pointers will be appreciated. Yeyo Stack trace: ERROR 26-07 00:42:11,908 (Log4JLogger.java:error:119) -uncaught exception handled by Seam | javax.servlet.ServletException: Error calling action method of component with id id_01:id_03 | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Unknown Source) | ERROR 26-07 00:42:11,939 (Log4JLogger.java:error:119) -Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id formId:submitButtonId | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Unknown Source) | Caused by: javax.faces.el.EvaluationException: /approval.xhtml @128,119 action="#{approveAction.approve}": java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 29 more | Caused by: java.lang.RuntimeException: org.hibernate.TransactionException: Could not register synchronization | at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:274) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:171) | at org.jboss.ejb3.cache.NoPassivationCache.remove(NoPassivationCache.java:143) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:89) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:189) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy66.submit(Unknown Source) | 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 com.sun.el.parser.AstValue.invoke(AstValue.java:151) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | ... 30 more | Caused by: org.hibernate.TransactionException: Could not register synchronization | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159) | at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:59) | at org.jboss.ejb3.stateful.StatefulBeanContext.closeExtendedPCs(StatefulBeanContext.java:285) | at org.jboss.ejb3.stateful.StatefulBeanContext.remove(StatefulBeanContext.java:269) | ... 51 more | Caused by: javax.transaction.RollbackException: Already marked for rollback, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=null:1153888768142/32, BranchQual=null:1153888768142, localId=0:32] | at org.jboss.tm.TransactionImpl.checkStatus(TransactionImpl.java:2753) | at org.jboss.tm.TransactionImpl.registerSynchronization(TransactionImpl.java:1531) | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:156) | ... 54 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960871#3960871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960871 From do-not-reply at jboss.com Wed Jul 26 01:00:07 2006 From: do-not-reply at jboss.com (ZeddMaxim) Date: Wed, 26 Jul 2006 01:00:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - EAR deployment Message-ID: <27675482.1153890007446.JavaMail.jboss@colo-br-02.atl.jboss.com> I am at my wits' end. Hopefully somone can shed some light on this. I am putting together a Seam app very similar to the messages example. Does anyone have the slightest clue what might cause Seam to not find any of my Stateful, Stateless, or Entity beans within the deployed ear when it scans the ejb jar? An excerpt from the deployment output is below (everything but the persistence unit init). Please let me know if posting any other files would help. Thanks, Steve | 23:52:32,484 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.4.GA/server/default/deploy/MyProject2.ear | 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.DropDownLookupBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 12656d3 | 23:52:41,109 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.pid.ejb.session.User org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 196fffc | 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelBuilderBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 1405b61 | 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.ModelSetupSessionBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 1c3d993 | 23:52:41,156 INFO [Ejb3DescriptorHandler] adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to com.something.session.util.DropDownBean org.jboss.annotation.internal.DefaultInterceptorMarkerImpl at 582e17 | 23:52:41,171 INFO [Ejb3Deployment] EJB3 deployment time took: 156 | | ... | | 23:52:42,140 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 23:52:42,234 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownLookupBean,service=EJB3 with dependencies: | 23:52:42,234 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist | 23:52:42,250 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.DropDownLookupBean ejbName: DropDownLookupBean | 23:52:42,265 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=User,service=EJB3 with dependencies: | 23:52:42,281 INFO [EJBContainer] STARTED EJB: com.something.pid.ejb.session.User ejbName: User | 23:52:42,281 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelBuilderBean,service=EJB3 with dependencies: | 23:52:42,281 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist | 23:52:42,406 INFO [EJBContainer] STARTED EJB: com.something.session.ModelBuilderBean ejbName: ModelBuilderBean | 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=ModelSetupSessionBean,service=EJB3 with dependencies: | 23:52:42,437 INFO [EJBContainer] STARTED EJB: com.something.session.ModelSetupSessionBean ejbName: ModelSetupSessionBean | 23:52:42,437 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MyProject2.ear,jar=MyProject-ejb2.jar,name=DropDownBean,service=EJB3 with dependencies: | 23:52:42,437 INFO [JmxKernelAbstraction] persistence.units:ear=MyProject2.ear,jar=MyProject-ejb2.jar,unitName=MyProjectPersist | 23:52:42,453 INFO [EJBContainer] STARTED EJB: com.something.session.util.DropDownBean ejbName: DropDownBean | 23:52:42,468 INFO [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar | 23:52:42,468 INFO [TomcatDeployer] deploy, ctxPath=/MyProject, warUrl=.../tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/ | 23:52:42,828 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml | 23:52:42,859 INFO [FacesConfigurator] Reading config jar:file:/C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml | 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml | 23:52:42,875 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml | 23:52:42,890 INFO [FacesConfigurator] Reading config jar:file:/C:/Program%20Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-web2-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/faces-config.xml | 23:52:42,890 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml | 23:52:43,203 INFO [StartupServletContextListener] ServletContext 'C:\Program Files\jboss-4.0.4.GA\server\default\.\tmp\deploy\tmp14235MyProject2.ear-contents\MyProject-web2-exp.war\' initialized. | 23:52:43,203 INFO [ServletContextListener] Welcome to Seam 1.0.1.GA | 23:52:43,203 INFO [Initialization] reading components.xml | 23:52:43,218 INFO [Initialization] reading properties from: /seam.properties | 23:52:43,218 INFO [Initialization] reading properties from: /jndi.properties | 23:52:43,218 INFO [Initialization] initializing Seam | 23:52:43,281 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | 23:52:43,312 INFO [Component] Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | 23:52:43,312 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | 23:52:43,328 INFO [Component] Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | 23:52:43,343 INFO [Component] Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | 23:52:43,343 INFO [Component] Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | 23:52:43,343 INFO [Component] Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | 23:52:43,343 INFO [Component] Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | 23:52:43,359 INFO [Component] Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | 23:52:43,359 INFO [Component] Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | 23:52:43,375 INFO [Component] Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | 23:52:43,375 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | 23:52:43,375 INFO [Component] Component: pageContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PageContext | 23:52:43,375 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.EventContext | 23:52:43,390 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.SessionContext | 23:52:43,390 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.StatelessContext | 23:52:43,390 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext | 23:52:43,390 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext | 23:52:43,390 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext | 23:52:43,390 INFO [Component] Component: locale, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Locale | 23:52:43,406 INFO [Component] Component: messages, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.Messages | 23:52:43,406 INFO [Component] Component: interpolator, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.Interpolator | 23:52:43,421 INFO [Component] Component: facesMessages, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesMessages | 23:52:43,421 INFO [Component] Component: resourceBundle, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.ResourceBundle | 23:52:43,421 INFO [Component] Component: localeSelector, scope: SESSION, type: JAVA_BEAN, class: org.jboss.seam.core.LocaleSelector | 23:52:43,437 INFO [Component] Component: uiComponent, scope: STATELESS, type: JAVA_BEAN, class: org.jboss.seam.core.UiComponent | 23:52:43,437 INFO [Component] Component: org.jboss.seam.remoting.messaging.subscriptionRegistry, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.remoting.messaging.SubscriptionRegistry | 23:52:43,453 INFO [Component] Component: pojoCache, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PojoCache | 23:52:43,453 INFO [Component] Component: org.jboss.seam.debug.introspector, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.debug.Introspector | 23:52:43,500 INFO [Component] Component: org.jboss.seam.debug.contexts, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.debug.Contexts | 23:52:43,500 INFO [Scanner] scanning: /C:/Program Files/jboss-4.0.4.GA/server/default/tmp/deploy/tmp14235MyProject2.ear-contents/MyProject-ejb2.jar | 23:52:43,609 INFO [Initialization] done initializing Seam | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960872#3960872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960872 From do-not-reply at jboss.com Wed Jul 26 01:10:15 2006 From: do-not-reply at jboss.com (mroosendaal) Date: Wed, 26 Jul 2006 01:10:15 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: hot-redeployment fails because of CacheException: null Message-ID: <14964842.1153890615578.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We don't use second level caching because we are running in a cluster and ehcache is not a transactional cache. But i haven't looked into this anymore so no solution as of yet. Good luck, Maarten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960873#3960873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960873 From do-not-reply at jboss.com Wed Jul 26 01:43:46 2006 From: do-not-reply at jboss.com (peter_p) Date: Wed, 26 Jul 2006 01:43:46 -0400 (EDT) Subject: [jboss-user] [Javassist user questions] - Re: Javassist throws SecurityException on 4.0.4GA Message-ID: <33334345.1153892626395.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've made similar experiences. Instead of EJB3 I'm directly working with hibernate and using the JBoss Hibernate MBean to bind my sessionfactory to the JNDI Tree. My Client is a webstart application and I'am forced to sign my classes. In the EJB3 Forum this error is posted, too. The thread suggests to switch back to cglib in order to solve this problem. One should use the -Dhibernate.bytecode.provide=cglib Option to change the implementation to cglib. Using this switch together with the Hibernate MBean you will see that it is ignored because the MBean overrides it on construction: | protected void createService() throws Exception | { | log.trace( "forcing bytecode provider -> javassist" ); | // todo : really need a much better solution for this... | System.setProperty( Environment.BYTECODE_PROVIDER, "javassist" ); | } | Thus, I suppose javassist is the prefered way to do bytecode enhancement. Does anybody know a workaround for this error? Are there plans to fix this error? regards Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960875#3960875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960875 From do-not-reply at jboss.com Wed Jul 26 01:47:56 2006 From: do-not-reply at jboss.com (jkoek) Date: Wed, 26 Jul 2006 01:47:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Dynamic creating portals Message-ID: <14444818.1153892876532.JavaMail.jboss@colo-br-02.atl.jboss.com> A new user logs on to the system. Based on the settings the user entered a portal is created. For instance the user is asked how many news portlets he wants on the screen. The user is able to design it's own portal based on the instances of portlets that are created. To help him a template is available which gives for every general type of user a portal (*-object.xml). After filling in the questions the portal should be created with the preferences the user has entered. Also the constrains are entered into the page for every instance. So the user is able to setup user rights for other users/roles. Even in cases where I don't have enough instance, I should be able to create a new instance of a portlet (newportlet-instances.xml or extending the existing *-instances.xml) I'm using dojo to move the portlets around on the client and make them resizeable (FloatPane). With the servlet that you helped me with I can save the position of the window (as preference of the portlet instance, every portlet instance is tied to one page for a user). I'm have created my own layout style that injects the type of window I want passed on the position/area on the screen (also dojo based). To communicate with the server from out of the window I'm using RPC (also dojo based). With this communication I can remove or add portlets to a page. But the page flow stays as is (for the moment). I can even created new pages if needed, so the user can save multiple instances of a page and change some preferences on the new page (newpage-object.xml). If I could create pages with an xml style I can preserve the information to create a portal in a manor that is portable and according to standards. I hope it is a bit more clear for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960876#3960876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960876 From do-not-reply at jboss.com Wed Jul 26 02:06:59 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 26 Jul 2006 02:06:59 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Simple injection of SessionContext not working Message-ID: <4205310.1153894019078.JavaMail.jboss@colo-br-02.atl.jboss.com> JIRA http://jira.jboss.com/jira/browse/EJBTHREE-664 created. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960878#3960878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960878 From do-not-reply at jboss.com Wed Jul 26 02:16:46 2006 From: do-not-reply at jboss.com (skedrf) Date: Wed, 26 Jul 2006 02:16:46 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - JBoss 4.0.4 + provided example not working Message-ID: <16319742.1153894606872.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I downloaded latest version of Spring Deployer and tried it with JBoss v. 4.0.4 GA. I wanted to see how provided example works. So, I followed the instructions (JBoss-Spring-Example.doc) and deployed deployer itself and JBoss Spring example application. But deployment of the example application always fails with same error: ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'randomizer' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound Caused by: javax.naming.NameNotFoundException: org.jboss.tutorial.ee.service.Randomizer not bound Whole exception stack is pretty big, but I can post it if it is necessary. Any ideas what is wrong? It is just a plain and clean JBoss installation with Spring deployer and JBoss Spring example, nothing more. Java version 1.5.0_05-b05, JBoss version 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) Spring Deployer 1.3. PS. hopefully this is right forum for these questions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960882#3960882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960882 From do-not-reply at jboss.com Wed Jul 26 02:20:59 2006 From: do-not-reply at jboss.com (macios) Date: Wed, 26 Jul 2006 02:20:59 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: dynamic create queue Message-ID: <28549378.1153894859011.JavaMail.jboss@colo-br-02.atl.jboss.com> I'am trying to use MBeanProxyExt.create(....), but I don't know which interface use for ServerPeer service View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960883#3960883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960883 From do-not-reply at jboss.com Wed Jul 26 02:21:06 2006 From: do-not-reply at jboss.com (choozie) Date: Wed, 26 Jul 2006 02:21:06 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: rmi registry Message-ID: <1722156.1153894866894.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm still facing the same errors. If someone has managed to use the rmi registry that RMIServerInvoker creates I would be very glad to hear how! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960884#3960884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960884 From do-not-reply at jboss.com Wed Jul 26 02:22:20 2006 From: do-not-reply at jboss.com (pramod_ppp) Date: Wed, 26 Jul 2006 02:22:20 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning Message-ID: <888464.1153894940629.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Tony, I really impressed with all the stats and performace tips provided in this discussion. Could you please let me know about your enviornment. Also did u tried the Regression testing on your application. If yes could you please post your stats. Thanks Pramod View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960885#3960885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960885 From do-not-reply at jboss.com Wed Jul 26 03:17:55 2006 From: do-not-reply at jboss.com (nax32) Date: Wed, 26 Jul 2006 03:17:55 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek Message-ID: <24378437.1153898275619.JavaMail.jboss@colo-br-02.atl.jboss.com> i still have an error: "Cannot obtain java type mapping for..." i don't know how to specify where my jaxrpc-mapping is. i know that is in the EB3 file in the folder: META-INF. how can I solve this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960889#3960889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960889 From do-not-reply at jboss.com Wed Jul 26 03:36:35 2006 From: do-not-reply at jboss.com (petekol) Date: Wed, 26 Jul 2006 03:36:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <14647322.1153899395123.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : It is almost always wrong to use a constant conversation id in @Begin. Have you actually properly understood the use of id in @Begin? Yes, I hope I understand it -), in this case it is for modal action of creating a new entity but for test purpose anyway. Can you give me a tip how I can control the instantiation of beans on a page and in what conversation contexts they go? At the moment all beans that mentioned on a page in EL get created for current conversation?.. The problem I have is that I would like to have many conversations/nested running on one page. I think it is where Seam limits visual design at the moment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960890#3960890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960890 From do-not-reply at jboss.com Wed Jul 26 03:40:54 2006 From: do-not-reply at jboss.com (yuanwh) Date: Wed, 26 Jul 2006 03:40:54 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Is any one can deploy jboss portal with oracle9? Message-ID: <6084539.1153899654442.JavaMail.jboss@colo-br-02.atl.jboss.com> I downloaded the updatest jboss-portal-2.4.0-CR2-bundled.zip with jboss AS 4.0.4 and I want to it work with oracle. So I copy the portal-oracle-ds.xml from setup folder to deploy folder and modify its parameter propertly. But when I start up it, it throws many exceptions. Firsty at some place it reported that "wsdl:output must be terminated by the matching end-tag ". And then when hibernate export the scheme, it throwed many exceptions reported the "streams type cannot be used in batching". When I startuped it the second time, it reported that "failed to register namespace portalcms -> http://jboss.org/jcr/portalcms: mapping already exists", then the cms service can not start! Any one has successfully done it? Please give me some advices More thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960891#3960891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960891 From do-not-reply at jboss.com Wed Jul 26 04:07:16 2006 From: do-not-reply at jboss.com (the_dude) Date: Wed, 26 Jul 2006 04:07:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <14571885.1153901236258.JavaMail.jboss@colo-br-02.atl.jboss.com> "kukeltje" wrote : Using a separated process (cvs with cmdb or whatever). You would want to have the changes to e.g. en expression (which could have a major impact) in there as well. Don't you want them tested in some way or another? I do that already. I thought it might be more comfortable for the user to have a quick look (from the web app) at the older process definitions than starting eclipse and look it up there. "kukeltje" wrote : | Even if you want to do it runtime, the process is in the db in string format, so you can retrieve the latest that way [...] | Could you give a hint where to look / which method to call? I checked the JBPM_BYTEARRAY table, but couldn't find it there. FYI: I fetch the process image via | .getGraphSession().loadProcessDefinition(id).getFileDefinition().getBytes("processimage.jpg"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960892#3960892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960892 From do-not-reply at jboss.com Wed Jul 26 04:08:36 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 26 Jul 2006 04:08:36 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.0.4 + provided example not working Message-ID: <26164667.1153901316645.JavaMail.jboss@colo-br-02.atl.jboss.com> Uf, my mistake. I forgot to fix new ejb3 jndi naming in applicationContext.xml. I've put on a fixed version of JBoss-Spring example. - http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=161914 Thanx for reporting this. :-) Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960893#3960893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960893 From do-not-reply at jboss.com Wed Jul 26 04:22:17 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 04:22:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <6477809.1153902137096.JavaMail.jboss@colo-br-02.atl.jboss.com> Sounds like there could be a JSF error. Add to find out ;). Plus: The Tag should come right after the . Don't ask me why it's been left out in this example, and it surprises me that the original example works without form tags... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960895#3960895 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960895 From do-not-reply at jboss.com Wed Jul 26 04:24:07 2006 From: do-not-reply at jboss.com (nabieh) Date: Wed, 26 Jul 2006 04:24:07 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JVM Memory information Message-ID: <2236386.1153902247719.JavaMail.jboss@colo-br-02.atl.jboss.com> Dears, Any help please? That answer confused me instead of giving me the answer. Thanks in advance. Nabieh. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960896#3960896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960896 From do-not-reply at jboss.com Wed Jul 26 04:31:06 2006 From: do-not-reply at jboss.com (dreyk) Date: Wed, 26 Jul 2006 04:31:06 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: Remoting using Http over a singel port Message-ID: <6925859.1153902666356.JavaMail.jboss@colo-br-02.atl.jboss.com> While jboss server deploy ejb3 module,it properly find default ClientBindUrl from ejb3.deployer/META-INF/jboss-service.xml see Ejb3JmxDeployment.java : public String getDefaultClientBinding() | { | | try | { | ObjectName on = new ObjectName("jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3"); | ConnectorMBean connector = (ConnectorMBean) MBeanProxyExt.create(ConnectorMBean.class, on, deploymentInfo.getServer()); | String uri = connector.getInvokerLocator(); | return connector.getInvokerLocator(); | } | catch (Exception e) | { | throw new RuntimeException(e); | } | } This method always invoking during deployment, and aftter that deployer set property defaultClientBinding in class ProxyDeployer to correct value. But after that server invoke method initializeRemoteBindingMetadata() in ProxyDeployer class, and if it can't find RemoteBinding anntation it will be use defaultClientBinding from jboss-service.xml and default jndi binding, but if it find this annatation in deployed ejb it will be use RemoteBinding from whith ejb,where default value is socket://0.0.0.0:XXXX, that is why you can change this code for use defaultClientBinding from jboss-service.xml. But preffer is define in RemoteBinding annatotion default value for clientBindUrl to "" and in method initializeRemoteBindingMetadata() chek that this property not set to some value diferent from default and set it to property defaultClientBinding. see Original code: public void initializeRemoteBindingMetadata() | { | | remoteBindings = (RemoteBindings) advisor.resolveAnnotation(RemoteBindings.class); | if (remoteBindings == null) | { | RemoteBinding binding = (RemoteBinding) advisor.resolveAnnotation(RemoteBinding.class); | if (binding == null) | { | log.debug("no declared remote bindings for : " + container.getEjbName()); | if (ProxyFactoryHelper.getRemoteInterfaces(container) != null) | { | log.debug("there is remote interfaces for " + container.getEjbName()); | String jndiName = ProxyFactoryHelper.getDefaultRemoteJndiName(container); | log.debug("default remote binding has jndiName of " + jndiName); | // todo we need to have a way to define default configuration | String uri = defaultClientBinding; | Class factory = null; | factory = getDefaultRemoteProxyFactory(); | RemoteBinding[] list = {new RemoteBindingImpl(jndiName, "", uri, factory)}; | remoteBindings = new RemoteBindingsImpl(list); | advisor.getAnnotations().addClassAnnotation(RemoteBindings.class, remoteBindings); | } | } | else | { | | RemoteBinding[] list = {binding}; | remoteBindings = new RemoteBindingsImpl(list); | advisor.getAnnotations().addClassAnnotation(RemoteBindings.class, remoteBindings); | } | } | } and changed code: public void initializeRemoteBindingMetadata() | { | | remoteBindings = (RemoteBindings) advisor.resolveAnnotation(RemoteBindings.class); | if (remoteBindings == null) | { | RemoteBinding binding = (RemoteBinding) advisor.resolveAnnotation(RemoteBinding.class); | if (binding == null) | { | log.debug("no declared remote bindings for : " + container.getEjbName()); | if (ProxyFactoryHelper.getRemoteInterfaces(container) != null) | { | log.debug("there is remote interfaces for " + container.getEjbName()); | String jndiName = ProxyFactoryHelper.getDefaultRemoteJndiName(container); | log.debug("default remote binding has jndiName of " + jndiName); | // todo we need to have a way to define default configuration | String uri = defaultClientBinding; | Class factory = null; | factory = getDefaultRemoteProxyFactory(); | RemoteBinding[] list = {new RemoteBindingImpl(jndiName, "", uri, factory)}; | remoteBindings = new RemoteBindingsImpl(list); | advisor.getAnnotations().addClassAnnotation(RemoteBindings.class, remoteBindings); | } | } | else | { | //if user define clientBindUrl than use binding.clientBindUrl() | if(binding.clientBindUrl().equals("")){ | RemoteBinding[] list = {new RemoteBindingImpl(binding.jndiBinding(),binding.interceptorStack(),defaultClientBinding,binding.factory())}; | remoteBindings = new RemoteBindingsImpl(list); | } | else{ | RemoteBinding[] list = {binding}; | remoteBindings = new RemoteBindingsImpl(list); | } | advisor.getAnnotations().addClassAnnotation(RemoteBindings.class, remoteBindings); | } | } | } String clientBindUrl() default ""; in org.jboss.annotation.ejb.RemoteBinding But I think preffer solution for this problem it's define new annatation for clientBindUrl and in this method check only existinse this annataton. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960897#3960897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960897 From do-not-reply at jboss.com Wed Jul 26 04:31:49 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 04:31:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Session bean inheritance Message-ID: <27351942.1153902709336.JavaMail.jboss@colo-br-02.atl.jboss.com> I think so. Have a look at the "avoiding DRY" thread ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960898#3960898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960898 From do-not-reply at jboss.com Wed Jul 26 04:40:16 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 04:40:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <11103936.1153903216550.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks bfo81, I'll try that in next couple of hours and see if that does the trick. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960899#3960899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960899 From do-not-reply at jboss.com Wed Jul 26 04:45:58 2006 From: do-not-reply at jboss.com (johncena) Date: Wed, 26 Jul 2006 04:45:58 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM Message-ID: <16121966.1153903558800.JavaMail.jboss@colo-br-02.atl.jboss.com> I got these errors after I re-deployed the jboss-portal-2.2.1. What could cause these errors? 16:48:14,490 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: portal:service=CMS State: FAILED Reason: org.apache.jackrabbit.core.config.ConfigurationException: File system initialization failure.: failed to initialize file system: null: failed to initialize file system: null I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule Depends On Me: portal:mapper=CMSObject --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: portal:service=CMS State: FAILED Reason: org.apache.jackrabbit.core.config.ConfigurationException: File system initialization failure.: failed to initialize file system: null: failed to initialize file system: null I Depend On: jboss.jca:service=DataSourceBinding,name=PortalDS portal:service=JAASLoginModule Depends On Me: portal:mapper=CMSObject And from the browser I got this message when I clicked on localhost:8080/portal... javax.servlet.ServletException: Servlet execution threw an exception org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:84) org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960900#3960900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960900 From do-not-reply at jboss.com Wed Jul 26 04:51:02 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Wed, 26 Jul 2006 04:51:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <1681936.1153903862349.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, it still didn't work for me... I am using jdk 1.5.0_07. What are the exact steps I should do? Do I have to copy this XML stuff in a lib/endorsed folder? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960901#3960901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960901 From do-not-reply at jboss.com Wed Jul 26 04:54:03 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 04:54:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <28646046.1153904043835.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried move the tags as you suggested, but now the submit does not push the data the backend., I think the form tags must be inside the view tag. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960902#3960902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960902 From do-not-reply at jboss.com Wed Jul 26 04:57:17 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 26 Jul 2006 04:57:17 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JVM Memory information Message-ID: <9044179.1153904237980.JavaMail.jboss@colo-br-02.atl.jboss.com> All these values are obtained by invoking APIs provided by Java's java.lang.Runtime class. So the javadoc of the following methods might help you in understanding the same: Free Memory: http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#freeMemory() Max Memory : http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#maxMemory() Total Memory : http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#totalMemory() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960903#3960903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960903 From do-not-reply at jboss.com Wed Jul 26 04:58:56 2006 From: do-not-reply at jboss.com (legolas) Date: Wed, 26 Jul 2006 04:58:56 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <30784918.1153904336393.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Ben, Simplifying the code to make a test case took some time, but I have it ready now, where can I send it to? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960905#3960905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960905 From do-not-reply at jboss.com Wed Jul 26 05:01:57 2006 From: do-not-reply at jboss.com (doankhoavy) Date: Wed, 26 Jul 2006 05:01:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem in create-schema of jBPM BPEL Message-ID: <22107427.1153904517323.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to add one more line in hibernate.properties file in resource/jbpm-bpel.sar # create/update database schema automatically hibernate.hbm2ddl.auto=create View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960906#3960906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960906 From do-not-reply at jboss.com Wed Jul 26 05:09:55 2006 From: do-not-reply at jboss.com (matabo) Date: Wed, 26 Jul 2006 05:09:55 -0400 (EDT) Subject: [jboss-user] [JBossCache] - max_suspend_time and "state retrieved successfully" Message-ID: <19362591.1153904995913.JavaMail.jboss@colo-br-02.atl.jboss.com> When there are large state transfer, I get the message (JBosscache 1.2.3, JGroups 2.2.8): | WARN [STABLE] ResumeTask resumed message garbage collection - this | should be done by a RESUME_STABLE event; check why this event was not received | (or increase max_suspend_time for large state transfers) | 1) Where I can increase max_suspend_time parameter? Where is it set? Sometimes, line | INFO [TreeCache] state was retrieved successfully (in 6313 milliseconds) | is not written. Instead, I find lines like | INFO [TreeCache] state could not be retrieved (must be first member in group) | INFO [TreeCache] received the state (size=7757569 bytes) | INFO [TreeCache] transient state: 7757517 bytes | INFO [TreeCache] setting transient state | INFO [TreeCache] locking the old tree | INFO [TreeCache] locking the old tree was successful | INFO [TreeCache] setting the transient state was successful | INFO [TreeCache] forcing release of all locks in old tree | even if there is already a member in the group (for instance when I am trying to get a large state). Please note that line: "state was retrieved successfully" is not written. 2) What those lines mean exactly? The state was not transferred at all? The state was partially trasferred? A state was trasferred but it is unreliable? TIA matabo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960907#3960907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960907 From do-not-reply at jboss.com Wed Jul 26 05:22:28 2006 From: do-not-reply at jboss.com (soeursourire) Date: Wed, 26 Jul 2006 05:22:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JBPM installation Message-ID: <29575715.1153905748489.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I am trying to install JBPM but get into troubles... I am using Eclipse 3.1.1. Following the instructions I import existing project in Eclipse and obtain jbpm.3 in my workspace (and jbpm.db) then I click right on src/java.examples/org.jbpm.tutorial.action and run as JUnit. However in my JUnit window I have Runs: 2/2 Errors: 0 Failures: 0 and this in my console: 11:07:46,296 [main] DEBUG GraphElement : event 'transition' on 'Transition(5e1077)' for 'Token(/)' 11:07:46,296 [main] DEBUG GraphElement : event 'node-enter' on 'EndState(end)' for 'Token(/)' 11:07:46,296 [main] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(18b3364)' for 'Token(/)' 11:07:46,296 [main] DEBUG GraphElement : event 'after-signal' on 'State(s)' for 'Token(/)' But nothing happens and if I click on processDefinition.xml the xml is displayed although I should have the designer window appearing no? What do I do wrong? What did I miss? Thanks in advance for your help Sophie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960908#3960908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960908 From do-not-reply at jboss.com Wed Jul 26 05:25:18 2006 From: do-not-reply at jboss.com (NigelWhite) Date: Wed, 26 Jul 2006 05:25:18 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Accessing correct bean version if multiple EARs deployed Message-ID: <32640115.1153905918849.JavaMail.jboss@colo-br-02.atl.jboss.com> I went with a utility class to look up beans. The source for this class is generated by the ANT build script to prepend the name of the EAR file being built to the beginning of the JNDI name. So I have an EJBUtil class which contains public static Object getLocalEJB(String name) throws NamingException | { | return lookup("@ear_name@/" + name + "/local"); | } | | Which gets "fixed" by a filter in the build which knows the EAR file name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960909#3960909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960909 From do-not-reply at jboss.com Wed Jul 26 05:26:16 2006 From: do-not-reply at jboss.com (cknowles) Date: Wed, 26 Jul 2006 05:26:16 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1: client bug in consuming JavaBeans Message-ID: <18216271.1153905976972.JavaMail.jboss@colo-br-02.atl.jboss.com> Did anything ever come of this? I an trying to do a test of a web service before full implementation. I' m using a simple "company" bean with id, name and address. The client has the correct ordering according to the WSDL, but I get a similar error: anonymous wrote : | 10:06:28,416 ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: Requested elemen | t {urn:HelloWorldService/wsdl}address is not allowed in this position in the sequence. The next element should be address | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960910#3960910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960910 From do-not-reply at jboss.com Wed Jul 26 05:30:18 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 26 Jul 2006 05:30:18 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Lookup of ConnectionFactory from standalone client returns N Message-ID: <15299763.1153906218414.JavaMail.jboss@colo-br-02.atl.jboss.com> I have created a -ds.xml file and placed it in %JBOSS_HOME%/server/default/deploy directory. This ds file contains the configuration of a connection factory and i have pointed it to jms-ra.rar by setting the rar-name as follows: | | | | | TestRA | | jms-ra.rar | false | org.jboss.resource.adapter.jms.JmsConnectionFactory | javax.jms.Topic | java:/DefaultJMSProvider2 | 20 | JmsXARealm | | | This is just a sample connection factory which i have created as a test. Note that i have set "use-java-context" attribute to false, so that this can be looked up from outside the appserver JVM. The ds file deploys fine and the jndi name gets bound to the global namespace as expected. Here's the output from the jmx-console: anonymous wrote : Global JNDI Namespace | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- TestRA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) However, when i do a lookup of the jndi name "TestRA" from a standalone java client, the object returned is NULL. Note that there are no NameNotFound or any other such exceptions. Just to make sure that my jndi lookup code was not wrong, i did a lookup of another object which was present in the Global namespace(i.e. UserTransaction) and i got the correct reference of the object. The code, hence, does not look to be wrong. Here's the standalone client code: package org.myapp; | | import javax.naming.Context; | import javax.naming.InitialContext; | | public class TestLookup { | | /** | * @param args | */ | public static void main(String[] args) { | try { | | Context ctx = new InitialContext(); | Object ref = ctx.lookup("TestRA"); | if (ref==null) { | System.out.println("My connection factory is null"); | /* | * Try looking up some other object in global JNDI namespace | * | */ | Object anotherObj = ctx.lookup("UserTransaction"); | if (anotherObj == null) { | System.out.println("Could *not* lookup even this object. Something wrong with setup or code"); | } else { | System.out.println("Successfull lookup of the other object from the jndi: " + anotherObj); | System.out.println("Why is lookup of my connection factory failing"); | } | } else { | System.out.println("My connection factory is *not* null: " + ref); | } | | | | } catch(Exception e) { | e.printStackTrace(); | } | } | | } Why is it that i am getting a NULL when i lookup the connection factory? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960911#3960911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960911 From do-not-reply at jboss.com Wed Jul 26 05:30:51 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Wed, 26 Jul 2006 05:30:51 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Problems about updating an ArrayList in replicated TreeC Message-ID: <9069707.1153906251567.JavaMail.jboss@colo-br-02.atl.jboss.com> ben d0t wang at jboss d0t com thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960912#3960912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960912 From do-not-reply at jboss.com Wed Jul 26 05:38:51 2006 From: do-not-reply at jboss.com (graflaszlo) Date: Wed, 26 Jul 2006 05:38:51 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF question Message-ID: <709510.1153906731488.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all I have a web app wich runs on jboss-4.0.4.GA; it uses JSF and EJB3. In web.xml the I have the following settings: index.jsp index.jsf index.html index.htm and Faces Servlet *.jsf OK. It works fine when I access a JSP file from the root of my app like /myapp/index.jsp or when I access a JSP from /myapp/subfolder/index.jsp or by accessing /myapp/. But for /myapp/subfolder/ it complains that 'No faces context?!' Any suggestion? -- Laci View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960913#3960913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960913 From do-not-reply at jboss.com Wed Jul 26 05:40:00 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:40:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <24819804.1153906800694.JavaMail.jboss@colo-br-02.atl.jboss.com> I have followed the steps told by @newbie007, but the same problem still exists. So i'm posting a stacktrace from server log as @kukeltje wanted. It's a bit long. So i will split it into more than one post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960914#3960914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960914 From do-not-reply at jboss.com Wed Jul 26 05:43:11 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:43:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <5166464.1153906991254.JavaMail.jboss@colo-br-02.atl.jboss.com> {\rtf1\ansi\ansicpg1254\deff0\deflang1055{\fonttbl{\f0\fnil Courier New;}{\f1\fswiss\fcharset162{\*\fname Arial;}Arial TUR;}} {\colortbl ;\red0\green0\blue0;\red255\green255\blue255;\red0\green0\blue128;} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\cf1\highlight2\f0\fs20 08:49:44,990 INFO [Server] Starting JBoss (MX MicroKernel)...\cf0\highlight0\par \cf1\highlight2 08:49:44,990 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)\cf0\highlight0\par \cf1\highlight2 08:49:44,990 INFO [Server] Home Dir: C:\\Documents and Settings\\Sertac\\Desktop\\Proje4\\jbpm-starters-kit-3.1.1\\jbpm-server\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Home URL: file:/C:/Documents and Settings/Sertac/Desktop/Proje4/jbpm-starters-kit-3.1.1/jbpm-server/\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Patch URL: null\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Server Name: jbpm\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Server Home Dir: C:\\Documents and Settings\\Sertac\\Desktop\\Proje4\\jbpm-starters-kit-3.1.1\\jbpm-server\\server\\jbpm\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Server Home URL: file:/C:/Documents and Settings/Sertac/Desktop/Proje4/jbpm-starters-kit-3.1.1/jbpm-server/server/jbpm/\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Server Temp Dir: C:\\Documents and Settings\\Sertac\\Desktop\\Proje4\\jbpm-starters-kit-3.1.1\\jbpm-server\\server\\jbpm\\tmp\cf0\highlight0\par \cf1\highlight2 08:49:45,000 INFO [Server] Root Deployment Filename: jboss-service.xml\cf0\highlight0\par \cf1\highlight2 08:49:45,921 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc.\cf0\highlight0\par \cf1\highlight2 08:49:45,921 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc.\cf0\highlight0\par \cf1\highlight2 08:49:45,921 INFO [ServerInfo] OS-System: Windows XP 5.1,x86\cf0\highlight0\par \cf1\highlight2 08:49:47,714 INFO [Server] Core system initialized\cf0\highlight0\par \cf1\highlight2 08:49:52,561 INFO [WebService] Using RMI server codebase: http://sertac_anadollu:8083/\cf0\highlight0\par \cf1\highlight2 08:49:52,631 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml\cf0\highlight0\par \cf1\highlight2 08:49:53,993 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory at ad093076\cf0\highlight0\par \cf1\highlight2 08:50:06,241 INFO [Embedded] Catalina naming disabled\cf0\highlight0\par \cf1\highlight2 08:50:07,402 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080\cf0\highlight0\par \cf1\highlight2 08:50:07,402 INFO [Catalina] Initialization processed in 1021 ms\cf0\highlight0\par \cf1\highlight2 08:50:07,412 INFO [StandardService] Starting service jboss.web\cf0\highlight0\par \cf1\highlight2 08:50:07,442 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5\cf0\highlight0\par \cf1\highlight2 08:50:07,553 INFO [StandardHost] XML validation disabled\cf0\highlight0\par \cf1\highlight2 08:50:07,633 INFO [Catalina] Server startup in 231 ms\cf0\highlight0\par \cf1\highlight2 08:50:08,073 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/\cf0\highlight0\par \cf1\highlight2 08:50:09,595 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined\cf0\highlight0\par \cf1\highlight2 08:50:11,148 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/\cf0\highlight0\par \cf1\highlight2 08:50:13,261 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/\cf0\highlight0\par \cf1\highlight2 08:50:18,879 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar\cf0\highlight0\par \cf1\highlight2 08:50:19,199 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar\cf0\highlight0\par \cf1\highlight2 08:50:19,570 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar\cf0\highlight0\par \cf1\highlight2 08:50:21,112 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'\cf0\highlight0\par \cf1\highlight2 08:50:21,523 DEBUG [JbpmService] Creating jboss.jbpm:name=DefaultJbpm,service=JbpmService\cf0\highlight0\par \cf1\highlight2 08:50:21,523 DEBUG [JbpmService] Created jboss.jbpm:name=DefaultJbpm,service=JbpmService\cf0\highlight0\par \cf1\highlight2 08:50:21,643 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS'\cf0\highlight0\par \cf1\highlight2 08:50:23,115 ERROR [GeneralPurposeDatabasePersistencePlugin] Cannot create timer table\cf0\highlight0\par \cf3\highlight2\ul java.lang.IllegalStateException\cf1\ulnone : Cannot obtain type mapping from: jboss.jdbc:datasource=MySqlDS,service=metadata\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(\cf3\ul GeneralPurposeDatabasePersistencePlugin.java:97\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(\cf3\ul DatabasePersistencePolicy.java:96\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(\cf3\ul ServiceMBeanSupport.java:274\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceMBeanSupport.start(\cf3\ul ServiceMBeanSupport.java:181\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke0(\cf3\ul Native Method\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:72\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController$ServiceProxy.invoke(\cf3\ul ServiceController.java:960\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy0.start(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:428\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:446\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:446\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:446\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:446\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:72\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.util.MBeanProxyExt.invoke(\cf3\ul MBeanProxyExt.java:176\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy4.start(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.SARDeployer.start(\cf3\ul SARDeployer.java:285\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke0(\cf3\ul Native Method\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.AbstractInterceptor.invoke(\cf3\ul AbstractInterceptor.java:118\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(\cf3\ul ModelMBeanOperationInterceptor.java:127\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.util.JMXInvocationHandler.invoke(\cf3\ul JMXInvocationHandler.java:273\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy32.start(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.XSLSubDeployer.start(\cf3\ul XSLSubDeployer.java:185\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.start(\cf3\ul MainDeployer.java:989\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.deploy(\cf3\ul MainDeployer.java:790\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.deploy(\cf3\ul MainDeployer.java:753\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.AbstractInterceptor.invoke(\cf3\ul AbstractInterceptor.java:118\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(\cf3\ul ModelMBeanOperationInterceptor.java:127\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.util.MBeanProxyExt.invoke(\cf3\ul MBeanProxyExt.java:176\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy9.deploy(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(\cf3\ul URLDeploymentScanner.java:319\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.scanner.URLDeploymentScanner.scan(\cf3\ul URLDeploymentScanner.java:507\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(\cf3\ul AbstractDeploymentScanner.java:192\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(\cf3\ul AbstractDeploymentScanner.java:265\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(\cf3\ul ServiceMBeanSupport.java:274\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(\cf3\ul ServiceMBeanSupport.java:230\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:72\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController$ServiceProxy.invoke(\cf3\ul ServiceController.java:943\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy0.start(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.ServiceController.start(\cf3\ul ServiceController.java:428\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:72\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.util.MBeanProxyExt.invoke(\cf3\ul MBeanProxyExt.java:176\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy4.start(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.SARDeployer.start(\cf3\ul SARDeployer.java:285\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.start(\cf3\ul MainDeployer.java:989\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.deploy(\cf3\ul MainDeployer.java:790\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.deploy(\cf3\ul MainDeployer.java:753\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.deployment.MainDeployer.deploy(\cf3\ul MainDeployer.java:737\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke0(\cf3\ul Native Method\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(\cf3\ul ReflectedDispatcher.java:141\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.dispatch(\cf3\ul Invocation.java:80\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.AbstractInterceptor.invoke(\cf3\ul AbstractInterceptor.java:118\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(\cf3\ul ModelMBeanOperationInterceptor.java:127\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.Invocation.invoke(\cf3\ul Invocation.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.AbstractMBeanInvoker.invoke(\cf3\ul AbstractMBeanInvoker.java:245\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.server.MBeanServerImpl.invoke(\cf3\ul MBeanServerImpl.java:644\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.mx.util.MBeanProxyExt.invoke(\cf3\ul MBeanProxyExt.java:176\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at $Proxy5.deploy(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.server.ServerImpl.doStart(\cf3\ul ServerImpl.java:453\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.system.server.ServerImpl.start(\cf3\ul ServerImpl.java:330\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.Main.boot(\cf3\ul Main.java:187\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.Main$1.run(\cf3\ul Main.java:438\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at java.lang.Thread.run(Unknown Source)\cf0\highlight0\par \cf1\highlight2 08:50:23,165 DEBUG [JbpmService] Starting jboss.jbpm:name=DefaultJbpm,service=JbpmService\cf0\highlight0\par \cf1\highlight2 08:50:23,165 DEBUG [JbpmService] starting jbpm service...\cf0\highlight0\par \cf1\highlight2 08:50:23,195 INFO [JbpmConfiguration] using jbpm configuration resource 'jbpm.cfg.xml'\cf0\highlight0\par \cf1\highlight2 08:50:23,205 DEBUG [JbpmConfiguration] loading defaults in jbpm configuration\cf0\highlight0\par \cf1\highlight2 08:50:23,295 DEBUG [ObjectFactoryImpl] adding object info 'default.jbpm.context'\cf0\highlight0\par \cf1\highlight2 08:50:23,295 DEBUG [ObjectFactoryImpl] adding object info 'resource.hibernate.cfg.xml'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.business.calendar'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.default.modules'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.converter'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.action.types'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.node.types'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.parsers'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'resource.varmapping'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'jbpm.msg.wait.timout'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'jbpm.byte.block.size'\cf0\highlight0\par \cf1\highlight2 08:50:23,305 DEBUG [ObjectFactoryImpl] adding object info 'mail.smtp.host'\cf0\highlight0\par \cf1\highlight2 08:50:23,315 DEBUG [ObjectFactoryImpl] adding object info 'jbpm.task.instance.factory'\cf0\highlight0\par \cf1\highlight2 08:50:23,315 DEBUG [ObjectFactoryImpl] adding object info 'jbpm.variable.resolver'\cf0\highlight0\par \cf1\highlight2 08:50:23,315 DEBUG [ObjectFactoryImpl] adding object info 'jbpm.mail.address.resolver'\cf0\highlight0\par \cf1\highlight2 08:50:23,315 DEBUG [JbpmConfiguration] loading specific configuration...\cf0\highlight0\par \cf1\highlight2 08:50:23,325 DEBUG [JbpmService] binding 'org.jbpm.JbpmConfiguration at 11dfada' to 'java:/jbpm/JbpmConfiguration'\cf0\highlight0\par \cf1\highlight2 08:50:23,325 DEBUG [JbpmService] Started jboss.jbpm:name=DefaultJbpm,service=JbpmService\cf0\highlight0\par \cf1\highlight2 08:50:23,696 INFO [JbpmQueue] Bound to JNDI name: queue/JbpmQueue\cf0\highlight0\par \cf1\highlight2 08:50:23,846 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093\cf0\highlight0\par \cf1\highlight2 08:50:23,956 INFO [DLQ] Bound to JNDI name: queue/DLQ\cf0\highlight0\par \cf1\highlight2 08:50:26,420 INFO [TomcatDeployer] deploy, ctxPath=/jbpm, warUrl=.../tmp/deploy/tmp30865jbpm-exp.war/\cf0\highlight0\par \cf1\highlight2 08:50:27,151 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml\cf0\highlight0\par \cf1\highlight2 08:50:27,291 INFO [FacesConfigurator] Reading config jar:file:/C:/Documents%20and%20Settings/Sertac/Desktop/Proje4/jbpm-starters-kit-3.1.1/jbpm-server/server/jbpm/tmp/deploy/tmp3 0865jbpm-exp.war/WEB-INF/lib/tomahawk.jar!/META-INF/faces-config.xml\cf0\highlight0\par \cf1\highlight2 08:50:27,381 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml\cf0\highlight0\par \cf1\highlight2 08:50:27,691 DEBUG [ApplicationFactory] New ApplicationFactory instance created\cf0\highlight0\par \cf1\highlight2 08:50:27,782 ERROR [LocaleUtils] Locale name null or empty, ignoring\cf0\highlight0\par \cf1\highlight2 08:50:29,063 INFO [StartupServletContextListener] ServletContext 'C:\\Documents and Settings\\Sertac\\Desktop\\Proje4\\jbpm-starters-kit-3.1.1\\jbpm-server\\server\\jbpm\\.\\tmp\\deploy\\tmp30865jbpm-exp.war\\ ' initialized.\cf0\highlight0\par \cf1\highlight2 08:50:29,104 DEBUG [JbpmThreadsServlet] using default jbpm cfg resource\cf0\highlight0\par \cf1\highlight2 08:50:29,104 DEBUG [JbpmThreadsServlet] using default jbpm context\cf0\highlight0\par \cf1\highlight2 08:50:29,204 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:29,204 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:29,224 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:29,264 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:29,264 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:29,264 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:29,264 DEBUG [DbPersistenceServiceFactory] building hibernate session factory\cf0\highlight0\par \cf1\highlight2 08:50:29,414 INFO [Environment] Hibernate 3.1\cf0\highlight0\par \cf1\highlight2 08:50:29,624 INFO [Environment] hibernate.properties not found\cf0\highlight0\par \cf1\highlight2 08:50:29,634 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/\cf0\highlight0\par \cf1\highlight2 08:50:29,644 INFO [Environment] using CGLIB reflection optimizer\cf0\highlight0\par \cf1\highlight2 08:50:29,644 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling\cf0\highlight0\par \cf1\highlight2 08:50:29,895 DEBUG [HibernateHelper] creating hibernate configuration resource 'hibernate.cfg.xml'\cf0\highlight0\par \cf1\highlight2 08:50:29,895 INFO [Configuration] configuring from resource: hibernate.cfg.xml\cf0\highlight0\par \cf1\highlight2 08:50:29,895 INFO [Configuration] Configuration resource: hibernate.cfg.xml\cf0\highlight0\par \cf1\highlight2 08:50:29,955 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/action/Script.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:30,726 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080\cf0\highlight0\par \cf1\highlight2 08:50:31,928 INFO [Configuration] Reading mappings from resource: org/jbpm/identity/User.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,008 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009\cf0\highlight0\par \cf1\highlight2 08:50:32,088 INFO [HbmBinder] Mapping class: org.jbpm.identity.User -> JBPM_ID_USER\cf0\highlight0\par \cf1\highlight2 08:50:32,128 INFO [JkMain] Jk running ID=0 time=0/311 config=null\cf0\highlight0\par \cf1\highlight2 08:50:32,158 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)] Started in 47s:138ms\cf0\highlight0\par \cf1\highlight2 08:50:32,268 INFO [HbmBinder] Mapping collection: org.jbpm.identity.User.permissions -> JBPM_ID_PERMISSIONS\cf0\highlight0\par \cf1\highlight2 08:50:32,278 INFO [Configuration] Reading mappings from resource: org/jbpm/identity/Group.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,318 INFO [HbmBinder] Mapping class: org.jbpm.identity.Group -> JBPM_ID_GROUP\cf0\highlight0\par \cf1\highlight2 08:50:32,548 INFO [HbmBinder] Mapping collection: org.jbpm.identity.Group.permissions -> JBPM_ID_PERMISSIONS\cf0\highlight0\par \cf1\highlight2 08:50:32,548 INFO [Configuration] Reading mappings from resource: org/jbpm/identity/Membership.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,589 INFO [HbmBinder] Mapping class: org.jbpm.identity.Membership -> JBPM_ID_MEMBERSHIP\cf0\highlight0\par \cf1\highlight2 08:50:32,599 INFO [HbmBinder] Mapping collection: org.jbpm.identity.Membership.permissions -> JBPM_ID_PERMISSIONS\cf0\highlight0\par \cf1\highlight2 08:50:32,599 INFO [Configuration] Reading mappings from resource: org/jbpm/db/hibernate.queries.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,639 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/ProcessDefinition.hbm.xml\cf0\highlight0\par View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960915#3960915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960915 From do-not-reply at jboss.com Wed Jul 26 05:43:46 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:43:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <22354732.1153907027004.JavaMail.jboss@colo-br-02.atl.jboss.com> \cf1\highlight2 08:50:32,709 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.ProcessDefinition -> JBPM_PROCESSDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:32,809 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Node.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,859 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Node -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:32,899 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Transition.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:32,959 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Transition -> JBPM_TRANSITION\cf0\highlight0\par \cf1\highlight2 08:50:32,969 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Event.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,009 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Event -> JBPM_EVENT\cf0\highlight0\par \cf1\highlight2 08:50:33,019 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/Action.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,049 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.Action -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:33,069 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/SuperState.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,179 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.def.SuperState -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,179 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/def/ExceptionHandler.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,229 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.ExceptionHandler -> JBPM_EXCEPTIONHANDLER\cf0\highlight0\par \cf1\highlight2 08:50:33,229 INFO [Configuration] Reading mappings from resource: org/jbpm/instantiation/Delegation.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,260 INFO [HbmBinder] Mapping class: org.jbpm.instantiation.Delegation -> JBPM_DELEGATION\cf0\highlight0\par \cf1\highlight2 08:50:33,270 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/StartState.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,300 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.StartState -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,300 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/EndState.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,340 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.EndState -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,340 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/ProcessState.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,350 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.ProcessState -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,360 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Decision.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,410 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Decision -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,430 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.Decision.decisionConditions -> JBPM_DECISIONCONDITIONS\cf0\highlight0\par \cf1\highlight2 08:50:33,430 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Fork.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,470 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Fork -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,470 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/Join.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,490 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.Join -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,490 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/State.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,520 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.State -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,520 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/node/TaskNode.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,540 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.node.TaskNode -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:33,580 INFO [Configuration] Reading mappings from resource: org/jbpm/context/def/ContextDefinition.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,600 INFO [Configuration] Reading mappings from resource: org/jbpm/context/def/VariableAccess.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,630 INFO [HbmBinder] Mapping class: org.jbpm.context.def.VariableAccess -> JBPM_VARIABLEACCESS\cf0\highlight0\par \cf1\highlight2 08:50:33,660 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,700 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/Swimlane.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,720 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.Swimlane -> JBPM_SWIMLANE\cf0\highlight0\par \cf1\highlight2 08:50:33,740 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/Task.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,780 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.Task -> JBPM_TASK\cf0\highlight0\par \cf1\highlight2 08:50:33,810 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/def/TaskController.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,840 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.def.TaskController -> JBPM_TASKCONTROLLER\cf0\highlight0\par \cf1\highlight2 08:50:33,850 INFO [Configuration] Reading mappings from resource: org/jbpm/module/def/ModuleDefinition.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,900 INFO [HbmBinder] Mapping class: org.jbpm.module.def.ModuleDefinition -> JBPM_MODULEDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:33,900 INFO [Configuration] Reading mappings from resource: org/jbpm/bytes/ByteArray.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,910 INFO [HbmBinder] Mapping class: org.jbpm.bytes.ByteArray -> JBPM_BYTEARRAY\cf0\highlight0\par \cf1\highlight2 08:50:33,920 INFO [HbmBinder] Mapping collection: org.jbpm.bytes.ByteArray.byteBlocks -> JBPM_BYTEBLOCK\cf0\highlight0\par \cf1\highlight2 08:50:33,920 INFO [Configuration] Reading mappings from resource: org/jbpm/file/def/FileDefinition.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,950 INFO [HbmBinder] Mapping subclass: org.jbpm.file.def.FileDefinition -> JBPM_MODULEDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:33,950 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/def/CreateTimerAction.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:33,981 INFO [HbmBinder] Mapping subclass: org.jbpm.scheduler.def.CreateTimerAction -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:34,001 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/def/CancelTimerAction.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,041 INFO [HbmBinder] Mapping subclass: org.jbpm.scheduler.def.CancelTimerAction -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:34,041 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/Comment.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,111 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.Comment -> JBPM_COMMENT\cf0\highlight0\par \cf1\highlight2 08:50:34,141 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/ProcessInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,181 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.ProcessInstance -> JBPM_PROCESSINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,221 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/Token.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,271 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.Token -> JBPM_TOKEN\cf0\highlight0\par \cf1\highlight2 08:50:34,311 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/exe/RuntimeAction.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,341 INFO [HbmBinder] Mapping class: org.jbpm.graph.exe.RuntimeAction -> JBPM_RUNTIMEACTION\cf0\highlight0\par \cf1\highlight2 08:50:34,351 INFO [Configuration] Reading mappings from resource: org/jbpm/module/exe/ModuleInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,391 INFO [HbmBinder] Mapping class: org.jbpm.module.exe.ModuleInstance -> JBPM_MODULEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,391 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/ContextInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,421 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.ContextInstance -> JBPM_MODULEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,421 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/TokenVariableMap.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,451 INFO [HbmBinder] Mapping class: org.jbpm.context.exe.TokenVariableMap -> JBPM_TOKENVARIABLEMAP\cf0\highlight0\par \cf1\highlight2 08:50:34,481 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/VariableInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,521 INFO [HbmBinder] Mapping class: org.jbpm.context.exe.VariableInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,541 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,571 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.ByteArrayInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,581 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,621 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.DateInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,621 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,662 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.DoubleInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,662 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,702 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateLongInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,702 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,722 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.HibernateStringInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,722 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,772 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.LongInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,772 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,782 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.NullInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,792 INFO [Configuration] Reading mappings from resource: org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,802 INFO [HbmBinder] Mapping subclass: org.jbpm.context.exe.variableinstance.StringInstance -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:34,802 INFO [Configuration] Reading mappings from resource: org/jbpm/msg/Message.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,832 INFO [HbmBinder] Mapping class: org.jbpm.msg.Message -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:34,842 INFO [Configuration] Reading mappings from resource: org/jbpm/msg/db/TextMessage.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,852 INFO [HbmBinder] Mapping subclass: org.jbpm.msg.db.TextMessage -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:34,852 INFO [Configuration] Reading mappings from resource: org/jbpm/command/ExecuteActionCommand.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,892 INFO [HbmBinder] Mapping subclass: org.jbpm.command.ExecuteActionCommand -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:34,892 INFO [Configuration] Reading mappings from resource: org/jbpm/command/ExecuteNodeCommand.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,922 INFO [HbmBinder] Mapping subclass: org.jbpm.command.ExecuteNodeCommand -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:34,922 INFO [Configuration] Reading mappings from resource: org/jbpm/command/SignalCommand.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:34,962 INFO [HbmBinder] Mapping subclass: org.jbpm.command.SignalCommand -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:34,972 INFO [Configuration] Reading mappings from resource: org/jbpm/command/TaskInstanceEndCommand.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,002 INFO [HbmBinder] Mapping subclass: org.jbpm.command.TaskInstanceEndCommand -> JBPM_MESSAGE\cf0\highlight0\par \cf1\highlight2 08:50:35,002 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,052 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.exe.TaskMgmtInstance -> JBPM_MODULEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:35,072 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,122 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.TaskInstance -> JBPM_TASKINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:35,182 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.pooledActors -> JBPM_TASKACTORPOOL\cf0\highlight0\par \cf1\highlight2 08:50:35,182 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/PooledActor.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,212 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.PooledActor -> JBPM_POOLEDACTOR\cf0\highlight0\par \cf1\highlight2 08:50:35,222 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.PooledActor.taskInstances -> JBPM_TASKACTORPOOL\cf0\highlight0\par \cf1\highlight2 08:50:35,222 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,262 INFO [HbmBinder] Mapping class: org.jbpm.taskmgmt.exe.SwimlaneInstance -> JBPM_SWIMLANEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:35,272 INFO [Configuration] Reading mappings from resource: org/jbpm/scheduler/exe/Timer.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,332 INFO [HbmBinder] Mapping class: org.jbpm.scheduler.exe.Timer -> JBPM_TIMER\cf0\highlight0\par \cf1\highlight2 08:50:35,353 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/ProcessLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,383 INFO [HbmBinder] Mapping class: org.jbpm.logging.log.ProcessLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,383 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/MessageLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,403 INFO [HbmBinder] Mapping subclass: org.jbpm.logging.log.MessageLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,403 INFO [Configuration] Reading mappings from resource: org/jbpm/logging/log/CompositeLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,413 INFO [HbmBinder] Mapping subclass: org.jbpm.logging.log.CompositeLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,423 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ActionLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,433 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ActionLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,433 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/NodeLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,443 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.NodeLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,453 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,483 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ProcessInstanceCreateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,483 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,493 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.ProcessInstanceEndLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,493 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/SignalLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,513 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.SignalLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,513 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TokenCreateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,543 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TokenCreateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,543 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TokenEndLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,573 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TokenEndLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,583 INFO [Configuration] Reading mappings from resource: org/jbpm/graph/log/TransitionLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,603 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.log.TransitionLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,603 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,613 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,623 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableCreateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,683 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableCreateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,683 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableDeleteLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,703 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableDeleteLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,703 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/VariableUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,703 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.VariableUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,703 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,713 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.ByteArrayUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,733 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,763 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.DateUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,763 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,813 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.DoubleUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,813 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,863 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.HibernateLongUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,863 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,883 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.HibernateStringUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,883 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,893 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.LongUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,893 INFO [Configuration] Reading mappings from resource: org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,903 INFO [HbmBinder] Mapping subclass: org.jbpm.context.log.variableinstance.StringUpdateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,903 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,913 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,923 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:35,953 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskCreateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:35,973 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:36,023 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskAssignLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,033 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:36,044 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.TaskEndLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,044 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:36,044 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,054 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:36,054 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneCreateLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,064 INFO [Configuration] Reading mappings from resource: org/jbpm/taskmgmt/log/SwimlaneAssignLog.hbm.xml\cf0\highlight0\par \cf1\highlight2 08:50:36,104 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.log.SwimlaneAssignLog -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,104 INFO [Configuration] Configured SessionFactory: null\cf0\highlight0\par \cf1\highlight2 08:50:36,114 INFO [Configuration] processing extends queue\cf0\highlight0\par \cf1\highlight2 08:50:36,114 INFO [HbmBinder] Mapping subclass: org.jbpm.context.def.ContextDefinition -> JBPM_MODULEDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:36,154 INFO [HbmBinder] Mapping subclass: org.jbpm.taskmgmt.def.TaskMgmtDefinition -> JBPM_MODULEDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:36,154 INFO [HbmBinder] Mapping subclass: org.jbpm.graph.action.Script -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:36,164 INFO [Configuration] processing collection mappings\cf0\highlight0\par \cf1\highlight2 08:50:36,164 INFO [HbmBinder] Mapping collection: org.jbpm.identity.User.memberships -> JBPM_ID_MEMBERSHIP\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.identity.Group.children -> JBPM_ID_GROUP\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.identity.Group.memberships -> JBPM_ID_MEMBERSHIP\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.events -> JBPM_EVENT\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.nodes -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.actions -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ProcessDefinition.definitions -> JBPM_MODULEDEFINITION\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.events -> JBPM_EVENT\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.exceptionHandlers -> JBPM_EXCEPTIONHANDLER\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.leavingTransitions -> JBPM_TRANSITION\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Node.arrivingTransitions -> JBPM_TRANSITION\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Transition.events -> JBPM_EVENT\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Transition.exceptionHandlers -> JBPM_EXCEPTIONHANDLER\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.Event.actions -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:36,174 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.SuperState.nodes -> JBPM_NODE\cf0\highlight0\par \cf1\highlight2 08:50:36,184 INFO [HbmBinder] Mapping collection: org.jbpm.graph.def.ExceptionHandler.actions -> JBPM_ACTION\cf0\highlight0\par \cf1\highlight2 08:50:36,184 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.ProcessState.variableAccesses -> JBPM_VARIABLEACCESS\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.graph.node.TaskNode.tasks -> JBPM_TASK\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Swimlane.tasks -> JBPM_TASK\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Task.events -> JBPM_EVENT\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.Task.exceptionHandlers -> JBPM_EXCEPTIONHANDLER\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskController.variableAccesses -> JBPM_VARIABLEACCESS\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.file.def.FileDefinition.processFiles -> JBPM_BYTEARRAY\cf0\highlight0\par \cf1\highlight2 08:50:36,194 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.ProcessInstance.runtimeActions -> JBPM_RUNTIMEACTION\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.ProcessInstance.instances -> JBPM_MODULEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.Token.children -> JBPM_TOKEN\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.graph.exe.Token.comments -> JBPM_COMMENT\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.context.exe.ContextInstance.tokenVariableMaps -> JBPM_TOKENVARIABLEMAP\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.context.exe.TokenVariableMap.variableInstances -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.swimlaneInstances -> JBPM_SWIMLANEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskMgmtInstance.taskInstances -> JBPM_TASKINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK\cf0\highlight0\par \cf1\highlight2 08:50:36,204 INFO [HbmBinder] Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS\cf0\highlight0\par \cf1\highlight2 08:50:36,214 INFO [Configuration] processing association property references\cf0\highlight0\par \cf1\highlight2 08:50:36,214 INFO [Configuration] processing foreign key constraints\cf0\highlight0\par \cf1\highlight2 08:50:36,434 INFO [NamingHelper] JNDI InitialContext properties:\{\}\cf0\highlight0\par \cf1\highlight2 08:50:36,444 INFO [DatasourceConnectionProvider] Using datasource: java:/MySqlDS\cf0\highlight0\par \cf1\highlight2 08:50:36,454 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.22-community-nt\cf0\highlight0\par \cf1\highlight2 08:50:36,454 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.2-beta ( $Date: 2005-11-17 16:14:47 +0100 (Thu, 17 Nov 2005) $, $Revision: 4560 $ )\cf0\highlight0\par \cf1\highlight2 08:50:36,514 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLInnoDBDialect\cf0\highlight0\par \cf1\highlight2 08:50:36,524 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)\cf0\highlight0\par \cf1\highlight2 08:50:36,534 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)\cf0\highlight0\par \cf1\highlight2 08:50:36,534 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,534 INFO [SettingsFactory] Automatic session close at end of transaction: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,534 INFO [SettingsFactory] JDBC batch size: 15\cf0\highlight0\par \cf1\highlight2 08:50:36,534 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,544 INFO [SettingsFactory] Scrollable result sets: enabled\cf0\highlight0\par \cf1\highlight2 08:50:36,544 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled\cf0\highlight0\par \cf1\highlight2 08:50:36,544 INFO [SettingsFactory] Connection release mode: auto\cf0\highlight0\par \cf1\highlight2 08:50:36,554 INFO [SettingsFactory] Maximum outer join fetch depth: 2\cf0\highlight0\par \cf1\highlight2 08:50:36,554 INFO [SettingsFactory] Default batch fetch size: 1\cf0\highlight0\par \cf1\highlight2 08:50:36,554 INFO [SettingsFactory] Generate SQL with comments: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,554 INFO [SettingsFactory] Order SQL updates by primary key: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,554 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory\cf0\highlight0\par \cf1\highlight2 08:50:36,594 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory\cf0\highlight0\par \cf1\highlight2 08:50:36,594 INFO [SettingsFactory] Query language substitutions: \{\}\cf0\highlight0\par \cf1\highlight2 08:50:36,594 INFO [SettingsFactory] Second-level cache: enabled\cf0\highlight0\par \cf1\highlight2 08:50:36,594 INFO [SettingsFactory] Query cache: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,594 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider\cf0\highlight0\par \cf1\highlight2 08:50:36,644 INFO [SettingsFactory] Optimize cache for minimal puts: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,644 INFO [SettingsFactory] Structured second-level cache entries: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,664 INFO [SettingsFactory] Statistics: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,664 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled\cf0\highlight0\par \cf1\highlight2 08:50:36,664 INFO [SettingsFactory] Default entity-mode: POJO\cf0\highlight0\par \cf1\highlight2 08:50:37,015 INFO [SessionFactoryImpl] building session factory\cf0\highlight0\par \cf1\highlight2 08:50:37,566 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:37,816 WARN [EhCacheProvider] Could not find configuration [org.jbpm.instantiation.Delegation]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:38,467 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:39,088 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:39,579 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:39,619 WARN [EhCacheProvider] Could not find configuration [org.jbpm.module.def.ModuleDefinition]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:41,091 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Action]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:41,581 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:42,132 WARN [EhCacheProvider] Could not find configuration [org.jbpm.context.def.VariableAccess]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:43,524 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,606 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults.\cf0\highlight0\par View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960916#3960916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960916 From do-not-reply at jboss.com Wed Jul 26 05:45:21 2006 From: do-not-reply at jboss.com (Tobias) Date: Wed, 26 Jul 2006 05:45:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <22127532.1153907121196.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please point me to the JavaDoc that explains the differences between load() and get() concerning getting proxies or the "real" instances? I couldn't find it in http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Session.html. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960917#3960917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960917 From do-not-reply at jboss.com Wed Jul 26 05:46:46 2006 From: do-not-reply at jboss.com (jschuetter) Date: Wed, 26 Jul 2006 05:46:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <28942401.1153907206391.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the quick answer. I'll post the remoting bug on JIRA once I figured out where to find that. Maybe it wasn't clear but I do use a stateful session bean not stateless. @PersistenceContext is injected, @Logger is not. Jens | @Startup | @Name("dbCache") | @Stateful | @Scope(ScopeType.APPLICATION) | @Interceptors(SeamInterceptor.class) | public class DBCacheBean implements DBCache { | | @Logger private Log log; | | @PersistenceContext | private EntityManager entityManager; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960918#3960918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960918 From do-not-reply at jboss.com Wed Jul 26 05:48:45 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:48:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <1754592.1153907325706.JavaMail.jboss@colo-br-02.atl.jboss.com> @falazar and @kukeltje Thanks for your great attention and help.. For now , i would prefer waiting for the next ui supported version as wanted from my company. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960919#3960919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960919 From do-not-reply at jboss.com Wed Jul 26 05:50:21 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:50:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <22732365.1153907421819.JavaMail.jboss@colo-br-02.atl.jboss.com> \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,766 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,766 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:45,277 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured\cf0\highlight0\par \cf1\highlight2 08:50:45,277 INFO [SessionFactoryImpl] Checking 28 named queries\cf0\highlight0\par \cf1\highlight2 08:50:46,198 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,228 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,318 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,328 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,348 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1dfacc4\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at c7aaef\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at ed5b2\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1cea971\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,486 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1d9a2ab\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 146c2f2\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:50:51,636 DEBUG [LogFilter] request http://localhost:8080/jbpm/\cf0\highlight0\par \cf1\highlight2 08:50:51,706 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,706 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,976 INFO [[/jbpm]] No state saving method defined, assuming default server state saving\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false\cf0\highlight0\par \cf1\highlight2 08:50:52,968 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:52,968 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at ca62f7\cf0\highlight0\par \cf1\highlight2 08:50:53,118 DEBUG [LogFilter] request http://localhost:8080/jbpm/css/jbpm.css\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,148 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,148 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 1fa79c8\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] request http://localhost:8080/jbpm/images/hdr_green_side.gif\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] request http://localhost:8080/jbpm/images/logo_green.gif\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at e5167\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 26312\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 15a5aff\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 4a187\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 8aa2d\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1698b9\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 554058\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at f37160\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/login.jsp\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:userName]=gokcenkestor\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:submit]=Log In\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:_link_hidden_]=\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm_SUBMIT]=1\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:password]=gkestor\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:51:05,436 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,526 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,526 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 63725d\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/css/jbpm.css\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 95c2b4\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/images/logo_green.gif\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 21f752\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/images/hdr_green_side.gif\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 9212f4\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 70f11\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 81be8a\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 4815e\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/login.jsp\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:userName]=gokcen\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:submit]=Log In\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:_link_hidden_]=\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm_SUBMIT]=1\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:password]=sdfhdfj\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:11,264 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at c58418\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,545 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:11,625 INFO [[/jbpm]] WARNING: Component _id13 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!\cf0\highlight0\par \cf1\highlight2 08:51:11,625 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,645 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,645 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,695 WARN [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960920#3960920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960920 From do-not-reply at jboss.com Wed Jul 26 05:50:49 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:50:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <1431459.1153907449459.JavaMail.jboss@colo-br-02.atl.jboss.com> \cf1\highlight2 08:51:11,695 ERROR [JDBCExceptionReporter] 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 '?nstan0_.ID_ as ID1_27_, task?nstan0_.NAME_ as NAME3_27_, task?nstan0_.DESCRIPTI' at line 1\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 63c132\cf0\highlight0\par \cf1\highlight2 08:51:11,695 ERROR [TaskMgmtSession] \cf3\ul org.hibernate.exception.SQLGrammarException\cf1\ulnone : could not execute query\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,695 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception\cf0\highlight0\par \cf3\highlight2\ul javax.faces.el.EvaluationException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ValueBindingImpl.getValue(\cf3\ul ValueBindingImpl.java:399\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getValue(\cf3\ul UIData.java:779\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.createDataModel(\cf3\ul UIData.java:545\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getDataModel(\cf3\ul UIData.java:534\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getRowCount(\cf3\ul UIData.java:103\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(\cf3\ul HtmlTableRendererBase.java:124\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(\cf3\ul HtmlTableRendererBase.java:94\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIComponentBase.encodeChildren(\cf3\ul UIComponentBase.java:319\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.UIComponentTag.encodeChildren(\cf3\ul UIComponentTag.java:343\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.UIComponentTag.doEndTag(\cf3\ul UIComponentTag.java:251\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(\cf3\ul UIComponentBodyTagBase.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspx_meth_h_dataTable_0(org.apache.jsp.home_jsp:205)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspx_meth_f_view_0(org.apache.jsp.home_jsp:124)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:76)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.runtime.HttpJspBase.service(\cf3\ul HttpJspBase.java:97\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServletWrapper.service(\cf3\ul JspServletWrapper.java:322\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.serviceJspFile(\cf3\ul JspServlet.java:314\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.service(\cf3\ul JspServlet.java:264\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.invoke(\cf3\ul ApplicationDispatcher.java:672\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.processRequest(\cf3\ul ApplicationDispatcher.java:463\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.doForward(\cf3\ul ApplicationDispatcher.java:398\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.forward(\cf3\ul ApplicationDispatcher.java:301\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(\cf3\ul ServletExternalContextImpl.java:415\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(\cf3\ul JspViewHandlerImpl.java:234\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.lifecycle.LifecycleImpl.render(\cf3\ul LifecycleImpl.java:300\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.FacesServlet.service(\cf3\ul FacesServlet.java:95\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(\cf3\ul AuthenticationFilter.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.web.JbpmContextFilter.doFilter(\cf3\ul JbpmContextFilter.java:83\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.LogFilter.doFilter(\cf3\ul LogFilter.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(\cf3\ul ReplyHeaderFilter.java:81\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardWrapperValve.invoke(\cf3\ul StandardWrapperValve.java:213\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardContextValve.invoke(\cf3\ul StandardContextValve.java:178\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(\cf3\ul CustomPrincipalValve.java:39\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(\cf3\ul SecurityAssociationValve.java:159\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.JaccContextValve.invoke(\cf3\ul JaccContextValve.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardHostValve.invoke(\cf3\ul StandardHostValve.java:126\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.valves.ErrorReportValve.invoke(\cf3\ul ErrorReportValve.java:105\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardEngineValve.invoke(\cf3\ul StandardEngineValve.java:107\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.connector.CoyoteAdapter.service(\cf3\ul CoyoteAdapter.java:148\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Processor.process(\cf3\ul Http11Processor.java:856\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(\cf3\ul Http11Protocol.java:744\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(\cf3\ul PoolTcpEndpoint.java:527\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(\cf3\ul MasterSlaveWorkerThread.java:112\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at java.lang.Thread.run(Unknown Source)\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul javax.faces.el.EvaluationException\cf1\ulnone : org.jbpm.webapp.bean.HomeBean\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getValue(\cf3\ul PropertyResolverImpl.java:78\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(\cf3\ul ELParserHelper.java:532\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.commons.el.ComplexValue.evaluate(\cf3\ul ComplexValue.java:145\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ValueBindingImpl.getValue(\cf3\ul ValueBindingImpl.java:380\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 57 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul javax.faces.el.EvaluationException\cf1\ulnone : Bean: org.jbpm.webapp.bean.HomeBean, property: taskInstances\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getProperty(\cf3\ul PropertyResolverImpl.java:404\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getValue(\cf3\ul PropertyResolverImpl.java:71\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 60 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul java.lang.reflect.InvocationTargetException\cf0\highlight0\ulnone\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke0(\cf3\ul Native Method\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getProperty(\cf3\ul PropertyResolverImpl.java:400\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 61 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.jbpm.JbpmException\cf1\ulnone : couldn't get task instances list for actor 'gokcen'\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.db.TaskMgmtSession.findTaskInstances(\cf3\ul TaskMgmtSession.java:63\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.bean.HomeBean.getTaskInstances(\cf3\ul HomeBean.java:49\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 66 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.hibernate.exception.SQLGrammarException\cf1\ulnone : could not execute query\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.exception.SQLStateConverter.convert(\cf3\ul SQLStateConverter.java:65\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.exception.JDBCExceptionHelper.convert(\cf3\ul JDBCExceptionHelper.java:43\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doList(\cf3\ul Loader.java:2150\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.listIgnoreQueryCache(\cf3\ul Loader.java:2026\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.list(\cf3\ul Loader.java:2021\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.hql.QueryLoader.list(\cf3\ul QueryLoader.java:369\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.hql.ast.QueryTranslatorImpl.list(\cf3\ul QueryTranslatorImpl.java:298\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.impl.SessionImpl.list(\cf3\ul SessionImpl.java:1020\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.impl.QueryImpl.list(\cf3\ul QueryImpl.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.db.TaskMgmtSession.findTaskInstances(\cf3\ul TaskMgmtSession.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 67 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul com.mysql.jdbc.exceptions.MySQLSyntaxErrorException\cf1\ulnone : 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 '?nstan0_.ID_ as ID1_27_, task?nstan0_.NAME_ as NAME3_27_, task?nstan0_.DESCRIPTI' at line 1\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.SQLError.createSQLException(\cf3\ul SQLError.java:936\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.checkErrorPacket(\cf3\ul MysqlIO.java:2870\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.sendCommand(\cf3\ul MysqlIO.java:1573\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.sqlQueryDirect(\cf3\ul MysqlIO.java:1665\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.Connection.execSQL(\cf3\ul Connection.java:3124\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.PreparedStatement.executeInternal(\cf3\ul PreparedStatement.java:1146\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.PreparedStatement.executeQuery(\cf3\ul PreparedStatement.java:1259\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(\cf3\ul WrappedPreparedStatement.java:211\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.jdbc.AbstractBatcher.getResultSet(\cf3\ul AbstractBatcher.java:137\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.getResultSet(\cf3\ul Loader.java:1676\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doQuery(\cf3\ul Loader.java:662\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(\cf3\ul Loader.java:223\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doList(\cf3\ul Loader.java:2147\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 74 more\cf0\highlight0\par \cf1\highlight2 08:51:11,705 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,715 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 117aadf\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at d32ea0\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 9a288b\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:11,725 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception\cf0\highlight0\par \cf3\highlight2\ul javax.faces.FacesException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(\cf3\ul ServletExternalContextImpl.java:421\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(\cf3\ul JspViewHandlerImpl.java:234\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.lifecycle.LifecycleImpl.render(\cf3\ul LifecycleImpl.java:300\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.FacesServlet.service(\cf3\ul FacesServlet.java:95\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(\cf3\ul AuthenticationFilter.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.web.JbpmContextFilter.doFilter(\cf3\ul JbpmContextFilter.java:83\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.LogFilter.doFilter(\cf3\ul LogFilter.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(\cf3\ul ReplyHeaderFilter.java:81\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardWrapperValve.invoke(\cf3\ul StandardWrapperValve.java:213\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardContextValve.invoke(\cf3\ul StandardContextValve.java:178\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(\cf3\ul CustomPrincipalValve.java:39\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(\cf3\ul SecurityAssociationValve.java:159\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.JaccContextValve.invoke(\cf3\ul JaccContextValve.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardHostValve.invoke(\cf3\ul StandardHostValve.java:126\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.valves.ErrorReportValve.invoke(\cf3\ul ErrorReportValve.java:105\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardEngineValve.invoke(\cf3\ul StandardEngineValve.java:107\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.connector.CoyoteAdapter.service(\cf3\ul CoyoteAdapter.java:148\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Processor.process(\cf3\ul Http11Processor.java:856\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(\cf3\ul Http11Protocol.java:744\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(\cf3\ul PoolTcpEndpoint.java:527\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(\cf3\ul MasterSlaveWorkerThread.java:112\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at java.lang.Thread.run(Unknown Source)\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.apache.jasper.JasperException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServletWrapper.service(\cf3\ul JspServletWrapper.java:370\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.serviceJspFile(\cf3\ul JspServlet.java:314\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.service(\cf3\ul JspServlet.java:264\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960921#3960921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960921 From do-not-reply at jboss.com Wed Jul 26 05:51:26 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:51:26 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <16223066.1153907486756.JavaMail.jboss@colo-br-02.atl.jboss.com> \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.ProcessState.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.leavingTransitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,756 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,766 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,766 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.Decision.decisionConditions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.file.def.FileDefinition.processFiles]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,776 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.node.TaskNode.tasks]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,786 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ProcessDefinition.definitions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Event.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,796 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.SuperState.nodes]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.action.Script.variableAccesses]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:44,806 WARN [EhCacheProvider] Could not find configuration [org.jbpm.graph.def.Transition.events]; using defaults.\cf0\highlight0\par \cf1\highlight2 08:50:45,277 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured\cf0\highlight0\par \cf1\highlight2 08:50:45,277 INFO [SessionFactoryImpl] Checking 28 named queries\cf0\highlight0\par \cf1\highlight2 08:50:46,198 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,228 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,318 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,328 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,348 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1dfacc4\cf0\highlight0\par \cf1\highlight2 08:50:46,448 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at c7aaef\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:46,458 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at ed5b2\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:46,468 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1cea971\cf0\highlight0\par \cf1\highlight2 08:50:51,476 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,486 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,496 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1d9a2ab\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 146c2f2\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:51,506 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:50:51,636 DEBUG [LogFilter] request http://localhost:8080/jbpm/\cf0\highlight0\par \cf1\highlight2 08:50:51,706 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:51,706 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:51,976 INFO [[/jbpm]] No state saving method defined, assuming default server state saving\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false\cf0\highlight0\par \cf1\highlight2 08:50:52,868 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false\cf0\highlight0\par \cf1\highlight2 08:50:52,968 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:52,968 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at ca62f7\cf0\highlight0\par \cf1\highlight2 08:50:53,118 DEBUG [LogFilter] request http://localhost:8080/jbpm/css/jbpm.css\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,128 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,148 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,148 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 1fa79c8\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] request http://localhost:8080/jbpm/images/hdr_green_side.gif\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,278 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] request http://localhost:8080/jbpm/images/logo_green.gif\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at e5167\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:53,288 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 26312\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,503 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 15a5aff\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 4a187\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 8aa2d\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:50:56,513 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,510 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1698b9\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 554058\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at f37160\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:01,520 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/login.jsp\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:userName]=gokcenkestor\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:submit]=Log In\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:_link_hidden_]=\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm_SUBMIT]=1\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] request parameter [loginForm:password]=gkestor\cf0\highlight0\par \cf1\highlight2 08:51:05,426 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@9d963f\cf0\highlight0 \par \cf1\highlight2 08:51:05,436 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,436 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,526 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,526 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 63725d\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/css/jbpm.css\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,656 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 95c2b4\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/images/logo_green.gif\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,696 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 21f752\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/images/hdr_green_side.gif\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:05,786 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 9212f4\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,517 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 70f11\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,527 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 81be8a\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 4815e\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:06,537 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request http://localhost:8080/jbpm/faces/login.jsp\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:userName]=gokcen\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:submit]=Log In\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:_link_hidden_]=\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm_SUBMIT]=1\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] request parameter [loginForm:password]=sdfhdfj\cf0\highlight0\par \cf1\highlight2 08:51:11,254 DEBUG [LogFilter] session parameter [org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@e94c62\cf0\highlight0 \par \cf1\highlight2 08:51:11,264 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=ISO-8859-1\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean.UserBean at 1f31d15\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,264 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,525 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at c58418\cf0\highlight0\par \cf1\highlight2 08:51:11,535 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,545 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:11,625 INFO [[/jbpm]] WARNING: Component _id13 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!\cf0\highlight0\par \cf1\highlight2 08:51:11,625 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:11,635 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,645 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,645 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,695 WARN [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,695 ERROR [JDBCExceptionReporter] 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 '?nstan0_.ID_ as ID1_27_, task?nstan0_.NAME_ as NAME3_27_, task?nstan0_.DESCRIPTI' at line 1\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 63c132\cf0\highlight0\par \cf1\highlight2 08:51:11,695 ERROR [TaskMgmtSession] \cf3\ul org.hibernate.exception.SQLGrammarException\cf1\ulnone : could not execute query\cf0\highlight0\par \cf1\highlight2 08:51:11,695 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,695 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception\cf0\highlight0\par \cf3\highlight2\ul javax.faces.el.EvaluationException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ValueBindingImpl.getValue(\cf3\ul ValueBindingImpl.java:399\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getValue(\cf3\ul UIData.java:779\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.createDataModel(\cf3\ul UIData.java:545\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getDataModel(\cf3\ul UIData.java:534\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIData.getRowCount(\cf3\ul UIData.java:103\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(\cf3\ul HtmlTableRendererBase.java:124\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(\cf3\ul HtmlTableRendererBase.java:94\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.component.UIComponentBase.encodeChildren(\cf3\ul UIComponentBase.java:319\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.UIComponentTag.encodeChildren(\cf3\ul UIComponentTag.java:343\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.UIComponentTag.doEndTag(\cf3\ul UIComponentTag.java:251\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.taglib.UIComponentBodyTagBase.doEndTag(\cf3\ul UIComponentBodyTagBase.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspx_meth_h_dataTable_0(org.apache.jsp.home_jsp:205)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspx_meth_f_view_0(org.apache.jsp.home_jsp:124)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jsp.home_jsp._jspService(org.apache.jsp.home_jsp:76)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.runtime.HttpJspBase.service(\cf3\ul HttpJspBase.java:97\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServletWrapper.service(\cf3\ul JspServletWrapper.java:322\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.serviceJspFile(\cf3\ul JspServlet.java:314\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.service(\cf3\ul JspServlet.java:264\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.invoke(\cf3\ul ApplicationDispatcher.java:672\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.processRequest(\cf3\ul ApplicationDispatcher.java:463\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.doForward(\cf3\ul ApplicationDispatcher.java:398\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.forward(\cf3\ul ApplicationDispatcher.java:301\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(\cf3\ul ServletExternalContextImpl.java:415\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(\cf3\ul JspViewHandlerImpl.java:234\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.lifecycle.LifecycleImpl.render(\cf3\ul LifecycleImpl.java:300\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.FacesServlet.service(\cf3\ul FacesServlet.java:95\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(\cf3\ul AuthenticationFilter.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.web.JbpmContextFilter.doFilter(\cf3\ul JbpmContextFilter.java:83\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.LogFilter.doFilter(\cf3\ul LogFilter.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(\cf3\ul ReplyHeaderFilter.java:81\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardWrapperValve.invoke(\cf3\ul StandardWrapperValve.java:213\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardContextValve.invoke(\cf3\ul StandardContextValve.java:178\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(\cf3\ul CustomPrincipalValve.java:39\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(\cf3\ul SecurityAssociationValve.java:159\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.JaccContextValve.invoke(\cf3\ul JaccContextValve.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardHostValve.invoke(\cf3\ul StandardHostValve.java:126\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.valves.ErrorReportValve.invoke(\cf3\ul ErrorReportValve.java:105\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardEngineValve.invoke(\cf3\ul StandardEngineValve.java:107\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.connector.CoyoteAdapter.service(\cf3\ul CoyoteAdapter.java:148\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Processor.process(\cf3\ul Http11Processor.java:856\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(\cf3\ul Http11Protocol.java:744\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(\cf3\ul PoolTcpEndpoint.java:527\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(\cf3\ul MasterSlaveWorkerThread.java:112\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at java.lang.Thread.run(Unknown Source)\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul javax.faces.el.EvaluationException\cf1\ulnone : org.jbpm.webapp.bean.HomeBean\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getValue(\cf3\ul PropertyResolverImpl.java:78\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(\cf3\ul ELParserHelper.java:532\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.commons.el.ComplexValue.evaluate(\cf3\ul ComplexValue.java:145\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.ValueBindingImpl.getValue(\cf3\ul ValueBindingImpl.java:380\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 57 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul javax.faces.el.EvaluationException\cf1\ulnone : Bean: org.jbpm.webapp.bean.HomeBean, property: taskInstances\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getProperty(\cf3\ul PropertyResolverImpl.java:404\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getValue(\cf3\ul PropertyResolverImpl.java:71\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 60 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul java.lang.reflect.InvocationTargetException\cf0\highlight0\ulnone\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke0(\cf3\ul Native Method\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at java.lang.reflect.Method.invoke(Unknown Source)\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.el.PropertyResolverImpl.getProperty(\cf3\ul PropertyResolverImpl.java:400\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 61 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.jbpm.JbpmException\cf1\ulnone : couldn't get task instances list for actor 'gokcen'\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.db.TaskMgmtSession.findTaskInstances(\cf3\ul TaskMgmtSession.java:63\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.bean.HomeBean.getTaskInstances(\cf3\ul HomeBean.java:49\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 66 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.hibernate.exception.SQLGrammarException\cf1\ulnone : could not execute query\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.exception.SQLStateConverter.convert(\cf3\ul SQLStateConverter.java:65\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.exception.JDBCExceptionHelper.convert(\cf3\ul JDBCExceptionHelper.java:43\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doList(\cf3\ul Loader.java:2150\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.listIgnoreQueryCache(\cf3\ul Loader.java:2026\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.list(\cf3\ul Loader.java:2021\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.hql.QueryLoader.list(\cf3\ul QueryLoader.java:369\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.hql.ast.QueryTranslatorImpl.list(\cf3\ul QueryTranslatorImpl.java:298\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.impl.SessionImpl.list(\cf3\ul SessionImpl.java:1020\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.impl.QueryImpl.list(\cf3\ul QueryImpl.java:74\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.db.TaskMgmtSession.findTaskInstances(\cf3\ul TaskMgmtSession.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 67 more\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul com.mysql.jdbc.exceptions.MySQLSyntaxErrorException\cf1\ulnone : 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 '?nstan0_.ID_ as ID1_27_, task?nstan0_.NAME_ as NAME3_27_, task?nstan0_.DESCRIPTI' at line 1\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.SQLError.createSQLException(\cf3\ul SQLError.java:936\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.checkErrorPacket(\cf3\ul MysqlIO.java:2870\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.sendCommand(\cf3\ul MysqlIO.java:1573\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.MysqlIO.sqlQueryDirect(\cf3\ul MysqlIO.java:1665\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.Connection.execSQL(\cf3\ul Connection.java:3124\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.PreparedStatement.executeInternal(\cf3\ul PreparedStatement.java:1146\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at com.mysql.jdbc.PreparedStatement.executeQuery(\cf3\ul PreparedStatement.java:1259\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(\cf3\ul WrappedPreparedStatement.java:211\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.jdbc.AbstractBatcher.getResultSet(\cf3\ul AbstractBatcher.java:137\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.getResultSet(\cf3\ul Loader.java:1676\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doQuery(\cf3\ul Loader.java:662\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(\cf3\ul Loader.java:223\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.hibernate.loader.Loader.doList(\cf3\ul Loader.java:2147\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 74 more\cf0\highlight0\par \cf1\highlight2 08:51:11,705 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,715 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 117aadf\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at d32ea0\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [Services] closing service 'authentication': org.jbpm.security.authentication.DefaultAuthenticationService at 9a288b\cf0\highlight0\par \cf1\highlight2 08:51:11,725 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:11,725 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception\cf0\highlight0\par \cf3\highlight2\ul javax.faces.FacesException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(\cf3\ul ServletExternalContextImpl.java:421\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(\cf3\ul JspViewHandlerImpl.java:234\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.lifecycle.LifecycleImpl.render(\cf3\ul LifecycleImpl.java:300\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.faces.webapp.FacesServlet.service(\cf3\ul FacesServlet.java:95\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(\cf3\ul AuthenticationFilter.java:55\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.web.JbpmContextFilter.doFilter(\cf3\ul JbpmContextFilter.java:83\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jbpm.webapp.filter.LogFilter.doFilter(\cf3\ul LogFilter.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(\cf3\ul ReplyHeaderFilter.java:81\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:202\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardWrapperValve.invoke(\cf3\ul StandardWrapperValve.java:213\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardContextValve.invoke(\cf3\ul StandardContextValve.java:178\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(\cf3\ul CustomPrincipalValve.java:39\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(\cf3\ul SecurityAssociationValve.java:159\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.jboss.web.tomcat.security.JaccContextValve.invoke(\cf3\ul JaccContextValve.java:59\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardHostValve.invoke(\cf3\ul StandardHostValve.java:126\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.valves.ErrorReportValve.invoke(\cf3\ul ErrorReportValve.java:105\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.StandardEngineValve.invoke(\cf3\ul StandardEngineValve.java:107\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.connector.CoyoteAdapter.service(\cf3\ul CoyoteAdapter.java:148\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Processor.process(\cf3\ul Http11Processor.java:856\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(\cf3\ul Http11Protocol.java:744\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(\cf3\ul PoolTcpEndpoint.java:527\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(\cf3\ul MasterSlaveWorkerThread.java:112\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at java.lang.Thread.run(Unknown Source)\cf0\highlight0\par \cf1\highlight2 Caused by: \cf3\ul org.apache.jasper.JasperException\cf1\ulnone : Cannot get value for expression '#\{homeBean.taskInstances\}'\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServletWrapper.service(\cf3\ul JspServletWrapper.java:370\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.serviceJspFile(\cf3\ul JspServlet.java:314\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.jasper.servlet.JspServlet.service(\cf3\ul JspServlet.java:264\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at javax.servlet.http.HttpServlet.service(\cf3\ul HttpServlet.java:810\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(\cf3\ul ApplicationFilterChain.java:252\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationFilterChain.doFilter(\cf3\ul ApplicationFilterChain.java:173\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.invoke(\cf3\ul ApplicationDispatcher.java:672\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.processRequest(\cf3\ul ApplicationDispatcher.java:463\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.doForward(\cf3\ul ApplicationDispatcher.java:398\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.catalina.core.ApplicationDispatcher.forward(\cf3\ul ApplicationDispatcher.java:301\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(\cf3\ul ServletExternalContextImpl.java:415\cf1\ulnone )\cf0\highlight0\par \cf1\highlight2\tab ... 31 more\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 1f08b14\cf0\highlight0\par \cf1\highlight2 08:51:16,642 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:16,652 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:16,722 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:16,732 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:16,732 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 119f779\cf0\highlight0\par \cf1\highlight2 08:51:16,732 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:16,742 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:16,742 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at daa9f1\cf0\highlight0\par \cf1\highlight2 08:51:16,742 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:16,742 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 557c15\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:21,649 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 2c65f5\cf0\highlight0\par \cf1\highlight2 08:51:21,739 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:21,749 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:21,749 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at d9dbd1\cf0\highlight0\par \cf1\highlight2 08:51:21,749 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:21,749 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 190d0d2\cf0\highlight0\par \cf1\highlight2 08:51:26,656 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:26,666 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 33aa7b\cf0\highlight0\par \cf1\highlight2 08:51:26,746 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:26,756 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:26,756 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 1fd9645\cf0\highlight0\par \cf1\highlight2 08:51:26,756 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:26,756 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:31,663 DEBUG [SchedulerThread] checking for timers\cf0\highlight0\par \cf1\highlight2 08:51:31,674 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:31,674 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 3b1937\cf0\highlight0\par \cf1\highlight2 08:51:31,674 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:31,674 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [StaticNotifier] woke up\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]'\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [JbpmContext] creating JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [DbPersistenceServiceFactory] creating persistence service\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [DbPersistenceService] creating hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:31,764 DEBUG [DbPersistenceService] beginning hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [JbpmContext] closing JbpmContext\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 128c73f\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [DbPersistenceService] committing hibernate transaction\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [DbPersistenceService] closing hibernate session\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [Services] closing service 'message': org.jbpm.msg.db.DbMessageService at 3126d4\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [CommandExecutorThread] waiting for more messages\cf0\highlight0\par \cf1\highlight2 08:51:31,774 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, java.lang.Object at 121a9ec)\cf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960922#3960922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960922 From do-not-reply at jboss.com Wed Jul 26 05:52:14 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 26 Jul 2006 05:52:14 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Lookup of ConnectionFactory from standalone prog returns NUL Message-ID: <21007084.1153907534828.JavaMail.jboss@colo-br-02.atl.jboss.com> An easier way to reproduce this issue is to edit the jms-ds.xml file present in %JBOSS_HOME%/server/default/deploy/jms directory and add the following to the connection factory configuration: false Then do a lookup of the jndi name JmsXA from a standalone client. Context ctx = new InitialContext(); | Object ref = ctx.lookup("JmsXA"); It *returns NULL* (Does not throw any exceptions, though). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960923#3960923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960923 From do-not-reply at jboss.com Wed Jul 26 05:57:23 2006 From: do-not-reply at jboss.com (gkestor) Date: Wed, 26 Jul 2006 05:57:23 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <14786663.1153907843406.JavaMail.jboss@colo-br-02.atl.jboss.com> 0\highlight0\par \f1\par } Sorry for the big mess. But i couldn't decide which part to post. I hope at least i can get a solution after this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960924#3960924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960924 From do-not-reply at jboss.com Wed Jul 26 06:02:54 2006 From: do-not-reply at jboss.com (bert.w) Date: Wed, 26 Jul 2006 06:02:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Closing the Jbpm Context Message-ID: <17379593.1153908174502.JavaMail.jboss@colo-br-02.atl.jboss.com> dear all, I am having the same problem: No process instances showing up in the database. However, i cannot get the solution of using jbpmContext.close() working, as i am using jbpm integrated with Spring. Can anyone tell me how i can close the Jbpm Context when using the JbpmTemplate from spring? Using JbpmContext.getCurrentJbpmContext().close() doesn't seem to work for me, as it always returns null. Or how can i use the protected method getContext() from JbpmTemplate? thanks! BERT View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960925#3960925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960925 From do-not-reply at jboss.com Wed Jul 26 06:09:32 2006 From: do-not-reply at jboss.com (jeffery.wu) Date: Wed, 26 Jul 2006 06:09:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - a session problem Message-ID: <28694113.1153908572659.JavaMail.jboss@colo-br-02.atl.jboss.com> i have used the framework as "spring in the air" when i run testcase as follow, there was the "session is closed". how can i resolve it? | import java.util.Iterator; | import java.util.List; | | import org.jbpm.JbpmConfiguration; | import org.jbpm.JbpmContext; | import org.jbpm.graph.def.ProcessDefinition; | | import com.macrowise.common.spring.SpringTestCase; | | public class ProcessManagerTest extends SpringTestCase { | | private ProcessManager processManager; | | private JbpmConfiguration jbpmConfiguration; | | public static void main(String[] args) { | junit.textui.TestRunner.run(ProcessManagerTest.class); | System.exit(0); | } | | protected void setUp() { | try { | super.setUp(); | | springSetup(new String[] { "beans/applicationContext.xml", | "beans/persist.xml", "beans/jbpm.xml", "beans/jbpm/ProcessManager.xml" }); | | processManager = (ProcessManager) getBean("processManager"); | | jbpmConfiguration = (JbpmConfiguration) getBean("jbpmConfiguration"); | | beginTransaction(); | | } catch (Exception e) { | e.printStackTrace(); | } | } | | protected void tearDown() { | try { | super.tearDown(); | rollback(); | } catch (Exception e) { | e.printStackTrace(); | } | } | | public void testDeploy() { | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | ProcessDefinition processDefinition = ProcessDefinition | .parseXmlString("" | + " " | + " " + " " | + " " + " " | + " " + " " | + ""); | | jbpmContext.deployProcessDefinition(processDefinition); | } | | public void testFindAllProcess() { | List allProcessList = processManager.findAllProcess(); | assertNotNull(allProcessList); | } | | public void testGetProcess() {; | List allProcessList = processManager.findAllProcess(); | | for (Iterator iter = allProcessList.iterator(); iter.hasNext();) { | ProcessDefinition element = (ProcessDefinition) iter.next(); | ProcessDefinition testProcess = processManager.getProcess(element.getId()); | assertEquals(testProcess, element); | } | } | } | | | org.jbpm.JbpmException: couldn't find all process definitions | at org.jbpm.db.GraphSession.findAllProcessDefinitions(GraphSession.java:214) | at com.macrowise.common.bpm.jbpm.manager.ProcessManagerImpl.findAllProcess(ProcessManagerImpl.java:15) | at com.macrowise.common.bpm.jbpm.manager.ProcessManagerTest.testFindAllProcess(ProcessManagerTest.java:65) | 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 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:128) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: org.hibernate.SessionException: Session is closed! | at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49) | at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1222) | at org.jbpm.db.GraphSession.findAllProcessDefinitions(GraphSession.java:209) | ... 20 more | | | the testDeploy() can run successfully. But the testFindAllProcess() and testGetProcess() will be failed(session is closed) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960926#3960926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960926 From do-not-reply at jboss.com Wed Jul 26 06:19:33 2006 From: do-not-reply at jboss.com (mark.vollmann) Date: Wed, 26 Jul 2006 06:19:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Question to default behavior of PortletPreferences Message-ID: <13441696.1153909173534.JavaMail.jboss@colo-br-02.atl.jboss.com> Using jboss-portal-2.4.0-CR2, downloaded 24 July 2006 portal bundled with AS Hello If a preferences name is declared within in the portlet.xml, but the value tag is empty request.getPreferences().getValue(...) returns null rather than an empty String. Is this working as intended? NameWithEmptyValue The same applies for getValues The same applies if is replaced by View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960927#3960927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960927 From do-not-reply at jboss.com Wed Jul 26 06:21:01 2006 From: do-not-reply at jboss.com (mark.vollmann) Date: Wed, 26 Jul 2006 06:21:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Question to default behavior of PortletPreferences Message-ID: <2660953.1153909261704.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm, my bracktes got stolen.. <preference> <name>NameWithEmptyValue</name> <value></value> </preference> and <value /> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960928#3960928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960928 From do-not-reply at jboss.com Wed Jul 26 06:21:32 2006 From: do-not-reply at jboss.com (pixel) Date: Wed, 26 Jul 2006 06:21:32 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - ClassNotFoundException talking to remote EJB Message-ID: <27532243.1153909292549.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am trying to access a remote stateless session bean, which returns an interface. The interface is IStringWrapper which is an interface to StringWrapper, which has a single method, getString(). The bean looks like this: | public void ejbCreate() throws CreateException { | } | | public IStringWrapper getStringWrapper() { | Log.debug( this, "Returning new StringWrapper with \"hello\"" ); | return new StringWrapper( "hello" ); | } | when I include the StringWrapper class in my client, everything works as expected, and I get the String "hello". If I leave out the StringWrapper class, and just include the IStringWrapper interface in the client, I get the following exception: | Exception in thread "main" java.lang.reflect.UndeclaredThrowableException | at $Proxy1.getStringWrapper(Unknown Source) | at ejb.client.TestClient.getStringWrapper(TestClient.java:43) | at Test.main(Test.java:25) | Caused by: java.lang.ClassNotFoundException: ejb.results.containers.StringWrapper | at java.net.URLClassLoader$1.run(URLClassLoader.java:199) | initially I got a reference to "(no security manager: RMI class loader disabled)" which I fixed with a security policy, but I still get the ClassNotFoundException. Am I being a complete noob here, and misunderstanding the process. I thought that the ejb could return an interface, so that the client doesn't need the actual class. Is this not the case, or have I messed up something else fundamental. I know I am hitting the server, as the debug messages are showing up. Thanks pixel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960929#3960929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960929 From do-not-reply at jboss.com Wed Jul 26 06:33:26 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 06:33:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - More seam examples Message-ID: <21068999.1153910006126.JavaMail.jboss@colo-br-02.atl.jboss.com> Would it be possible to add more seam examples as I am having difficulty in developing a full blown application using seam. I posted this thread as i was having issues http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87408 with managing relationships between objects, e.g 1) Person has many Roles 2) Add Roles to Person 3) Add Siblings to Persons etc etc 4) Full DataModelSelection example, with addition and removal These are very basic i know. I looked through the documentation again and the examples, there is no concrete example that is easy to follow for the scenario i described above. At the very least I tried to modify the messages example to add messages and that failed. Most errors seem to be: 1) Issues with the view state 2) Detached entity issues (yes i know that is hibernate related and should be posted there) Rules in general like: - nullifying view object that are part of a selected element of DataModel ? - when adding child objects, do you need to do something like | entityManager.persist(car) | parent.setCar(car) | entityManager.persist(child); | parent.add(child) | parent = entityManager.merge(parent) | Ok i know the above is hibernate related, and i will look on the hibernate forums for it, or rather the ejb3 forums. Anyway, sorry for the rant :-| I'm jsut stuck and trying all sorts of things to get the functionality working properly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960930#3960930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960930 From do-not-reply at jboss.com Wed Jul 26 06:46:19 2006 From: do-not-reply at jboss.com (dv_lakshmi) Date: Wed, 26 Jul 2006 06:46:19 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: User: Null is NOT authenticated Message-ID: <8704771.1153910779532.JavaMail.jboss@colo-br-02.atl.jboss.com> I see this exception on server startup at times. Its very inconsistence and disappears on server restart Iam using Jboss4.0.4GA with Oracle 9i persistence. I have pointed DatabaseServerLoginModule to my datasource in login-config.xml . | 15:43:33,750 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: null is NOT authenticated | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: javax.jms.JMSSecurityException: User: null is NOT authenticated | at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230) | at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66) | at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:744) | at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:302) | at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:316) | at org.jboss.mq.Connection.authenticate(Connection.java:1065) | at org.jboss.mq.Connection.(Connection.java:252) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | 15:43:33,781 ERROR [JmsSessionFactoryImpl] could not create session | javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: null is NOT authenticated | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: javax.jms.JMSSecurityException: User: null is NOT authenticated | at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230) | at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66) | at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:744) | at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:302) | at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:316) | at org.jboss.mq.Connection.authenticate(Connection.java:1065) | at org.jboss.mq.Connection.(Connection.java:252) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | 15:43:33,781 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed | javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: javax.jms.JMSSecurityException: User: n | ull is NOT authenticated | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | 15:43:33,843 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C | lassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o | rg/jboss/mq/SpyXAResourceManager) | at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78) | at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63) | at org.jboss.mq.Connection.(Connection.java:311) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager | at org.jboss.mq.Connection.(Connection.java:281) | ... 23 more | 15:43:33,843 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C | lassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o | rg/jboss/mq/SpyXAResourceManager) | at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78) | at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63) | at org.jboss.mq.Connection.(Connection.java:311) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager | at org.jboss.mq.Connection.(Connection.java:281) | ... 23 more | 15:43:33,843 ERROR [JmsSessionFactoryImpl] could not create session | javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C | lassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o | rg/jboss/mq/SpyXAResourceManager) | at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78) | at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63) | at org.jboss.mq.Connection.(Connection.java:311) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager | at org.jboss.mq.Connection.(Connection.java:281) | ... 23 more | 15:43:33,875 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed | javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to | create connection; - nested throwable: (java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | 15:43:33,875 ERROR [JmsSessionFactoryImpl] could not create session | javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.C | lassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:756) | at org.jboss.resource.adapter.jms.JmsManagedConnection.(JmsManagedConnection.java:172) | at org.jboss.resource.adapter.jms.JmsManagedConnectionFactory.createManagedConnection(JmsManagedConnectionFactory.jav | a:95) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedCo | nnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.jav | a:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool. | java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnecti | onManager2.java:812) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:378) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | Caused by: org.jboss.mq.SpyJMSException: Failed to create connection; - nested throwable: (java.lang.ClassCircularityError: o | rg/jboss/mq/SpyXAResourceManager) | at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:78) | at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:63) | at org.jboss.mq.Connection.(Connection.java:311) | at org.jboss.mq.Connection.(Connection.java:323) | at org.jboss.mq.SpyConnection.(SpyConnection.java:90) | at org.jboss.mq.SpyXAConnection.(SpyXAConnection.java:70) | at org.jboss.mq.SpyXAConnectionFactory.createXAConnection(SpyXAConnectionFactory.java:88) | at org.jboss.mq.SpyXAConnectionFactory.createXAQueueConnection(SpyXAConnectionFactory.java:125) | at org.jboss.jms.ConnectionFactoryHelper.createQueueConnection(ConnectionFactoryHelper.java:149) | at org.jboss.resource.adapter.jms.JmsManagedConnection.setup(JmsManagedConnection.java:690) | ... 16 more | Caused by: java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager | at org.jboss.mq.Connection.(Connection.java:281) | ... 23 more | 15:43:33,875 ERROR [WMXDefaultMessageContainer102] Setup of JMS message listener invoker failed | javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: org.jboss.mq.SpyJMSException: Failed to | create connection; - nested throwable: (java.lang.ClassCircularityError: org/jboss/mq/SpyXAResourceManager) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.allocateConnection(JmsSessionFactoryImpl.java:392) | at org.jboss.resource.adapter.jms.JmsSessionFactoryImpl.createQueueSession(JmsSessionFactoryImpl.java:133) | at org.springframework.jms.listener.DefaultMessageListenerContainer102.createSession(DefaultMessageListenerContainer1 | 02.java:64) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.initResourcesIfNecess | ary(DefaultMessageListenerContainer.java:398) | at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageLis | tenerContainer.java:366) | at org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.ja | va:203) | at java.lang.Thread.run(Thread.java:534) | 15:43:37,437 WARN [StartupServlet] | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960931#3960931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960931 From do-not-reply at jboss.com Wed Jul 26 06:49:03 2006 From: do-not-reply at jboss.com (ovidiucn) Date: Wed, 26 Jul 2006 06:49:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <18964649.1153910943076.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok. /* WEB-INF/classes/seam.properties exists & is empty */ /* service-security.jar#!seam.properties exists & is empty */ /* ejb-jar.xml */ | | | | * | org.jboss.seam.ejb.SeamInterceptor | | | | /* WEB-INF/components.xml */ | | | true | false | emp/#{ejbName}/local | | | | /* faces-config.xml snippet */ | | | | | | | org.jboss.seam.jsf.SeamPhaseListener | | | /* web.xml snippet */ | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | Faces Servlet | *.xhtml | | | /* code */ | /* local interface */ | @Local | public interface UserManagementLocal { | public Collection getUsers (); | } | | /* business logic */ | @Name("userManagement") | @Stateless | public class UserManagement implements UserManagementLocal { | | /* The login context created when a user previously logged-in. */ | @In(value="loginContext", create=false, required=true) | private LoginContext loginContext; | | @In (value="user", create=true, required=true) | private User user; | | @In | Context sessionContext; | | public Collection getUsers() { | Collection users = new ArrayList (); | | /* user bean is null !!! */ | /* sessionContext is null !!! */ | /* the loginContext is null !!! */ | | System.out.println("user: " + user); | System.out.println("sessionContext: " + sessionContext); | System.out.println("loginContext: " + loginContext); | | try { | SecurityDataService sds = SecurityDataServiceFactory.getService(loginContext.getSub | ject()); | | Set attributeNames = new HashSet(); | users.addAll(sds.getAllUsers(attributeNames)); | } catch (SSDataManagementException e) { | e.printStackTrace(); | users.clear(); | } | | return users; | } | } | Environment: JRE 1.5.0_06 JBOSS Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) - installed with JEMS & ejb3 configuration enabled JBoss Seam 1.0.1.GA MyFaces 1.1.3 Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960932#3960932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960932 From do-not-reply at jboss.com Wed Jul 26 06:52:01 2006 From: do-not-reply at jboss.com (dgallego) Date: Wed, 26 Jul 2006 06:52:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Hiding a portlet Message-ID: <4304798.1153911121399.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, is it possible to hide a portlet dynamically? I have tried overriding the render() method, but it doesn't work at all. Thanks :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960933#3960933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960933 From do-not-reply at jboss.com Wed Jul 26 06:53:56 2006 From: do-not-reply at jboss.com (tom.baeyens@jboss.com) Date: Wed, 26 Jul 2006 06:53:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - clean handoff Message-ID: <21821530.1153911236628.JavaMail.jboss@colo-br-02.atl.jboss.com> this topic is created to collect comments on the blog entry http://jboss.org/jbossBlog/blog/tbaeyens/2006/07/26/Clean_handoff_Collaboration_and_Pluggable_Process_Constructs.txt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960935#3960935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960935 From do-not-reply at jboss.com Wed Jul 26 07:00:52 2006 From: do-not-reply at jboss.com (abumca) Date: Wed, 26 Jul 2006 07:00:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem configuring service jboss.mq:service Message-ID: <26309500.1153911652210.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm receiving the following error in the console, while starting customized jboss in windows machine. This doesn't happen on linux machine. Any body got this error before? Could you help me out figuring out exactly, the issue related to this? I'm placing the console error down: -------------------------------------------------------------------------------------- 15:51:04,203 INFO [ConfigReader] Started initialization.. 15:51:04,390 INFO [ConfigReader] Initialization done.. 15:51:04,546 INFO [ConfigReader] Started parsing config file.. 15:51:04,750 INFO [ConfigReader] Parsing done.. 15:51:04,906 INFO [ConfigReader] Initialization done.. 15:51:05,078 INFO [ConfigReader] Started parsing config file_.. 15:51:05,234 INFO [ConfigReader] Parsing done.. 15:51:08,062 INFO [ServiceConfigurator] Problem configuring service jboss.mq:service=InvocationLayer,type=UIL2 org.jboss.deployment.DeploymentException: No Attribute found with name: ClientReadTimeout at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:300) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:442) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:153) at org.jboss.system.ServiceController.install(ServiceController.java:215) at sun.reflect.GeneratedMethodAccessor46.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: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:232) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:935) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:789) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at sun.reflect.GeneratedMethodAccessor44.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:19 2) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) 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: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:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737) 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:453) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) at org.jboss.Main.boot(Main.java:187) at org.jboss.Main$1.run(Main.java:438) at java.lang.Thread.run(Thread.java:595) 15:51:19,718 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-conso le.war/ -------------------------------------------------------------------------------------- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960936#3960936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960936 From do-not-reply at jboss.com Wed Jul 26 07:04:52 2006 From: do-not-reply at jboss.com (skedrf) Date: Wed, 26 Jul 2006 07:04:52 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: JBoss 4.0.4 + provided example not working Message-ID: <7083969.1153911892402.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you, now it seems to work! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960937#3960937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960937 From do-not-reply at jboss.com Wed Jul 26 07:08:56 2006 From: do-not-reply at jboss.com (mygol) Date: Wed, 26 Jul 2006 07:08:56 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - test ejb3 with junit4 Message-ID: <27667135.1153912136138.JavaMail.jboss@colo-br-02.atl.jboss.com> i had this problem few days.i use jboss IDE2.0 and jboss-EJB-3.0_Embeddable_ALPHA_8.somebody can help me ? java.lang.RuntimeException: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.init()V at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:391) at net.youngsoft.erp.test.EjbTest.setUp(EjbTest.java:20) 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.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.NoSuchMethodError: org.jboss.util.propertyeditor.PropertyEditors.init()V at org.jboss.kernel.plugins.config.xml.JavaBeanSchemaInitializer.(JavaBeanSchemaInitializer.java:96) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.addSchemaInitializer(DefaultSchemaResolver.java:165) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:83) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.addSchema(SingletonSchemaResolverFactory.java:104) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:64) at org.jboss.xb.binding.sunday.unmarshalling.SingletonSchemaResolverFactory.(SingletonSchemaResolverFactory.java:41) at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.(BeanXMLDeployer.java:53) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBootstrap.java:377) ... 21 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960938#3960938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960938 From do-not-reply at jboss.com Wed Jul 26 07:11:00 2006 From: do-not-reply at jboss.com (wonnekeysers) Date: Wed, 26 Jul 2006 07:11:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Embeddable EJB3 with Maven2? Message-ID: <15953571.1153912260937.JavaMail.jboss@colo-br-02.atl.jboss.com> Got it working the following: pom.xml: | ... | | org.apache.maven.plugins | maven-surefire-plugin | | | src/test/resources/testng.xml | | | | | | java.class.path | target/classes | | | | | ... | TestNG test class: | public class EJB3Test extends AssertJUnit { | | @Configuration(groups = "integration.ejb3", beforeSuite = true) | public static void startupEmbeddedJboss() | { | EJB3StandaloneBootstrap.boot(null); | EJB3StandaloneBootstrap.scanClasspath(); | } | | @Configuration(groups = "integration.ejb3", afterSuite = true) | public static void shutdownEmbeddedJboss() | { | EJB3StandaloneBootstrap.shutdown(); | } | | @Test(groups = "integration.ejb3") | public void testSubtract() throws Exception { | Calculator calculator = (Calculator) new InitialContext().lookup("CalculatorBean/local"); | assertEquals(0, calculator.subtract(1, 1)); | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960939#3960939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960939 From do-not-reply at jboss.com Wed Jul 26 07:13:44 2006 From: do-not-reply at jboss.com (superfis) Date: Wed, 26 Jul 2006 07:13:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hi, I did it fiew days ago. http://jira.jboss.org/jira/browse/JBSEAM-317 http://jira.jboss.org/jira/browse/JBSEAM-316 Regards, Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960940#3960940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960940 From do-not-reply at jboss.com Wed Jul 26 07:20:05 2006 From: do-not-reply at jboss.com (unibrew) Date: Wed, 26 Jul 2006 07:20:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Jboss Forum 2.2.1-SP3 Bug? Message-ID: <18995326.1153912805302.JavaMail.jboss@colo-br-02.atl.jboss.com> I have deployed the same packages as you and they are working fine. I can think off two possibilities why this may happen to you. First is that ForumsModule MBean didn't deploy properly. You should see this in log at the end of starting AS. Second is that you may have some errors in your database. Like having topics without any posts what could cause similar efect. Nevertheless, check AS logs. It should give you some clue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960941#3960941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960941 From do-not-reply at jboss.com Wed Jul 26 07:21:44 2006 From: do-not-reply at jboss.com (phicorp) Date: Wed, 26 Jul 2006 07:21:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <31055540.1153912904701.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your reply and I will think about what you said. Nevertheless I wish that the main Seam players recognised the importance of the issue we are discussing, as I don't think that anyone using facelets would give up its composition facilities in order to use . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960942#3960942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960942 From do-not-reply at jboss.com Wed Jul 26 07:23:47 2006 From: do-not-reply at jboss.com (Viegas) Date: Wed, 26 Jul 2006 07:23:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - DefaultXPath error Message-ID: <24451095.1153913027621.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Im getting an error int the class ProcessImageTag in the line: XPath xPath = new DefaultXPath("node[@name='"+ nodename +"']"); In the eclise editor everithing is fine but when I try to run my aplication I get the error in the console: | ERROR [[jsp]] Servlet.service() for servlet jsp trew exception | java.lang.NoClassDefFoundError: org/dom4j/xpath-DefaultXPath | I have the dom4j.jar in the lib of the server so I realy dont know whats going on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960944#3960944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960944 From do-not-reply at jboss.com Wed Jul 26 07:31:50 2006 From: do-not-reply at jboss.com (hceylan) Date: Wed, 26 Jul 2006 07:31:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Cannot get JBoss to JBoss EJB3 Talk Message-ID: <19377749.1153913510965.JavaMail.jboss@colo-br-02.atl.jboss.com> Would anyone from the EJB development team please comment on the issu. I tried to play around with the ejb3-interceptors-aop.xml with no success. Hasan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960945#3960945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960945 From do-not-reply at jboss.com Wed Jul 26 07:32:38 2006 From: do-not-reply at jboss.com (balamg) Date: Wed, 26 Jul 2006 07:32:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - forwarding to cgi Message-ID: <5190986.1153913558331.JavaMail.jboss@colo-br-02.atl.jboss.com> >From within a JSF action method, I want to forward the request to a cgi-bin script. how can i do this. I have enabled the cgi servlet of tomcat and placed my script in WEB-INF/cgi. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960946#3960946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960946 From do-not-reply at jboss.com Wed Jul 26 07:38:40 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 07:38:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <24824302.1153913920283.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, I only meant that the STARTING form-tag should be moved up, so that it's behind the view tag. Maybe I expressed myself minsunderstandingly ;) Here's what I mean: ... | | | ... all the rest ... | | | ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960947#3960947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960947 From do-not-reply at jboss.com Wed Jul 26 07:39:32 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 07:39:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stale Session Objects ? DataModelSelection Problems Message-ID: <2205710.1153913972871.JavaMail.jboss@colo-br-02.atl.jboss.com> And please don't forget to put a somewhere between ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960948#3960948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960948 From do-not-reply at jboss.com Wed Jul 26 07:43:39 2006 From: do-not-reply at jboss.com (gruenewa) Date: Wed, 26 Jul 2006 07:43:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - JBoss Forum 2.2.1 SP3 Error Message-ID: <10845272.1153914219428.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Developers, I have just downloaded JBoss Portal (file: jboss-portal-2.2.1-SP3-bundled.zip) and JBoss Portal Forums (file: jboss-forums-2.2.1-SP3.zip). Then i installed JBoss Portal on a linux box using following commands: | unzip jboss-portal-2.2.1-SP3-bundled.zip | cd jboss-portal-2.2.1-SP3-bundled/ | chmod u+x bin/*.sh | bin/run.sh | Then i deployed Forums Portlet using the following commands: | mkdir tmp | unzip jboss-forums-2.2.1-SP3.zip -d tmp | cp -r tmp/portal-forums.ear/portal-forums.war jboss-portal-2.2.1-SP3-bundled/server/default/deploy/ | rm -r tmp | and the server logs this error message: | 13:28:20,489 ERROR [MainDeployer] Could not create deployment: file:/home/gruenewa/jboss-portal-2.2.1-SP3-bundled/server/default/deploy/portal-forums.war/ | org.jboss.ws.WSException: java.lang.ClassNotFoundException: org.jboss.portlet.forums.servlet.DownloadAttachmentsServlet | at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:161) | at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101) | at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy87.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor77.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 $Proxy8.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: java.lang.ClassNotFoundException: org.jboss.portlet.forums.servlet.DownloadAttachmentsServlet | 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.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:151) | ... 30 more | Am i doing something wrong or is there a bug in the Forums Portlet? Thanks, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960950#3960950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960950 From do-not-reply at jboss.com Wed Jul 26 07:48:27 2006 From: do-not-reply at jboss.com (pixel) Date: Wed, 26 Jul 2006 07:48:27 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ClassNotFoundException talking to remote EJB Message-ID: <5200492.1153914507895.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, so I'm a muppet who doesn't understand the fundamentals of serialization. Let the flames begin... :p View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960951#3960951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960951 From do-not-reply at jboss.com Wed Jul 26 07:52:33 2006 From: do-not-reply at jboss.com (gruenewa) Date: Wed, 26 Jul 2006 07:52:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Delete Portal Users Message-ID: <30343261.1153914753474.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i have found no way to delete portal users. Isn't this a bug? I think it should be possible for the administrator to delete old accounts. Of course it shouldn't be possible to delete the admin account. Thanks, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960952#3960952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960952 From do-not-reply at jboss.com Wed Jul 26 07:52:48 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 07:52:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <25191480.1153914768108.JavaMail.jboss@colo-br-02.atl.jboss.com> There was some discussion on the facelets list a couple of days ago about this. A couple of possibilities were mentioned, and Jacob Hookom said that he hoped that future versions of EL would allow this to work. When I have a moment I will see if I can get either of the possibilities to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960953#3960953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960953 From do-not-reply at jboss.com Wed Jul 26 07:53:12 2006 From: do-not-reply at jboss.com (unibrew) Date: Wed, 26 Jul 2006 07:53:12 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JBoss Forum 2.2.1 SP3 Error Message-ID: <5647670.1153914792974.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I'm not sure but as far as I remember there were some issues with this bundled version of Portal and AS. Please try downloading JBoss Portal, JBoss AS and JBoss Forums as separate packages. I deployed Portal and Forums from those packages today and it worked for me fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960954#3960954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960954 From do-not-reply at jboss.com Wed Jul 26 08:01:11 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 08:01:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: EAR deployment Message-ID: <17797378.1153915271160.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you have a seam.properties in the ejb jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960956#3960956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960956 From do-not-reply at jboss.com Wed Jul 26 08:02:38 2006 From: do-not-reply at jboss.com (gruenewa) Date: Wed, 26 Jul 2006 08:02:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Navigation Portlet: localization and sorting of tabs Message-ID: <28913509.1153915358769.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems to me that JBoss Portal 2.4 still doesn't support sorting and localization of tabs in the Navigation Portlet. I am wondering since there is an old patch "[ JBPORTAL-585 ] Sorting and Localization for Navigation Portlet ". Also I would like to rename the Default Page in the Navigation Portlet to 'Start' or 'Home'. Are there any plans to make these features available for JBoss Portal 2.4 final? Thanks, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960957#3960957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960957 From do-not-reply at jboss.com Wed Jul 26 08:02:43 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 08:02:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Could not register synchronization Message-ID: <13643100.1153915363199.JavaMail.jboss@colo-br-02.atl.jboss.com> It's often the case that this is a subsiduary exception thrown as result of an earlier error. Anything higher up the log? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960958#3960958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960958 From do-not-reply at jboss.com Wed Jul 26 08:11:15 2006 From: do-not-reply at jboss.com (peteroyle) Date: Wed, 26 Jul 2006 08:11:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Remoting with Clickable Lists Message-ID: <6888279.1153915875697.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've got a dataTable that's backed by a @DataModel in the usual "Clickable Lists" fashion, with the ability to delete a row from the table by clicking a commandLink, causing a page refresh. What I'd realy like is to be able to call the delete() method of my SFSB via Seam.Component and still be able to use the @DataModelSelection (rather than having to send a primary key or anything). Is this possible? Thanks, Pete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960959#3960959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960959 From do-not-reply at jboss.com Wed Jul 26 08:13:16 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 08:13:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: More seam examples Message-ID: <27978036.1153915996862.JavaMail.jboss@colo-br-02.atl.jboss.com> | Parent parent = new Parent(); | Child child = new Child(); | Car car = new Car(); | parent.setCar(car); | parent.add(child); | parent.persist(parent); | Assuming car and child are entities with no references to parent and Parent is: | @Entity | public class Parent { | | @ManyToOne(cascade=PERSIST) | private Car car; | @OneToMany(cascade=PERSIST) | private List children; | | ... | // Getters and setters | } | If you had bi-directional relationships you might want | entityManager.flush(); | entityManager.refresh(parent); | as well. Nullifying view objects should work fine (empty fields) (but you need to make sure the new version is outjected which requires a reasonable understanding of the difference between variables in the component and context variables). Regarding relationships - this is really a Hibernate/EJB3 JPA issue. The hibernate unit tests are good for understanding the sematics involved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960960#3960960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960960 From do-not-reply at jboss.com Wed Jul 26 08:20:26 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 08:20:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Stateless Converter: First works, then ClassNotFoundExceptio Message-ID: <5400658.1153916426506.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an entity Person that has a ManyToMany relation to other Persons ("friends" ;)). When editing one person there's a SelectManyMenu showing all Persons and you can select or deselect friends. The SelectManyMenu has a Converter (... converter="#{personConverter}"), of course. This one is implemented as a Stateless Session Bean with @Name("personConverter") and the two methods getAsString(...) and getAsObject(...). The persons are filled into that List by . You guess it, the selectItems() method returns a List, which's items are all added like this: ...add(new SelectItem(aPerson.getId(), aPerson.getName())); So far so good. Should be nothing special here ;). When going to the edit page everything works fine, and the Log shows me that the getAsString-method is called for every Person in the list. BUT: As soon as a safe the edited person (and it doesn't play a role whether I select friends or not) there's an Exception: FATAL [org.apache.myfaces.renderkit.html.HtmlRepsonseStateManager] Cannot decode Object from Base64 String | java.lang.ClassNotFoundException: No ClassLoaders found for: de.beffo.test.converter.PersonConverter | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at ... Well... how can it be that the Converter is found when the page is displayed, and not found right after submitting? Anyone having experience with such a behaviour? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960961#3960961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960961 From do-not-reply at jboss.com Wed Jul 26 08:40:37 2006 From: do-not-reply at jboss.com (rgruet) Date: Wed, 26 Jul 2006 08:40:37 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Calling an EJB method from a servlet via its Local inter Message-ID: <4973810.1153917637393.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the info. I'm using reflection because my servlet is an XFire one which dispatches SOAP requests to my EJB via an invoker, which uses the reflection API. I ran some tests an found that in my case local calls from the servlet work with one example EJB, but unfortunately not with my target one, which implements the Service Endpoint Interface (SEI) of my WS. The only difference I can think of so far is that this SEI has been generated by the XFire wsdl to Java utility (wsgen), which might have made it somewhat special in some way (annotations ?). I'm still investigating the issue... Richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960962#3960962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960962 From do-not-reply at jboss.com Wed Jul 26 08:40:58 2006 From: do-not-reply at jboss.com (soeursourire) Date: Wed, 26 Jul 2006 08:40:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <31726047.1153917658666.JavaMail.jboss@colo-br-02.atl.jboss.com> "soeursourire" wrote : Hello! | | I am trying to install JBPM but get into troubles... I am using Eclipse 3.1.1. Following the instructions I import existing project in Eclipse and obtain jbpm.3 in my workspace (and jbpm.db) then I click right on src/java.examples/org.jbpm.tutorial.action and run as JUnit. However in my JUnit window I have Runs: 2/2 Errors: 0 Failures: 0 and this in my console: | | 11:07:46,296 [main] DEBUG GraphElement : event 'transition' on 'Transition(5e1077)' for 'Token(/)' | 11:07:46,296 [main] DEBUG GraphElement : event 'node-enter' on 'EndState(end)' for 'Token(/)' | 11:07:46,296 [main] DEBUG GraphElement : event 'process-end' on 'ProcessDefinition(18b3364)' for 'Token(/)' | 11:07:46,296 [main] DEBUG GraphElement : event 'after-signal' on 'State(s)' for 'Token(/)' | | But nothing happens and if I click on processDefinition.xml the xml is displayed although I should have the designer window appearing no? | | And I tried to follow this tutorial http://docs.jboss.com/jbpm/v3/gpd/installation.html to install the plugin Graphical Process Designer using jbpm-gpd-site-3.0.11 instead of jbpm-gpd-3.0-beta1.zip but that does not work I have an error "Update operation has failed".. | | What do I do wrong? What did I miss? | | Thanks in advance for your help | Sophie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960963#3960963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960963 From do-not-reply at jboss.com Wed Jul 26 08:43:24 2006 From: do-not-reply at jboss.com (asarubbi) Date: Wed, 26 Jul 2006 08:43:24 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JBoss Cache Manager Exception Message-ID: <6815926.1153917804192.JavaMail.jboss@colo-br-02.atl.jboss.com> actually i need the standard configuration 'coz i don't need EJB, nor replication, nor clustering. you nailed it! removed distributable attribute from xdoclet and works perfect now. thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960964#3960964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960964 From do-not-reply at jboss.com Wed Jul 26 08:46:50 2006 From: do-not-reply at jboss.com (Viegas) Date: Wed, 26 Jul 2006 08:46:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: DefaultXPath error Message-ID: <20542934.1153918010738.JavaMail.jboss@colo-br-02.atl.jboss.com> Ive found the solution, the driver that cames with the server in Starters kit is an old one. I had to copy the one in the source of Jbpm. I also had to do that with the Jaxen driver View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960965#3960965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960965 From do-not-reply at jboss.com Wed Jul 26 08:48:59 2006 From: do-not-reply at jboss.com (dhartford) Date: Wed, 26 Jul 2006 08:48:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Maven Repo Message-ID: <1069357.1153918139465.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the intent that redijedi and I are trying to accomplish is the equivelant of ant 'get-deps' (i.e. maven dependency management). If a project requires certain jars, such as EJB3 embeddable jars, download them from an appropriate repository opposed to always doing system-installs of an application then pointing to the application. By putting the jars in the maven repo: *Saves several steps. *version changes of the ejb3-embeddable can be handled easily without having to do additional system installs. *Cruisecontrol/continuum build machines may not have system-installs of these applications and would need to get the jars from someplace. Hope this detail helps! -D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960966#3960966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960966 From do-not-reply at jboss.com Wed Jul 26 08:50:02 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 08:50:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <23767849.1153918202991.JavaMail.jboss@colo-br-02.atl.jboss.com> Errrrr..... what confuses me: It seems like the Exception is thrown in the decode64()-method of org.apache.myfaces.renderkit.html.HtmlResponseStateManager. I had a look in the MyFaces-Impl-Jar that came with Seam.... and guess what? This method doesn't exist there. And I found out that Seam has MyFaces 1.1.3, but it seems that JBoss-4.0.4.GA uses MyFaces 1.1.1 which is in $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs. And the 1.1.1 version has that decode64() method, so the old version is being used. ...HOWEVER... I overwrote the old MyFaces Jars with the new ones, but the error persists... with a slightly different Exception (but still ClassNotFound): 2006-07-26 14:45:21,890 ERROR [org.apache.myfaces.lifecycle.PhaseListenerManager] Exception in PhaseListener RESTORE_VIEW(1) afterPhase | java.lang.NullPointerException | at org.jboss.seam.contexts.PageContext.getAttributeMap(PageContext.java:103) | at org.jboss.seam.contexts.PageContext.(PageContext.java:40) | at org.jboss.seam.contexts.Lifecycle.resumePage(Lifecycle.java:323) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:39) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:63) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:55) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2006-07-26 14:45:21,890 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/test].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: java.lang.ClassNotFoundException: No ClassLoaders found for: de.beffo.test.converter.PersonConverter | at org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils.java:283) | at org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:217) | at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getComponentStateToRestore(HtmlResponseStateManager.java:221) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:186) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:287) | at org.jboss.seam.jsf.SeamStateManager.restoreView(SeamStateManager.java:41) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255) | at org.jboss.seam.jsf.SeamViewHandler.restoreView(SeamViewHandler.java:64) | at com.sun.facelets.FaceletViewHandler.restoreView(FaceletViewHandler.java:353) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: de.beffo.test.converter.PersonConverter | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveProxyClass(ObjectInputStream.java:656) | at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1499) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1462) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1698) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at java.util.ArrayList.readObject(ArrayList.java:591) | 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at java.util.ArrayList.readObject(ArrayList.java:591) | 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at java.util.ArrayList.readObject(ArrayList.java:591) | 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:946) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1818) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1718) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1304) | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1633) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1298) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:349) | at org.apache.myfaces.shared_impl.util.StateUtils.getAsObject(StateUtils.java:274) | ... 32 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960967#3960967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960967 From do-not-reply at jboss.com Wed Jul 26 08:56:46 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Wed, 26 Jul 2006 08:56:46 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <30761030.1153918606875.JavaMail.jboss@colo-br-02.atl.jboss.com> Attributes that are displayed in red with a NotSerializableException in jconsole are probably correctly handled. Since jconsole is remote, it only displays serializable attributes. In your example, the "Instance" attribute represents the cache itself and the cache instance isn't serializable. I'm not sure whether the operations are a problem or not. I'll try a standalone client and respond further. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960968#3960968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960968 From do-not-reply at jboss.com Wed Jul 26 08:59:57 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 26 Jul 2006 08:59:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <25721504.1153918797022.JavaMail.jboss@colo-br-02.atl.jboss.com> GPD 3.0.11 won't work with Eclipse 3.1.x, upgrade to Eclipse 3.2 if you can, or use GPD 3.0.9.2 with Eclipse 3.1.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960969#3960969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960969 From do-not-reply at jboss.com Wed Jul 26 09:01:42 2006 From: do-not-reply at jboss.com (jason_rency) Date: Wed, 26 Jul 2006 09:01:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - question about the seam Booking Example: Message-ID: <5858302.1153918902695.JavaMail.jboss@colo-br-02.atl.jboss.com> after being playing with the booking example for one week, I have a few qustion: 1 how does the entity beans map the DB table? 2 are they mapping by name because the entity beans have the same name with the table names? aslo, I found the name of entity property is the same with the column name in the DB, is this necessary? the reason I ask is because I went in to problem when I modified the booking example by using my own DB which has different name with my entity bean. sorry for the stupid qustions, I am still a newbie..:) jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960970#3960970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960970 From do-not-reply at jboss.com Wed Jul 26 09:04:53 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 09:04:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <6580977.1153919093541.JavaMail.jboss@colo-br-02.atl.jboss.com> if you replace processimage.jpg with the name of the processdefinition you should be fine (I never tried it though) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960971#3960971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960971 From do-not-reply at jboss.com Wed Jul 26 09:06:39 2006 From: do-not-reply at jboss.com (tom.baeyens@jboss.com) Date: Wed, 26 Jul 2006 09:06:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam annotations in components called from a jbpm proces Message-ID: <19915338.1153919199650.JavaMail.jboss@colo-br-02.atl.jboss.com> when you invoke the bean method with the @EndTask how is the task identified ? is it part of the original request ? it seems you first start executing a process and then during that process execution (token) you want to end a task. this will only work if the task is not related to that token. ps. zitten jullie in den atea in herentals ? (daar heb ik ook nog gezeten:-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960972#3960972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960972 From do-not-reply at jboss.com Wed Jul 26 09:07:50 2006 From: do-not-reply at jboss.com (ido_tamir) Date: Wed, 26 Jul 2006 09:07:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: question about the seam Booking Example: Message-ID: <28036863.1153919270363.JavaMail.jboss@colo-br-02.atl.jboss.com> This is EJB3.0/hibernate. http://www.hibernate.org/hib_docs/v3/reference/en/html/ http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#mapping hth ido View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960973#3960973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960973 From do-not-reply at jboss.com Wed Jul 26 09:07:54 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 09:07:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: question about the seam Booking Example: Message-ID: <15189063.1153919274342.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : 1 how does the entity beans map the DB table? By default the unqualified classname is the table name unless overriden with @Table(name="") annotation. anonymous wrote : aslo, I found the name of entity property is the same with the column name in the DB, is this necessary? By default the column name is the field/property name unless overridden with the @Column(name="") annotation. This is all in the EJB3 peristence spec and the Hibernate Annotations manual. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960974#3960974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960974 From do-not-reply at jboss.com Wed Jul 26 09:07:57 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 09:07:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: question about the seam Booking Example: Message-ID: <9547466.1153919277737.JavaMail.jboss@colo-br-02.atl.jboss.com> There are several annotations with which you can give tables or table columns custom names. @Entity @Table(name="yourTableName") public class TheEntity { @Column(name="yourColumnName") ...property... } If @Column or @Table are left out, the EntityManager creates Colums and Tables with the same names the properties and classes have. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960975#3960975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960975 From do-not-reply at jboss.com Wed Jul 26 09:15:21 2006 From: do-not-reply at jboss.com (jason_rency) Date: Wed, 26 Jul 2006 09:15:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: question about the seam Booking Example: Message-ID: <30729678.1153919721210.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks all for your promt response... I just lost my faith... anyone could help me with this? [url] http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87328[/url] this lead to my stupid question.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960976#3960976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960976 From do-not-reply at jboss.com Wed Jul 26 09:22:38 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 09:22:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <20811109.1153920158454.JavaMail.jboss@colo-br-02.atl.jboss.com> You could turn up JSF logging which might give you clue (configured from JBoss/server/default I think). You could look at the MyFaces code, find out what exception is causing the ModelUpdate error to be displayed and break at it. You could put a breakpoint at the method that does ModelUpdate in myfaces and see where it goes wrong (I can't remember the exact method names, I don't have MyFaces sources in fron of me). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960978#3960978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960978 From do-not-reply at jboss.com Wed Jul 26 09:30:11 2006 From: do-not-reply at jboss.com (soeursourire) Date: Wed, 26 Jul 2006 09:30:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <21469733.1153920611906.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot for your answer. This is working fine under Eclipse3.2. Please would you mind indicating me a tutorial or an example to learn how to use of gmail within JBPM? And how can I find the source code managing this gmail notification? Thanks for your help Sophie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960979#3960979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960979 From do-not-reply at jboss.com Wed Jul 26 09:38:22 2006 From: do-not-reply at jboss.com (dlipski) Date: Wed, 26 Jul 2006 09:38:22 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <33275204.1153921102721.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your reply. But as i understand documentation (11.5 "Task controllers") they are intended to translate and extract information from the process variables, not to define new variables. Tag (nested in controller) have attributes name, acces & mapped-name. I'm looking for some 'value' attrbiute. For example: | | | | Is something like this possible ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960980#3960980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960980 From do-not-reply at jboss.com Wed Jul 26 09:39:59 2006 From: do-not-reply at jboss.com (shah_d_p) Date: Wed, 26 Jul 2006 09:39:59 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound in tu Message-ID: <18689783.1153921199869.JavaMail.jboss@colo-br-02.atl.jboss.com> Server Log - 15:00:57,346 INFO [Server] Starting JBoss (MX MicroKernel)... 15:00:57,346 INFO [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954) 15:00:57,346 INFO [Server] Home Dir: D:\jcoe\jboss-3.2.5 15:00:57,346 INFO [Server] Home URL: file:/D:/jcoe/jboss-3.2.5/ 15:00:57,346 INFO [Server] Library URL: file:/D:/jcoe/jboss-3.2.5/lib/ 15:00:57,362 INFO [Server] Patch URL: null 15:00:57,362 INFO [Server] Server Name: default 15:00:57,362 INFO [Server] Server Home Dir: D:\jcoe\jboss-3.2.5\server\default 15:00:57,362 INFO [Server] Server Home URL: file:/D:/jcoe/jboss-3.2.5/server/default/ 15:00:57,362 INFO [Server] Server Data Dir: D:\jcoe\jboss-3.2.5\server\default\data 15:00:57,377 INFO [Server] Server Temp Dir: D:\jcoe\jboss-3.2.5\server\default\tmp 15:00:57,377 INFO [Server] Server Config URL: file:/D:/jcoe/jboss-3.2.5/server/default/conf/ 15:00:57,377 INFO [Server] Server Library URL: file:/D:/jcoe/jboss-3.2.5/server/default/lib/ 15:00:57,377 INFO [Server] Root Deployment Filename: jboss-service.xml 15:00:57,377 INFO [Server] Starting General Purpose Architecture (GPA)... 15:00:57,846 INFO [ServerInfo] Java version: 1.4.1_05,Sun Microsystems Inc. 15:00:57,846 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.1_05-b01,Sun Microsystems Inc. 15:00:57,846 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 15:00:58,924 INFO [Server] Core system initialized 15:01:04,252 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 15:01:04,815 INFO [WebService] Using RMI server codebase: http://IBP1565:8083/ 15:01:04,971 INFO [NamingService] Started jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory at ad093076 15:01:10,393 INFO [EjbModule] Deploying ClusteredHTTPSession 15:01:10,784 INFO [EJBDeployer] Deployed: file:/D:/jcoe/jboss-3.2.5/server/default/deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/ 15:01:16,393 INFO [RARMetaData] Loading JBoss Resource Adapter for JDBC 2 XA drivers 15:01:16,409 INFO [RARMetaData] Required license terms present. See deployment descriptor. 15:01:17,627 INFO [ConfiguratorFactory] properties are neither a URL nor a file 15:01:18,174 INFO [DefaultPartition] Initializing 15:01:18,971 INFO [UDP] unicast sockets will use interface 10.254.111.45 15:01:18,971 INFO [UDP] socket information: local_addr=IBP1565:4802 (additional data: 18 bytes), mcast_addr=228.1.2.3:45566, bind_addr=/10.254.111.45, ttl=32 socket: bound to 10.254.111.45:4802, receive buffer size=150000, send buffer size=800000 multicast socket: bound to 10.254.111.45:45566, send buffer size=800000, receive buffer size=150000 15:01:18,971 INFO [STDOUT] ------------------------------------------------------- GMS: address is IBP1565:4802 (additional data: 18 bytes) ------------------------------------------------------- 15:01:21,034 INFO [DefaultPartition] Number of cluster members: 1 15:01:21,049 INFO [DefaultPartition] Other members: 0 15:01:21,049 INFO [DefaultPartition] Fetching state (will wait for 60000 milliseconds): 15:01:21,065 INFO [DefaultPartition] New cluster view (id: 0, delta: 0) : [10.254.111.45:1099] 15:01:21,080 INFO [DefaultPartition:ReplicantManager] Dead members: 0 15:01:21,534 INFO [HANamingService] Listening on /0.0.0.0:1100 15:01:21,549 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /0.0.0.0:1102, group=230.0.0.4, HA-JNDI address=10.254.111.45:1100 15:01:24,502 INFO [interceptors] InterceptorManager started with 0 SIs, 0 CIs and 2 IORIs 15:01:24,768 INFO [orb] ORB run 15:01:25,034 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E300000000000020000000000000068000102000000000E31302E3235342E3131312E3435000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000020000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000010000002C0000000000000001000000010000001C00000000000100010000000105010001000101090000000105010001] 15:01:25,409 INFO [MailService] Mail Service bound to java:/Mail 15:01:26,534 INFO [Embedded] Catalina naming disabled 15:01:28,299 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8070 15:01:28,377 INFO [Catalina] Initialization processed in 1703 ms 15:01:28,377 INFO [StandardService] Starting service jboss.web 15:01:28,393 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.26 15:01:28,424 INFO [StandardHost] XML validation disabled 15:01:28,487 INFO [Catalina] Server startup in 110 ms 15:01:28,643 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null 15:01:28,737 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/deploy/http-invoker.sar/invoker.war/ 15:01:29,518 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 15:01:31,346 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null 15:01:31,362 INFO [TomcatDeployer] deploy, ctxPath=/jboss-net, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/deploy/jboss-net.sar/jboss-net.war/ 15:01:31,846 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null 15:01:31,862 INFO [TomcatDeployer] deploy, ctxPath=, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ 15:01:32,221 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=null 15:01:32,252 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/deploy-hasingleton/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 15:01:32,643 INFO [PostgreDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=PostgreDS to JNDI name 'java:/PostgreDS' 15:01:33,065 INFO [EjbModule] Deploying StoreAccess 15:01:33,346 INFO [EJBDeployer] Deployed: file:/D:/jcoe/jboss-3.2.5/server/default/deploy/MyStoreMgr.jar 15:01:33,518 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/deploy/jmx-console.war/ 15:01:34,596 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/D:/jcoe/jboss-3.2.5/server/default/tmp/deploy/tmp32716web-console.war/ 15:01:37,034 ERROR [URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: jboss.mq:service=InvocationLayer,type=HTTP state: CONFIGURED I Depend On: jboss.mq:service=Invoker jboss.web:service=WebServer Depends On Me: ObjectName: jboss.mq.destination:service=Topic,name=testTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: ObjectName: jboss.mq.destination:service=Topic,name=securedTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=testQueue state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=A state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=B state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=C state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=D state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: ObjectName: jboss.mq.destination:service=Queue,name=ex state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: ObjectName: jboss.mq:service=Invoker state: CONFIGURED I Depend On: jboss.mq:service=TracingInterceptor Depends On Me: jboss.mq:service=InvocationLayer,type=HTTP jboss.mq:service=InvocationLayer,type=JVM jboss.mq:service=InvocationLayer,type=OIL jboss.mq:service=InvocationLayer,type=OIL2 jboss.mq:service=InvocationLayer,type=RMI jboss.mq:service=InvocationLayer,type=UIL2 ObjectName: jboss.mq:service=TracingInterceptor state: CONFIGURED I Depend On: jboss.mq:service=SecurityManager Depends On Me: jboss.mq:service=Invoker ObjectName: jboss.mq:service=SecurityManager state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq:service=TracingInterceptor jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq.destination:service=Queue,name=DLQ state: CONFIGURED I Depend On: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager Depends On Me: ObjectName: jboss.mq:service=InvocationLayer,type=JVM state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: ObjectName: jboss.mq:service=InvocationLayer,type=OIL state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: ObjectName: jboss.mq:service=InvocationLayer,type=OIL2 state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: ObjectName: jboss.mq:service=DestinationManager state: CONFIGURED I Depend On: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager Depends On Me: jboss.mq.destination:service=Topic,name=testTopic jboss.mq.destination:service=Topic,name=securedTopic jboss.mq.destination:service=Topic,name=testDurableTopic jboss.mq.destination:service=Queue,name=testQueue jboss.mq.destination:service=Queue,name=A jboss.mq.destination:service=Queue,name=B jboss.mq.destination:service=Queue,name=C jboss.mq.destination:service=Queue,name=D jboss.mq.destination:service=Queue,name=ex jboss.mq:service=SecurityManager jboss.mq.destination:service=Queue,name=DLQ ObjectName: jboss.mq:service=PersistenceManager state: CONFIGURED I Depend On: jboss.jca:service=DataSourceBinding,name=PostgreDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.mq:service=InvocationLayer,type=RMI state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 state: CONFIGURED I Depend On: jboss.mq:service=Invoker Depends On Me: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.jca:service=DataSourceBinding,name=PostgreDS state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.mq:service=PersistenceManager 15:01:37,409 INFO [Server] JBoss (MX MicroKernel) [3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954)] Started in 40s:32ms 15:01:37,409 INFO [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors 15:01:37,565 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8070 15:01:38,049 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 15:01:38,065 INFO [JkMain] Jk running ID=0 time=0/94 config=null 15:48:59,112 INFO [STDOUT] Entering StoreAccessBean 15:48:59,112 INFO [STDOUT] Leaving StoreAccessBean 15:48:59,143 INFO [STDOUT] Entering StoreAccessDAOImpl.init() 15:48:59,143 INFO [STDOUT] Error in StoreAccessDAOImpl.init() ++++++++ 15:48:59,143 INFO [STDOUT] javax.naming.NameNotFoundException: jdbc not bound15:48:59,143 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) 15:48:59,143 INFO [STDOUT] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) 15:48:59,143 INFO [STDOUT] at org.jnp.server.NamingServer.getObject(NamingServer.java:509) 15:48:59,143 INFO [STDOUT] at org.jnp.server.NamingServer.lookup(NamingServer.java:253) 15:48:59,143 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530) 15:48:59,143 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) 15:48:59,143 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:347) 15:48:59,143 INFO [STDOUT] at au.com.tusc.dao.StoreAccessDAOImpl.init(StoreAccessDAOImpl.java:40) 15:48:59,143 INFO [STDOUT] at au.com.tusc.session.StoreAccessSession.getDao(StoreAccessSession.java:52) 15:48:59,143 INFO [STDOUT] at au.com.tusc.session.StoreAccessSession.loginUser(StoreAccessSession.java:62) 15:48:59,143 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:48:59,143 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:48:59,143 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:48:59,143 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 15:48:59,143 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) 15:48:59,143 INFO [STDOUT] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) 15:48:59,143 INFO [STDOUT] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) 15:48:59,143 INFO [STDOUT] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) 15:48:59,159 INFO [STDOUT] at org.jboss.ejb.Container.invoke(Container.java:723) 15:48:59,159 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:48:59,159 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:48:59,159 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:48:59,159 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) 15:48:59,159 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) 15:48:59,159 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) 15:48:59,159 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 15:48:59,159 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 15:48:59,159 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 15:48:59,159 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 15:48:59,159 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) 15:48:59,159 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148) 15:48:59,159 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method) 15:48:59,159 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) 15:48:59,159 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) 15:48:59,159 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) 15:48:59,159 INFO [STDOUT] at java.lang.Thread.run(Thread.java:536) 15:48:59,159 INFO [STDOUT] Leaving StoreAccessDAOImpl.init() 15:48:59,159 INFO [STDOUT] Entering StoreAccessDAOImpl.loginUser() 15:48:59,159 ERROR [LogInterceptor] RuntimeException: java.lang.NullPointerException at au.com.tusc.dao.StoreAccessDAOImpl.loginUser(StoreAccessDAOImpl.java:63) at au.com.tusc.session.StoreAccessSession.loginUser(StoreAccessSession.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:148) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:723) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:360) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) 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:536) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960981#3960981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960981 From do-not-reply at jboss.com Wed Jul 26 09:43:24 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 09:43:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <23740837.1153921404314.JavaMail.jboss@colo-br-02.atl.jboss.com> Doesn't your session bean need @In private String PIN; @In private String verify; aswell ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960982#3960982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960982 From do-not-reply at jboss.com Wed Jul 26 09:50:52 2006 From: do-not-reply at jboss.com (Luntain) Date: Wed, 26 Jul 2006 09:50:52 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: notification about deploy/undeploy of aspects Message-ID: <28302683.1153921852390.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe it is possible to intercept some method? I tried to intercept enything from org.jboss.aop.* as well as org.jboss.aop.deployment.AspectDeployer. No success. Every time I deploy aop.xml file I see a log message from AspectDeployer so if I were able to intercept it, it would be enough. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960983#3960983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960983 From do-not-reply at jboss.com Wed Jul 26 10:02:47 2006 From: do-not-reply at jboss.com (cfaucher) Date: Wed, 26 Jul 2006 10:02:47 -0400 (EDT) Subject: [jboss-user] [JBossWS] - xsi:type not supported in JBossAP? Message-ID: <30098372.1153922567723.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have a data structure, defined in XSDs. Using JAXB'x (the one from JWSDP 1.6), we generate JAXB stubs for the XSDs structure. Outside JBoss (e.g. standalone main), we can marshal to XML/unmarshal from XML the JAXB object tree. We invoked a Axis Web Service, deployed in JBoss 4.0.4, that is Message-type. Using the Request SOAPEnvelope's body, we retrieve the our XML and try to unmarshal it into the JAXB object tree. However, inside JBoss, JAXB does not recognize our complex types?! Is it possible that the xsi:type are not supported in JBoss?! Without that, it seems it cannot map the complex types to the given XSD, and JAXB fails to load. Thanks in advance for any input! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960985#3960985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960985 From do-not-reply at jboss.com Wed Jul 26 10:03:26 2006 From: do-not-reply at jboss.com (cuoz) Date: Wed, 26 Jul 2006 10:03:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - ClassCastException calling EJB3 from Portal Message-ID: <2457667.1153922606830.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'm trying to use my EJB3 application from a JBoss Portal portlet and getting the infamous ClassCastException. I have read all the wiki & other resources on classloading, etc, but have not been able to solve this one. Specifics are: JBoss 4.0.4GA, Portal 2.4-CR2, EJB3 RC7 (I just noticed RC8 was released last week, so haven't tried it yet). I have packaged the ejb3 application and the portlet application in separate ear files, and have also tried scoped loader repositories. The portlet includes a jar file of only the client parts of my ejb3 application. I have JBossAS configured for call by value, etc. Here are application specifics: ClientEJB is an entity that implements Client interface ClientSessionBean is a SLSB ClientSessionLocal is the local interface to the session bean The method I am calling on the session bean is: Client createClient(String username, String password) It creates an instance of ClientEJB, persists it, and returns it as a Client interface. The call to the session bean works fine. I get the CCE when I try to use the returned object as a Client and not a ClientEJB. What should I be doing to make this work? I'm sure if I package it all in the same ear file it will work, but I don't want that (though I haven't tried that yet). Hopefully somebody already ran into this scenario and can help. Let me know if you need more information. Thank you in advance, Gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960986#3960986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960986 From do-not-reply at jboss.com Wed Jul 26 10:09:29 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:09:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ability to choose from determined values Message-ID: <28904847.1153922969165.JavaMail.jboss@colo-br-02.atl.jboss.com> Go for 3.2 then, and maybe even help out on it. Helping out would speed-up the release. Don't know by how much but it would View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960988#3960988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960988 From do-not-reply at jboss.com Wed Jul 26 10:12:05 2006 From: do-not-reply at jboss.com (myself_biswajit) Date: Wed, 26 Jul 2006 10:12:05 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - How to push data from one JBoss server to another JBoss serv Message-ID: <1682746.1153923125592.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, There are two server (1)production server (2)stagging server The thing is that they are not in clustered environment. However i just want to push date from stagging server to production server. Could anyone suggest me the appropriate solution? Regards, Biswajit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960989#3960989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960989 From do-not-reply at jboss.com Wed Jul 26 10:13:25 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:13:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: MYSQL database connection within JBoss application(using Message-ID: <31366308.1153923205264.JavaMail.jboss@colo-br-02.atl.jboss.com> THe only thing I quickly saw was : 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 '?nstan0_.ID_ as ID1_27_, task?nstan0_.NAME_ as NAME3_27_, task?nstan0_.DESCRIPTI' If you could post just the stacktrace and not the complete log from startup, it will probably be more readable View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960990#3960990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960990 From do-not-reply at jboss.com Wed Jul 26 10:15:10 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:15:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to Handle Process Execution History Message-ID: <3406020.1153923310914.JavaMail.jboss@colo-br-02.atl.jboss.com> uhhm... I think this is a question for the springTemplate guys.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960992#3960992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960992 From do-not-reply at jboss.com Wed Jul 26 10:15:57 2006 From: do-not-reply at jboss.com (jason_rency) Date: Wed, 26 Jul 2006 10:15:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <32530837.1153923357102.JavaMail.jboss@colo-br-02.atl.jboss.com> don't think so, because the verify is the one defined by the booking example, there is no annotation. I added PIN to the session bean as well as the register page (just upon verify). in this situation I can still get verrify properly, but PIN with error during model data update. PIN and verify should be the same. so I suspect there is somthing I didn't notice for verify. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960993#3960993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960993 From do-not-reply at jboss.com Wed Jul 26 10:16:32 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:16:32 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: a session problem Message-ID: <9989285.1153923392570.JavaMail.jboss@colo-br-02.atl.jboss.com> Sounds like a question for the spring in the air guys.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960994#3960994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960994 From do-not-reply at jboss.com Wed Jul 26 10:18:04 2006 From: do-not-reply at jboss.com (andydale) Date: Wed, 26 Jul 2006 10:18:04 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with Postgres, Persistence, and large objects Message-ID: <11431979.1153923484764.JavaMail.jboss@colo-br-02.atl.jboss.com> I am still having this problem, but have been investigating it further. What i have found out is that if you call the EntityManager.find() method directly after you have just persisted the object in the same class then it manages to find the Entity in the database. The problem starts to happen when the you call the EntityManager.find() from within another class with the same persistence context (using the same persistence unit), it seems to return null 99.99% of the time. I have no idea if this due to the database being used as it works with a Hypersonic data source but not with postgres. Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960995#3960995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960995 From do-not-reply at jboss.com Wed Jul 26 10:18:10 2006 From: do-not-reply at jboss.com (JerryGauth) Date: Wed, 26 Jul 2006 10:18:10 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <29987527.1153923490511.JavaMail.jboss@colo-br-02.atl.jboss.com> The operations error messages on the console seem to relate to the disabled operations. It looks at first glance that these operations are the ones with non-serializable parameters such as Fqn. The operations that take serializable parameters such as String are enabled and seem to work properly. Bottom line seems to be that mbean attributes and operations are only functional in a remote jconsole if they use serializable parameters and return values. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960996#3960996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960996 From do-not-reply at jboss.com Wed Jul 26 10:19:33 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:19:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <24732461.1153923573186.JavaMail.jboss@colo-br-02.atl.jboss.com> how to use gmail with jBPM? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960997#3960997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960997 From do-not-reply at jboss.com Wed Jul 26 10:21:48 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:21:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Generic Service Message-ID: <271607.1153923708576.JavaMail.jboss@colo-br-02.atl.jboss.com> I think what you are looking for will be available in JAX-WS though the Endpoint.deploy() API. Currently this is not supported. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960998#3960998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960998 From do-not-reply at jboss.com Wed Jul 26 10:25:03 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 26 Jul 2006 10:25:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <26814593.1153923903185.JavaMail.jboss@colo-br-02.atl.jboss.com> a Gmail notification specifically, or just an email notification? Currently there is no built in email support in jBPM. You'd have to do it how you would in 'normal' Java, google around for a bunch of tutorials. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960999#3960999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960999 From do-not-reply at jboss.com Wed Jul 26 10:28:55 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:28:55 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <7983049.1153924135506.JavaMail.jboss@colo-br-02.atl.jboss.com> Could check if it relates to JBWS-1010? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961001#3961001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961001 From do-not-reply at jboss.com Wed Jul 26 10:29:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 10:29:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <28403614.1153924168155.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh yes, this is possible..... just use an actionhandler that can work with a xml structure. There are some examples in the source, docs, this forum... just don't look at the xml tag as the variable name but do something like | one1 | two2 | three3 | Where the value of key is the variable name and the value of value is the value (heee that is nice ;-)) The rest should be obvious View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961002#3961002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961002 From do-not-reply at jboss.com Wed Jul 26 10:29:48 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:29:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.2 release early? Message-ID: <1309068.1153924188814.JavaMail.jboss@colo-br-02.atl.jboss.com> It's released, have fun! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961003#3961003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961003 From do-not-reply at jboss.com Wed Jul 26 10:31:04 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:31:04 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: samples of jbossws Message-ID: <14713299.1153924264320.JavaMail.jboss@colo-br-02.atl.jboss.com> The examples ship with a build structure. Just build and deploy them... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961005#3961005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961005 From do-not-reply at jboss.com Wed Jul 26 10:32:07 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:32:07 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How to run Message-ID: <5720784.1153924327882.JavaMail.jboss@colo-br-02.atl.jboss.com> The userguide is your friend: http://labs.jboss.org/jbossws/user-guide/en/html/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961006#3961006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961006 From do-not-reply at jboss.com Wed Jul 26 10:32:12 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Wed, 26 Jul 2006 10:32:12 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to all oracle procedure in cmp bean? Message-ID: <12226503.1153924332236.JavaMail.jboss@colo-br-02.atl.jboss.com> tks for direction. I really want to know:If i use cmp bean,the container would access these table which mapping to the related cmp bean and related relationship frequently,would the server control these table exclusivly? and ,can i operate the data of these table in other program when the ejb container is running?and ,if i can do this,would it crash with the container and result in wrong state? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961007#3961007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961007 From do-not-reply at jboss.com Wed Jul 26 10:32:45 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:32:45 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Which version of JBossWS supports JAX-WS 2.0 ? Message-ID: <9533676.1153924365197.JavaMail.jboss@colo-br-02.atl.jboss.com> None of the release versions does. It's on the roadmap... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961008#3961008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961008 From do-not-reply at jboss.com Wed Jul 26 10:33:49 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:33:49 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How to return an array of class ? Message-ID: <914675.1153924430024.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/user-guide/en/html/endpoints.html#jsr181-endpoints View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961009#3961009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961009 From do-not-reply at jboss.com Wed Jul 26 10:35:08 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:35:08 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: View Incoming Requests Message-ID: <12953943.1153924508438.JavaMail.jboss@colo-br-02.atl.jboss.com> The looging category is 'jbossws.SOAPMessage'. Set it to DEBUG.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961011#3961011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961011 From do-not-reply at jboss.com Wed Jul 26 10:35:41 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:35:41 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: View Incoming Requests Message-ID: <27048001.1153924541627.JavaMail.jboss@colo-br-02.atl.jboss.com> Release dates can be tracked here: http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961013#3961013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961013 From do-not-reply at jboss.com Wed Jul 26 10:36:14 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:36:14 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: View Incoming Requests Message-ID: <29577911.1153924574281.JavaMail.jboss@colo-br-02.atl.jboss.com> And yes, the performance problem is fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961014#3961014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961014 From do-not-reply at jboss.com Wed Jul 26 10:42:20 2006 From: do-not-reply at jboss.com (biggef) Date: Wed, 26 Jul 2006 10:42:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <19793094.1153924940951.JavaMail.jboss@colo-br-02.atl.jboss.com> "ephemeris-lappis" wrote : I've tried what you said, and it seems to work, except i have had to add two lines or three to register the created timer with the scheduler service. Could you please give us those lines ? It may help some other guys. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961016#3961016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961016 From do-not-reply at jboss.com Wed Jul 26 10:45:24 2006 From: do-not-reply at jboss.com (ONIT) Date: Wed, 26 Jul 2006 10:45:24 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Problem with large strings Message-ID: <28452085.1153925124514.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to send a TextMessage with a string of up to 500K. The message eventually gets through but the memory requirements (over 60M) and performance (10 seconds or more) are very bad. Can JBoss Messaging handle strings this large? If so, how? Thanks for your help, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961017#3961017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961017 From do-not-reply at jboss.com Wed Jul 26 10:46:43 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 10:46:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <30004285.1153925203314.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok... I removed @Stateless and the Local interface and turned the converter into a pure JavaBean. Now there are no more errors (except it doesn't work the way I want but that's something different ;)). BUT: Injections don't work. Neither @PersitenceContext nor @Logger are there, they're all null. So I have the choice: Stateless Session Bean that can't be found after submitting... or normal JavaBean where Injection doesn't work. PS: Yes, I know. I could do it the old-fashioned way using the faces-config.xml and Converter-Ids. But hey, since I use Seam I want my Converters to be Seam Components, too ^^. PPS: In case I'll jump out off the window the next hours all my assets should go to the Foundation Of Crazy-Driven J2EE Users ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961018#3961018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961018 From do-not-reply at jboss.com Wed Jul 26 10:50:37 2006 From: do-not-reply at jboss.com (sjwoodman) Date: Wed, 26 Jul 2006 10:50:37 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Generic Service Message-ID: <4273364.1153925437779.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Heiko, do you know if there are plans to support this in the future? Cheers, Simon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961021#3961021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961021 From do-not-reply at jboss.com Wed Jul 26 10:53:37 2006 From: do-not-reply at jboss.com (petemuir) Date: Wed, 26 Jul 2006 10:53:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <24258846.1153925617877.JavaMail.jboss@colo-br-02.atl.jboss.com> You could use a JavaBean and lookup the EntityManager using JNDI. It should still be a Container Manged Persistence context (but it won't be Seam Managed). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961024#3961024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961024 From do-not-reply at jboss.com Wed Jul 26 10:54:36 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Wed, 26 Jul 2006 10:54:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <13466587.1153925676592.JavaMail.jboss@colo-br-02.atl.jboss.com> You forgot to add the SeamInterceptor to your JavaBean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961025#3961025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961025 From do-not-reply at jboss.com Wed Jul 26 10:54:40 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 26 Jul 2006 10:54:40 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JVM Memory information Message-ID: <26659358.1153925680375.JavaMail.jboss@colo-br-02.atl.jboss.com> The javadoc doesn't expalin the difference between max memory and total memory, and assumes that you undertsand how the heap works, which you can find at http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html. But to summarize. The heap is broken up into several areas. One of those areas (the permanent generation) stores class-related intormation. Also, you can specifiy both a min (using -Xms) and a max (useing -Xmx) heap size. The heap is automatically resized between those values, based on object allocation and retention (usign a fairly complex algorithm). So, the differen heap statistics mean: maxMemory - the maximum size of the heap minus the permanent generation totalMemory - the amount of memeory currently allocated to the heap, once again minus the permanent generation freeMemory - the amount of heap space available (this is out of 'totalMemory', not out of 'maxMemory') If you check these stastics often while running you will see that 'max' doesn't change, 'total' changes occasionnally, and 'free' is probably different every time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961026#3961026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961026 From do-not-reply at jboss.com Wed Jul 26 10:58:02 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 10:58:02 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS-Security: a standalone client ? Message-ID: <1965894.1153925882080.JavaMail.jboss@colo-br-02.atl.jboss.com> I think what you are asking for is a DII client that is WSSE enabled. Check the userguide on both chapters: - http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html - http://labs.jboss.com/portal/jbossws/user-guide/en/html/wssecurity.html In order to register handlers with a DII client, you'd have to use a proprietary API. See http://fisheye.jboss.com/viewrep/JBossWS/trunk/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java for examples on how to do that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961027#3961027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961027 From do-not-reply at jboss.com Wed Jul 26 10:59:36 2006 From: do-not-reply at jboss.com (ephemeris-lappis) Date: Wed, 26 Jul 2006 10:59:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: [jBPM][3.1.1] Get a timer instance with API Message-ID: <30898343.1153925976742.JavaMail.jboss@colo-br-02.atl.jboss.com> No problem. The code is : package my.wf.seven; | | import java.util.Date; | | import org.jbpm.calendar.BusinessCalendar; | import org.jbpm.calendar.Duration; | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | import org.jbpm.scheduler.SchedulerService; | import org.jbpm.scheduler.exe.Timer; | import org.jbpm.svc.Services; | | public class TimerInitializationActionHandler implements ActionHandler { | | public void execute(final ExecutionContext executionContext) throws Exception { | System.out.println("... Action for timer : " + executionContext.getTaskInstance()); | Timer timer = new Timer(executionContext.getToken()); | timer.setName("MY-TIMER"); | Duration duration = new Duration("5 seconds"); | BusinessCalendar businessCalendar = new BusinessCalendar(); | Date dueDate = businessCalendar.add(new Date(), duration); | timer.setDueDate(dueDate); | timer.setTransitionName("to_activity-2"); | timer.setGraphElement(executionContext.getEventSource()); | timer.setTaskInstance(executionContext.getTaskInstance()); | SchedulerService schedulerService = (SchedulerService) Services.getCurrentService(Services.SERVICENAME_SCHEDULER); | schedulerService.createTimer(timer); | System.out.println("... Timer : " + timer); | } | | static private final long serialVersionUID = 701975110762314580L; | | } If somebody has comments... They are welcome ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961028#3961028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961028 From do-not-reply at jboss.com Wed Jul 26 11:00:24 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Wed, 26 Jul 2006 11:00:24 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Lookup of ConnectionFactory from standalone client retur Message-ID: <16960712.1153926024925.JavaMail.jboss@colo-br-02.atl.jboss.com> The JMS/JCA adapter is meant to be used exclusively in a managed environment (ie Servlets/EJBs). To get a JMS connection in a standalone client you want to use ConnectionFactory cf = (ConnectionFactory)initialContext.lookup("ConnectionFactory"); Note, the above is for JMS 1.1. For JMS 1.0.1b clients you would cast to the specific domain type (ie Queue/Topic). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961029#3961029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961029 From do-not-reply at jboss.com Wed Jul 26 11:02:12 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 11:02:12 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <3025240.1153926132072.JavaMail.jboss@colo-br-02.atl.jboss.com> Or look at the 3.2 source. There will be email support (out of the box, with templates etc) in 3.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961030#3961030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961030 From do-not-reply at jboss.com Wed Jul 26 11:04:28 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 11:04:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: MTOM Performance Message-ID: <26418070.1153926268022.JavaMail.jboss@colo-br-02.atl.jboss.com> What JBossWS /AS version are you using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961031#3961031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961031 From do-not-reply at jboss.com Wed Jul 26 11:06:42 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 11:06:42 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security Message-ID: <13337643.1153926402977.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you create JIRA with an example deployment attached? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961032#3961032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961032 From do-not-reply at jboss.com Wed Jul 26 11:10:57 2006 From: do-not-reply at jboss.com (d-rock) Date: Wed, 26 Jul 2006 11:10:57 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Overriding the generated value inherited from a mapped super Message-ID: <28397817.1153926657739.JavaMail.jboss@colo-br-02.atl.jboss.com> If I have a class: | @Entity | @MappedSuperclass | @SequenceGenerator(name = "log_id_seq", sequenceName = "log_id_seq") | public class LogEntry implements Serializable { | private static final long serialVersionUID = 1L; | | protected Long id; | protected Date timestamp; | protected Actor actor; | protected String location; | protected String summary; | | @Id | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "log_id_seq") | public Long getId() { | return id; | } | | // The rest of the getters/setters... | } | Can I override the generated value generator in subclasses somehow? I'd like to have a separate sequence for each subclass if possible. Thanks, Derek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961033#3961033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961033 From do-not-reply at jboss.com Wed Jul 26 11:15:30 2006 From: do-not-reply at jboss.com (biggef) Date: Wed, 26 Jul 2006 11:15:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A timer associated to a process instance ? Message-ID: <29384926.1153926930379.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you know about a documentation on how to handle with timer programatically ? (basically, create it, get it, cancel it and modify it) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961035#3961035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961035 From do-not-reply at jboss.com Wed Jul 26 11:18:25 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 26 Jul 2006 11:18:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - jbossws-1.0.2 released Message-ID: <9652947.1153927105480.JavaMail.jboss@colo-br-02.atl.jboss.com> As of this post I am happy to anounce that jbossws-1.0.2.GA is released. It is a drop in replacement for jbossws-1.0.0.GA in JBossAS-4.0.4.GA and also works in standalone Tomcat. This allows you to develop standard portable J2EE-1.4 web service endpoints in Tomcat that can be deployed to JBoss whenever full app server support is required. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS102Install http://labs.jboss.com/portal/jbossws/user-guide/en/html/installation.html What's new ---------- * [JBWS-855] - Provide MTOM for document/literal * [JBWS-920] - integrate wstools wsdl2java functionality * [JBWS-921] - integrate wstools java2wsdl functionality * [JBWS-992] - Tools - Java to WSDL - Facility to Ignore collections * [JBWS-1003] - Ignore collection types in java-wsdl * [JBWS-950] - Attributes of type xsd:QName incorrectly serialized * [JBWS-961] - XOP: Incorrect Content-ID * [JBWS-994] - ContextServlet search for a class that is not present in the distribution package * [JBWS-997] - wsdl-java generates incorrect java types for base64binary values * [JBWS-998] - wsdl-java does not correctly uppercase parameter and return types on an SEI * [JBWS-1006] - JBossWS does not deploy on an installer generated JBoss 4.0.4.GA instance * [JBWS-1011] - NullPointerException deploying JSR-109 deployment that contains entity beans. * [JBWS-1027] - QName namespaces are not marshalled * [JBWS-1049] - Namespace to package mapping does not work as described * [JBWS-1068] - Cannot handle xsd:import of xml schema * [JBWS-1072] - SecurityConfig not parsed for 181 deployments * [JBWS-1073] - HandlerMeta data does not reflect "port-name" config * [JBWS-1074] - Handler meta data does not reflect "soap-header" config * [JBWS-1010] - Support for inherited service endpoint interfaces - JAX-RPC 5.5.4 For details see the change log. http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel -- Have fun, the JBossWS Team View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961036#3961036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961036 From do-not-reply at jboss.com Wed Jul 26 11:21:44 2006 From: do-not-reply at jboss.com (sandipan.biswas@gmail.com) Date: Wed, 26 Jul 2006 11:21:44 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Regarding MBean Exception Message-ID: <26428734.1153927304323.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried several time...Is it a problem from java installation? plz help me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961039#3961039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961039 From do-not-reply at jboss.com Wed Jul 26 11:24:23 2006 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 26 Jul 2006 11:24:23 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Lookup of ConnectionFactory from standalone client retur Message-ID: <9077676.1153927463763.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the info, Weston Price. That helped. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961040#3961040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961040 From do-not-reply at jboss.com Wed Jul 26 11:25:55 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 26 Jul 2006 11:25:55 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Regarding MBean Exception Message-ID: <20431302.1153927555133.JavaMail.jboss@colo-br-02.atl.jboss.com> Which version of the JVM are you using? Run "java -version" and post the results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961041#3961041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961041 From do-not-reply at jboss.com Wed Jul 26 11:27:30 2006 From: do-not-reply at jboss.com (jason_rency) Date: Wed, 26 Jul 2006 11:27:30 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Error during model data update Message-ID: <32181388.1153927650861.JavaMail.jboss@colo-br-02.atl.jboss.com> finally I found the problem... I changed the property name from PIN to pin...then it works. I found that seam (or JSF/facelets) is quite sensitive to the property /method(setter,getter) name... when begins with uppercase.. it just doesn't work... is this true? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961043#3961043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961043 From do-not-reply at jboss.com Wed Jul 26 11:35:25 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 11:35:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <31809926.1153928125221.JavaMail.jboss@colo-br-02.atl.jboss.com> @petemuir: I thought about that, too. But it's somehow unaesthetic. In this respect I'm like a little child: If there is Dependency Injection I want to have it ;). @thomas: Ooops. That's something I overread in the manual. Since working with EJBs all the time this was the first time I encountered problems with leaving out the Interceptor. So thanks for the hint, the Bean works now :). But a few questions to understand everything better: - All beans need a SeamInterceptor, otherwise Injection doesn't work, right? - With ejb-jar.xml it's possible to put that Interceptor around every EJB automatically without needing to add it to every single EJB explicitly (very nice), correct? - But: Why aren't there any Interceptors in the Hibernate example? I mean the action beans have a LoginInterceptor that calls BijectionInterceptor etc., but what about the entity beans? Plus: I'm still wondering very much why the EJB converter first worked and then not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961045#3961045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961045 From do-not-reply at jboss.com Wed Jul 26 11:42:30 2006 From: do-not-reply at jboss.com (dromanyuk@desyde.com.ua) Date: Wed, 26 Jul 2006 11:42:30 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Invalid invocation Message-ID: <1892481.1153928550599.JavaMail.jboss@colo-br-02.atl.jboss.com> I have deployed a very easy EJB app and had the same error. SOLUTION: remove yourEJBname.jar from WAR archive. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961047#3961047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961047 From do-not-reply at jboss.com Wed Jul 26 11:46:42 2006 From: do-not-reply at jboss.com (mdpoindexter) Date: Wed, 26 Jul 2006 11:46:42 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Apparent threading issue in JMS client initialization Message-ID: <22717671.1153928802324.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using a multi-threaded client of JbossMQ which does the following: 1.) Creates a Connection on the main thread 2.) Spawns n client threads. On start, each client thread then aquires a Session from the Connection, and a MessageConsumer from the Session it created. Once the MessageConsumer is created the thread goes into a loop calling receive() on the MessageConsumer. Note that all of this has quite possibly occured before calling start() on the Connection. All this should be allowed by the spec as Connection is a thread safe object. 3.) Calls Connection.start() on the main thread. The problem I am seeing is that I intermittently get javax.jms.JMSException: The provided subscription does not exist at org.jboss.mq.server.ClientConsumer.getSubscription(ClientConsumer.java:365) at org.jboss.mq.server.JMSDestinationManager.getSubscription(JMSDestinationManager.java:867) at org.jboss.mq.server.JMSServerInterceptorSupport.getSubscription(JMSServerInterceptorSupport.java:319) at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterceptor.java:96) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:535) ... Looking through the code of the interceptor stack, I believe the problem to be in the JMSDestinationManager. For several operations, including adding a MessageConsumer, it calls the method getClientConsumer(ConnectionToken tok). This method lazily creates a ClientConsumer for a given connection token the first time it is called for the connection token. This method is not synchronized in any way, so I'm guessing adding multiple MessageConsumer simultaneously triggers the creation of multiple ClientConsumer objects due to this lack of synchronization. This then leads to the stack trace above since the ClientConsumer cached for the connection token does not have all the subscriptions, since some subscriptions were mistakenly created on other ClientConsumers due to the race condition. Is there some sort of synchronization going on here that I'm missing or is this a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961048#3961048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961048 From do-not-reply at jboss.com Wed Jul 26 11:51:41 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Wed, 26 Jul 2006 11:51:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - missing Message-ID: <31601155.1153929101638.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIK, there is only one default destination for all async nodes (see org.jbpm.graph.def.Node and org.jbpm.command.ExecuteNodeCommand). Since I'd like to use multiple CommandExecutorThread instances on different machines, I can configure them so that every CommandExecutorThread has its own destination: | CommandExecutorThread cet = new CommandExecutorThread(JbpmConfiguration.getInstance()); | cet.setDestination("myDest"); | cet.start(); | But at the current state, this CommandExecutorThread will never receive a message because all generated async messages have the destination "CMD_EXECUTOR" (see org.jbpm.command.Command.DEFAULT_CMD_DESTINATION). Is it planned to add an additional "destination" attribute to the "node" class which can be set for async nodes? I would find this very useful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961051#3961051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961051 From do-not-reply at jboss.com Wed Jul 26 11:53:05 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 11:53:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <15044298.1153929185077.JavaMail.jboss@colo-br-02.atl.jboss.com> Hm... my cheers were to early. It's really funny, but the debug log goes like this: Calling the edit page em=org.hibernate.ejb.EntityManagerImpl at d8f5e8 Submitting the edit page plus redisplay afterwards (validation fault) em=null Cancelling, going back to list and editing something else em=org.hibernate.ejb.EntityManagerImpl at 3eed51 The EntityManager never stays the same. Sometimes it's null, and when not it's always newly instantiated (see the code at the end of org.hibernate...@). Maybe it's the right time to finally post some code ;) package de.beffo.test.converter; | | import javax.faces.component.UIComponent; | import javax.faces.context.FacesContext; | import javax.faces.convert.Converter; | import javax.faces.convert.ConverterException; | import javax.interceptor.Interceptors; | import javax.persistence.EntityManager; | | import org.apache.commons.logging.LogFactory; | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.ejb.SeamInterceptor; | | import de.beffo.test.model.Person; | | //@Stateless | @Scope(ScopeType.SESSION) | @Name("personConverter") | @Interceptors(SeamInterceptor.class) | public class PersonConverterBean implements Converter { | | @In(create=true) | private EntityManager em; | | public Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String string) throws ConverterException { | LogFactory.getLog(this.getClass()).info("getAsObject: string=" + string + " em="+em); | return new Person();//em.find(Person.class, Long.parseLong(string)); | } | | public String getAsString(FacesContext facesContext, UIComponent uiComponent, Object object) throws ConverterException { | LogFactory.getLog(this.getClass()).info("getAsString: object=" + object + " em=" +em); | | return object.toString(); | } | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961052#3961052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961052 From do-not-reply at jboss.com Wed Jul 26 11:53:10 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Wed, 26 Jul 2006 11:53:10 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <9550951.1153929190920.JavaMail.jboss@colo-br-02.atl.jboss.com> - Yes, if you want Seam annotations to work you need the SeamInterceptor - Yes - Mmm i think that there is no Seam annotations in those entity beans. In which specific file are you wondering about the lack of Interceptor ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961053#3961053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961053 From do-not-reply at jboss.com Wed Jul 26 11:53:18 2006 From: do-not-reply at jboss.com (cpob) Date: Wed, 26 Jul 2006 11:53:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: A timer associated to a process instance ? Message-ID: <11768478.1153929198503.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at the source code in CreateTimerAction and CancelTimerAction, they create and cancel timers programmatically. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961054#3961054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961054 From do-not-reply at jboss.com Wed Jul 26 11:55:42 2006 From: do-not-reply at jboss.com (bfo81) Date: Wed, 26 Jul 2006 11:55:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <324692.1153929342301.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.heute at jboss.com" wrote : - Mmm i think that there is no Seam annotations in those entity beans. In which specific file are you wondering about the lack of Interceptor ? Ok, silly question by me, since there are only persistence annotations. Thanks for the answers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961056#3961056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961056 From do-not-reply at jboss.com Wed Jul 26 11:58:25 2006 From: do-not-reply at jboss.com (d1g) Date: Wed, 26 Jul 2006 11:58:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: I raised a related issue some time ago: http://jira.jboss.org/jira/browse/JBSEAM-216 This was to aid developers in creating nice looking URLs whilst still using Seam tags (for conversation management, etc.). I currently use an extended version of s:link (see issue above) along with url rewrites to create URLs which are prettier. It would be great if Gavin could take a look at s:link and consider these issues and the challenge of creating nice URLs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961057#3961057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961057 From do-not-reply at jboss.com Wed Jul 26 12:04:21 2006 From: do-not-reply at jboss.com (rjain15) Date: Wed, 26 Jul 2006 12:04:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - JBPEL dependency on JWSDP Message-ID: <10026437.1153929861499.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have installed and deployed the jbpel sar file on jboss 4.0.4 GA In order to run the examples I need to specify the JWSDP home. I believe JBOSSWS is the WebServices stack impl which is bundled along with the App Server. Do I still need to have the JWSDP? Why is this dependency.. regards RJ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961058#3961058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961058 From do-not-reply at jboss.com Wed Jul 26 12:20:12 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Wed, 26 Jul 2006 12:20:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <6011908.1153930812890.JavaMail.jboss@colo-br-02.atl.jboss.com> Your url-pattern for your faces servlet mapping seems odd to me. Do you really have .jsp files that you get to via an .xhtml extension? foo.xhtml -> foo.jsp? How is userManagement.getUsers() getting called? Please show your view markup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961060#3961060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961060 From do-not-reply at jboss.com Wed Jul 26 12:27:44 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Wed, 26 Jul 2006 12:27:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <20159892.1153931264630.JavaMail.jboss@colo-br-02.atl.jboss.com> A very close reading of the Javadoc does yield some differences: get - Return the persistent instance of the given entity class with the given identifier, or null if there is no such persistent instance. Obtain the specified lock mode if the instance exists. Returns: a persistent instance or null load - Return the persistent instance of the given entity class with the given identifier, assuming that the instance exists. You should not use this method to determine if an instance exists (use get() instead). Use this only to retrieve an instance that you assume exists, where non-existence would be an actual error. Returns: the persistent instance or proxy I agree it's pretty subtle though. The Hibernate reference doc http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#objectstate-loading is a little more clear: "Note that load() will throw an unrecoverable exception if there is no matching database row. If the class is mapped with a proxy, load() just returns an uninitialized proxy and does not actually hit the database until you invoke a method of the proxy." Cheers! Rob[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961061#3961061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961061 From do-not-reply at jboss.com Wed Jul 26 12:28:01 2006 From: do-not-reply at jboss.com (cuoz) Date: Wed, 26 Jul 2006 12:28:01 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ClassCastException calling EJB3 from Portal Message-ID: <22606907.1153931281884.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I made a plain old WAR file (not a portlet) and deployed a simple JSP that uses my session bean just fine with the exact code copy/pasted from my portlet. So, it is probably a portal issue and not a EJB3 issue. I'll take my issue over to the portal forum and sorry for the wasted bandwidth. Gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961062#3961062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961062 From do-not-reply at jboss.com Wed Jul 26 12:32:47 2006 From: do-not-reply at jboss.com (cuoz) Date: Wed, 26 Jul 2006 12:32:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - ClassCastException accessing EJB3 from portlet Message-ID: <17273166.1153931567083.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I posted this to the EJB3 forum originally, but just tested my app using a plain WAR file and it works fine, so I think it is something related to classloading and my portlet... I'm trying to use my EJB3 application from a JBoss Portal portlet and getting the infamous ClassCastException. I have read all the wiki & other resources on classloading, etc, but have not been able to solve this one. Specifics are: JBoss 4.0.4GA, Portal 2.4-CR2, EJB3 RC8. I have packaged the ejb3 application and the portlet application in separate ear files (originally tried using just a war for the portlet), and have also tried scoped loader repositories. The portlet includes a jar file of only the client parts of my ejb3 application. I have JBossAS configured for call by value, etc. Here are application specifics: ClientEJB is an entity that implements Client interface ClientSessionBean is a SLSB ClientSessionLocal is the local interface to the session bean The method I am calling on the session bean is: Client createClient(String username, String password) It creates an instance of ClientEJB, persists it, and returns it as a Client interface. The call to the session bean works fine. I get the CCE when I try to use the returned object as a Client and not a ClientEJB. What should I be doing to make this work? Hopefully somebody already ran into this scenario and can help. Let me know if you need more information. Thank you in advance, Gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961064#3961064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961064 From do-not-reply at jboss.com Wed Jul 26 12:36:31 2006 From: do-not-reply at jboss.com (the_dude) Date: Wed, 26 Jul 2006 12:36:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <29071223.1153931791674.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried that already :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961066#3961066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961066 From do-not-reply at jboss.com Wed Jul 26 12:40:00 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Wed, 26 Jul 2006 12:40:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <3459363.1153932000985.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, great blog post here: http://www.sleberknight.com:8080/roller/comments/sleberkn/Weblog/using_spring_with_hibernate3_s Cheers again! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961067#3961067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961067 From do-not-reply at jboss.com Wed Jul 26 12:42:04 2006 From: do-not-reply at jboss.com (chane) Date: Wed, 26 Jul 2006 12:42:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - s:link does not work after JBoss restart Message-ID: <19216885.1153932124793.JavaMail.jboss@colo-br-02.atl.jboss.com> On a results screen I use the s:link tag in a table. The results screen is generated from a SFSB with ScopeType.EVENT. When the user clicks on the action, a new screen opens up from another SFSB with ScopeType.CONVERSATION. This works great until JBoss is restarted. Once restarted, the view action (below) on an existing results screen returns the results.xhtml screen without any records and does not seem to call the SFSB editor.view that I expected. Should this work? Or I'm trying to do something not allowed? Link in results.xhtml | | | Action | | | | | | Finder.java | @Name("finder") | @Stateful | @Scope(ScopeType.EVENT) | @LoggedIn | public class Finder implements IFinder { | | @DataModel | private List fulfillments; | | @DataModelSelection | private Fulfillment selected; | | private Fulfillment fulfillment = new Fulfillment(); | | @Begin(flushMode=FlushModeType.MANUAL) | public String find(){ | fulfillments = DAFulfillment.find(fulfillment); | return "found"; | } | | @Destroy | @Remove | public void destroy(){ | } | | public Fulfillment getFulfillment(){ | return fulfillment; | } | | public void setFulfillment(Fulfillment fulfillment){ | this.fulfillment = fulfillment; | } | } | Editor.java | @Name("editor") | @Stateful | @LoggedIn | public class Editor extends AbstractEditor implements IEditor{ | | public Fulfillment fulfill; | | @RequestParameter | protected Long id; | | @DataModel | private List items; | | @DataModelSelection | private Item item; | | @Create | @Begin | public void initialize(){ | fulfill = load(Fulfillment.class, id); //does loading in a superclass | items = new ArrayList(); | items.addAll(fulfill.getItems()); | } | | public String save(){ | persist(fulfill); | return super.save(); //super method returns "saved"; | } | | @End | public String cancel(){ | em.refresh(fulfill); | return "cancel"; | } | | @End | public String return(){ | em.refresh(fulfill); | return "return"; | } | | @Destroy | @Remove | public void destroy(){ | } | | public Fulfillment getFulfill(){ | return fulfill; | } | | public void setFulfill(Fulfillment fulfill){ | this.fulfill = fulfill; | } | } | Thanks, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961068#3961068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961068 From do-not-reply at jboss.com Wed Jul 26 12:42:29 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Wed, 26 Jul 2006 12:42:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <24244132.1153932149644.JavaMail.jboss@colo-br-02.atl.jboss.com> Gary- Can you post a representation of how both your ear files are packaged? Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961069#3961069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961069 From do-not-reply at jboss.com Wed Jul 26 12:49:06 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 26 Jul 2006 12:49:06 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - org.hibernate.LazyInitializationException: Seam or Hibernate Message-ID: <15398892.1153932546802.JavaMail.jboss@colo-br-02.atl.jboss.com> Not sure where to post this so it's on the hibernate forum as well. I'm new to ejb, seam and hibernate so please excuse my ignorance. I have a simple query that retrieves an entity from the database. Within that object I call a method to get a collection of different entitys. Like so... | List l = entity.getCollection(); | >From searching google and reading posts I understand that I have a session issue and could fix the problem by using and EAGER strategy. However, I cannot get the eager to work either. I get the same error regardless of what I do. I'm running the lastest version of JBoss AS and Seam. Here's the actual code. | | @DataModel | private Set remitItems; | | remitItems = packages.getSelectedClosedPackage().getRemittanceItems(); | | ----------------- | | Here is the entity bean method with annotations | | @OneToMany(mappedBy="remittancePackage") | public Set getRemittanceItems() { | return remittanceItems; | } | | | Here's the exception...although I'm sure you guys have seent this one before... | Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.vicor.DistributedCapture.ejb.PackageEntity.remittanceItems, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) | at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97) | at org.hibernate.collection.PersistentSet.size(PersistentSet.java:114) | at java.util.ArrayList.(ArrayList.java:133) | at org.jboss.seam.jsf.SetDataModel.setWrappedData(SetDataModel.java:96) | at org.jboss.seam.jsf.SetDataModel.(SetDataModel.java:33) | at org.jboss.seam.databinding.DataModelBinder.wrap(DataModelBinder.java:48) | at org.jboss.seam.databinding.DataModelBinder.wrap(DataModelBinder.java:19) | at org.jboss.seam.Component.outjectDataModelList(Component.java:980) | at org.jboss.seam.Component.outjectDataModels(Component.java:937) | at org.jboss.seam.Component.outject(Component.java:857) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:41) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 45 more | Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961070#3961070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961070 From do-not-reply at jboss.com Wed Jul 26 12:51:28 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 12:51:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <17533248.1153932688685.JavaMail.jboss@colo-br-02.atl.jboss.com> How is it a great blog post when the guy totally missed the entire reason why load() behaves like it does? The Hibernate distinction between load() and get() is just like the JPA distinction between getReference() and find(). You need both options. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961071#3961071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961071 From do-not-reply at jboss.com Wed Jul 26 12:55:03 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 26 Jul 2006 12:55:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: org.hibernate.LazyInitializationException: Seam or Hiber Message-ID: <24966867.1153932903342.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, I figured out where to annotate for EAGER. However, I still need to better understand lazy initialization. Advice and suggestions greatly appreciated. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961072#3961072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961072 From do-not-reply at jboss.com Wed Jul 26 12:56:56 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 12:56:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Tutorial Feedback Message-ID: <3723170.1153933016311.JavaMail.jboss@colo-br-02.atl.jboss.com> No, you did not seem negative. Facelets lets you do stuff like:
    | |
    Which is like Tapestry in that it allows previewing by the web browser, but different to Tapestry in that it does not require a whole external XML component declaration file (something I really don't like about Tapestry). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961073#3961073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961073 From do-not-reply at jboss.com Wed Jul 26 13:09:45 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:09:45 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remote EJBs Message-ID: <12212280.1153933785155.JavaMail.jboss@colo-br-02.atl.jboss.com> 1. At least in CVS it is conceptually possible to have a remote Seam component. (I forget whether a nonbuggy implementation made it into 1.0.1.) However, this feature requires that the implementation class for the remote bean is in the client classpath, which is not usually the case. (I'm not quite sure what I can do about that one .... I suppose I can support @Name on remote interfaces...?) Alternatively, you can just call the remote EJB using normal EJB3 mechanisms, inject it using @EJB. 2. You need a dedicated remote interface, annotated @Remote. 3. You need to implement your own exception handling layer for this. Either deal with the exception in client code, or in a servlet filter or web.xml. Unfortunately JSF (amazingly) does not provide any good place to handle these kinds of exceptions :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961074#3961074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961074 From do-not-reply at jboss.com Wed Jul 26 13:10:42 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:10:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Could not register synchronization Message-ID: <32903508.1153933842859.JavaMail.jboss@colo-br-02.atl.jboss.com> Use your debugger to find the real underlying exception that is being hidden by this bug in EJB3. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961075#3961075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961075 From do-not-reply at jboss.com Wed Jul 26 13:15:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:15:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remote EJBs Message-ID: <31253345.1153934140710.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : 3. You need to implement your own exception handling layer for this. Either deal with the exception in client code, or in a servlet filter or web.xml. Unfortunately JSF (amazingly) does not provide any good place to handle these kinds of exceptions :-( Hmmmm. One thing I *could* do is have Seam provide a client-side interception layer for EJB components (a feature missing from the EJB spec). And then I could provide a built-in interceptor for handling the spec-defined exceptions (ConcurrentAccessException, RemoteException, etc). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961079#3961079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961079 From do-not-reply at jboss.com Wed Jul 26 13:16:21 2006 From: do-not-reply at jboss.com (unibrew) Date: Wed, 26 Jul 2006 13:16:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <28806940.1153934181883.JavaMail.jboss@colo-br-02.atl.jboss.com> My guess would be that you are packaging Client.class in both ears and you should have it only in ejb3 package. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961080#3961080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961080 From do-not-reply at jboss.com Wed Jul 26 13:16:59 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:16:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <13475318.1153934219964.JavaMail.jboss@colo-br-02.atl.jboss.com> All beans instantiated during a conversation go into the current (ie. most nested) conversation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961081#3961081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961081 From do-not-reply at jboss.com Wed Jul 26 13:20:31 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:20:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <11945253.1153934431765.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I'll post the remoting bug on JIRA once I figured out where to find that. http://jira.jboss.com/jira/browse/JBSEAM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961082#3961082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961082 From do-not-reply at jboss.com Wed Jul 26 13:21:16 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:21:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Logger - usage question Message-ID: <3602945.1153934476444.JavaMail.jboss@colo-br-02.atl.jboss.com> Note that yesterday I committed some changes to CVS so that injection works during the startup phase. You guys were right, there was a bug there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961083#3961083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961083 From do-not-reply at jboss.com Wed Jul 26 13:24:38 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:24:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Can be used with facelets compositions? Message-ID: <27165887.1153934678421.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Nevertheless I wish that the main Seam players recognised the importance of the issue we are discussing, as I don't think that anyone using facelets would give up its composition facilities in order to use . AFAICT, this is not a limitation of Seam but a limitation of Facelets, and so there is nothing much I can do about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961084#3961084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961084 From do-not-reply at jboss.com Wed Jul 26 13:25:05 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Wed, 26 Jul 2006 13:25:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Hiding a portlet Message-ID: <1960126.1153934705554.JavaMail.jboss@colo-br-02.atl.jboss.com> try to throw a portlet exception and configure the portal in jboss-portal.sar/conf/config.xml such as it does not display portlets that throw exceptions. pretty ugly I know, but should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961085#3961085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961085 From do-not-reply at jboss.com Wed Jul 26 13:26:40 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Wed, 26 Jul 2006 13:26:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <12054860.1153934800265.JavaMail.jboss@colo-br-02.atl.jboss.com> Since the exception is happening in the Portal layer (in the Portlet) wouldn't the Client.class have to be in the ear file that holds the portlet. which from your post looks like you are packaging it in the portlet ear. Again, information on how the two files are packaged will throw more light on the issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961086#3961086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961086 From do-not-reply at jboss.com Wed Jul 26 13:36:34 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 13:36:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: s:link does not work after JBoss restart Message-ID: <5009675.1153935394425.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah. Hmmmm. I think I know what the problem is. Seam can't just let you call any arbitrary method by hacking action=name.method into the URL of a GET request. So it only lets you call action methods that were previously rendered via an s:link. I'll see if something more can be done here if you can add an issue to JIRA. Otherwise use a page action defined in pages.xml if you need truly bookmarkable links. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961087#3961087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961087 From do-not-reply at jboss.com Wed Jul 26 13:39:21 2006 From: do-not-reply at jboss.com (EricChile) Date: Wed, 26 Jul 2006 13:39:21 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Can you have an app run every 5 minutes? Message-ID: <20823262.1153935561939.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to JBoss, but I have experance with Tomcat and Struts. I have also played with webservices, jsf, and session beans. I have some standalone code that works well that is written in Java. Is it possiable to convert this code so that it can be deployed in a war file and ran automaticly every 5 minutes? I know it could be done with a cron job, but we would like to keep all the appliacations in the same area. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961088#3961088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961088 From do-not-reply at jboss.com Wed Jul 26 13:41:47 2006 From: do-not-reply at jboss.com (gerryjuice2) Date: Wed, 26 Jul 2006 13:41:47 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Running Jboss in linux Message-ID: <10928279.1153935707371.JavaMail.jboss@colo-br-02.atl.jboss.com> Just installed jboss-4.0.4 on suse linux(which i am new to) as the root user. I am able to run the server as root without error, but when i try to run as a non-root user or from within eclipse i get the following error. ERROR [MainDeployer] Could not make local copy for file:/usr/local/jboss-4.0.4/server/default/conf/jboss-service.xml java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1345) at java.io.File.createTempFile(File.java:1434) at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1167) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:840) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) 19:38:05,045 ERROR [MainDeployer] Could not initialise deployment: file:/usr/local/jboss-4.0.4/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-service.xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) Failed to boot JBoss: org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-service.xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) 19:38:05,062 INFO [Server] Runtime shutdown hook called, forceHalt: true I have even changed the permission's on jboss-service.xml to a+rwx so i dont think there is a problem there. Any Help appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961089#3961089 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961089 From do-not-reply at jboss.com Wed Jul 26 13:43:14 2006 From: do-not-reply at jboss.com (gup123) Date: Wed, 26 Jul 2006 13:43:14 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - facing issues in persisting standalone application using hib Message-ID: <11013528.1153935794571.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am new to this area and I am using hibernate3.2, hibernate-annotation3.2 and hibernate-entitymanager3.2 for persisting a object in the database in a standalone program i.e. plain java, but i am getting the following program when i run. Please suggest any solution or if i am missing anything: exception is =: [java] Exception in thread "main" java.lang.IllegalAccessError: tried to access method net.s f.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider [java] at org.hibernate.cache.EhCacheProvider.start(EhCacheProvider.java:124) [java] at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:180) [java] at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) [java] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuratio n.java:631) [java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configurati on.java:760) [java] at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) [java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configurati on.java:205) [java] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePer sistence.java:114) [java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) [java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) [java] at com.FirstApp.SSTest.addNS(Unknown Source) [java] at com.FirstApp.SSTest.main(Unknown Source) [java] Java Result: 1 Code is some thing like this: /** * AB generated by hbm2java */ @Entity @Table(name="ABs" ,schema="Cat" , uniqueConstraints = { } ) public class ABs implements java.io.Serializable { // Fields private NId id; private Cdates cdates; // Constructors /** default constructor */ public ABs() { } /** full constructor */ public ABs(NId id, Cdates cdates) { this.id = id; this.cdates = cdates; } // Property accessors @EmbeddedId @AttributeOverrides( { @AttributeOverride(name="A",...)) @AttributeOverride(name="B", ...) ) } ) public NId getId() { return this.id; } public void setId(NId id) { this.id = id; } @ManyToOne(cascade={}, fetch=FetchType.LAZY) @JoinColumn(name="A", unique=false, nullable=false, insertable=false, updatable=false) ...... } another class /** * NId generated by hbm2java */ @Embeddable public class NId implements java.io.Serializable { // Fields private String a; private String b; // Constructors /** default constructor */ public NId() { } /** full constructor */ public NId(String a, String b) { this.a = a; this.b = b; } // Property accessors @Column(name="a", unique=false, nullable=false, insertable=true, updatable=true, length=200) public String getA() { return this.a; } public void setA(String a) { this.a = a; } @Column(name="B", unique=false, nullable=false, insertable=true, updatable=true, length=30) public String getB() { return this.b; } public void setB(String b) { this.b = b; } public boolean equals(Object other){.....} public int hashCode() {....) } and the main class is public class SSTest { public static void main(String[] arg) { SSTest sstest = new SSTest(); sstest.addNS(); } public void addNS() { EntityManagerFactory emf = Persistence.createEntityManagerFactory("manager1"); NId item = new NId( "111111", "111111" ); ABs ns = new ABs(); ns.setId(item); EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); em.persist( ns ); em.getTransaction().commit(); }// end of method }// End of Class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961090#3961090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961090 From do-not-reply at jboss.com Wed Jul 26 13:47:07 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Wed, 26 Jul 2006 13:47:07 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Difference between Message-ID: <23616331.1153936027468.JavaMail.jboss@colo-br-02.atl.jboss.com> All the jars you need are available in the server/lib and server/deploy directory when linking with clients. If you downlaod the standalone RC8 version of EJB3 the docs/tutorial have ant scripts that work with the appropriate client jar classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961091#3961091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961091 From do-not-reply at jboss.com Wed Jul 26 13:48:20 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Wed, 26 Jul 2006 13:48:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <29874710.1153936100492.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I took a deeper look at this issue. I started with a clean JDK 1.5.0 and a fresh copy of jBPM BPEL 1.1-beta1. I was able to execute all targets but run-tests. Then I realized two things: a) The Xalan path element in servicegen.classpath is outdated. It should be: | ... | | This points to a Xalan 2.7.0 library. b) The test.classpath is not affected by the settings in servicegen.classpath :) My bad. Here is the correct setting: | ... | | I'm seeing this working as I write this post :) Sorry for the inconvenience guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961092#3961092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961092 From do-not-reply at jboss.com Wed Jul 26 13:52:58 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Wed, 26 Jul 2006 13:52:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: org.hibernate.LazyInitializationException: Seam or Hiber Message-ID: <9284838.1153936378503.JavaMail.jboss@colo-br-02.atl.jboss.com> see http://forum.hibernate.org/viewtopic.php?p=2315877#2315877 on the hibernate forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961093#3961093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961093 From do-not-reply at jboss.com Wed Jul 26 13:54:17 2006 From: do-not-reply at jboss.com (asaksena) Date: Wed, 26 Jul 2006 13:54:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <22852710.1153936457574.JavaMail.jboss@colo-br-02.atl.jboss.com> On a related issue, the SAR file for jbpm-bpel.sar doesn't build correctly after doing an ant clean followed by ant build.service.404. The original builds a SAR file 1428KB. build after an ant clean creates smaller SAR file that has deployment issues. ant clean cleans out 2 files that come with the download: jbpm-bpel-1.1.-beta1.jar and jbpm-bpel.war and these files don't rebuild with subsequent builds.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961094#3961094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961094 From do-not-reply at jboss.com Wed Jul 26 14:10:29 2006 From: do-not-reply at jboss.com (EricChile) Date: Wed, 26 Jul 2006 14:10:29 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Call EJB on a Schedule? Message-ID: <3717605.1153937429870.JavaMail.jboss@colo-br-02.atl.jboss.com> Use the ServletContextListener to create the first request. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961095#3961095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961095 From do-not-reply at jboss.com Wed Jul 26 14:11:31 2006 From: do-not-reply at jboss.com (j1a2o) Date: Wed, 26 Jul 2006 14:11:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Ripping out identity component Message-ID: <22048037.1153937491236.JavaMail.jboss@colo-br-02.atl.jboss.com> The user guide says: "When you want to use your own datasource for organisational information such as your company's user database or ldap system, you can just rip out the jBPM identity component." Can someone point me towards some resources on how to rip out the identity component? I guess I'm not sure about how the org.jbpm.identity package interacts with the rest of jBPM. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961096#3961096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961096 From do-not-reply at jboss.com Wed Jul 26 14:20:09 2006 From: do-not-reply at jboss.com (saravanag) Date: Wed, 26 Jul 2006 14:20:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple Instance of JBoss Message-ID: <1174497.1153938009731.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Thanks for your solution. I created two instance of jboss. One is default and other one as dev01 under server directory. And changed the jboss-service.xml as ports-01 in another instance i confugured as ports-default Also I changed all the port numbers in jboss-service.xml for the new instance Thanks Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961097#3961097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961097 From do-not-reply at jboss.com Wed Jul 26 14:24:22 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Wed, 26 Jul 2006 14:24:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Navigating depth in object graph Message-ID: <26045103.1153938262052.JavaMail.jboss@colo-br-02.atl.jboss.com> As always i dont find any example about a true world development... String, Integer is nice, but where i have a true persistence object graph with something like Client -> Address -> City ->State and so on... When a try to save this object graph from a jsf page* i have a javax.faces.el.PropertyNotFoundException: Base is null: .... * i think that happens because the adddress return null... the Seam, JSF dont instanciates one for me? What solution you guys can give to me? Thanks very much!!! - That why i love ognl null handler of webwork ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961098#3961098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961098 From do-not-reply at jboss.com Wed Jul 26 14:46:14 2006 From: do-not-reply at jboss.com (cuoz) Date: Wed, 26 Jul 2006 14:46:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <18860767.1153939574057.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for the responses. Here is the packaging details: for the EJB3 deployment: panel-server.ejb3: class files for both client & server META-INF/persistence.xml META-INF/jboss.xml (security domain declaration) for the portlet deployment: panel-email.war: WEB-INF/classes (portlet related classes) WEB-INF/lib/panel-client.jar (client jar for session & interfaces) WEB-INF/email-object.xml WEB-INF/portlet-instances.xml WEB-INF/portlet.xml WEB-INF/web.xml unibrew: you indicated that I should not have client classes in both places, but my past experience (regular webapps, not portlets) is that to hot-deploy and not affect multiple applications I need to have them in both places and have call-by-value & such configured (which I believe I do). I am able to do this with my regular test war file. My goal is to have appropriate packaging to allow updates to the EJB3 application without needed to redeploy all the portlets & other applications (jbpm will be in the mix also). Thank you for the help, gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961102#3961102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961102 From do-not-reply at jboss.com Wed Jul 26 14:50:00 2006 From: do-not-reply at jboss.com (scotttam) Date: Wed, 26 Jul 2006 14:50:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - ManyToMany relationship removal example Message-ID: <23170723.1153939800401.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been hunting around looking for an example of how to remove an entry from the join table but not remove the entities. For example, let's say I have a user table and a role table, which have a many to many relationship, so add a user_role table to manage that. In my POJO's, I setup my ManyToMany annotations with the definition on the role POJO. Add entries into the join table seems to work fine but trying to remove entries by removing the objects from the relevant sets doesn't seem to cause the line to be removed from the join table. So, I am looking for an example of how to properly do this: setup the POJO's and simple sample code. If anyone has this, it would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961103#3961103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961103 From do-not-reply at jboss.com Wed Jul 26 14:57:01 2006 From: do-not-reply at jboss.com (kiran22) Date: Wed, 26 Jul 2006 14:57:01 -0400 (EDT) Subject: [jboss-user] [JBossWS] - sample example for sending /processing axml file in webserv Message-ID: <26062098.1153940221335.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am new to web services /xml technologies and using Jboss4.0.4 with jbossws 1.0.0. Following is the requirement I have to develop in two weeks. 1. End Client sends an XML file to a web service 2. Web service has to accept the xml file and process it - update the database, checks with directory...etc 3. return the response in xml. I tried to look for some examples but couldn't find complete example. I suggested to my client that document style webservice will serve the purpose .Meanwhile, I was trying to develop sample example but when send I request to SOAP, Jboss is throwinng the exception: My XML FIle: Hello! Exception is: javax.xml.soap.SOAPException: Unsupported content type: application/x-www-form-urlencoded at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:217) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:215) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Htt p11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534) 14:05:44,140 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message org.jboss.ws.WSException: Cannot obtain NamespaceRegistry, because there is no SOAPMessage associate d with this context at org.jboss.ws.soap.SOAPMessageContextImpl.getNamespaceRegistry(SOAPMessageContextImpl.java :140) at org.jboss.ws.soap.SOAPMessageContextImpl.getSerializationContext(SOAPMessageContextImpl.j ava:130) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java: 223) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHe lper.java:177) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717). If anybody has small example to meet above requirement, pleaes share with me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961104#3961104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961104 From do-not-reply at jboss.com Wed Jul 26 14:57:37 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Wed, 26 Jul 2006 14:57:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <6274833.1153940257889.JavaMail.jboss@colo-br-02.atl.jboss.com> If you run ant -p, it will show you the documented targets: build build bpel and webapp libraries | build.service.402 build service archive for JBoss 4.0.2 | build.service.403 build service archive for JBoss 4.0.3 | build.service.404 build service archive for JBoss 4.0.4 | clean remove all generated files | compile compile all source files | dist build bpel distribution | javadoc generate jbpm bpel api documentation | report.coverage generate coverage report | test execute all tests | test.coverage execute the tests and measure the coverage If you found the clean target then finding the build target to build bpel and webapp libraries ought to be easy. Plus, it is the main target :) The reason why build.service.XXX does not depend on build is that, in order to build the .jar and .war files, the source files have to be compiled. I do not want folks to recompile the distribution libraries unless they need to change something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961105#3961105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961105 From do-not-reply at jboss.com Wed Jul 26 15:02:35 2006 From: do-not-reply at jboss.com (turksheadsw) Date: Wed, 26 Jul 2006 15:02:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released Message-ID: <22330292.1153940555495.JavaMail.jboss@colo-br-02.atl.jboss.com> Six days later... still the files are missing. Easybeans is an ObjectWeb project you may be interested in if you are frustrated with this. In addition, there is always Glassfish. The bleeding edge can be sharp, but this is pathetic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961107#3961107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961107 From do-not-reply at jboss.com Wed Jul 26 15:05:25 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Wed, 26 Jul 2006 15:05:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Is it me, JAX-WS, or JBoss? Message-ID: <24115527.1153940725710.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody! I've encountered this issue while trying JPA artifacts with WS on JBoss Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) Created a very simple entity class inspired by the latest Bill Burk & Richard Monson-Haefel Enterprise JavaBeans, 3.0 (Great book BTW, strongly recommended) | package com.bruno.net.domain; | import java.io.Serializable; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.GenerationType; | import javax.persistence.Id; | | @Entity | public class Cabin implements Serializable { | private static final long serialVersionUID = 1353L; | | @Id | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "hibernate3_sequence") | private int id; | private String name; | public String getName() { | return name; | } | public void setName(String name) { | this.name = name; | } | public int getId() { | return id; | } | public void setId(int id) { | this.id = id; | } | } | Created EJB to deal with a webservice | package com.bruno.net.ejb; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.xml.ws.WebServiceRef; | | import com.bruno.net.domain.Cabin; | | @WebService(name = "TravelAgent", serviceName = "TravelAgentService") | @WebServiceRef(name="service/TravelAgentService") | @Stateless | public class TravelAgentBean implements TravelAgentRemote { | @PersistenceContext(unitName = "titan") | private EntityManager manager; | | @WebMethod | public void createCabin(@WebParam(name = "Cabin") | Cabin cabin) { | manager.persist(cabin); | } | | @WebMethod | @WebResult(name = "Cabin") | public Cabin findCabin(@WebParam(name = "ID") | int pKey) { | return manager.find(Cabin.class, pKey); | } | } | Ran my client against JBoss and it works. Great. Well there is some ruffle with accessability of id. If I follow good Hibernate practices and change the setter of id to private, i.e. like this | private void setId(int id) { | this.id = id; | } my client does not return properly from the server. Yet I can live with it. My real problem is with inheritance. If I refactor my entity into BaseEntity | package com.bruno.net.base; | import java.io.Serializable; | import javax.persistence.GeneratedValue; | import javax.persistence.GenerationType; | import javax.persistence.Id; | import javax.persistence.MappedSuperclass; | | @MappedSuperclass | public abstract class BaseEntity implements Serializable { | | @Id | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "hibernate3_sequence") | private int id; | | public int getId() { | return id; | } | | public void setId(int id) { | this.id = id; | } | } | to hold info which should be applied to all entities like id, version, comparators etc. and rewrite my Cabin like this | package com.bruno.net.domain; | import javax.persistence.Entity; | import com.bruno.net.base.BaseEntity; | @Entity | public class Cabin extends BaseEntity { | private static final long serialVersionUID = 1353L; | | private String name; | | public String getName() { | return name; | } | public void setName(String name) { | this.name = name; | } | } | I cannot deploy on JBoss. The whole list of errors | 2006-07-26 14:17:05,398 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 12616765 [xmlType={http://ejb.net.ileonov.com/jaws}findCabinResponse,javaType=com.ileonov.net.ejb.__JBossWS_TravelAgentService_TravelAgentPort_findCabinResponse,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at ea9bc8,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 99712b] | 2006-07-26 14:17:05,615 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/tmp/deploy/tmp8343webservice.ear-contents/facade.jar | org.jboss.ws.WSException: Element id found in jaxrpc-mapping but not in the schema: {http://domain.net.bruno.com/jaws}Cabin | at org.jboss.ws.jaxb.SchemaBindingBuilder.processXmlElementName(SchemaBindingBuilder.java:289) | at org.jboss.ws.jaxb.SchemaBindingBuilder.processNonArrayType(SchemaBindingBuilder.java:189) | at org.jboss.ws.jaxb.SchemaBindingBuilder.processJavaXmlTypeMapping(SchemaBindingBuilder.java:139) | at org.jboss.ws.jaxb.SchemaBindingBuilder.bindSchemaToJava(SchemaBindingBuilder.java:111) | at org.jboss.ws.jaxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:91) | at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:332) | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:400) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:143) | at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:131) | at org.jboss.ws.server.ServiceEndpointManager$DefaultServiceLifecycle.startServiceEndpoint(ServiceEndpointManager.java:513) | at org.jboss.ws.server.ServiceEndpointManager$ServiceLifecycleChain.startServiceEndpoint(ServiceEndpointManager.java:458) | at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:427) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) | at $Proxy30.startServiceEndpoint(Unknown Source) | at org.jboss.ws.server.WebServiceDeployer.startServiceEndpoints(WebServiceDeployer.java:203) | at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:126) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | 2006-07-26 14:17:05,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true | 2006-07-26 14:17:05,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false | 2006-07-26 14:17:05,640 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true | 2006-07-26 14:17:05,641 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL at cd7ba7e7{ url=file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/deploy/webservice.ear, deployedLastModified=0 } | org.jboss.deployment.DeploymentException: Could not create deployment: file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/tmp/deploy/tmp8343webservice.ear-contents/facade.jar; - nested throwable: (org.jboss.ws.WSException: Element id found in jaxrpc-mapping but not in the schema: {http://domain.net.bruno.com/jaws}Cabin) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1032) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.ws.WSException: Element id found in jaxrpc-mapping but not in the schema: {http://domain.net.bruno.com/jaws}Cabin | at org.jboss.ws.jaxb.SchemaBindingBuilder.processXmlElementName(SchemaBindingBuilder.java:289) | at org.jboss.ws.jaxb.SchemaBindingBuilder.processNonArrayType(SchemaBindingBuilder.java:189) | at org.jboss.ws.jaxb.SchemaBindingBuilder.processJavaXmlTypeMapping(SchemaBindingBuilder.java:139) | at org.jboss.ws.jaxb.SchemaBindingBuilder.bindSchemaToJava(SchemaBindingBuilder.java:111) | at org.jboss.ws.jaxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:91) | at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:332) | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:400) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:143) | at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:131) | at org.jboss.ws.server.ServiceEndpointManager$DefaultServiceLifecycle.startServiceEndpoint(ServiceEndpointManager.java:513) | at org.jboss.ws.server.ServiceEndpointManager$ServiceLifecycleChain.startServiceEndpoint(ServiceEndpointManager.java:458) | at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:427) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) | at $Proxy30.startServiceEndpoint(Unknown Source) | at org.jboss.ws.server.WebServiceDeployer.startServiceEndpoints(WebServiceDeployer.java:203) | at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:126) | 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy35.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | ... 69 more | 2006-07-26 14:17:05,645 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/deploy/webservice.ear -> file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/deploy/webservice.ear | 2006-07-26 14:17:05,647 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: | | --- Incompletely deployed packages --- | org.jboss.deployment.DeploymentInfo at cd7ba7e7 { url=file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/deploy/webservice.ear } | deployer: org.jboss.deployment.EARDeployer at 5e9db7 | status: Deployment FAILED reason: Could not create deployment: file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/tmp/deploy/tmp8343webservice.ear-contents/facade.jar; - nested throwable: (org.jboss.ws.WSException: Element id found in jaxrpc-mapping but not in the schema: {http://domain.net.bruno.com/jaws}Cabin) | state: FAILED | watch: file:/home/iouri/java/server/JBoss/jboss-4.0.4/server/titan/deploy/webservice.ear | altDD: null | lastDeployed: 1153937813402 | lastModified: 1153937812000 | mbeans: | persistence.units:ear=webservice.ear,unitName=titan state: Started | jboss.j2ee:ear=webservice.ear,jar=facade.jar,name=TravelAgentBean,service=EJB3 state: Started | | | 2006-07-26 14:17:05,652 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified that enabled: true | Any idea how to use inheritance in EJB3+JPA+WS+JBoss environment? Is it a known issue or bug or something :) Cheers, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961108#3961108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961108 From do-not-reply at jboss.com Wed Jul 26 15:10:26 2006 From: do-not-reply at jboss.com (chane) Date: Wed, 26 Jul 2006 15:10:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: s:link does not work after JBoss restart Message-ID: <18282679.1153941026908.JavaMail.jboss@colo-br-02.atl.jboss.com> opened JIRA: http://jira.jboss.org/jira/browse/JBSEAM-319 I'll take a look at the page actions again to see if I can figure out how to use those. I don't so much need bookmarkable links, as I want to make the results screen reslient to server system crashes. This led me to another question: in a clustered environment, is the history replicated? I don't use a cluster in my environment yet; but we are moving that way.... Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961109#3961109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961109 From do-not-reply at jboss.com Wed Jul 26 15:13:59 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Wed, 26 Jul 2006 15:13:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - jar in .sar lib : bug or normal behavior ? Message-ID: <20924294.1153941239720.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a strange behaviour. with Jboss 4.0.4 and Portal 2.4.0 CR2. I deploy my portal in a main XXX.sar folder, with a XXX.sar/lib sub folder. This is for the services (like my own url mapper like portal:commandFactory=CMSObject, etc...) of my portal, and also there are some .war sub folders, for the portlets. this is like the main jboss-portal.sar with the lib folder and all the .war folder of jboss portal. When I put the jar file : portal-common-lib.jar in the deploy/XXX.sar/lib folder, and then start jboss, I have an error (which does not seem related to adding this jar). When I take the jar away (with jboss shutdown), jboss starts smoothly... no error 21:04:58,109 INFO [Server] Core system initialized | 21:04:59,656 INFO [WebService] Using RMI server codebase: http://pca64:8083/ | 21:04:59,671 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 21:04:59,875 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, | no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory | 21:05:02,656 INFO [AspectDeployer] Deployed AOP: file:/C:/serveurs/jboss-4.0.4/server/shwa/deploy/j | boss-portal.sar/portal-aop.xml | 21:05:04,765 ERROR [MainDeployer] Could not create deployment: file:/C:/serveurs/jboss-4.0.4/server/ | shwa/deploy/jboss-portal.sar/ | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowable | Exception) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) and many others error follow, all related to deploying modules... It does the same with another jar I need : portal-core-lib.jar it seems that it does not like having the same jars in two lib folder, even if they are exactly the same. is this "normal" ? (I am not very familiar with deployement rules) It look strange because the error does not say anything about the jar... only that the jar "is distrurbing" deployements of many other things... how can I use classes from JBoss Portal in my services and portlets, and tell JBoss where it can find the class def ? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961110#3961110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961110 From do-not-reply at jboss.com Wed Jul 26 15:19:05 2006 From: do-not-reply at jboss.com (dserodio) Date: Wed, 26 Jul 2006 15:19:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <13292218.1153941545331.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : How is it a great blog post when the guy totally missed the entire reason why load() behaves like it does? Wouldn't it help if you added the "reason why load() behaves like it does" to the Session javadocs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961111#3961111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961111 From do-not-reply at jboss.com Wed Jul 26 15:33:22 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 15:33:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Outjection of previous value: selectOneMenu : One 2 Many Rel Message-ID: <31701867.1153942402067.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss 4.0.4.GA JBoss Seam 1.0.1 GA Hi, I am really stuck and cant progress :-( I have a page called viewRatePage, which allows users to add Rate objects to their profile. When I add a new rate, the selectOneMenu items never clear on the refresh when a new rate is added, it contains the old selection of the previous rate. I do force a null on the injected rate, but this has no effect. Please please can anyone help? This issue affects other pages which have the same relationship, ie adding items to a list. These are my previous posts: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87408 This is my view: |
    |
    | |
    | | | | Empty Rates | | | | | | | | | | | | | | | | | | | | | | Action | Delete | | | | | | |
    |
    | |
    |
    |
    | | | | | | | | | | | | | | | |
    Duration:
    Unit:
    Currency:
    Cost:
    | |
    |
    |
    |
    |
    | Any my Rate object that gets instantiated is an entity bean: | @Entity | @Name("rate") | @Scope(EVENT) | public class Rate implements Serializable { | | protected int Id = 0; | | protected int duration = 0; | protected String unit = null; | protected String currency = null; | protected int cost = 0; | protected RatesPage ratesPage = null; | | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | public int getId() { | return Id; | } | | public void setId(int id) { | Id = id; | } | ... // for brevity | My session bean behind the page is (with unnecessary methods removed): | @Stateful | @Scope(ScopeType.SESSION) | @Name("ratesPageManager") | @Interceptors(SeamInterceptor.class) | @LoggedIn | @TransactionAttribute(REQUIRES_NEW) | public class RatesPageManagerBean implements RatesPageManager { | | @In | @Out | @Valid | private User user; | | @In | @Out | @Valid | private Profile profile; | | @In(required = false) | @Out(required = false) | @Valid | private RatesPage ratesPage; | | @PersistenceContext | private EntityManager em; | | @In | private transient FacesContext facesContext; | | @DataModel | private List rates = new ArrayList(); | | | @DataModelSelection | private Rate selectedRate; | | @In(required = false) | private Rate rate; | | | //public Rate getRate() { | // return newRate; | //} | | // public void setRate(Rate rate) { | // this.newRate = rate; | // } | | | | @IfInvalid(outcome = REDISPLAY) | public String create() { | if (profile.getRatesPage() == null) { | em.persist(ratesPage); | profile.setRatesPage(ratesPage); | profile = em.merge(profile); | ratesPage = em.merge(ratesPage); | em.refresh(user); | return "viewRatesPage"; | } else { | facesContext.addMessage(null, new FacesMessage("RatesPage already exists")); | return "viewProfile"; | } | } | | public String select() { | profile = user.getProfile(); | ratesPage = profile.getRatesPage(); | rates.clear(); | rates.addAll(ratesPage.getRates()); | clearRatesOnDisplay(); | return "viewRatesPage"; | } | | private boolean isUnSet(Rate rateToCheck) { | | boolean isOk = ( | (rateToCheck.getCost() == 0) || (rateToCheck.getCurrency().equals("-")) || | (rateToCheck.getDuration() == 0) || (rateToCheck.getUnit().equals("-")) | ); | log.info("Rate check:: cost=" + rateToCheck.getCost() + " currency=" +rateToCheck.getCurrency() | + " duration=" + rateToCheck.getDuration() + " unit=" + rateToCheck.getUnit()); | return isOk; | } | | | public String addRate() { | log.info("addRate() called - " + rate); | | if(isUnSet(rate)) { | log.warn("Failed rates check"); | rate = null; | facesContext.addMessage(null, new FacesMessage("Please enter rates")); | return "viewRatesPage"; | } | log.info("trying to add rate - " + rate); | rate.setRatesPage(ratesPage); | em.persist(rate); | ratesPage.addRate(rate); | ratesPage = em.merge(ratesPage); | profile = em.merge(profile); | log.info("Persisted! and trying to remove"); | clearRatesOnDisplay(); | return select(); | } | | public String deleteRate() { | log.info("deleteRate() called, removing " + selectedRate); | rates.remove(selectedRate); | ratesPage.removeRate(selectedRate); | em.remove(selectedRate); | clearRatesOnDisplay(); | return "viewRatesPage"; | } | | public String delete() { | profile.setRatesPage(null); | em.remove(ratesPage); | profile = em.merge(profile); | ratesPage = null; | return "viewProfile"; | } | | private void clearRatesOnDisplay() { | Contexts.getPageContext().remove("rate"); | //Contexts.getPageContext().remove("ratesManager"); | rate = null; | selectedRate = null; | } | } | The component/javabean that provides the rate types and values is | @Name("ratesManager") | @Interceptors(SeamInterceptor.class) | @Scope(ScopeType.APPLICATION) | public class Rates { | | public Rates() { | log.info("** Rates (RatesManager) instantated **"); | } | | /** | * The durations | */ | static final String[][] DURATION = // left out for brevity | | /** | * The units | */ | static final String[][] UNIT = // left out for brevity | | /** | * The currency | */ | static final String[][] CURRENCY = // left out for brevity | | /** | * The cost | */ | static final String[][] COST = // left out for brevity | | /** | * The duration list | * | * @return List | */ | public List getDurations() { | List result = new ArrayList(); | for (int i = 0; i < DURATION.length; i++) { // value, label, desc | result.add(new SelectItem(DURATION[0], DURATION[1], DURATION[2])); | } | return result; | } | | /** | * The unit list | * | * @return List | */ | public List getUnits() { | List result = new ArrayList(); | for (int i = 0; i < UNIT.length; i++) { // value, label, desc | result.add(new SelectItem(UNIT[0], UNIT[1], UNIT[2])); | } | return result; | } | | /** | * The currency list | * | * @return List | */ | public List getCurrencys() { | List result = new ArrayList(); | for (int i = 0; i < CURRENCY.length; i++) { // value, label, desc | result.add(new SelectItem(CURRENCY[0], CURRENCY[1], CURRENCY[2])); | } | return result; | } | | /** | * The cost list | * | * @return List | */ | public List getCosts() { | List result = new ArrayList(); | for (int i = 0; i < COST.length; i++) { // value, label, desc | result.add(new SelectItem(COST[0], COST[1], COST[2])); | } | return result; | } | | | } | Upon inserting the first rate, the view still shows the previous rate in the selectMenus, if you change it and reinsert, the following exception is thrown | 20:32:37,698 ERROR [STDERR] Jul 26, 2006 8:32:37 PM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View | java.lang.IllegalStateException: Client-id : _id0 is duplicated in the faces tree. | at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:241) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:204) | at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:46) | at com.sun.facelets.FaceletViewHandler.writeState(FaceletViewHandler.java:589) | at org.apache.myfaces.renderkit.html.HtmlFormRendererBase.encodeBegin(HtmlFormRendererBase.java:74) | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:511) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:92) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 20:32:37,700 ERROR [STDERR] Jul 26, 2006 8:32:37 PM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Took Type: java.io.PrintWriter | 20:32:37,717 INFO [RatesPageManagerBean] getRates() called size = 1 | The server debug log shows that the previous rate object is passed down. I tried modifiying the messages example with no success as the input field in the view still had the old inserted value, see previous thread i mentioned. Any ideas people ... i tried formatting this properly to get some help about this :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961114#3961114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961114 From do-not-reply at jboss.com Wed Jul 26 15:33:50 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 26 Jul 2006 15:33:50 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Running Jboss in linux Message-ID: <32356883.1153942430101.JavaMail.jboss@colo-br-02.atl.jboss.com> You should either change the owner for the entire JBoss directory tree and files to the non-root user (i.e., same as if you installed using that user), or change the permissions on all the files/directories. The first option is probably preferred over the second. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961115#3961115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961115 From do-not-reply at jboss.com Wed Jul 26 15:35:11 2006 From: do-not-reply at jboss.com (dkMazz) Date: Wed, 26 Jul 2006 15:35:11 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - ejbFindByPrimaryKey, locking, and consistency Message-ID: <28672690.1153942511252.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an inventory system that uses session facade on the backend. The front end is a page that shows inventory items and the user can select one of the items and be taken to a details page. My question is: When the user is on the details page, will the JBoss session facade block another user from accessing the details page for the same item? Or do I need to code to prevent this myself? My thinking is that internally, an entity bean exists in memory for the DB rowid of the item being viewed. Then when another user tries to do ejbFindByPrimaryKey for the same item ID, the ejb container should return an error because someone else is already using it, right? Or is the JBoss EJB container smart enough to allow two people to both view and potentially modify the same data while enforcing consistency? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961116#3961116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961116 From do-not-reply at jboss.com Wed Jul 26 15:38:14 2006 From: do-not-reply at jboss.com (unibrew) Date: Wed, 26 Jul 2006 15:38:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <4461417.1153942694224.JavaMail.jboss@colo-br-02.atl.jboss.com> So, you can have Client.class just in war files. ejb3 archive could still be hot-deployed at any time as far as the class still implements Client interface. Call-by-value has nothing with it because if you deploy Client.class in different packages then it has got different classloaders which causes that they are not the same class for JVM and cannot be casted. Sohil gave an idea to move classes from your lib jar to WEB-INF/classes and check whether it works. Moreover, we don't see any application.xml in this ear definition. Maybe you could achieve loading lib jar only once by defining it there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961117#3961117 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961117 From do-not-reply at jboss.com Wed Jul 26 15:40:19 2006 From: do-not-reply at jboss.com (kryptontri) Date: Wed, 26 Jul 2006 15:40:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Outjection of previous value: selectOneMenu : One 2 Many Message-ID: <5329086.1153942819722.JavaMail.jboss@colo-br-02.atl.jboss.com> When I modifiy the code, just when I think I have cracked it, I get | java.lang.IllegalStateException: Client-id : _id0 is duplicated in the faces tree. | at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:241) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.checkForDuplicateIds(JspStateManagerImpl.java:255) | at org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:204) | at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:46) | I'm trying all sorts of ways, I am setting the @In Rate to be null upon insertion, but this value still shows up in the selectItem value, I have tried: - upon insertion, removing the rate in the context | private void clearRatesOnDisplay() { | Contexts.getPageContext().remove("rate"); | //Contexts.getPageContext().remove("ratesManager"); | rate = null; | selectedRate = null; | } | changed the javabean that provides the values in the menu to EVENT | @Name("ratesManager") | @Interceptors(SeamInterceptor.class) | @Scope(ScopeType.EVENT) | public class Rates { | public Rates() { | log.info("** Rates (RatesManager) instantated **"); | } | ... | but stil no luck :-| View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961118#3961118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961118 From do-not-reply at jboss.com Wed Jul 26 15:46:17 2006 From: do-not-reply at jboss.com (tallesbrito) Date: Wed, 26 Jul 2006 15:46:17 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Security Handlers on JBoss WS-Security Message-ID: <2839835.1153943177331.JavaMail.jboss@colo-br-02.atl.jboss.com> How I could set envirnoment handlers (such like in XWS-Security) to execute security operations on "JBoss WS-Security"? Thanks, Talles View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961119#3961119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961119 From do-not-reply at jboss.com Wed Jul 26 15:50:26 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 15:50:26 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: s:link does not work after JBoss restart Message-ID: <29501877.1153943426950.JavaMail.jboss@colo-br-02.atl.jboss.com> It goes in the application scope so no, it is not replicated. Two possible solutions: (1) stick stuff in jboss cache (that way it gets replicated) (2) require that all these actions be declared, so we can init the list of allowed actions at startup Neither of these options is great. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961120#3961120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961120 From do-not-reply at jboss.com Wed Jul 26 16:01:47 2006 From: do-not-reply at jboss.com (tallesbrito) Date: Wed, 26 Jul 2006 16:01:47 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - How to get SOAP message inside a EJB layer Message-ID: <12565056.1153944107893.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm exposing my EJB session bean at a webservice using JBossWS, exists a way to get SOAP message data from EJB directly inside session bean implementation code? Thanks, Talles View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961122#3961122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961122 From do-not-reply at jboss.com Wed Jul 26 16:03:47 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Wed, 26 Jul 2006 16:03:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <19215161.1153944227305.JavaMail.jboss@colo-br-02.atl.jboss.com> in hibernate.cfg.xml follow the directions to comment out the user,group and membership objects. Then, you can just delegate the security to your application container and manage access using the container's built in security mechanism. A lot can be discussed about when you should do this and when you should not. It seems to me that because jbpm is really just a jar, a lot of time you can rely on the app server for security. | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961123#3961123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961123 From do-not-reply at jboss.com Wed Jul 26 16:07:53 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Wed, 26 Jul 2006 16:07:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - seam and process instance question Message-ID: <22836659.1153944473921.JavaMail.jboss@colo-br-02.atl.jboss.com> This is more of a SEAM question, but if anyone has an answer here I would appreciate it. In the dvd example a process instance is retrieved using an entity bean's id. Is jBPM aware of all entity beans or how is it aware that there is a process that has an orderId of x value? ProcessInstance pi = (ProcessInstance) context.getSession() | .createQuery("select pi from LongInstance si join si.processInstance pi " + | "where si.name = 'orderId' and si.value = :orderId") | .setLong( "orderId", order.getOrderId() ) | .uniqueResult(); Thread here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87299 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961124#3961124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961124 From do-not-reply at jboss.com Wed Jul 26 16:25:16 2006 From: do-not-reply at jboss.com (jjtang) Date: Wed, 26 Jul 2006 16:25:16 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: Invoking Ejb of Jboss 3.2.3 from JBoss 4.0.2 Message-ID: <26637141.1153945516749.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using latest jboss4 calling an ejb on 3.2.7, and I'm still getting the serialization problem. java.io.InvalidClassException: org.jboss.util.id.GUID; local class incompatible: stream classdesc serialVersionUID = 6926421946503004889, local class serialVersionUID = 3289509836244263718] Any help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961127#3961127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961127 From do-not-reply at jboss.com Wed Jul 26 16:32:33 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 16:32:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <28958662.1153945953339.JavaMail.jboss@colo-br-02.atl.jboss.com> Yep, this is exactely the answer to your question how to rip it out. It does not answer the probably next question on how to implement your own... Relying on the appserver for logging in etc... is indeed simple. The identity component does a little more. It is used in the default assignment expressions. So if you delete it, you have to build assignment handlers if things are needed OR implement your own identity component with the same api as the jbpm identity component and activate it in some way (I have no idea how to) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961128#3961128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961128 From do-not-reply at jboss.com Wed Jul 26 16:35:19 2006 From: do-not-reply at jboss.com (Holger Prause) Date: Wed, 26 Jul 2006 16:35:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @Out Question Message-ID: <15083726.1153946119782.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i wrote a register wizard bean where u can register member. How can i tell @Out that it should only export values into context when the value is not null? I found out that @Out always export a value even when null. //export the tester as our logged in user @Out(scope=ScopeType.SESSION, required=false) private Customer user; The thing is when i reuse my wizard bean for edit action(code above) , the logged in user will be exported as a null value. So i changed to code below,which will fix the problem , but i am still wondering if can tell @Out that it should only export non null values @In(required=false) @Out(scope=ScopeType.SESSION, required=false) private Customer user; Thank u very much hope i could describe what i am searching for ^^ Bye, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961129#3961129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961129 From do-not-reply at jboss.com Wed Jul 26 16:38:03 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 16:38:03 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Handling process definitions Message-ID: <5272909.1153946283244.JavaMail.jboss@colo-br-02.atl.jboss.com> hmmm... according to http://jira.jboss.org/jira/browse/JBPM-617 it should work. I tried this with 3.2 head were it should also work, but there is indeed no processdefinition.xml in the db. I checked the implementation in org/jbpm/jpdl/par/* files and it seems it is only partially implemented. I reopened the above issue. Vote for te issue if you want to have it fixed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961130#3961130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961130 From do-not-reply at jboss.com Wed Jul 26 16:39:08 2006 From: do-not-reply at jboss.com (hamffjs) Date: Wed, 26 Jul 2006 16:39:08 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - MJB / XDoclet in JBoss Message-ID: <5115214.1153946348968.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I hope everyone is doing well today. I have a question about MDB deployment configurations. I am using Xdoclet to generate the ejb-jar.xml and jboss.xml files needed for deployment. Using XDoclet, are there any annotations or ant tasks I can use indicate the desired size of the MDB pool? For example, I want only one MDB listening on the designated queue at all times. If I cannot use XDoclet to do this, how can I edit the deployment descriptors manually to achieve this effect? I don't know if this will help, but here are the current XDoclet annotations that I am using. /** * @ejb.bean name="IntegrationConsumer" displayname="TestConsumerMDB" * acknowledge-mode="Auto-acknowledge" * destination-type="javax.jms.Queue" * subscription-durability="NonDurable" transaction-type="Container" * * @jboss.destination-jndi-name name="queue/ExpressReportsIntegrationQueue" */ public class IntegrationConsumerBean implements MessageDrivenBean, MessageListener { Thank you very much for your time and assistance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961131#3961131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961131 From do-not-reply at jboss.com Wed Jul 26 16:46:27 2006 From: do-not-reply at jboss.com (hamffjs) Date: Wed, 26 Jul 2006 16:46:27 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Can you have an app run every 5 minutes? Message-ID: <30330745.1153946787474.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know if it would be the best approach, but you do set up a Servlet that loads on startup and schedules a TimerTask instance using a Timer instance. For example, in the init method of your Servlet public void init() throws ServletException { Timer timer = new Timer(); // This class needs to extend the abstract TimerTask class // The code to be executed needs to put in the public void run() method RepeatableTask repeatableTask = new RepeatableTask(); long interval = 1000 * 60 * 5; // 5 minutes in millis // this will cause the task start immediately and repeat every 5 minutes timer.scheduleAtFixedRate(repeatableTask, 0, interval); } Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961132#3961132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961132 From do-not-reply at jboss.com Wed Jul 26 16:53:30 2006 From: do-not-reply at jboss.com (j1a2o) Date: Wed, 26 Jul 2006 16:53:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <4368949.1153947210156.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmmm. If I extend ExpressionAssignmentHandler as suggested in the User Guide, how do I get jBPM to use my new one by default if I have an assignment expression in my process XML? (I believe this question has been asked before in the forums with no response.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961134#3961134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961134 From do-not-reply at jboss.com Wed Jul 26 17:22:24 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 17:22:24 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <17206203.1153948944449.JavaMail.jboss@colo-br-02.atl.jboss.com> Extending the ExpressionAssignmentHandler is indeed one thing to implement. Replacing the existing one is another. The reason it was probably not answered may have to do that if the source is used (a very good source of information), you will see a limited number of references and a conclusion could be very easy to draw: Currently, from what I FOUND, it is not configurable, at least not without adapting the source. The file org.jbpm.jpdl.xml.JpdlXmlReader contains a fixed reference to the default ExpressionAssignmentHandler : assignmentDelegation.setClassName("org.jbpm.identity.assignment.ExpressionAssignmentHandler"); so it could be that changing this, recompiling the code and running it, solves it. Give it a go.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961136#3961136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961136 From do-not-reply at jboss.com Wed Jul 26 17:26:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 17:26:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: missing Message-ID: <32930689.1153949188233.JavaMail.jboss@colo-br-02.atl.jboss.com> Why would it be useful? Maybe I miss something, but if you could elaborate on this, we can see if it is indeed a musthave, couldhave, .... and what the priority is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961137#3961137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961137 From do-not-reply at jboss.com Wed Jul 26 17:31:21 2006 From: do-not-reply at jboss.com (cuoz) Date: Wed, 26 Jul 2006 17:31:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: ClassCastException accessing EJB3 from portlet Message-ID: <26825011.1153949481433.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I made progress and got it to "work", but it's not 100% of what I was hoping for. Here's what I did, maybe there is a way to improve on it to obtain my ultimate goal. 1. I packaged all of the applications into their own ear files, with loader-repository entries in jboss-app.xml. 2. I switched from local interfaces to remote 3. I needed to include the server classes (ClientEJB) as well as the client classes with the web application. 4. I tested this setup with a portlet and also a full webapp. I was able to hot deploy any piece(s) that I wanted without affecting operation of the others. The only drawback is that I needed to have all the server classes in the client applications. I'm guessing that I didn't have to do this with my EJB2.1 application because I was actually dealing with proxies for the home & local/remote interfaces. At some point I'll test to see if I actually need the loader-repository entries or not. Thanks again for the assistance. Let me know if you have better ideas for how to accomplish what I'm looking for. Gary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961138#3961138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961138 From do-not-reply at jboss.com Wed Jul 26 17:54:19 2006 From: do-not-reply at jboss.com (m_ok) Date: Wed, 26 Jul 2006 17:54:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <23955033.1153950859766.JavaMail.jboss@colo-br-02.atl.jboss.com> If you look at my post over there: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72818 I explain how I implemented assignment to use the user/role info from our app. We're not using swinlanes though and not the example webap either. Also, this was more than 8 months ago so I don't know how much has changed since 3.0 on that front. I'd also be happy to get opinions on wether this is a good way to do it, if you see any potential problems, etc. Thanks! (p.s. A little note on the forum search. A search for all posts by author "m_ok" did not return the above post. Strange...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961140#3961140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961140 From do-not-reply at jboss.com Wed Jul 26 17:55:36 2006 From: do-not-reply at jboss.com (m_ok) Date: Wed, 26 Jul 2006 17:55:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <12621448.1153950936159.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to use the url tags: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=72818 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961141#3961141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961141 From do-not-reply at jboss.com Wed Jul 26 17:57:33 2006 From: do-not-reply at jboss.com (epbernard) Date: Wed, 26 Jul 2006 17:57:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <29770806.1153951053775.JavaMail.jboss@colo-br-02.atl.jboss.com> In the Hibernate reference documentation anonymous wrote : Note that load() will throw an unrecoverable exception if there is no matching database row. If the class is mapped with a proxy, load() just returns an uninitialized proxy and does not actually hit the database until you invoke a method of the proxy. This behaviour is very useful if you wish to create an association to an object without actually loading it from the database. It also allows multiple instances to be loaded as a batch if batch-size is defined for the class mapping. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961142#3961142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961142 From do-not-reply at jboss.com Wed Jul 26 18:00:52 2006 From: do-not-reply at jboss.com (dserodio) Date: Wed, 26 Jul 2006 18:00:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <9636377.1153951252632.JavaMail.jboss@colo-br-02.atl.jboss.com> "epbernard" wrote : In the Hibernate reference documentation... I see that the reference documentation (which is great, BTW) contains this info, but would it hurt to add it to the javadoc too? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961143#3961143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961143 From do-not-reply at jboss.com Wed Jul 26 18:01:27 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 18:01:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <30875358.1153951287184.JavaMail.jboss@colo-br-02.atl.jboss.com> Emmanuel, that's just silly. You can't reasonably expect people to actually read freely-available documentation about a something before blogging it to the world. ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961144#3961144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961144 From do-not-reply at jboss.com Wed Jul 26 18:09:38 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Wed, 26 Jul 2006 18:09:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Out Question Message-ID: <7646762.1153951778940.JavaMail.jboss@colo-br-02.atl.jboss.com> @Out always exports a value (or throws an exception if required=true). There isn't a way to tell it not to. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961145#3961145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961145 From do-not-reply at jboss.com Wed Jul 26 18:11:40 2006 From: do-not-reply at jboss.com (epbernard) Date: Wed, 26 Jul 2006 18:11:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Overriding the generated value inherited from a mapped s Message-ID: <23846946.1153951900373.JavaMail.jboss@colo-br-02.atl.jboss.com> nope this is not possible PS entity and mappedsuperclass on the same class does not make sense View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961146#3961146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961146 From do-not-reply at jboss.com Wed Jul 26 18:14:04 2006 From: do-not-reply at jboss.com (epbernard) Date: Wed, 26 Jul 2006 18:14:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ManyToMany relationship removal example Message-ID: <9512837.1153952044262.JavaMail.jboss@colo-br-02.atl.jboss.com> you probably remove it from the non managed side 'ie the mappedBy side' only View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961147#3961147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961147 From do-not-reply at jboss.com Wed Jul 26 18:16:58 2006 From: do-not-reply at jboss.com (goik) Date: Wed, 26 Jul 2006 18:16:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: booking example and db2 Message-ID: <17501732.1153952218552.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot! I read SUN's j2ee 1.5 introduction, changing the annotation to javax.ejb.TransactionAttributeType.REQUIRED thus avoiding a deadlock. I still wonder about impacts to the business logic, Maybe reading further will clarify my open questions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961148#3961148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961148 From do-not-reply at jboss.com Wed Jul 26 18:24:49 2006 From: do-not-reply at jboss.com (ch333) Date: Wed, 26 Jul 2006 18:24:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Using encrypted db password with the embedded container Message-ID: <5278381.1153952689057.JavaMail.jboss@colo-br-02.atl.jboss.com> I followed the instructions on this wiki page to set up encrypted db password in my *-ds.xml file on Jboss 4.0.4 and it worked. http://www.jboss.org/wiki/Wiki.jsp?page=EncryptingDataSourcePasswords Has anyone tried to do the same thing with the embedded container and got it to work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961149#3961149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961149 From do-not-reply at jboss.com Wed Jul 26 18:25:47 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Wed, 26 Jul 2006 18:25:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remote EJBs Message-ID: <10729703.1153952747628.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, so I have implemented client-side interceptors for Seam. All you do is write a normal Seam interceptor (using @Interceptors as a meta-annotation), and then annotate the actual interceptor class @Interceptor(type=CLIENT). That is a good place to handle stuff like remote exceptions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961150#3961150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961150 From do-not-reply at jboss.com Wed Jul 26 18:28:21 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Wed, 26 Jul 2006 18:28:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Using encrypted db password with the embedded container Message-ID: <16118706.1153952901923.JavaMail.jboss@colo-br-02.atl.jboss.com> it won't work yet on embedded container. We still need to port this functionality to the JBoss 5 stack (which is what E-EJB3 *really* is) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961151#3961151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961151 From do-not-reply at jboss.com Wed Jul 26 18:36:20 2006 From: do-not-reply at jboss.com (ptmain) Date: Wed, 26 Jul 2006 18:36:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remote EJBs Message-ID: <24831391.1153953380932.JavaMail.jboss@colo-br-02.atl.jboss.com> That was fast! I found the section on interceptors in the Seam reference, but that section seems to be describing interceptors that happen before a particular action is executed. I'm assuming this means that I need to read up on the EJB3 spec some more to find out about client-side interceptors. Man, I have a lot of catching up to do after two years of maintaining a legacy app! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961152#3961152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961152 From do-not-reply at jboss.com Wed Jul 26 18:57:44 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 18:57:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Ripping out identity component Message-ID: <20129556.1153954664413.JavaMail.jboss@colo-br-02.atl.jboss.com> m_ok, What you did is not wrong, it is just another way of doing assignments. I myself do not want to have to add these handlers to every task. That is what we are focussing on and that is what making this configurable is for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961155#3961155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961155 From do-not-reply at jboss.com Wed Jul 26 19:14:25 2006 From: do-not-reply at jboss.com (achitre) Date: Wed, 26 Jul 2006 19:14:25 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss, Tomcat & ActiveX Message-ID: <12783272.1153955665041.JavaMail.jboss@colo-br-02.atl.jboss.com> I fixed this issue. The problem was that, my URL contained query parameters. When I removed them, the request started coming in to JBoss. I guess the reasoning is that, if I have query parameters JBoss treats that as a GET request; otherwise it treats that as a POST request. Seems like Weblogic doesn't care. Anyway, thought I should share this info. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961156#3961156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961156 From do-not-reply at jboss.com Wed Jul 26 19:18:57 2006 From: do-not-reply at jboss.com (fla83tn) Date: Wed, 26 Jul 2006 19:18:57 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - HELP: Looking up to java:comp namespace problem!! Message-ID: <23972188.1153955937930.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi to all! I hope someone can help me! I've read a lot of threads similar to mine, but none solved my question.. In my project, as specified by socumentation, only Global JNDI Namespaces are visible from remote client., whereas java: are not. But now, I would try to access from my Message-driven bean to the Java Mail Service of JBoss, located ad java:/Mail. >From what I read I must istantiate a new void Initial context and lookup to java:comp/env/mail/Mail, but if I do so it seems that no-lookup can be done!! In fact this is the error output, that is given when i lookup also to "": | javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) ..... | ..... | Why?????? So, I turn around the problem binding the javaMail service to Mail (I moved its name to the global JNDI namespace). If I do so now I can lookup the resource, but now I get an error when I try to bound it because i do | session = (javax.mail.Session)PortableRemoteObject.narrow( | c.lookup("Mail"), javax.mail.Session.class); | and the system give me the sequent error: | Exception in thread "main" java.lang.ClassCastException........... | ....... | Caused by: java.lang.ClassCastException: Class javax.mail.Session is not a valid remote interface | at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:225) | ... 3 more | I think that even if I solve the first problem remains out the second...Does anybody know hot to get it out? Please someone help me!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961157#3961157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961157 From do-not-reply at jboss.com Wed Jul 26 19:50:25 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Wed, 26 Jul 2006 19:50:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Problem using SequenceGenerator Message-ID: <17737611.1153957825596.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure whats going on here. I'm trying to create an Entity bean for a pre-existing table in DB2 that uses a sequence for creating a new primary key. Here is my annotated getter method. @Id | @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="VNDR_ID_SEQ") | @SequenceGenerator(name="VNDR_ID_SEQ", sequenceName="VRAP.VNDR_ID_SEQ") | @Column(name="VNDR_ID") | public int getId() { | return id; | } When I try to insert a new object, I see in the logs that it gets a value from the sequence using the right sql with a value of 556. anonymous wrote : 2006-07-26 16:35:02,819 INFO [STDOUT] Hibernate: values nextval for VRAP.VNDR_ID_SEQ | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.id.SequenceGenerator] Sequence identifier generated: 556 Later in the logs it prints the values of the fields before inserting the object, and the id field has a value of 27800. anonymous wrote : 2006-07-26 16:35:02,899 DEBUG [org.hibernate.pretty.Printer] bcc.entity.Vendor{createUserId=IS94901, updateTime=null, createTime=16:35:02, ndc5Nb=5150, createDate=26 July 2006, updateUserId=IS94901, updateDate=null, name=BryanV, id=27800, subsidiaryOf=Castillo Corp.} Did I set up my annotations wrong? I expected to have the id set to 556. anonymous wrote : Snippet from logs: | ------------------------------------------ | | | | 2006-07-26 16:35:02,819 INFO [STDOUT] Hibernate: values nextval for VRAP.VNDR_ID_SEQ | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.id.SequenceGenerator] Sequence identifier generated: 556 | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.id.SequenceHiLoGenerator] new hi value: 556 | 2006-07-26 16:35:02,869 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: 27800, using strategy: org.hibernate.id.SequenceHiLoGenerator | 2006-07-26 16:35:02,889 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades | 2006-07-26 16:35:02,899 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections | 2006-07-26 16:35:02,899 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects | 2006-07-26 16:35:02,899 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections | 2006-07-26 16:35:02,899 DEBUG [org.hibernate.pretty.Printer] listing entities: | 2006-07-26 16:35:02,899 DEBUG [org.hibernate.pretty.Printer] bcc.entity.Vendor{createUserId=IS94901, updateTime=null, createTime=16:35:02, ndc5Nb=5150, createDate=26 July 2006, updateUserId=IS94901, updateDate=null, name=BryanV, id=27800, subsidiaryOf=Castillo Corp.} | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961159#3961159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961159 From do-not-reply at jboss.com Wed Jul 26 19:55:22 2006 From: do-not-reply at jboss.com (scotttam) Date: Wed, 26 Jul 2006 19:55:22 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ManyToMany relationship removal example Message-ID: <33421239.1153958122764.JavaMail.jboss@colo-br-02.atl.jboss.com> Below are my two entities, Campaign and AdSlot with the relationship stored in campaign_adslot_xref. (all the other info has been removed for brevity) One of the older positings mentioned something about ensuring that both equals and hashCode are implemented. I am not implementing those methods, could that be it? | | @Entity | @Table(name="campaign") | public class Campaign implements Serializable { | private Set adSlots; | | @ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.EAGER, mappedBy="campaigns") | public Set getAdSlots() { | return adSlots; | } | | public void setAdSlots(Set adSlots) { | this.adSlots = adSlots; | } | } | | @Entity | @Table(name="ad_slot") | public class AdSlot implements Serializable { | private Set campaigns; | | @ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY) | @JoinTable(name = "campaign_adslot_xref", | joinColumns = { | @JoinColumn(name = "ad_slot_id") | }, | inverseJoinColumns = { | @JoinColumn(name = "campaign_id") | } | ) | public Set getCampaigns() | { | return campaigns; | } | | public void setCampaigns(Set campaigns) { | this.campaigns = campaigns; | } | } | And here is the code in my backing bean where I try to remove all the associations from this particular campaign: | | | Setadslots = currentCampaign.getAdSlots(); | | if (null != adslots && adslots.size() > 0) { | | for (AdSlot as : adslots) { | | as.getCampaigns().remove(currentCampaign); | | } | | } | | | | currentCampaign.getAdSlots().clear(); | | Set ads = currentCampaign.getAds(); | | if (null != ads && ads.size() > 0) { | | for (Ad a : ads) { | | a.getAdSlots().clear(); | | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961160#3961160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961160 From do-not-reply at jboss.com Wed Jul 26 20:03:20 2006 From: do-not-reply at jboss.com (asubu) Date: Wed, 26 Jul 2006 20:03:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - out of mmory error Message-ID: <4267890.1153958600248.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All, I downloaded the jbpm-starters-kit-3.1. I was able to create my own process and upload it to the server. The server was running fine for a day then all of a sudden started throwing the exception shown below: 11:12:49,788 ERROR [CommandExecutorThread] java.lang.OutOfMemoryError: PermGen space 11:12:54,788 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' 11:12:54,788 DEBUG [JbpmContext] creating JbpmContext 11:12:54,788 DEBUG [DbPersistenceServiceFactory] creating persistence service 11:12:54,788 DEBUG [DbPersistenceService] creating hibernate session 11:12:54,788 DEBUG [DbPersistenceService] beginning hibernate transaction 11:12:58,898 DEBUG [CommandExecutorThread] command 'null' threw exception. rolling back transaction java.lang.OutOfMemoryError: PermGen space At this stage all the jbpm has is the websale and my own created process. My java options are set the following: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m Has anyone experienced such a problem? Also I see a scheduler constantly running every 5 seconds. What does this do? Regards, Subu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961161#3961161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961161 From do-not-reply at jboss.com Wed Jul 26 20:17:18 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 20:17:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: out of mmory error Message-ID: <32394042.1153959438176.JavaMail.jboss@colo-br-02.atl.jboss.com> permgen space issues can sometimes be solved by setting additional params: -XX:PermSize=256m -XX:MaxPermSize=1024m but it depends on the jvm you are using... Another thing is that the error shows in jbpm, but the memory (ab)usage can be caused by other apps ass well if they are running on the same machine. The scheduler running every 5 seconds is normal. It looks for timers that need to be fired. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961163#3961163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961163 From do-not-reply at jboss.com Wed Jul 26 20:18:02 2006 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 26 Jul 2006 20:18:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: out of mmory error Message-ID: <9439834.1153959482381.JavaMail.jboss@colo-br-02.atl.jboss.com> btw, the numbers 256 and 1024 are just some I took from an example. You could start a little lower and see what happens View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961164#3961164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961164 From do-not-reply at jboss.com Wed Jul 26 20:25:50 2006 From: do-not-reply at jboss.com (dbatcn) Date: Wed, 26 Jul 2006 20:25:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <24369005.1153959950484.JavaMail.jboss@colo-br-02.atl.jboss.com> I looked at the link that Pete pointed out and the way I read Gavin's comment in there I didn't see why @DataModelSelection shouldn't work. If true, enlightenment appreciated. Anyway, what I'm trying to do is have a page that uses nested iteration to let a user operate on both sides of a many-to-many relationship. I'm inclined to agree with Gavin that "I'm not convinced that h:dataTable isn't a little over-engineered for what it does ;-)". In particular for my application, I don't want the HTML table from . I've created an abstracted little Seam app that gets at what I'm trying to do: iterate over an iteration and be able to do an operation over either the inner or outer iteration. When pressing the "rename" buttons, the value that I expect to be injected is not there (the log.error() calls below are triggered). I believe that this is a self-contained, compilable, runnable, and suitable small abstraction for a test case or bug report, if that's helpful. Code goes into a package called com.orgmob.play . Is this a bug or can anybody say how to do this? As always, pointing out bugs of mine and/or pointers to existing explanation humbly and gratefully appreciated. Foo.java: | package com.orgmob.play; | | import java.io.Serializable; | import java.util.ArrayList; | import java.util.HashSet; | import java.util.List; | import java.util.Set; | | import javax.persistence.CascadeType; | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.JoinColumn; | import javax.persistence.JoinTable; | import javax.persistence.ManyToMany; | import javax.persistence.Table; | import javax.persistence.Transient; | | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.datamodel.DataModel; | | @Entity | @Name("foo") | @Table(name="FOOS") | public class Foo implements Serializable { | | private long id; | private String name; | private Set bars = new HashSet(); | | @Id | @Column(name="FOO_ID") | @GeneratedValue | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @Column(name="NAME") | public String getName() { | return name; | } | public void setName(String groupname) { | this.name = groupname; | } | | @ManyToMany(cascade=CascadeType.PERSIST) | @JoinTable(name="FOO_BAR", | joinColumns={@JoinColumn(name="FOO_ID")}, | inverseJoinColumns={@JoinColumn(name="BAR_ID")}) | public Set getBars() { | return bars; | } | public void setBars( Set bars ) { | this.bars = bars; | } | | @Transient | @DataModel(value="barList") | public List getBarList() { | return new ArrayList( bars ); | } | | @Override | public String toString() { | return "Foo[" + name + "]"; | } | | } | | Bar.java: | package com.orgmob.play; | | import java.io.Serializable; | import java.util.HashSet; | import java.util.Set; | | import javax.persistence.CascadeType; | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.ManyToMany; | import javax.persistence.Table; | | import org.jboss.seam.annotations.Name; | | @Entity | @Name("bar") | @Table(name="BARS") | public class Bar implements Serializable { | | private long id; | private String name; | private Set foos = new HashSet(); | | @Id | @Column(name="BAR_ID") | @GeneratedValue | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @Column(name="NAME") | public String getName() { | return name; | } | public void setName(String groupname) { | this.name = groupname; | } | | @ManyToMany(cascade=CascadeType.PERSIST,mappedBy="bars") | public Set getFoos() { | return foos; | } | public void setFoos( Set foos ) { | this.foos = foos; | } | | @Override | public String toString() { | return "Bar[" + name + "]"; | } | | } | | FubarManager.java: | package com.orgmob.play; | | import javax.ejb.Local; | | @Local | public interface FubarManager { | public void find(); | public void stop(); | public void createFoo(); | public void commitFoo(); | public void commitBar(); | public void destroy(); | public void delete(); | } FubarManagerBean.java: | package com.orgmob.play; | | import java.io.Serializable; | import java.util.HashSet; | import java.util.List; | | import javax.ejb.Remove; | import javax.ejb.Stateful; | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.Destroy; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.Factory; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.annotations.datamodel.DataModel; | import org.jboss.seam.annotations.datamodel.DataModelSelection; | import org.jboss.seam.log.Log; | | @Stateful | @Name("fubarManager") | public class FubarManagerBean implements FubarManager, Serializable { | | @Logger | private Log log; | | @DataModel(value="fooList") | private List fooList; | | @DataModelSelection(value="fooList") | @Out(required=false) | private Foo foo; | | @DataModelSelection(value="barList") | @Out(required=false) | private Bar bar; | | @In(create=true) | private EntityManager orgmobDatabase; | | @Begin(join=true) | @Factory("fooList") | public void find() { | log.debug("looking for foo objects..."); | fooList = (List)orgmobDatabase.createQuery( | "from Foo foo order by foo.id asc").getResultList(); | log.debug("found "+fooList.size()+" foos in fooList: " + fooList ); | } | | @End | public void stop() { | } | | private String newFooname() { | // find a group name not currently seen by user; | HashSet foonameS = new HashSet(); | for ( Foo foo : fooList ) { | foonameS.add( foo.getName() ); | } | String foonamePrefix = "foo"; | String fooname; | int attempt = 1; | do { | fooname = foonamePrefix + (attempt++); | } while ( foonameS.contains( fooname ) ); | return fooname; | } | | public void createFoo() { | | foo = new Foo(); | foo.setName( newFooname() ); | orgmobDatabase.persist( foo ); | // always use the Bar with the lowest id. | List allBars = (List)orgmobDatabase.createQuery( | "from Bar bar order by bar.id asc").getResultList(); | Bar bar = null; | if ( allBars.size() > 0 ) { | bar = allBars.get( 0 ); | // Foo owns the bidirectional many-to-many relationship with Bar. | foo.getBars().add( bar ); | } | orgmobDatabase.merge( foo ); | orgmobDatabase.flush(); | if ( null != bar ) { | orgmobDatabase.refresh( bar ); | } | | log.debug( "for bar "+bar+" created foo: "+foo); | log.debug( "foo "+foo+" has "+foo.getBars().size()+" bars"); | log.debug( "bar "+bar+" has "+bar.getFoos().size()+" foos"); | for ( Bar b : foo.getBars() ) { | log.debug( "a bar for foo "+foo+": "+b); | } | if ( null != bar ) { | for ( Foo f : bar.getFoos() ) { | log.debug( "a foo for bar"+bar+": "+f); | } | } | | find(); // update fooList | } | | public void commitFoo() { | if ( null == foo ) { | log.error("FubarManagerBean.commitFoo() called but foo is null!"); | } | else { | orgmobDatabase.merge( foo ); | } | } | | public void commitBar() { | if ( null == bar ) { | log.error("FubarManagerBean.commitBar() called but bar is null!"); | } | else { | orgmobDatabase.merge( bar ); | } | } | | public void delete() { | foo.getBars().remove(bar); | orgmobDatabase.remove(bar); | bar=null; | } | | @Destroy @Remove | public void destroy() { | } | | } | fubar.xhtml: | | | | | Fubar Manager | | | | | |
    | . | | |
    | |
    | | |
    |
    |
    |
    | |
    | | components.xml: | | | true | member/#{ejbName}/local | | | | | java:/EntityManagerFactories/orgmobData | | import.sql: | insert into FOOS(FOO_ID,NAME) values (1,'foo1') | insert into FOOS(FOO_ID,NAME) values (2,'foo2') | insert into FOOS(FOO_ID,NAME) values (3,'foo3') | insert into FOOS(FOO_ID,NAME) values (4,'foo4') | insert into FOOS(FOO_ID,NAME) values (5,'foo5') | | insert into BARS(BAR_ID,NAME) values(1,'bar1') | insert into BARS(BAR_ID,NAME) values(2,'bar2') | insert into BARS(BAR_ID,NAME) values(3,'bar3') | insert into BARS(BAR_ID,NAME) values(4,'bar4') | insert into BARS(BAR_ID,NAME) values(5,'bar5') | | insert into FOO_BAR(FOO_ID,BAR_ID) values(1,1) | insert into FOO_BAR(FOO_ID,BAR_ID) values(2,2) | insert into FOO_BAR(FOO_ID,BAR_ID) values(1,2) | insert into FOO_BAR(FOO_ID,BAR_ID) values(3,3) | insert into FOO_BAR(FOO_ID,BAR_ID) values(1,3) | insert into FOO_BAR(FOO_ID,BAR_ID) values(4,4) | insert into FOO_BAR(FOO_ID,BAR_ID) values(1,4) | insert into FOO_BAR(FOO_ID,BAR_ID) values(5,5) | insert into FOO_BAR(FOO_ID,BAR_ID) values(1,5) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961165#3961165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961165 From do-not-reply at jboss.com Wed Jul 26 20:43:38 2006 From: do-not-reply at jboss.com (sbryzak2) Date: Wed, 26 Jul 2006 20:43:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remoting with Clickable Lists Message-ID: <8335788.1153961018520.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm afraid I don't know how the @DataModelSelection magic works, but the remoting framework will only allow you to invoke a Seam component RPC-style, so anything you want to pass up will need to be expressed as a method parameter. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961166#3961166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961166 From do-not-reply at jboss.com Wed Jul 26 20:45:58 2006 From: do-not-reply at jboss.com (chane) Date: Wed, 26 Jul 2006 20:45:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Add to the list of default Interceptors Message-ID: <10743998.1153961158688.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a mechanism to add a new default interceptor to Seam (other than modifying the list of interceptors in the Component.initDefaultInterceptors() method)? Thanks, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961167#3961167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961167 From do-not-reply at jboss.com Wed Jul 26 21:36:38 2006 From: do-not-reply at jboss.com (gus888) Date: Wed, 26 Jul 2006 21:36:38 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Session bean inheritance Message-ID: <22230881.1153964198088.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you VERY MUCH, bfo81. The "avoiding DRY" is great topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961168#3961168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961168 From do-not-reply at jboss.com Wed Jul 26 22:06:37 2006 From: do-not-reply at jboss.com (bruce@dpi) Date: Wed, 26 Jul 2006 22:06:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - @PersistenceContext annotation in an abstract superclass Message-ID: <18718831.1153965997307.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All, I know that the JBoss EJB3 implementation allows me to use the @PersistenceContext annotation in an abstract superclass. For example: public abstract class MyAbstractSuperclass implements MyInterface { @PersistenceContext() EntityManager entityManager; // Other code which I have omitted } Can anyone point me to EJB3 documentation which specifies that using the @PersistenceContext in an abstract superclass is valid according to the specification and will therefore be portable across application servers? Many thanks, Bruce. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961169#3961169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961169 From do-not-reply at jboss.com Wed Jul 26 22:18:37 2006 From: do-not-reply at jboss.com (ZeddMaxim) Date: Wed, 26 Jul 2006 22:18:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: EAR deployment Message-ID: <2172029.1153966717215.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolved the issue. Yes, I had the seam.properties and all other necessary config files / info set up properly. The problem was I had used the JBoss 4.0.4GA installer straight off the web site, and not the JEMS installer as the Getting Started page dictates. Also, I had included several of the support jars that accompany the Seam 1.0.1GA release in the deployed EAR. All of this combined screwed something up and the seam listener wasn't intercepting the faces requests. Once I installed the correct JBoss version and stripped the ear down to the bare minimum jars, things started working correctly. Thanks for responding. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961170#3961170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961170 From do-not-reply at jboss.com Wed Jul 26 22:21:20 2006 From: do-not-reply at jboss.com (chane) Date: Wed, 26 Jul 2006 22:21:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @Redirect Message-ID: <445098.1153966880223.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to display an error page when an exception is thrown, specifically during a business method. I have tried the Redirect and HttpError. The Redirect is the closest; but if I'm not mistaken this is a browser redirect. I am wondering if it is possible to have the redirected to error page display a dynamic error message? Ideally I would be able to display FacesMessages on the error.xhtml page, which I don't think I can do in the @Redirect case. Any thoughts? The latest thread I found didn't really have a resolution: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82710 Thanks, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961171#3961171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961171 From do-not-reply at jboss.com Wed Jul 26 22:41:57 2006 From: do-not-reply at jboss.com (metabyte) Date: Wed, 26 Jul 2006 22:41:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM Message-ID: <25959981.1153968117913.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you Kukeltje, >From my understanding, with jBPM you need to custom code in Java right? and support for BPEL, which is becoming a de-facto standard, is beta for the time being. How does this help align IT to business strategy ? Also, can you please give more details about your xslt usage? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961172#3961172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961172 From do-not-reply at jboss.com Wed Jul 26 22:59:53 2006 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 26 Jul 2006 22:59:53 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Cannot download using Firefox Message-ID: <9147769.1153969193911.JavaMail.jboss@colo-br-02.atl.jboss.com> I found the culprit. There is an extension named "Sourceforge Direct Download". If you do not configure the extension (it takes a preferred mirror for downloads) then you get the behavior I mentioned in my original post. If you do configure it, you get the normal download page from which you can select a mirror. Sounds like a worthless extension to me, it's gone. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961173#3961173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961173 From do-not-reply at jboss.com Wed Jul 26 23:05:37 2006 From: do-not-reply at jboss.com (bill.burke@jboss.com) Date: Wed, 26 Jul 2006 23:05:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @PersistenceContext annotation in an abstract superclass Message-ID: <27939481.1153969537562.JavaMail.jboss@colo-br-02.atl.jboss.com> It is valid. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961174#3961174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961174 From do-not-reply at jboss.com Wed Jul 26 23:29:03 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Wed, 26 Jul 2006 23:29:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Redirect Message-ID: <23248618.1153970943470.JavaMail.jboss@colo-br-02.atl.jboss.com> I can think of a few things you might want to try. 1. Use @Redirect, the redirect filter and the facesMessages component combinded with a in your error.xhtml. 2. If that doesn't work (ask Gavin why not, as I'm pretty sure it should), you can outject an error message string and then use it in your error.xhtml. 3. You can have a couple generic error pages. data_error.xhtml, security_error.xhtml, etc based on common exception types. In this scenario you wouldn't get truely dynamic content, but would be able to but up a nice message telling the user that a data error has occurred, the error has been logged and to try again in a few minutes. Which is just about all you can do when something like this happens anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961175#3961175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961175 From do-not-reply at jboss.com Wed Jul 26 23:44:40 2006 From: do-not-reply at jboss.com (drymartine) Date: Wed, 26 Jul 2006 23:44:40 -0400 (EDT) Subject: [jboss-user] [Javassist user questions] - javassist can't work with jdk1.6 Message-ID: <175539.1153971880124.JavaMail.jboss@colo-br-02.atl.jboss.com> The class which I modified with javassist works normally under JDK 1.5, but it throws exception as below under JDK 1.6 beta2. Caused by: java.lang.ClassFormatError: Illegal class modifiers in class test/MyClass: 0x621 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961176#3961176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961176 From do-not-reply at jboss.com Thu Jul 27 00:00:34 2006 From: do-not-reply at jboss.com (peteroyle) Date: Thu, 27 Jul 2006 00:00:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Remoting with Clickable Lists Message-ID: <25364584.1153972834243.JavaMail.jboss@colo-br-02.atl.jboss.com> Come to think of it @DataModel and @DataModelSelection seem to be just fancy wrappers for JSF's DataModel. If so then simply using something like Ajax4JSF's a4j:commandLink tag (instead of a h:commandLink) would probably work. I'll try this later tonight and report how it goes. Pete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961177#3961177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961177 From do-not-reply at jboss.com Thu Jul 27 00:01:58 2006 From: do-not-reply at jboss.com (chane) Date: Thu, 27 Jul 2006 00:01:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Redirect Message-ID: <27353529.1153972918421.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks! I'll give your 1st option a shot tomorrow to see what I can come up with. I have not used the redirect filter explicetly before, so it'll be something new to learn about. In the meantime below is something that I have been playing with. Basically I am adding a new interceptor. I believe I have acheived what I want for handling the exception and returning a navigation rule that is an error page. I have yet to use a FacesMessage on it; but I don't see why it shouldn't work. I have not tested this extensively yet and would appreciate thoughts/concerns that anyone might see with my approach. Thanks, Chris.... The annotation I use on the BusinessException and as a marker on the SFSB: | @Target(TYPE) | @Retention(RUNTIME) | @Interceptors(ExceptionInterceptor.class) | public @interface Redisplay { | String viewId() default ""; | } | The Interceptor I am using (for now I have named it the same as the Seam Interceptor - except it is in a different package). In fact I do most of the same stuff, except I had to add the rollback stuff which I grabbed from the SeamExceptionFilter. I'm not sure if I need to add the SeamExceptionFilter.endWebRequestAfterException(request) functionality. | @Around( { ConversationalInterceptor.class, RemoveInterceptor.class, BijectionInterceptor.class }) | public class ExceptionInterceptor{ | | private static final Log log = LogFactory.getLog(ExceptionInterceptor.class); | | @AroundInvoke | public Object handleExceptions(InvocationContext invocation) throws Exception{ | boolean outermost = invocation.getContextData().get("custom.outermost.ExceptionInterceptor") == null; | invocation.getContextData().put("custom.outermost.ExceptionInterceptor", true); | try { | log.fatal("===== Execute Exception Handler =========="); | return invocation.proceed(); | } catch(Exception e) { | log.fatal("====== Process Exception ======="); | | if(outermost && FacesContext.getCurrentInstance() != null) { | if(e.getClass().isAnnotationPresent(Redisplay.class)) { | rollbackTransactionIfNecessary(); | handled(e); | return e.getClass().getAnnotation(Redisplay.class).viewId(); | } | } | throw e; | } | } | | private void rollbackTransactionIfNecessary(){ | try { | if(Transactions.isTransactionActiveOrMarkedRollback()) { | log.info("killing transaction"); | Transactions.getUserTransaction().rollback(); | } | } catch(Exception te) { | log.error("could not roll back transaction", te); | } | } | | private static void handled(Exception e){ | getRequest().put("org.jboss.seam.exceptionHandled", e); | } | | private static Map getRequest(){ | return FacesContext.getCurrentInstance().getExternalContext() | .getRequestMap(); | } | | } | | Usage would be: | @Name("editor") | @Stateful | @Redisplay | public class Editor implements IEditor{ | | public Fulfillment fulfill; | | @Begin | public String save(){ | //persist logic //throws BusinessException | return "save"; | } | } | Simple exception class | @Redisplay(viewId="exceptionErrorMessage") | public class BusinessException extends RuntimeException{ | private static final long serialVersionUID = -4422447214761623238L; | | public BusinessException(){ | super("Generic Business Exception"); | } | | public BusinessException(String msg){ | super(msg); | } | | } | simple navigation rule | | | exceptionErrorMessage | /error.xhtml | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961178#3961178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961178 From do-not-reply at jboss.com Thu Jul 27 00:10:10 2006 From: do-not-reply at jboss.com (johncena) Date: Thu, 27 Jul 2006 00:10:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Jboss Forum 2.2.1-SP3 Bug? Message-ID: <3060874.1153973410905.JavaMail.jboss@colo-br-02.atl.jboss.com> I did re-install and re-deployment of Jboss-forum... Now I can view the Dummy Demo Cat > 2 Forums... I've tried editing the names and posted my first topic under one forum. It added successfully. But when I browsed port 8080 again and logging out as admin.. when clicked on the Forum nav link I got a blank page again. Now i get these error messages.... 12:11:46,203 WARN [JDBCExceptionReporter] SQL Error: 932, SQLState: 42000 12:11:46,204 ERROR [JDBCExceptionReporter] ORA-00932: inconsistent datatypes: expected - got CLOB 12:11:46,204 ERROR [ForumsPortlet] The portlet threw an exception org.hibernate.exception.SQLGrammarException: could not initialize a collection: [org.jboss.portlet.forums.impl.PostImpl.attachments#6] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.loader.Loader.loadCollection(Loader.java:1926) at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36) at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:541) at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60) at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1705) at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344) at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:109) at org.hibernate.collection.PersistentBag.size(PersistentBag.java:222) at org.jboss.portlet.forums.ForumsPortlet.fillShowTopicContext(ForumsPortlet.java:5851) at org.jboss.portlet.forums.ForumsPortlet.doView(ForumsPortlet.java:425) at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:230) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:217) at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:360) at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:521) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:433) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) How come? at first it was working fine... and now it doesn't? Is there something wrong with the configuration? is there a way to make it stable? .. on first timers point of view, what are the loopholes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961179#3961179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961179 From do-not-reply at jboss.com Thu Jul 27 00:50:05 2006 From: do-not-reply at jboss.com (onlyerlee) Date: Thu, 27 Jul 2006 00:50:05 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - xdoclet problems Message-ID: <2500795.1153975805470.JavaMail.jboss@colo-br-02.atl.jboss.com> When I build the j2ee project follows the JBOSS Eclipse IDE user guild, it has a problem for me once I right click the object and click "run xdoclet" like this: Buildfile: E:\OnlyerLee\mydoc\myEclipse\mytutorial\xdoclet-build.xml N10004: BUILD FAILED java.lang.UnsupportedClassVersionError: xjavadoc/ant/XJavadocTask (Unsupported major.minor version 49.0) Total time: 984 milliseconds I don't know what the problem it is, somebody can help me?Thinks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961180#3961180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961180 From do-not-reply at jboss.com Thu Jul 27 01:08:21 2006 From: do-not-reply at jboss.com (edungey) Date: Thu, 27 Jul 2006 01:08:21 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: MDB fails to deploy when placed in deploy-hasingleton Message-ID: <29991458.1153976902001.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is the datasource definition we are using: | | DefaultDS | jdbc:oracle:thin:@localhost:1521:orcl | oracle.jdbc.driver.OracleDriver | tas | tas | | | | | | | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | select 1 from dual | select 1 from dual | true | | | Oracle9i | | 30 | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961181#3961181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961181 From do-not-reply at jboss.com Thu Jul 27 01:17:49 2006 From: do-not-reply at jboss.com (JbossNetweb) Date: Thu, 27 Jul 2006 01:17:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM expression language does not retrun float value of Numb Message-ID: <3984368.1153977470002.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I am trying to execute expression language with in processdefintion.xml file. It is successfully evaluate when i make expression like, #{totalAmount.value >1000} my value is type of the float. but when i convert into Number and then change my expression like, #{totalAmount.value.floatValue >1000} above expression gives me exception. can any buddy help me of my problem? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961182#3961182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961182 From do-not-reply at jboss.com Thu Jul 27 01:25:22 2006 From: do-not-reply at jboss.com (edungey) Date: Thu, 27 Jul 2006 01:25:22 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - How to define JNDI name for EJB3 singleton mbean accessible Message-ID: <23264642.1153977922759.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have EJB3 MBean that is using the @Depend annotations: @Management(EventContainerInterface.class) | @Service(objectName = "eventmanager:service=eventcontainer") | @Remote | @RemoteBinding(jndiBinding = "EventContainerInterface") | @Depends( { "jboss.ha:service=HASingletonDeployer,type=Barrier" }) | public class EventContainerMBean implements EventContainerInterface { It's currently deployed in the farm directory so that all nodes pick it up. The main problems is I need to have it's JNDI name accessible to all nodes other than the master? Is this possible without having to place it in the deploy-hasingleton directory. Cheers Ean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961183#3961183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961183 From do-not-reply at jboss.com Thu Jul 27 02:34:35 2006 From: do-not-reply at jboss.com (developerdev) Date: Thu, 27 Jul 2006 02:34:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Hello world example failed on junit test , throws ClassCastE Message-ID: <31194439.1153982075085.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am trying to run hello world example provided with jbpm.bpel tut. All the steps are successful but at last on running run-test it gives folloeing error.. any help???? run-test: [junit] Testsuite: org.jbpm.bpel.tutorial.hello.ClientTest [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.391 sec [junit] Testcase: testSayHello_proxy(org.jbpm.bpel.tutorial.hello.ClientTest ): Caused an ERROR [junit] javax.naming.Reference [junit] java.lang.ClassCastException: javax.naming.Reference [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java :33) [junit] Testcase: testSayHello_dii(org.jbpm.bpel.tutorial.hello.ClientTest): Caused an ERROR [junit] javax.naming.Reference [junit] java.lang.ClassCastException: javax.naming.Reference [junit] at org.jbpm.bpel.tutorial.hello.ClientTest.setUp(ClientTest.java :33) [junit] Test org.jbpm.bpel.tutorial.hello.ClientTest FAILED regards devesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961186#3961186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961186 From do-not-reply at jboss.com Thu Jul 27 02:37:21 2006 From: do-not-reply at jboss.com (sivasenthil) Date: Thu, 27 Jul 2006 02:37:21 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - RMI Clustering using JGroups Message-ID: <18545070.1153982241639.JavaMail.jboss@colo-br-02.atl.jboss.com> Hai ! I had tried to replicate my RMI Server using JGroups API. I had follow the codes and import the same class which i taken from (net.sf.extrme .multicast) sourceforge.net. I had open two rmi servers in two differnet registries. But Client is not able to contact our replicated rmi. It throws error like java.lang.NullPointerException at com.netphone.server.ClientRMIMessageInterceptorControl.invoke(ClientR MIMessageInterceptorControl.java:220) at $Proxy0.login(Unknown Source) How to solve this. Pl provide solution Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961187#3961187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961187 From do-not-reply at jboss.com Thu Jul 27 02:43:05 2006 From: do-not-reply at jboss.com (namitak) Date: Thu, 27 Jul 2006 02:43:05 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with JMSQueue and JMSReceiver Message-ID: <12504386.1153982585729.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your response jaikiran but my problem has not been resolved yet. I am still getting the same error. I want to optimize speed of message queing and receiving. To achieve this i am passing a collection of messages to JMSQueue and JMSReceiver is responsible to parse the object and sends the message one by one further. this is working fine with first JMSQueue but the error comes in retrieving the another object from JMS_MESSAGES table. Thanks in advance. Regards, Namita View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961188#3961188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961188 From do-not-reply at jboss.com Thu Jul 27 02:45:07 2006 From: do-not-reply at jboss.com (vrthikkireddy) Date: Thu, 27 Jul 2006 02:45:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - changing the default page Message-ID: <17745408.1153982707762.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i want to make another page as default page rather than the 'default' page for example i created one page with name 'mymedpractice'. how can i set this 'mymedpractice' as my default page. any one please reply to this topic. are the below changes are correct, or do i need to change any other settings, please let me know. i had been strucked with this issue, for many days, please any one help me regarding this issue jboss portal version: jboss portal 2.4.0 CR1 i did the following changes in the below configuration files 1. /jboss-portal.sar/portal-cms.sar/META-INF/jboss-service.xml content default.MyMedPractice.cms portal:commandFactory=Delegating portal:service=CMS 2. /jboss-portal.sar/portal-core.war/WEB-INF/portlet.xml indexpage /MyMedPractice/index.html bye, venkat View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961189#3961189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961189 From do-not-reply at jboss.com Thu Jul 27 03:01:41 2006 From: do-not-reply at jboss.com (prese) Date: Thu, 27 Jul 2006 03:01:41 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Migration to jboss4..0.4 problems Message-ID: <31137501.1153983701076.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi *, We have tried to migrate an application that uses EJB 2.1 from jboss 3.2.x to jboss 4.0.4. We have encountered the following exception: 2006-07-27 08:54:24,781 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.util.Collection com.siemens.is.its.airfield.aglseries.datalayer.aglcore.beans.PersistentEntityLocalHome.findAllByType(java.lang.String) throws javax.ejb.FinderException, causedBy: java.lang.IllegalStateException: createBeanClassInstanceCommand == null at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createBeanClassInstance(JDBCStoreManager.java:575) at org.jboss.ejb.plugins.CMPPersistenceManager.createBeanClassInstance(CMPPersistenceManager.java:139) at org.jboss.ejb.EntityContainer.createBeanClassInstance(EntityContainer.java:238) at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:183) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:113) at org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76) at org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:43) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:514) at org.jboss.ejb.Container.invoke(Container.java:975) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133) at $Proxy85.findAllByType(Unknown Source) The DB used is PosgreSql. Any ideas about how to overcome this exception? Thanks Sebi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961190#3961190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961190 From do-not-reply at jboss.com Thu Jul 27 03:03:16 2006 From: do-not-reply at jboss.com (doankhoavy) Date: Thu, 27 Jul 2006 03:03:16 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: Help in executing Hello World BPEL example Message-ID: <13485370.1153983796729.JavaMail.jboss@colo-br-02.atl.jboss.com> hi gosanjeev! Would you like share jdk 1.5_06 ?On the Sun site just has jdk 1.5_07.I installed this jdk and also get the same problem as you. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961191#3961191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961191 From do-not-reply at jboss.com Thu Jul 27 03:09:57 2006 From: do-not-reply at jboss.com (sivasenthil) Date: Thu, 27 Jul 2006 03:09:57 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - RMI Clustering using JGroups Message-ID: <19792678.1153984197090.JavaMail.jboss@colo-br-02.atl.jboss.com> Hai ! I had tried to replicate my RMI Server using JGroups API. I had follow the codes and import the same class which i taken from (net.sf.extrme .multicast) sourceforge.net. I had open two rmi servers in two differnet registries. But Client is not able to contact our replicated rmi. It throws error like java.lang.StackOverflowError com.netphone.server.ClientRMIMessageInterceptorControl.invoke(ClientRMIMessageInterceptorControl.java:149) $Proxy0.toString(Unknown Source) java.lang.String.valueOf(String.java:2131) java.lang.StringBuffer.append(StringBuffer.java:370) com.netphone.server.ClientRMIMessageInterceptorControl.invoke(ClientRMIMessageInterceptorControl.java:149) $Proxy0.toString(Unknown Source)... ........... How to solve this Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961192#3961192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961192 From do-not-reply at jboss.com Thu Jul 27 03:15:51 2006 From: do-not-reply at jboss.com (vcopwu) Date: Thu, 27 Jul 2006 03:15:51 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - [oracle.jdbc.xa.OracleXAException] From 4.0.3SP1 To 4.0.4GA Message-ID: <6914317.1153984551080.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi? When we migrate applications to JBoss 4.0.4GA?and find some problem: Environment: AP Server: Jboss 4.0.4GA DB: Oracle 9i jdk: 1.5.0.07.b03 when we deploy the applications, sometimes we will use fast-deploy (copy class files to jboss and trigger jboss to re-deploy). The method works in 4.03SP1 but come out errors in 4.0.4GA. Applications didn't change at all, we only move them from jboss 4.0.3SP1 to 4.0.4GA. Besides, the error only comes out when using fast-deploy, normal deploy is ok~ Following is my error message: ErrorMessage: 2006-07-27 14:31:08,109 INFO [STDOUT] DEBUG [TransactionUtil] Thread [28888533] Begin! 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TransactionImpl] Created new instance for tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TxManager] began tx: TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] user tx started, key: null 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] subject: null 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] getManagedConnection trackByTx=true tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying ManagedConnection from pool: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=false trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=null] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Got connection from pool tracked by transaction org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=false mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=null] tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] [InUse/Available/Max]: [1/9/10] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Using connection from pool tracked by transaction org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=null] tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] [InUse/Available/Max]: [1/9/10] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Pre-enlist: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=null] threadTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Get synchronizer org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=null] threadTx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TransactionImpl] registerSynchronization(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] status=STATUS_ACTIVE 2006-07-27 14:31:08,109 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Enlisting resource org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=TxSync27851547{tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] wasTrackByTx=true enlisted=false}] 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TransactionImpl] enlistResource(): Entered, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] status=STATUS_ACTIVE xaRes=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=1, localId=15]) entered: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f flags=0 2006-07-27 14:31:08,109 TRACE [org.jboss.tm.TransactionImpl] startResource(XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=1, localId=15]) leaving: org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f flags=0 2006-07-27 14:31:08,109 WARN [org.jboss.tm.TransactionImpl] XAException: tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] errorCode=XAER_RMERR oracle.jdbc.xa.OracleXAException at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1160) at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:311) at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:117) at org.jboss.tm.TransactionImpl$Resource.startResource(TransactionImpl.java:2063) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:581) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:757) at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:548) at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:323) at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:501) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:382) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) at com.dsc.trinity.management.ManagementUtil.baseQuery(ManagementUtil.java:91) at com.dsc.trinity.config.ConfigUtil.queryData(ConfigUtil.java:231) at com.dsc.trinity.config.ConfigUtil.(ConfigUtil.java:70) at com.dsc.trinity.config.ConfigUtil.getInstance(ConfigUtil.java:83) at com.dsc.trinity.config.ConfigParameter.config(ConfigParameter.java:300) at com.dsc.trinity.config.ConfigParameter.(ConfigParameter.java:285) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.dsc.struts.action.ActionServlet.init(ActionServlet.java:448) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4201) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5116) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor99.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 $Proxy30.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.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117) 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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy31.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor56.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 $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) 2006-07-27 14:31:08,125 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] Failed to enlist resource org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener at 1aea727[state=NORMAL mc=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f handles=0 lastUse=1153981674031 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool at 5f634c context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at 7038b9 xaResource=org.jboss.resource.adapter.jdbc.xa.XAManagedConnection at 1601a4f txSync=TxSync27851547{tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=roger/15, BranchQual=, localId=15] wasTrackByTx=true enlisted=false}] java.lang.Throwable: Unabled to enlist resource, see the previous warnings. at org.jboss.resource.connectionmanager.TxConnectionManager.(TxConnectionManager.java:130) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1233) at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor55.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.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) 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.create(Unknown Source) at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor56.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 $Proxy8.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.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.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:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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:464) at java.lang.Thread.run(Thread.java:595) P.S. If need more detail explain about my question, I'm glad to give more message and thanks for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961193#3961193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961193 From do-not-reply at jboss.com Thu Jul 27 03:19:11 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 03:19:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM expression language does not retrun float value of Message-ID: <29721647.1153984751403.JavaMail.jboss@colo-br-02.atl.jboss.com> afaik, it is not a full EL implementation and afaik, the docs state that it is an EL-like language. But I might be wrong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961194#3961194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961194 From do-not-reply at jboss.com Thu Jul 27 03:21:33 2006 From: do-not-reply at jboss.com (petekol) Date: Thu, 27 Jul 2006 03:21:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <8786550.1153984893852.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : All beans instantiated during a conversation go into the current (ie. most nested) conversation. it is clear -) bean1: showBean2 = false; @Begin(join=true) m1() { some code here; showBean2 = true; } bean2: @Begin(nested=true) m3() { some code here; } index.xhtml after a user press m1 button both beans go in new conversation. i would like bean2 be in nested when a user press m3 after pressing m1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961195#3961195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961195 From do-not-reply at jboss.com Thu Jul 27 03:30:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 03:30:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Intalio vs jBPM Message-ID: <1789093.1153985416074.JavaMail.jboss@colo-br-02.atl.jboss.com> custom code: The initial action you have to call is java, but that could be a wrapper to any other (scritped) language Support for BPEL: Correct, beta. Align IT to business strategy: I know I should not ask a question on a question but I do. Why does it (in your opinion) not align IT and business. If you read several of Tom's blog entries http://jboss.org/jbossBlog/blog/tbaeyens/about these things, I get a different impression. Regarding the xslt stuff. We think that systems that provide information should not care or even know what information is e.g. needed by other systems. We use a kind of ESB like thing (very simple) that gets an xml document and uses a file the structure I described above which contains multiple lines (we did not need an xslt yet since all is simple, but you could also use an xslt to transform/extract this. Outgoing, there is an empty template xml document which is populated by using the file the other way around. This is harder to do with xslt since the source is not xml. Therefor we choose (and can still use) the simple solution. hth View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961196#3961196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961196 From do-not-reply at jboss.com Thu Jul 27 03:42:11 2006 From: do-not-reply at jboss.com (MichaelCouck) Date: Thu, 27 Jul 2006 03:42:11 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Transactions in Hibernate and JBoss Message-ID: <24287311.1153986131036.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, There seems to be some conflict in the documentation for getting the Hibernate transaction and the server transaction synchronised. We have a typical setup for Hibernate using the hibernate.cfg.xml where we map all the Pojos and so on. Then we access Hibernate by the getCurrentSession() method to get the session. We don't close the session anywhere of course as we assumed that it would be closed by the JBoss. I will say that we don't use the MBean for Hibernate. Is the Hibernate session, and more specifically the Hibernate transaction in fact managed by the JBoss. I seem to think that the only way to put the Hibernate session in the JBoss transaction is via the MBean, then lookup the SessionFactory via JNDI. Please could someone point me in the right direction, perhaps with a step by step tutorial as an example, and documentation. Thanks in advance. Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961197#3961197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961197 From do-not-reply at jboss.com Thu Jul 27 03:46:59 2006 From: do-not-reply at jboss.com (dgallego) Date: Thu, 27 Jul 2006 03:46:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Hiding a portlet Message-ID: <10407102.1153986419101.JavaMail.jboss@colo-br-02.atl.jboss.com> Hehehe. I have tried launching an UnavailableException, but when I execute the page for the first time, it displayes: "No portlet available". If I refresh the page, the portlet dissappears, good, but I can't make it visible again. Thanks ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961198#3961198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961198 From do-not-reply at jboss.com Thu Jul 27 03:49:33 2006 From: do-not-reply at jboss.com (asubu) Date: Thu, 27 Jul 2006 03:49:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: out of memory error Message-ID: <800011.1153986573217.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks I will try that, but with the same settings running I have not yet expierenced that problem again. Also the JVM that I am using is -->java version "1.5.0_06" Regards to timers, is this something that is configurable? Regards Subu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961199#3961199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961199 From do-not-reply at jboss.com Thu Jul 27 03:55:45 2006 From: do-not-reply at jboss.com (peter_kaas) Date: Thu, 27 Jul 2006 03:55:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Bug? Transaction timeout.... Message-ID: <23456519.1153986945445.JavaMail.jboss@colo-br-02.atl.jboss.com> What if you mark your MDB with: | @TransactionManagement(TransactionManagementType.BEAN) | and then roll your own transaction like: | @Resource | private transient MessageDrivenContext context; | | ... | | UserTransaction ut = null; | | try { | ut = context.getUserTransaction(); | ut.setTransactionTimeout(TIMEOUT); | ut.begin(); | | // Do your stuff | | ut.commit(); | } catch (Throwable ex) { | try { if (ut != null) ut.rollback(); } catch (Throwable ex2) { } | | ... | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961201#3961201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961201 From do-not-reply at jboss.com Thu Jul 27 03:56:34 2006 From: do-not-reply at jboss.com (ovidiucn) Date: Thu, 27 Jul 2006 03:56:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <27761399.1153986994713.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok... I think i forgot something. I'm using also facelets and i have also overriden the default suffix property in web.xml file; that is: | | javax.faces.DEFAULT_SUFFIX | .xhtml | | so calling for *.xhtml files works. The part in which i'm calling the local interface looks like this: | @Name("userCBTModel") | @Scope(ScopeType.SESSION) | public class UserCBTModel implements CBTModel { | | @In(value = "userManagement", create = true, required = true) | private UserManagementLocal userManagement; | | public CBTPage getPage(CBTPageInfo pInfo) { | PageImpl page = new PageImpl(); | PageInfoImpl pInfoImpl = (PageInfoImpl) pInfo; | int startIndex = pInfoImpl.getPageNumber() * pInfoImpl.getDefaultPageSize(); | int count = pInfoImpl.getDefaultPageSize(); | | boolean useFilter = ((pInfo == null) ? false | : ((pInfo.getFilter() == null) ? false : true)); | | List users = new ArrayList (); | try { | users.addAll(userManagement.getUsers()); | } catch (NullPointerException npe) { | logger.error("Userul logat nu are rol pentru a vedea userii:"); | users.clear(); | } | | /* prepare a new page */ | | return page; | } | } | And the presentation markup is as follows: | | | | | | Checkbox table template | | | | | | | | | Table columns | | | | | | | | The overall behaviour can be described as: * the userManagement component (either is a stateless bean or just a pojo) it gets injected into userCBTModel bean - always; * if the userManagement component is a stateless bean, its attributes are not injected; * if the userManagement component is not a stateless bean (i.e. done by just removing the @Stateless annotation) works fine - all its attributes are injected; if i'm removing the stateless annotation it is treated as a simple java bean and its scope is EVENT. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961202#3961202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961202 From do-not-reply at jboss.com Thu Jul 27 04:15:51 2006 From: do-not-reply at jboss.com (gruenewa) Date: Thu, 27 Jul 2006 04:15:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: changing the default page Message-ID: <306595.1153988151644.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a similar problem, i also want to change the name of the default page. I have found something interesting in the JBoss Portal Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=Portal_2_4DefaultObject but that did not work. I changed | | ... | | | portal.defaultObjectName | default | | | ... | to | ... | | | portal.defaultObjectName | Home | | | ... | and i changed also the name of the default page to | | Home | ... | but nothing happened. Only the CMS seems to be broken. I know that changing the name of the default page is possible as the jboss portal live demo shows. http://portal.demo.jboss.com/. This is exactly what i want. Thanks, Alexander View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961204#3961204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961204 From do-not-reply at jboss.com Thu Jul 27 04:18:13 2006 From: do-not-reply at jboss.com (pxpwxj) Date: Thu, 27 Jul 2006 04:18:13 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to all oracle procedure in cmp bean? Message-ID: <18753339.1153988293689.JavaMail.jboss@colo-br-02.atl.jboss.com> For those table matching to cmp bean or cmp relationship,can other program manipulate these data concurrently? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961205#3961205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961205 From do-not-reply at jboss.com Thu Jul 27 04:22:45 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Thu, 27 Jul 2006 04:22:45 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Problem with the swimlane in a portlet Message-ID: <17276888.1153988565913.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello all, I try to create a portlet jbpm with task which are assign to different people. So I use Swimlane. First, I create My portlet without assign task to specific people, it works correctly. After, I assign my tasks to the specific people with the swimlane : | | processDefinition = ProcessDefinition.parseXmlString( | | | ""+ | ""+ | ""+ | ""+ | | ""+ | ""+ | ""+ | | | ""+ | ""+ | ""+ | ""+""+ | ""+ | | ""+""+ | | ""+ | ""+ | ""+ | ""+""+ | ""+ | | ""+ | ""+ | ""+ | ""+""+ | ""+ | ....... | And in my java file which creates the porcess and define the context... I right this: | ProcessInstance processInstance = new ProcessInstance(processDefinition); | JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | try { | jbpmContext.deployProcessDefinition(processDefinition); | | Token token = processInstance.getRootToken(); | nameProcess=processInstance.getProcessDefinition().getName(); | System.out.println("avant affectation user"); | jbpmContext.setActorId("ernie"); | | And when I execute my portlet I have this error: 10:18:20,693 ERROR [Jsr168Dispatcher] Could not execute action 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:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav a:129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) at sun.reflect.GeneratedMethodAccessor179.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) 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.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.OutOfMemoryError: PermGen space 10:18:20,724 ERROR [Jsr168Dispatcher] The portlet threw an exception javax.portlet.PortletException: Error executing action processInstance at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav a:129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) at sun.reflect.GeneratedMethodAccessor179.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) 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.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 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:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) ... 143 more Caused by: java.lang.OutOfMemoryError: PermGen space 10:18:20,771 ERROR [InvokeWindowActionCommand] An portlet exception occured in portlet MyPortlet.MyPortlet javax.portlet.PortletException: Error executing action processInstance at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav a:129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) at sun.reflect.GeneratedMethodAccessor179.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:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) 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.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 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:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) ... 143 more So I decide to put just the second task to a person in order to be sure that is the swimlane which bug my application. The fist task work but when I go to my second I have an error. So somebody know how can resolve my problem. thank you for your help I use webwork in order to create my JBPM portlet, but when I don't use swimlane It work very well. Antitrust1982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961206#3961206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961206 From do-not-reply at jboss.com Thu Jul 27 04:55:33 2006 From: do-not-reply at jboss.com (kishorekollam) Date: Thu, 27 Jul 2006 04:55:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Programmatic Deployment using JSR 88 Message-ID: <20384491.1153990533461.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Does JBoss 4 supports JSR-88 deployment API completely? Are there any JSR-88 samples showing deployment of WAR, EAR, and RAR modules. I was trying a small sample but could not go past creating DConfigBeans; more specifically, the DConfigBeanRoot's getXpaths returns UnSupportedOperation exception. Any idea on what's wrong here. Thanks, Kishore View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961208#3961208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961208 From do-not-reply at jboss.com Thu Jul 27 05:01:09 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 05:01:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane in a portlet Message-ID: <16219330.1153990869872.JavaMail.jboss@colo-br-02.atl.jboss.com> There is NO jBPM code involved in this stacktrace. So look further for the cause. This error you get (an out of memory) is not happening witinh jBPM (does not mean jBPM could not be the cause, but then you need to profile your server) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961209#3961209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961209 From do-not-reply at jboss.com Thu Jul 27 05:10:14 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 27 Jul 2006 05:10:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Session bean inheritance Message-ID: <15683946.1153991414914.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, it is :). Just one more thing: There are annotations that can be used in abstract superclasses (like @PersistenceContext, @In, @Out, @Logger, @Begin, @End, @Remove, @Destroy...) and there are some that must be applied to the concrete subclasses (@Stateful, @Stateless, @Name (of course *g*), @Conversational, @Scope, ...). I'm not 100% sure, but I think that you can annotate the methods and properties of a superclass but not the class itself. But as I said, I'm not absolutely sure about that. Maybe someone with a deeper insight into the things going on can tell as a simple rule regarding this ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961210#3961210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961210 From do-not-reply at jboss.com Thu Jul 27 05:15:13 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 05:15:13 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Problem with JMSQueue and JMSReceiver Message-ID: <9228193.1153991713372.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : I want to optimize speed of message queing and receiving. To achieve this i am passing a collection of messages to JMSQueue and JMSReceiver is responsible to parse the object and sends the message one by one further. Wouldn't this approach, further slow down the speed? Can you post the code where you are getting this exception? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961211#3961211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961211 From do-not-reply at jboss.com Thu Jul 27 05:16:25 2006 From: do-not-reply at jboss.com (soeursourire) Date: Thu, 27 Jul 2006 05:16:25 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <7677173.1153991785604.JavaMail.jboss@colo-br-02.atl.jboss.com> So if I well understand, there is no email notification done in JBPM for now? When is planned the email support? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961212#3961212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961212 From do-not-reply at jboss.com Thu Jul 27 05:20:03 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 05:20:03 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Can you have an app run every 5 minutes? Message-ID: <14459798.1153992003908.JavaMail.jboss@colo-br-02.atl.jboss.com> You can use a Scheduler(which is nothing but an MBean) in JBoss. The Scheduler will act like a service and will be started when you start jboss. You can configure the Scheduler to invoke your class every 'x' mins. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=Scheduler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961214#3961214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961214 From do-not-reply at jboss.com Thu Jul 27 05:37:56 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Thu, 27 Jul 2006 05:37:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: missing Message-ID: <21200199.1153993076894.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is my scenario: I have three computers in a network. The first 'computer1' initiates the workflow. The other two (computer2 and computer3) have different specific tasks which have to be executed at a specific node in the workflow (by the CommandExecutor). After these nodes were executed asynchronously (on computer2 and computer3), the CommandExecutor will give control back to computer1 which does the further processing. (I did not find out how to upload an image to the forum pages, so I will write down the sequence of workflow steps as text here): | 1. computer1: initialize workflow | 2. computer1 computer2: execute specific node on computer2 | 3. computer2 computer1: process results on computer1 | 4. computer1 computer3: execute other specific node on computer3 | 5. computer3 computer1: process results again on computer1 | 6. computer1 does the further processing up to the end state | | | | | | | | | | | | | | | | | | | | | | | | | | | Conceptually, i thought that all three computers have a CommandExecutor running with their specific destination. In the current implementation of the asynchronous continuation, it is supposed that every node can be executed by an arbitrary CommandExecutor (if a clustered CommandExecutor would be implemented). In a distributed system, there are several external systems/services that only can execute the task they are made for (e.g. "get forecast for San Francisco"). So I think, that it should be possible to address a specific destination from the workflow so that only adequate CommandExecutors will receive the message. It seems to be related to the jBPM Task, assigning different actors for every external computer. Only the way back from the external services to the "computer1" is not clear for me. Could I implement it on that way? Thanks and regards, Matthias View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961215#3961215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961215 From do-not-reply at jboss.com Thu Jul 27 05:38:40 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 05:38:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <30381788.1153993120252.JavaMail.jboss@colo-br-02.atl.jboss.com> If you build your own assignmenthandler you can do it now. I did it 1 year ago that way. If you want it from within jBPM you have to wait for 3.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961216#3961216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961216 From do-not-reply at jboss.com Thu Jul 27 05:42:28 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 05:42:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: missing Message-ID: <33546052.1153993348686.JavaMail.jboss@colo-br-02.atl.jboss.com> I would advise against doing it this way. What you are conceptually building then is an ESB with distributed services etc... it is better then to build a generic actionhandler which connects to an ESB which in turn knows where to find the services. Look at the concepts of an SOA/ESB and you will see what I mean (unless I understood you completely wrong) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961217#3961217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961217 From do-not-reply at jboss.com Thu Jul 27 05:44:13 2006 From: do-not-reply at jboss.com (soeursourire) Date: Thu, 27 Jul 2006 05:44:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <14261889.1153993453629.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a lot for your answer. Would you have some example or tutorial to program my own assignmenthandler? Thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961218#3961218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961218 From do-not-reply at jboss.com Thu Jul 27 05:47:51 2006 From: do-not-reply at jboss.com (maxip) Date: Thu, 27 Jul 2006 05:47:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - hibernate.queries.hbm.xml Message-ID: <25651058.1153993671020.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, want to use the persistance of jBPM, but i get this error: anonymous wrote : 10:57:17,796 [main] INFO Configuration : Configured SessionFactory: null | 10:57:17,796 [main] INFO Configuration : Reading mappings from resource: hibernate.queries.hbm.xml | 10:57:17,843 [main] DEBUG JbpmContext : closing JbpmContext | Exception in thread "main" org.hibernate.MappingException: Could not read mappings from resource: hibernate.queries.hbm.xml | at org.hibernate.cfg.Configuration.addResource(Configuration.java:485) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:71) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSchemaExport(DbPersistenceServiceFactory.java:79) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.createSchema(DbPersistenceServiceFactory.java:110) | at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:383) | at org.jbpm.JbpmConfiguration.createSchema(JbpmConfiguration.java:375) | at de.fhkl.bda.Test001.main(Test001.java:27) | Caused by: org.hibernate.DuplicateMappingException: Duplicate query mapping GraphSession.findLatestProcessDefinitionQuery | at org.hibernate.cfg.Mappings.checkQueryExist(Mappings.java:270) | at org.hibernate.cfg.Mappings.addQuery(Mappings.java:259) | at org.hibernate.cfg.HbmBinder.bindNamedQuery(HbmBinder.java:2555) | at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:180) | at org.hibernate.cfg.Configuration.add(Configuration.java:386) | at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:427) | at org.hibernate.cfg.Configuration.addResource(Configuration.java:482) | ... 6 more I had to manually update the config file and to insert a linkt to the hibernate.query-file what goes wrong ? i have absolutely no idea, i am on to this problem for now abot 10hours and i cant find any solution :/ the file exists, is be found (without the file there comes a file not found excepption) but the content cant be read ? Thats my code: import java.util.ArrayList; | import java.util.List; | | import org.jbpm.JbpmConfiguration; | import org.jbpm.JbpmContext; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ProcessInstance; | | | import org.jbpm.JbpmConfiguration; | import org.jbpm.JbpmContext; | import org.jbpm.db.GraphSession; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ProcessInstance; | import org.jbpm.graph.exe.Token; | | | | public class Test001 { | /** | * @param args | */ | public static void main(String[] args) { | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | jbpmConfiguration.createSchema(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | ProcessInstance processInstance = | jbpmContext.newProcessInstanceForUpdate("SimpleDefinition1"); | } finally { | jbpmContext.close(); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961219#3961219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961219 From do-not-reply at jboss.com Thu Jul 27 05:56:07 2006 From: do-not-reply at jboss.com (d-rock) Date: Thu, 27 Jul 2006 05:56:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Overriding the generated value inherited from a mapped s Message-ID: <18932554.1153994167297.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : PS entity and mappedsuperclass on the same class does not make sense Doh. Well, that explains a lot. I wasn't even thinking about that, just blindly put Entity in there by force of habit. Having the @Entity tag on the @MappedSuperclass was causing the deployer to come up with some really bizarre @Id errors. I removed @Entity and it's all happy now. Thanks, Derek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961221#3961221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961221 From do-not-reply at jboss.com Thu Jul 27 05:57:02 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Thu, 27 Jul 2006 05:57:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane in a portlet Message-ID: <16332545.1153994222944.JavaMail.jboss@colo-br-02.atl.jboss.com> yes I agree, But how config my server (jboss portal-tomcat 2.2.1) and Why this error appear just when I use the swimlane in my task and no in the others tasks?? My problem of "out of memory" is due to the swimlane for me because it happens just when I execute a task which contain swimlane. thank you for you response. I will try to find how resolve the porblem with my server but I don't know where I must to see and change the parameter and which one. antitrust1982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961222#3961222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961222 From do-not-reply at jboss.com Thu Jul 27 06:01:37 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Thu, 27 Jul 2006 06:01:37 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: missing Message-ID: <30965360.1153994497040.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much. That's exactly what i meant. I'll check this out :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961223#3961223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961223 From do-not-reply at jboss.com Thu Jul 27 06:02:28 2006 From: do-not-reply at jboss.com (macios) Date: Thu, 27 Jul 2006 06:02:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - create MDBean in my code and assign it to a queue Message-ID: <18676362.1153994548282.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I wold like to create MDBean programatically and assign it to a queue, I attached my testBean. It works with one queue. But I want make some tests: create many queues and assign MDBean to them. I've created many queues, but don't know how to create such a Bean in code, and than assign it to a queue. Can anybody help ? package mdbean; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.jms.Message; import javax.jms.MessageListener; @MessageDriven(activationConfig={ @ActivationConfigProperty (propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="queue/A") } ) public class TestMDBean implements MessageListener { public void onMessage(Message arg0) { // TODO Auto-generated method stub } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961224#3961224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961224 From do-not-reply at jboss.com Thu Jul 27 06:14:15 2006 From: do-not-reply at jboss.com (mgommeringer) Date: Thu, 27 Jul 2006 06:14:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: missing Message-ID: <8968732.1153995255039.JavaMail.jboss@colo-br-02.atl.jboss.com> ...one thing that came into my mind just now is, that - when using a SOA/ESB - the thread that executes the workflow (the generic ActionHandler you mentioned) is blocked until the response of the service is received. In the proposal that I made, all threads continue their work, which is a great advantage for me. Tell me if I'm wrong - I'm not familiar with ESBs (yet). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961227#3961227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961227 From do-not-reply at jboss.com Thu Jul 27 06:29:22 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Thu, 27 Jul 2006 06:29:22 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Pessimistic locking of Entity Bean Message-ID: <13670522.1153996162070.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Does anyone know if it is possible to pessimistically lock an EJB3 Entity Bean? I would like to lock an Entity from the start of a transaction until the end of a transaction. I want to prevent dirty reads within my application. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961231#3961231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961231 From do-not-reply at jboss.com Thu Jul 27 06:32:34 2006 From: do-not-reply at jboss.com (leetcooper) Date: Thu, 27 Jul 2006 06:32:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Passing Parameters to Generic Actions Message-ID: <10690196.1153996354283.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to jBPM and for two days I have been looking and running examples but I can not find a solution to my simple problem. I want to pass parameters to my Actions. I want to do something like this | | | | | | | | | | | | | | | However I can not find any examples or alternative type of solution to this. I know that its possible I just can not find an appropriate solution. Any help would be much appreciated. I do not want a programming solution i.e. 'context.setVariable()' I need a configuration solution if possible. Thanks Lee View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961234#3961234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961234 From do-not-reply at jboss.com Thu Jul 27 06:45:48 2006 From: do-not-reply at jboss.com (unibrew) Date: Thu, 27 Jul 2006 06:45:48 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Jboss Forum 2.2.1-SP3 Bug? Message-ID: <17323084.1153997148995.JavaMail.jboss@colo-br-02.atl.jboss.com> I should ask about database first. From the log I see that you are using Oracle database. There is an issue with mapping hibernate objects with CLOB. The solution is to change datatype in tables JBP_FORUMS_POSTS, JBP_FORUMS_ATTACHMENTS from clob to varchar2 and it should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961238#3961238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961238 From do-not-reply at jboss.com Thu Jul 27 06:54:19 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 06:54:19 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Passing Parameters to Generic Actions Message-ID: <19292766.1153997659255.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you read the documentation? http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#configurationofdelegations View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961239#3961239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961239 From do-not-reply at jboss.com Thu Jul 27 07:00:38 2006 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Thu, 27 Jul 2006 07:00:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <20941673.1153998038834.JavaMail.jboss@colo-br-02.atl.jboss.com> Still no luck :-( I have reinstalled everything from scratch: - java sdk 1.5.0_07 (no other java's on my machine) - jboss as 4.0.4 GA - jbpm bpel 1.1-beta1 Then I applied the suggested changes. But alas, the problem while running the tests for the hello tutorial persists... One more question though... Do I add the xercesImpl.jar pathelement to the test.classpath? Or do I replace the xml-api.jar with it? I did the first. I also assumed I did not have to copy files around to the endorsed lib folder of the Java runtime. Is this correct? Regards, Koen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961240#3961240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961240 From do-not-reply at jboss.com Thu Jul 27 07:06:42 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 27 Jul 2006 07:06:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Navigating depth in object graph Message-ID: <21045332.1153998402398.JavaMail.jboss@colo-br-02.atl.jboss.com> How about in your Client Entity public class Client { | private Address address; | ... | public Client() { | address = new Address(); | } | | // Getters and Setters | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961241#3961241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961241 From do-not-reply at jboss.com Thu Jul 27 07:12:15 2006 From: do-not-reply at jboss.com (jason_rency) Date: Thu, 27 Jul 2006 07:12:15 -0400 (EDT) Subject: [jboss-user] [JBossWS] - problem with wsdl2java generation: org.apache.axit.enum Message-ID: <1608272.1153998735431.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, I created a test client for my webservice from the WSDL file. while there are errors in the BindingStud.java: oper.setStyle(org.apache.axis.enum.Style.WRAPPED); | oper.setUse(org.apache.axis.enum.Use.LITERAL); as enmu is a reserved type in jdk1.5.x I know it's quite an old problem but I just can't find a solution. any hint? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961243#3961243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961243 From do-not-reply at jboss.com Thu Jul 27 07:15:31 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 07:15:31 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <732348.1153998931718.JavaMail.jboss@colo-br-02.atl.jboss.com> This is strange. Are you talking about the memory on the client or the server? How are you measuring the memory? Are you measuring the memory before sending and comparfing it to the value after sending? Is the message persistent? Are you using a database? If so, which one? What version of messaging are you using? What version of AS are you using (if any)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961244#3961244 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961244 From do-not-reply at jboss.com Thu Jul 27 07:17:16 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 27 Jul 2006 07:17:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Problem with user defined EL functions? Message-ID: <2367113.1153999036183.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, in my myFaces / Facelets / Seam configuration, I have problems using user defined EL functions. I've asked on the myFaces mailing list, but they told me, that this isn't in the responsibility of myFaces. Which of the lots of libraries is resolving my EL expressions? Facelets? Seam? myFaces? Tomahawk? I really don't know. Might it be a Seam problem? Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961245#3961245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961245 From do-not-reply at jboss.com Thu Jul 27 07:26:32 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 07:26:32 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to get SOAP message inside a EJB layer Message-ID: <1971785.1153999592222.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is my sample of accessing SOAP message body content - Cabin by EJB exposed as a web service | package com.bruno.net.ejb; | | import javax.annotation.PostConstruct; | import javax.ejb.Stateless; | import javax.jws.Oneway; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | import javax.xml.ws.WebServiceRef; | | import org.apache.log4j.Logger; | | import com.bruno.net.domain.Cabin; | | @WebService(name = "TravelAgent", serviceName = "TravelAgentService") | @WebServiceRef(name = "service/TravelAgentService") | @Stateless | public class TravelAgentBean implements TravelAgentRemote { | private Logger logger; | | @PersistenceContext(unitName = "titan") | private EntityManager manager; | | @PostConstruct | public void postConstruct() { | logger = Logger.getLogger(getClass().getName()); | } | | @WebMethod | @Oneway | public void createCabin(@WebParam(name = "Cabin") | Cabin cabin) { | logger.debug("here is my cabin delivered by JAX-WS = " + cabin); | logger.debug("cabin name " + cabin.getName()); | logger.debug("bed count " + cabin.getBedCount()); | manager.persist(cabin); | } | | @WebMethod | @WebResult(name = "Cabin") | public Cabin findCabin(@WebParam(name = "ID") | int pKey) { | return manager.find(Cabin.class, pKey); | } | } | If you need SOAP header you have to create and wire up a message handler to work with SAAJ. Cheers, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961246#3961246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961246 From do-not-reply at jboss.com Thu Jul 27 07:34:58 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 27 Jul 2006 07:34:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <31151780.1154000098043.JavaMail.jboss@colo-br-02.atl.jboss.com> "dbatcn" wrote : I looked at the link that Pete pointed out and the way I read Gavin's comment in there I didn't see why @DataModelSelection shouldn't work. If true, enlightenment appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961247#3961247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961247 From do-not-reply at jboss.com Thu Jul 27 07:36:18 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Thu, 27 Jul 2006 07:36:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Navigating depth in object graph Message-ID: <31017280.1154000178870.JavaMail.jboss@colo-br-02.atl.jboss.com> "petemuir" wrote : How about in your Client Entity | | public class Client { | | private Address address; | | ... | | public Client() { | | address = new Address(); | | } | | | | // Getters and Setters | | } OK... but if my address is not required??? when i try to save the client i got a TransientObjectException, something like that!!! :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961248#3961248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961248 From do-not-reply at jboss.com Thu Jul 27 07:40:47 2006 From: do-not-reply at jboss.com (dgallego) Date: Thu, 27 Jul 2006 07:40:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Java Portlet Tools Message-ID: <30502734.1154000447961.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to insert an application written with JSF as a portlet. I've found the Java portlet Tools, which modify the tags of my App to get it running without problems, but I don't know if it is possible to use them in JBoss Portal (the requirement is Plumtree Portal) Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961250#3961250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961250 From do-not-reply at jboss.com Thu Jul 27 07:41:43 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 27 Jul 2006 07:41:43 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam - iterator tag? Message-ID: <13483149.1154000503327.JavaMail.jboss@colo-br-02.atl.jboss.com> Oops "dbatcn" wrote : I looked at the link that Pete pointed out and the way I read Gavin's comment in there I didn't see why @DataModelSelection shouldn't work. If true, enlightenment appreciated. My reasoning was (unchecked so may be wrong). Seam DataModel Databinder delegates find the selected row to ListDataModel. ListDataModel has the selected row set by UIData broadcast method. ui:repeat isn't UIData so won't do this. Gavin does seem to indicate the opposite though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961251#3961251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961251 From do-not-reply at jboss.com Thu Jul 27 07:44:50 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 07:44:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Redirect Message-ID: <26124785.1154000690684.JavaMail.jboss@colo-br-02.atl.jboss.com> If you use Seam's built-in FacesMessages component, the messages will be propagated across a browser redirect. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961252#3961252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961252 From do-not-reply at jboss.com Thu Jul 27 07:45:41 2006 From: do-not-reply at jboss.com (ShadenS) Date: Thu, 27 Jul 2006 07:45:41 -0400 (EDT) Subject: [jboss-user] [JBossWS] - In which package I can found XOPMarshaller ? Message-ID: <28768375.1154000741196.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi JBoss Community, I solve some problems with new release of jbossws... great work, JBoss Staff!! :-) Now, I've got some exceptions that I don't understand very well :( In particular, where can I find org/jboss/xb/binding/sunday/xop/XOPMarshaller ? In jbossws-1.0.2 it seems not exists! anonymous wrote : Caused by: java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/xop/XOPMarshaller | at org.jboss.ws.jaxrpc.encoding.SimpleSerializerFactory.getSerializer(SimpleSerializerFactory.java:37) | at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:144) | at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:802) | at org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:719) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186) | at org.jboss.ws.soap.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:251) | at org.jboss.ws.binding.soap.SOAPMessageMarshaller.write(SOAPMessageMarshaller.java:78) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:164) | at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) | at org.jboss.remoting.Client.invoke(Client.java:525) | at org.jboss.remoting.Client.invoke(Client.java:488) | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186) All exceptions give me from jboss-ide: anonymous wrote : java.rmi.RemoteException: Call invocation failed: Could not transmit message; nested exception is: | javax.xml.soap.SOAPException: Could not transmit message | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at src.clients.DIIClient.main(DIIClient.java:47) | Caused by: javax.xml.soap.SOAPException: Could not transmit message | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:201) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:687) | ... 2 more | Caused by: java.lang.NoClassDefFoundError: org/jboss/xb/binding/sunday/xop/XOPMarshaller | at org.jboss.ws.jaxrpc.encoding.SimpleSerializerFactory.getSerializer(SimpleSerializerFactory.java:37) | at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:144) | at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:802) | at org.jboss.ws.soap.SOAPContentElement.getChildNodes(SOAPContentElement.java:719) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:211) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.printInternal(DOMWriter.java:270) | at org.jboss.util.xml.DOMWriter.print(DOMWriter.java:186) | at org.jboss.ws.soap.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:251) | at org.jboss.ws.binding.soap.SOAPMessageMarshaller.write(SOAPMessageMarshaller.java:78) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:164) | at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) | at org.jboss.remoting.Client.invoke(Client.java:525) | at org.jboss.remoting.Client.invoke(Client.java:488) | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:186) | ... 3 more | And source code of my DII client: package src.clients; | | import java.net.URL; | | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceFactory; | import javax.xml.rpc.Call; | import javax.xml.rpc.JAXRPCException; | import javax.xml.namespace.QName; | import javax.xml.rpc.ParameterMode; | import javax.xml.rpc.encoding.XMLType; | | | public class DIIClient { | | private static String endpoint = "http://pc3000:8080/NewVersionAll/HelloBean"; | private static String qnameService = "Risposta"; | private static String qnamePort = "EndpointInterface"; | private static String BODY_NAMESPACE_VALUE = "http://org.jboss.ws/samples/jsr181ejb"; | private static String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri"; | private static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; | private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; | | public static void main(String[] args) { | try { | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(new QName(qnameService)); | | QName port = new QName(qnamePort); | | //create JAX-RPC Call using JAX-RPC Service's createCall() method. | Call call = service.createCall(port); | | // Configure your Call instance with its setter methods | call.setTargetEndpointAddress(endpoint); | call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true)); | call.setProperty(Call.SOAPACTION_URI_PROPERTY, ""); | call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING); | QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); | call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "reply")); | call.setReturnType(QNAME_TYPE_STRING); | | call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN); | String[] params = { "Duke!" }; | | // Invoke the WS operation using the JAX-RPC Call's invoke method | String result = (String) call.invoke(params); | | System.out.println("result"); | | } catch (Exception ex) { | ex.printStackTrace(); | } | } | | } Help me please. From this it can depends my thesis (on web services security). Bye! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961254#3961254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961254 From do-not-reply at jboss.com Thu Jul 27 07:47:12 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 07:47:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Redirect Message-ID: <12913431.1154000832125.JavaMail.jboss@colo-br-02.atl.jboss.com> You should also check out the functionality now available in CVS for @Redirect and @HttpError exceptions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961255#3961255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961255 From do-not-reply at jboss.com Thu Jul 27 07:47:58 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 27 Jul 2006 07:47:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem with user defined EL functions? Message-ID: <22774379.1154000878721.JavaMail.jboss@colo-br-02.atl.jboss.com> Facelets - ask on the Facelets mailing list: http://facelets.dev.java.net View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961256#3961256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961256 From do-not-reply at jboss.com Thu Jul 27 07:50:41 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 07:50:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Injection Message-ID: <17466163.1154001041068.JavaMail.jboss@colo-br-02.atl.jboss.com> Use your debugger to find out if SeamInterceptor is *really* wrapping the calls to the stateless bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961257#3961257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961257 From do-not-reply at jboss.com Thu Jul 27 07:52:22 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 07:52:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Session bean inheritance Message-ID: <6773805.1154001142863.JavaMail.jboss@colo-br-02.atl.jboss.com> Any annotation on a superclass _member_ should be inherited to the subclass. Annotations on the superclass _type_ are not, in general. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961258#3961258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961258 From do-not-reply at jboss.com Thu Jul 27 07:52:32 2006 From: do-not-reply at jboss.com (petemuir) Date: Thu, 27 Jul 2006 07:52:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Navigating depth in object graph Message-ID: <13530056.1154001152251.JavaMail.jboss@colo-br-02.atl.jboss.com> If it's not required then set it to null. You could also do it in an action method - client.setAddress(new Address()); if you want more control over whether an address is created or not. Sorry, my code wasn't complete - you would need a association annotation with at least cascade=PERSIST View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961259#3961259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961259 From do-not-reply at jboss.com Thu Jul 27 07:53:19 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 07:53:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem with user defined EL functions? Message-ID: <24441597.1154001199819.JavaMail.jboss@colo-br-02.atl.jboss.com> Right, you need to define your EL functions in a Facelets taglib.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961260#3961260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961260 From do-not-reply at jboss.com Thu Jul 27 07:53:32 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 07:53:32 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <13607535.1154001212834.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using PostgreSQL which utilizes sequence generator. Declaring id | @Id | @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "hibernate3_sequence") | private Long id; | Wiring up sequence generator for all entities in orm.xml | | | | Works like a charm. Have you tried all available options for SequenceGenerator annotation? | @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) | public @interface SequenceGenerator { | String name(); | String sequenceName() default ""; | int initialValue() default 1; | int allocationSize() default 50; | } | Yet, like I said, I am using PostgreSQL 7.4. Your problem could be DB related. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961261#3961261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961261 From do-not-reply at jboss.com Thu Jul 27 08:04:51 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Thu, 27 Jul 2006 08:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Navigating depth in object graph Message-ID: <32000658.1154001891834.JavaMail.jboss@colo-br-02.atl.jboss.com> "petemuir" wrote : If it's not required then set it to null. | | You could also do it in an action method - client.setAddress(new Address()); if you want more control over whether an address is created or not. | | Sorry, my code wasn't complete - you would need a association annotation with at least cascade=PERSIST That is my problem :( , because if i put, for example, my address to null i will have a "javax.faces.el.PropertyNotFoundException: Base is null: bla bla..." if i try to submit something like ... My solution is put this in action method like you say, but i have a lot of relationships in the client, with address, sex, etc... i think this give a lot of work and make my code ugly.... That why i say that ognl null handler thats ww use is cool if getAddress return null he instanciates a new one the time i need, so if no address was typed no address is create, that saomething like that in EL??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961263#3961263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961263 From do-not-reply at jboss.com Thu Jul 27 08:07:38 2006 From: do-not-reply at jboss.com (jabberwack) Date: Thu, 27 Jul 2006 08:07:38 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Preventing native library loading in JBoss Message-ID: <17420675.1154002058442.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! My EAR contains a JAR file (say, myresources.jar) which, in its turn, contains only resources (images, properties, etc.) Among other things, myresources.jar contains a ZIP archive with some DLLs in it. So, the problem is: when I deploy the EAR to JBoss (I am using 4.0.4GA), it finds these DLLs and loads them, which is undesirable. myresources.jar does not contain any descriptors that might cause such behavior, this is just a "plain" jar, which is described in application.xml as a java module. Please, can anyone give me some hints on how to prevent loading of the DLLs? I suppose there should be some config parameter on this matter, but I cannot find it in documentation. Regards, Vladimir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961264#3961264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961264 From do-not-reply at jboss.com Thu Jul 27 08:18:51 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 27 Jul 2006 08:18:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Mixing Hibernate & EJB3 Message-ID: <12674799.1154002731649.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I would like to directly access the Hibernate behind JBoss' EJB3 implementation. Usually, this is no problem since I can inject from a PersistenceContext into a Hibernate Session Object: | @PersistenceContext(unitName = "LeistungserfassungEntityManager") | protected Session leDB; | Now I want to migrate to Seam-managed Hibernate Session (inside EJB3!), but I don't understand how to adapt chapters 9.4.2 / 9.5.2 to get this running. Is this possible? Can someone give me an example of how to configure it? Regards, Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961265#3961265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961265 From do-not-reply at jboss.com Thu Jul 27 08:23:59 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 08:23:59 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <26027571.1154003039540.JavaMail.jboss@colo-br-02.atl.jboss.com> I have tried sending a text message with 500K characters of text from one consumer to the server and receiving it again. For a non persistent message, my send takes about 68 milliseconds, and the receive takes about 10ms. For a persistent message it takes 78 milliseconds for the send and 10 again for the receive. I am using MySQL 5.0, server and consumer producer on same box in different VMs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961266#3961266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961266 From do-not-reply at jboss.com Thu Jul 27 08:25:51 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 08:25:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <18240992.1154003151948.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, of course it is possible, straightforward in fact. Just (1) install a Seam-managed session in components.xml (2) inject it using @In(create=true) mySessionComponentName View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961267#3961267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961267 From do-not-reply at jboss.com Thu Jul 27 08:27:29 2006 From: do-not-reply at jboss.com (Ajaleo) Date: Thu, 27 Jul 2006 08:27:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Compound primary key with cmr Message-ID: <23846393.1154003249536.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all! I'd like to know how I can create a entity with has a compound primary key which fields that are cmrs too. I've been googling and searching this forum but I haven't found how. I've create the Entity with the X cmrs and an @Id public Long id and a SessionBean to ensure that there isn't other entity with the same fields but I'm looking for this checking being performed automatically. I've used Dali and Netbeans to get the Entity from the database but it doesn't deploy. I've create the Entity bean with the three cmrs and the three ids (all of the related entities have one Id field) but the queries hibernate create include the fields duplicated (one for cmr, one for cmp) Could you give me any information? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961269#3961269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961269 From do-not-reply at jboss.com Thu Jul 27 08:27:49 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 08:27:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <4972398.1154003269389.JavaMail.jboss@colo-br-02.atl.jboss.com> With the same setup I can send/receive a 50MB message in about 2 seconds. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961270#3961270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961270 From do-not-reply at jboss.com Thu Jul 27 08:28:10 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 27 Jul 2006 08:28:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: changing the default page Message-ID: <20128603.1154003290795.JavaMail.jboss@colo-br-02.atl.jboss.com> The way it was done in the demo server, was to go in to the portal sar and edit the default-object.xml, changing default to Home. However, this was done with a clean DB. The reason the CMS breaks, is because the CMS is looking for default.default.CMSPortletWindow, as you can see here: http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/cmsPortlet.html#d0e3749 default.default.CMSPortletWindow | Change that to: default.Home.CMSPortletWindow | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961271#3961271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961271 From do-not-reply at jboss.com Thu Jul 27 08:31:01 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 27 Jul 2006 08:31:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Hiding a portlet Message-ID: <32547165.1154003461066.JavaMail.jboss@colo-br-02.atl.jboss.com> You can't have this sort of behaviour from within the portlet, as the portal will have already called it and its render, decorated it, and aggregated it on to the page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961273#3961273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961273 From do-not-reply at jboss.com Thu Jul 27 08:32:55 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 27 Jul 2006 08:32:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: jar in .sar lib : bug or normal behavior ? Message-ID: <8140900.1154003575729.JavaMail.jboss@colo-br-02.atl.jboss.com> Create a separate sar for your stuff. Make sure the portal sar deploys first. The old IPC sar sample used to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961274#3961274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961274 From do-not-reply at jboss.com Thu Jul 27 08:34:29 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 27 Jul 2006 08:34:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <12169980.1154003669792.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes ... but which sessionFactoryJndiName do I have to use in components.xml? Where do I have to configure the "counterpart" (since, of course, I don't have a hibernate.cfg.xml file)? Perhaps ... I'll try leaving out the sessionFactoryJndiName property ... maybe there is an automatic default? Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961275#3961275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961275 From do-not-reply at jboss.com Thu Jul 27 08:36:03 2006 From: do-not-reply at jboss.com (raghum) Date: Thu, 27 Jul 2006 08:36:03 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <18010606.1154003763811.JavaMail.jboss@colo-br-02.atl.jboss.com> I am still having the same problem - the JMS server running out of memory when configured with the mySQL database (4.1.20) too. The behaviour of the program in brief: * the program is time limited - terminates after a time period. So, when the program terminates, there are still lots of unconsumed messages in the topic. But the messages are marked as NON_PERSISTENT while sending; Also before terminating the program, all the connections, subscriptions (producer, consumer) and sessions are closed. Messages can be still be found in the database after the program has terminated. * If the same program is run twice over, the JMS server complains of out-of-memory errors. The JVM heap size is 1GB but it should not matter as whatever be the heap size, the problem is bound to occur later. Any work arounds? Thanks Raghu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961276#3961276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961276 From do-not-reply at jboss.com Thu Jul 27 08:39:46 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 27 Jul 2006 08:39:46 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM installation Message-ID: <28279209.1154003986437.JavaMail.jboss@colo-br-02.atl.jboss.com> It is in the user guide, section 11.3 Also, look at the test cases in the jBPM source code (TaskAssignmentTest). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961278#3961278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961278 From do-not-reply at jboss.com Thu Jul 27 08:41:33 2006 From: do-not-reply at jboss.com (vrthikkireddy) Date: Thu, 27 Jul 2006 08:41:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: changing the default page Message-ID: <20442535.1154004093262.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, thank you very much roy. thanks for ur reply venkat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961279#3961279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961279 From do-not-reply at jboss.com Thu Jul 27 08:42:37 2006 From: do-not-reply at jboss.com (bfo81) Date: Thu, 27 Jul 2006 08:42:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Stateless Converter: First works, then ClassNotFoundExce Message-ID: <23485814.1154004157679.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, after trying out a lot I'd say that Stateless and Stateful Session Beans just don't work as Converters. Don't ask me why... But I made the JavaBean (posted above) work by adding Serializable... DOH!!! In fact, what makes me wonder: JSF ALWAYS recreates the Converter (I found this out by logging the converter's hashcode, and it's always a new one). Maybe that's why EJBs didn't work, because JSf wanted to invoke the constructor of the interface (PersonConverter), not of the class (PersonConverterBean). But then it'd be very weird that the Converters need to be Serializable. Why serializing when omitting deserialization and constructing instead? After all this I'm 20 years older, very confused, but happy that it finally works ;). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961280#3961280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961280 From do-not-reply at jboss.com Thu Jul 27 08:48:03 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 08:48:03 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <10957842.1154004483445.JavaMail.jboss@colo-br-02.atl.jboss.com> It doesn't matter if the messages are non persistent. The messages will last as long as the topic consumer. If the topic consumer lasts 100 years, the messages will last 100 years. Regarding the out of memory error, please casn youi replicate this in a test case and send to me and I will investigate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961282#3961282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961282 From do-not-reply at jboss.com Thu Jul 27 08:50:34 2006 From: do-not-reply at jboss.com (poupou) Date: Thu, 27 Jul 2006 08:50:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Override Primary Key Mapping Message-ID: <18671002.1154004634065.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to override the primary key mapping in subclasses. The problem is that the table created for the subclass keeps both two columns: the primary key of the superclass and the overriden mapping. Here is the code: @Entity @Inheritance(strategy=InheritanceType.TABLE_PER_CLASS) public abstract class MyAbstractSuper { private Long id_MyAbstractSuper; @Id public Long getId_MyAbstractSuper() { return id_MyAbstractSuper; } public void setId_MyAbstractSuper(Long id_MyAbstractSuper) { this.id_MyAbstractSuper = id_MyAbstractSuper; } } @Entity @Table(name="MySubClass") @AttributeOverride(name="id_MyAbstractSuper",column=@Column(name="id_MySubClass")) public class MySubClass extends MyAbstractSuperclass { @Override public Long getId_MyAbstractSuperclass(){ return super.getId_MyAbstractSuperclass(); } } I read that there was a bug with javassist and tried to replace it with cglib but the problem still remains. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961283#3961283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961283 From do-not-reply at jboss.com Thu Jul 27 08:52:08 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 08:52:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <15750345.1154004728327.JavaMail.jboss@colo-br-02.atl.jboss.com> You _will_ need a hibernate.cfg.xml, of course! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961284#3961284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961284 From do-not-reply at jboss.com Thu Jul 27 09:05:11 2006 From: do-not-reply at jboss.com (dv_lakshmi) Date: Thu, 27 Jul 2006 09:05:11 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Configure DeadLetter Queue Message-ID: <25401036.1154005512005.JavaMail.jboss@colo-br-02.atl.jboss.com> Where can I find instructions to configure a queue other than the default queue,"DLQ", as the "dead letter queue" ? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961288#3961288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961288 From do-not-reply at jboss.com Thu Jul 27 09:06:07 2006 From: do-not-reply at jboss.com (kerekesb) Date: Thu, 27 Jul 2006 09:06:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Portal test with Grinder Message-ID: <17332457.1154005567694.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone tested the portal with Grinder, or any other load testing framework? And any experience JBoss Profiler to test Portal? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961289#3961289 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961289 From do-not-reply at jboss.com Thu Jul 27 09:08:11 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 09:08:11 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Configure DeadLetter Queue Message-ID: <30030773.1154005691232.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=85613 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961290#3961290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961290 From do-not-reply at jboss.com Thu Jul 27 09:21:13 2006 From: do-not-reply at jboss.com (dv_lakshmi) Date: Thu, 27 Jul 2006 09:21:13 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Configure DeadLetter Queue Message-ID: <11409607.1154006473476.JavaMail.jboss@colo-br-02.atl.jboss.com> How can I configure a queue other than DLQ to be my dead letter queue ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961291#3961291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961291 From do-not-reply at jboss.com Thu Jul 27 09:23:18 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Thu, 27 Jul 2006 09:23:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <29069979.1154006598245.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin king" wrote : You _will_ need a hibernate.cfg.xml, of course! Will I? But ... until now, I never needed one. persistence.xml was all I had. Ok, when I create one, will I only have to put this session-factory entry into it? Or will I have to move configuration parameters from persistence.xml into hibernate.cfg.xml? persistence.xml: | | | | | java:/LeistungserfassungDS | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961292#3961292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961292 From do-not-reply at jboss.com Thu Jul 27 09:25:00 2006 From: do-not-reply at jboss.com (rwd1971) Date: Thu, 27 Jul 2006 09:25:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Get Request size setting Message-ID: <18709257.1154006700345.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting a... Exception: Software caused connection abort: recv failed java.net.SocketException: Software caused connection abort: recv failed when trying to send a large xml string through a get request. Does anyone know where I can make the change in JBoss to accept 1MB get requests. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961293#3961293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961293 From do-not-reply at jboss.com Thu Jul 27 09:29:34 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 09:29:34 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Configure DeadLetter Queue Message-ID: <3167081.1154006975010.JavaMail.jboss@colo-br-02.atl.jboss.com> You can change it in %JBOSS_HOME%/server/default/conf/standardjboss.xml file. The configuration is as follows: | queue/DLQ | 10 | 0 | You can change to point to your own queue: | queue/myQ | 10 | 0 | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961294#3961294 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961294 From do-not-reply at jboss.com Thu Jul 27 09:38:11 2006 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Thu, 27 Jul 2006 09:38:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - 1.0.2: Exception when client receives a JavaBean Message-ID: <5255192.1154007491398.JavaMail.jboss@colo-br-02.atl.jboss.com> Using the new version 1.0.2 on the client side I get the following exception when the JBoss server transmits a JavaBean. Any hint is appreciated! 2006-07-27 15:21:09,668 DEBUG org.jboss.ws.soap.SOAPContentElement - setXMLFragment: privat1Alpha0Adrian | 2006-07-27 15:21:09,668 DEBUG org.jboss.ws.soap.SOAPContentElement - getObjectValue [xmlType={http://de.hska.ws/jaws}KundeData,javaType=class de.hska.ws.KundeData] | 2006-07-27 15:21:09,678 ERROR org.jboss.ws.jaxrpc.CallImpl - Call invocation failed with unkown Exception | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element {http://de.hska.ws/jaws}art is not allowed in this position in the sequence. The next element should be art | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:292) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182) | at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | at $Proxy2.findKunde(Unknown Source) | at de.hska.test.WebServicesTest.testFindKunde(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:585) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | 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:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) | Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element {http://de.hska.ws/jaws}art is not allowed in this position in the sequence. The next element should be art | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:229) | ... 23 more | Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element {http://de.hska.ws/jaws}art is not allowed in this position in the sequence. The next element should be art | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67) | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | ... 24 more | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Requested element {http://de.hska.ws/jaws}art is not allowed in this position in the sequence. The next element should be art | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126) | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63) | ... 25 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Requested element {http://de.hska.ws/jaws}art is not allowed in this position in the sequence. The next element should be art | at org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding$1.startElement(SequenceBinding.java:214) | at org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding$Cursor.startElement(ModelGroupBinding.java:152) | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:195) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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:152) | ... 27 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961295#3961295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961295 From do-not-reply at jboss.com Thu Jul 27 09:38:30 2006 From: do-not-reply at jboss.com (dv_lakshmi) Date: Thu, 27 Jul 2006 09:38:30 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Re: Configure DeadLetter Queue Message-ID: <31860367.1154007510032.JavaMail.jboss@colo-br-02.atl.jboss.com> thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961296#3961296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961296 From do-not-reply at jboss.com Thu Jul 27 09:45:08 2006 From: do-not-reply at jboss.com (gburcher) Date: Thu, 27 Jul 2006 09:45:08 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Explicit document source root using context/docbase Message-ID: <3184822.1154007908661.JavaMail.jboss@colo-br-02.atl.jboss.com> Using jboss v4.0.4, I am unable to set the document source root for my web-app to an explicitly defined directory outside of the deploy directory. I have seen older posts from 2004 or earlier that tell how to use context/docbase setting in various files. The old suggestions are to put a context element: under the element in one of several config files. I have tried those methods under v4.0.4 and cannot make it work. Can someone detail how to redirect the document source root directory for a deployed web app? I would put my entire directory of .jsp, .html, images, etc. files in this location. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961297#3961297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961297 From do-not-reply at jboss.com Thu Jul 27 09:47:21 2006 From: do-not-reply at jboss.com (gburcher) Date: Thu, 27 Jul 2006 09:47:21 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <12576269.1154008041938.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, forgot to disable HTML and my XML example was eaten. Here it is: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961298#3961298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961298 From do-not-reply at jboss.com Thu Jul 27 09:47:49 2006 From: do-not-reply at jboss.com (gburcher) Date: Thu, 27 Jul 2006 09:47:49 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <9301098.1154008069299.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, not sure how to get XML to show in these forums. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961299#3961299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961299 From do-not-reply at jboss.com Thu Jul 27 09:55:29 2006 From: do-not-reply at jboss.com (ONIT) Date: Thu, 27 Jul 2006 09:55:29 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <19360195.1154008529351.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Tim, Thanks for the quick response. Your results sound very encouageing. I didn't bother you with the details since I thought you would experience the same problem. I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR3 Windows XP Professional Everything is on one JBoss server. I have an EJB that is virtually identical to the messaging stateless EJB in the examples that come with JBoss Messaging. The EJB has a sendRequest method that puts a TextMessage in a queue named requestQueue and a getResponse method that retrieves TextMessages from a queue named responseQueue. A MDB is listening on the requestQueue queue. It processes the request and puts the results into a TextMessage and sends it to the responseQueue queue. The EJB then retrieves the TextMessage from the responseQueue. My queues are configured in the destinations-service.xml as follows: jboss.messaging:service=ServerPeer 750000 20000 20000 jboss.messaging:service=ServerPeer 750000 20000 20000 The server log is: 09:24:35,828 INFO [Queue] Queue[/queue/requestQueue] started, fullSize=750000, pageSize=20000, downCacheSize=20000 09:24:35,828 INFO [Queue] Queue[/queue/responseQueue] started, fullSize=750000, pageSize=20000, downCacheSize=20000 I am running the application in debug mode in Eclipse. I am using a memory monitor in Eclipse to track memory usage. The program uses about 80M of memory. When I process the first large string (about 380k), memory climbs to about 150M and I start getting these messages in the server log: 09:42:56,343 WARN [SimpleMemoryManager] Less than 25% of total available memory free The next time I process the same request memory grows to about 360M and I get more of the above messages. The more requests I send (one at a time) the more the memory grows. Response times are about 30 to 35 seconds. Any clue? Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961300#3961300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961300 From do-not-reply at jboss.com Thu Jul 27 10:03:47 2006 From: do-not-reply at jboss.com (gus888) Date: Thu, 27 Jul 2006 10:03:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Session bean inheritance Message-ID: <22376348.1154009027750.JavaMail.jboss@colo-br-02.atl.jboss.com> BFO81, thank you so much for the excellent detailed explanation. Gavin, thank you so much for your OFFICIAL confirmation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961301#3961301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961301 From do-not-reply at jboss.com Thu Jul 27 10:03:55 2006 From: do-not-reply at jboss.com (lking28) Date: Thu, 27 Jul 2006 10:03:55 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WS4EE documentation??? Message-ID: <24600376.1154009035151.JavaMail.jboss@colo-br-02.atl.jboss.com> Where can i find WS4EE documetation. I'm looking for an explanation of how to enable session management. So far, all links i've found only discuss 'stateless' web services. Thanks, Leon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961302#3961302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961302 From do-not-reply at jboss.com Thu Jul 27 10:09:15 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 10:09:15 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <28716698.1154009355867.JavaMail.jboss@colo-br-02.atl.jboss.com> Forget eclipse. Just start a jboss 4.0.4 installation with jboss messaging from the command line, then write a very simple jms application that just sends a and receives a big message, run it from the command line and tell me what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961303#3961303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961303 From do-not-reply at jboss.com Thu Jul 27 10:17:55 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Jul 2006 10:17:55 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: Help in executing Hello World BPEL example Message-ID: <10581912.1154009875755.JavaMail.jboss@colo-br-02.atl.jboss.com> Prior releases of the JDK can be downloaded from http://java.sun.com/products/archive/. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961305#3961305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961305 From do-not-reply at jboss.com Thu Jul 27 10:19:44 2006 From: do-not-reply at jboss.com (kryptontri) Date: Thu, 27 Jul 2006 10:19:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Outjection of previous value: selectOneMenu : One 2 Many Message-ID: <12911740.1154009984394.JavaMail.jboss@colo-br-02.atl.jboss.com> anyone ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961306#3961306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961306 From do-not-reply at jboss.com Thu Jul 27 10:30:36 2006 From: do-not-reply at jboss.com (petekol) Date: Thu, 27 Jul 2006 10:30:36 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: nested conversation kills its parent if id is specified Message-ID: <23162547.1154010636604.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry that i am a bit noisy here -) how can a button/link end a nested conversation (by execution of a method with @end) and then execute some method (refresh) in parent conversation in elegant way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961307#3961307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961307 From do-not-reply at jboss.com Thu Jul 27 10:30:58 2006 From: do-not-reply at jboss.com (chiragrpatel) Date: Thu, 27 Jul 2006 10:30:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: MDB deployment problem Message-ID: <7360795.1154010658495.JavaMail.jboss@colo-br-02.atl.jboss.com> I had this same problem. I fixed it by adding the name attribute to the @MessageDriven annotation e.g. @MessageDriven(name="testMDB", activationConfig = { @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "replication-in" ) }) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961308#3961308 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961308 From do-not-reply at jboss.com Thu Jul 27 10:39:34 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 10:39:34 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <19569109.1154011174954.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Ok, not sure how to get XML to show in these forums. While posting, wrap the xml contents in code tags, using the 'Code' button View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961309#3961309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961309 From do-not-reply at jboss.com Thu Jul 27 10:40:10 2006 From: do-not-reply at jboss.com (gburcher) Date: Thu, 27 Jul 2006 10:40:10 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <18796438.1154011210876.JavaMail.jboss@colo-br-02.atl.jboss.com> One more post, forgot to mention the web-app is deployed under the embedded Tomcat service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961310#3961310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961310 From do-not-reply at jboss.com Thu Jul 27 10:41:32 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 10:41:32 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <27864459.1154011292767.JavaMail.jboss@colo-br-02.atl.jboss.com> And also, use the Preview button if you are not sure how the content is going to show up :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961312#3961312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961312 From do-not-reply at jboss.com Thu Jul 27 10:43:55 2006 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 27 Jul 2006 10:43:55 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <6736874.1154011435141.JavaMail.jboss@colo-br-02.atl.jboss.com> Does this help: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961313#3961313 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961313 From do-not-reply at jboss.com Thu Jul 27 10:48:40 2006 From: do-not-reply at jboss.com (bdaniliuc) Date: Thu, 27 Jul 2006 10:48:40 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Custom principal in Web application Message-ID: <21619458.1154011720595.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, We have an application that needs a custom principal in both the web and the ejb3 component of the application. The application is configured to use CLIENT-CERT. We defined a custom principal as specified at http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingCustomPrincpalsWith The principal is correctly created by the login module, however, when calling request.getUserPrincipal() the returned object is instance of org.jboss.security.SimplePrincipal. From our investigations it appears that the realm defined by the embedded Tomcat forces a SimplePrincipal. Is this a bug or a limitation? As reference, we are using JBoss 4.0.4 GA. Bogdan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961314#3961314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961314 From do-not-reply at jboss.com Thu Jul 27 10:50:41 2006 From: do-not-reply at jboss.com (gburcher) Date: Thu, 27 Jul 2006 10:50:41 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Explicit document source root using context/docbase Message-ID: <31563770.1154011841669.JavaMail.jboss@colo-br-02.atl.jboss.com> "jaikiran" wrote : Does this help: | | http://wiki.jboss.org/wiki/Wiki.jsp?page=ExternalDirectories | | I had already seen this wiki entry. This is old and relates to jboss v3.2.3. In my v4.0.4 install, the \META_INF\jboss-service.xml file does not contain an entry for or any of the elements contained within. This sort of config now appears to be in the server.xml file located in the jbossweb-tomcat55.sar directory. I tried adding the info in that file, but that did not seem to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961315#3961315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961315 From do-not-reply at jboss.com Thu Jul 27 10:52:43 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 27 Jul 2006 10:52:43 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: RMI Clustering using JGroups Message-ID: <15088694.1154011963510.JavaMail.jboss@colo-br-02.atl.jboss.com> How on earth do you expect someone to help you debug a stacktrace that contains nothing but your classes and java system classes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961316#3961316 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961316 From do-not-reply at jboss.com Thu Jul 27 10:55:41 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 27 Jul 2006 10:55:41 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: How to define JNDI name for EJB3 singleton mbean accessi Message-ID: <5959458.1154012141719.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm sorry, I don't quite understand your question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961317#3961317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961317 From do-not-reply at jboss.com Thu Jul 27 11:05:17 2006 From: do-not-reply at jboss.com (dsmiley) Date: Thu, 27 Jul 2006 11:05:17 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Securing / Blocking JNDI from TCP/IP access Message-ID: <29106069.1154012717506.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi. I'm using JBoss with a webapp and a datasource in JNDI. I would like to configure JNDI to not expose itself to TCP/IP whatsoever. I have no need for JNDI other than within-VM purposes. I've looked at this already: http://wiki.jboss.org/wiki/Wiki.jsp?page=XMBeansforSecurity and It's nice to know I could secure JNDI, but I'd like to leave JNDI unexposed to the network in the first place. I know firewalls can help but, again, I don't even want JNDI messing with TCP/IP to do its job. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961319#3961319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961319 From do-not-reply at jboss.com Thu Jul 27 11:22:36 2006 From: do-not-reply at jboss.com (mike.daleiden) Date: Thu, 27 Jul 2006 11:22:36 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Data file synchronization Message-ID: <6552637.1154013756473.JavaMail.jboss@colo-br-02.atl.jboss.com> If the farm service is not meant for file distribution, is there some other mechanism in JBoss that can be used for this type of service? The reason I ask is that we have a situation that is similar to what andystoy described, where we have some common configuration files that we need to automatically distribute to all servers in the cluster. The main file we want to synchronize between servers is our log4j.xml file, so that all servers have the same logging configuration. All of our other software components are deployable units and we are using farming to do distributed deployment of these components, so that we do not have to manually distribute to each node in the cluster. We would like to have some mechanism to distribute the configuration files (e.g., log4j.xml) from a "master" node to all of the other nodes in the cluster, so that we do not have to copy the files to each server manually (which will not be practical, once we go to a geographically separated environment later this year). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961321#3961321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961321 From do-not-reply at jboss.com Thu Jul 27 11:29:38 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Thu, 27 Jul 2006 11:29:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4 Message-ID: <27454197.1154014178369.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes !!!! interested too... for both when or details about the roadmap for this nice feature. and some other way to do it (even if I would rather rely on IPC....) jewhit : I've heard some portal uses the database to store the session information, and by the way make some portlet communication. they did this way because there was no IPC at all. building and using a jboss service seems a better way. using the IPC seem the best way, may be with some carefull programming not to be tightly linked to it. Just in case it may not be stable before a few next versions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961323#3961323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961323 From do-not-reply at jboss.com Thu Jul 27 11:48:08 2006 From: do-not-reply at jboss.com (chane) Date: Thu, 27 Jul 2006 11:48:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Redirect Message-ID: <5899627.1154015288413.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin/CptnKirk Thanks...for some reason I could not get @Redirect to work last night. Now that I've sleep, it works like a charm this morning. But at least I learned more about the internals of Seam... Have a good day, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961325#3961325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961325 From do-not-reply at jboss.com Thu Jul 27 11:49:00 2006 From: do-not-reply at jboss.com (matt10) Date: Thu, 27 Jul 2006 11:49:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @Service bug Message-ID: <28239375.1154015340992.JavaMail.jboss@colo-br-02.atl.jboss.com> I have this same problem and it's frustrating. On redeploy of a @Service mbean, I get: javax.ejb.EJBAccessException: Authentication failure at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.handleGeneralSecurityException(Ejb3AuthenticationInterceptor.java:68) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:71) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:199) at org.jboss.ejb3.service.ServiceContainer.localInvoke(ServiceContainer.java:167) at org.jboss.ejb3.service.ServiceMBeanDelegate.invoke(ServiceMBeanDelegate.java:168) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) at $Proxy0.stop(Unknown Source) at org.jboss.system.ServiceController.stop(ServiceController.java:508) at sun.reflect.GeneratedMethodAccessor66.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) ... This is since I started to use a SecurityDomain on some other EJB3 beans. I get this error whether or not on the @Service bean I declare @SecurityDomain, @PermitAll on methods, no security annotation at all, etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961326#3961326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961326 From do-not-reply at jboss.com Thu Jul 27 11:50:19 2006 From: do-not-reply at jboss.com (mosk) Date: Thu, 27 Jul 2006 11:50:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not restore ejb timers exception occured to JBossD Message-ID: <20235596.1154015419200.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I have the same one. Anybody solve this problem ? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961327#3961327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961327 From do-not-reply at jboss.com Thu Jul 27 11:51:28 2006 From: do-not-reply at jboss.com (jc7442) Date: Thu, 27 Jul 2006 11:51:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Embeddable EJB3 with Maven2? Message-ID: <11263796.1154015488411.JavaMail.jboss@colo-br-02.atl.jboss.com> Right it should works ! Another great features for EJB3StandaloneBootstrap class will be to have a method: EJB3StandaloneBootstrap.scanClasspath(URL[] urls) where url is a list of url to deploy (in replacement of using the system property). That's short to implement but as all methods in the class are static and attributes private static, it is difficult to patch EJB3StandaloneBootstrap to test that features ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961328#3961328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961328 From do-not-reply at jboss.com Thu Jul 27 11:51:46 2006 From: do-not-reply at jboss.com (jewhit) Date: Thu, 27 Jul 2006 11:51:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4 Message-ID: <21488984.1154015506573.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been contemplating trying to build a "cheap mans" mechanism to handle interportlet communications via JMS or even jBoss messaging. in theory it might work, but i want to get my ducks in a row and throw the process / concept at Roy, et al. w/jboss as these guys know the guts of portal better than i. there might be even more signalling capability, etc... if using ejb3, but i havent jumped into that yet... only so many hours in a man hour. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961330#3961330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961330 From do-not-reply at jboss.com Thu Jul 27 11:55:14 2006 From: do-not-reply at jboss.com (jewhit) Date: Thu, 27 Jul 2006 11:55:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4 Message-ID: <17067951.1154015714374.JavaMail.jboss@colo-br-02.atl.jboss.com> oops... i mean only so many hours in a man day. :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961331#3961331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961331 From do-not-reply at jboss.com Thu Jul 27 11:55:19 2006 From: do-not-reply at jboss.com (goose-dog) Date: Thu, 27 Jul 2006 11:55:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.0.4 startup hangs at ejb3-interceptors-aop.xml Message-ID: <24580110.1154015719122.JavaMail.jboss@colo-br-02.atl.jboss.com> I didn't find out the root reason, but my server has a USB external HD, and if the drive is unmount, it have no problem starting up the server. If it is mounted, the server will only start once. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961332#3961332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961332 From do-not-reply at jboss.com Thu Jul 27 11:56:31 2006 From: do-not-reply at jboss.com (garyng) Date: Thu, 27 Jul 2006 11:56:31 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Web client for WS Secure web service: how to? Message-ID: <4446123.1154015791112.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a simple web service created, and an equally simple web-based (servlet) client. Both are deployed to the same JBoss instance. Everything works, but now I'd like to enable encryption. >From reading through the docs and the forum posts, I've managed to get the service to expect a secured message. So, now, when I try to connect to the service from my client, I get back the expected message: javax.xml.rpc.soap.SOAPFaultException: This service requires , which is missing. This is fine. So now the question is this: how do I enable security in my web client? I understand that jboss-wsse-client.xml is required on the client side - but this XML file does not specify the location of the key or trust. The docs say this: "We did not specify a key store or trust store, because client apps instead use the wsse System properties instead. If this was a web or ejb client (meaning a webservice client in a war or ejb jar file), then we would have specified them in the client descriptor." Can anyone clarify this? Has anyone figured out how to specify these settings in a client descriptor? For that matter, has anyone actually managed to get an encrypted web service message working with anything except a stand-alone client? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961333#3961333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961333 From do-not-reply at jboss.com Thu Jul 27 11:56:53 2006 From: do-not-reply at jboss.com (kristof_taveirne) Date: Thu, 27 Jul 2006 11:56:53 -0400 (EDT) Subject: [jboss-user] [JBossWS] - @WebMethod @WebParam: no effect on generated wsdl. Message-ID: <27850984.1154015813683.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to shape my wsdl to a pre defined contract starting from a SEI using wstools. I'm having some problems using the @WebMethod(operationName=...) and WebParam(name=...) annotation. They seem to have no effect on the wsdl at all. Any ideas why this is? I'm using jbossws 1.0.2GA. Thanks alot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961334#3961334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961334 From do-not-reply at jboss.com Thu Jul 27 11:57:26 2006 From: do-not-reply at jboss.com (ONIT) Date: Thu, 27 Jul 2006 11:57:26 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <2430626.1154015846249.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Tim, Could you send me the code you are using for testing? Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961335#3961335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961335 From do-not-reply at jboss.com Thu Jul 27 12:03:07 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 12:03:07 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane in a portlet Message-ID: <25542906.1154016187825.JavaMail.jboss@colo-br-02.atl.jboss.com> why do you think it is due to the swimlane? The 'trigger' myight be the use of a swimlane, but that could cause an xml thing to be used (permgen errors are afaik in a lot of cases caused by using a lot of small java objects, like xml has). Maybe you do something special in the swimlane? Still then we have no way of finding that out, unless you profile theserver. Regarding the parameters... use google..... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961336#3961336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961336 From do-not-reply at jboss.com Thu Jul 27 12:05:44 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 12:05:44 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: out of mmory error Message-ID: <16053962.1154016344186.JavaMail.jboss@colo-br-02.atl.jboss.com> timers: I do not know. If it is in the source code, it is configurable ;-) The docs say nothing about this, so search the source. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961337#3961337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961337 From do-not-reply at jboss.com Thu Jul 27 12:06:27 2006 From: do-not-reply at jboss.com (KickMeToAndy) Date: Thu, 27 Jul 2006 12:06:27 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - TransactionManager not bound Message-ID: <16650465.1154016387593.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, when i try to access a jboss (3.2.7) cluster with my ejb client i am getting the following warning : | 20060727-134606.965 WARN [DefaultPartition] [MessageDispatcher up processing thread] [] javax.naming.NameNotFoundException: TransactionManager not bound is this something serious, or can i ignore the message ? The task that i wanted to executed was executed successful. The message shows up only, if i am running against a jboss cluster, if i am running agains a single jboss, i do not get this warning. Another issue i have is that i am getting this ctx lock warning. 20060727-134611.685 WARN [AbstractInstanceCache] [RMI TCP Connection(10863)-16.30.58.178] [] Unable to passivate due to ctx lock, id=1253557886 however i do only get those if i am running my ejb client against a cluster (surprise!), i do not get these warnings, when i run the client against a single jboss server. any ideas, comments. thanks in advance, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961338#3961338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961338 From do-not-reply at jboss.com Thu Jul 27 12:07:14 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 12:07:14 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <15269249.1154016434248.JavaMail.jboss@colo-br-02.atl.jboss.com> | Connection conn = cf.createConnection(); | | conn.start(); | | Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); | | MessageProducer prod = sess.createProducer(queue); | | prod.setDeliveryMode(DeliveryMode.NON_PERSISTENT); | | StringBuffer sb = new StringBuffer(); | for (int i = 0; i < 50 * 1024 * 1024; i++) | { | sb.append("X"); | } | String s = sb.toString(); | | TextMessage tm1 = sess.createTextMessage(s); | | long start = System.currentTimeMillis(); | log.info("Sending message"); | prod.send(tm1); | log.info("Sent message"); | long end = System.currentTimeMillis(); | | log.info("Send took " + (end-start) + " ms"); | | MessageConsumer cons = sess.createConsumer(queue); | | start = System.currentTimeMillis(); | log.info("Receiving message"); | TextMessage tm2 = (TextMessage)cons.receive(1000); | log.info("Received message"); | end = System.currentTimeMillis(); | | log.info("Receive took " + (end-start) + " ms"); | | assertEquals(tm1.getText(), tm2.getText()); | | conn.close(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961339#3961339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961339 From do-not-reply at jboss.com Thu Jul 27 12:22:25 2006 From: do-not-reply at jboss.com (kosmi) Date: Thu, 27 Jul 2006 12:22:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Logout: Invalidate Session and resetting Principal Message-ID: <4599824.1154017345119.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i'm trying to perform a logout, I tried to logout via: JBossActionResponse actionResponse = (JBossActionResponse) response; actionResponse.signOut(); request.getPortletSession().invalidate(); in a processAction() method. I also tried to invalidate the httpSession in a customValve. The java:jaas/portal attribute is set in jboss-web.xml. The forum and the wiki doesn't helped so far.. Can anybody help? Thanks in advance, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961342#3961342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961342 From do-not-reply at jboss.com Thu Jul 27 12:27:45 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Thu, 27 Jul 2006 12:27:45 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Logout: Invalidate Session and resetting Principal Message-ID: <2856288.1154017665918.JavaMail.jboss@colo-br-02.atl.jboss.com> Try- actionResponse.setWantSignOut(true) Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961345#3961345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961345 From do-not-reply at jboss.com Thu Jul 27 12:31:21 2006 From: do-not-reply at jboss.com (dlipski) Date: Thu, 27 Jul 2006 12:31:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <20956811.1154017881919.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : use an actionhandler that can work with a xml structure But all i found is that action handlers can be used to parametrize actions, not other types such as task's.I know i can do something like this: | | Atlanta | 5 | | But is it possible to assign ActionHandler to Task ? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961347#3961347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961347 From do-not-reply at jboss.com Thu Jul 27 12:33:40 2006 From: do-not-reply at jboss.com (chane) Date: Thu, 27 Jul 2006 12:33:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <11353142.1154018020302.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : | * deprecation of @Conversational(ifNotBeginOutcome) in favor of no-conversation-view-id I just started to use 1.1 in cvs and I am wondering about the reason for deprecating @Conversational. I don't use pages.xml very much and would prefer to have this functionality on my SFSB rather than in a seperate file. I am all for choices; however, I am just curious about the reason for deprecating a choice. I could be missing the bigger picture with respect to pages.xml; It seems like one more place to remember to look in for how a given component works by being forced to use pages.xml. Thanks, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961348#3961348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961348 From do-not-reply at jboss.com Thu Jul 27 12:34:35 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Thu, 27 Jul 2006 12:34:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <12408414.1154018075015.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't think my problem is database related. Arno, did you see if the next value of your postgres sequence corresponded to the value actually inserted? I launched jboss in debug mode and attached eclipse remotely to it and found the hibernate class which is applying modifications to the value returned from the database sequence. The generated id is being generated by org.hibernate.id.SequenceHiLoGenerator. Here is the method. public synchronized Serializable generate(SessionImplementor session, Object obj) | throws HibernateException { | if (maxLo < 1) { | //keep the behavior consistent even for boundary usages | long val = ( (Number) super.generate(session, obj) ).longValue(); | if (val == 0) val = ( (Number) super.generate(session, obj) ).longValue(); | return IdentifierGeneratorFactory.createNumber( val, returnClass ); | } | if ( lo>maxLo ) { | long hival = ( (Number) super.generate(session, obj) ).longValue(); | lo = (hival == 0) ? 1 : 0; | hi = hival * ( maxLo+1 ); | if ( log.isDebugEnabled() ) | log.debug("new hi value: " + hival); | } | | return IdentifierGeneratorFactory.createNumber( hi + lo++, returnClass ); | } I would like to have the id, generated by org.hibernate.id.SequenceGenerator instead of org.hibernate.id.SequenceHiLoGenerator. Is there a way to specify the class which should be used as the generator? I read some of the comments for both of these generators and it looks like the HiLo version is used for performance. I believe it is able to reserve chunks of sequence numbers at a time. But I was trying to created entity beans for an existing database and still fit the same sequence/id usage pattern of the old code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961349#3961349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961349 From do-not-reply at jboss.com Thu Jul 27 12:40:23 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 27 Jul 2006 12:40:23 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Portal test with Grinder Message-ID: <23037694.1154018423144.JavaMail.jboss@colo-br-02.atl.jboss.com> We have used it internally to profile under high load. We do not publish the stats, as I have a fundamental core belief that publicizing benchmark/load test information is frankly stupid and results in rivers of tears. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961351#3961351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961351 From do-not-reply at jboss.com Thu Jul 27 12:41:30 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Thu, 27 Jul 2006 12:41:30 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: JSF / IPC / Portal 2.4 Message-ID: <27406352.1154018490419.JavaMail.jboss@colo-br-02.atl.jboss.com> I can't give a firm date on IPC in 2.4, but it will be in the Final release. I would stay away from creating more proprietary APIs for IPC, as there will soon be a standard introduced in JSR286. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961352#3961352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961352 From do-not-reply at jboss.com Thu Jul 27 12:57:32 2006 From: do-not-reply at jboss.com (ONIT) Date: Thu, 27 Jul 2006 12:57:32 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Problem with large strings Message-ID: <31063906.1154019452641.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Tim, Stupidity hurts. I am in debug mode and was outputing the 400K string to the console. That is what killed it. Now the messaging takes 16 milliseconds. Sorry about that. Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961353#3961353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961353 From do-not-reply at jboss.com Thu Jul 27 12:58:31 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 27 Jul 2006 12:58:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Outjection of previous value: selectOneMenu : One 2 Many Message-ID: <4434764.1154019511090.JavaMail.jboss@colo-br-02.atl.jboss.com> Your example is just too huge for most ppl on the form to walk through. Try reproducing your problem in a much smaller cut down. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961354#3961354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961354 From do-not-reply at jboss.com Thu Jul 27 13:05:47 2006 From: do-not-reply at jboss.com (kryptontri) Date: Thu, 27 Jul 2006 13:05:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Outjection of previous value: selectOneMenu : One 2 Many Message-ID: <3293895.1154019947833.JavaMail.jboss@colo-br-02.atl.jboss.com> I did partly here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87408 using the messages example. I'm looking at ruby on rails to see if i can get anything done quicker, i'll come back with a cut down version. thanks.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961356#3961356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961356 From do-not-reply at jboss.com Thu Jul 27 13:08:27 2006 From: do-not-reply at jboss.com (jkrupka) Date: Thu, 27 Jul 2006 13:08:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Handling input too large for an integer field using SEAM... Message-ID: <1401903.1154020107763.JavaMail.jboss@colo-br-02.atl.jboss.com> I've started tweaking the seam app generated by the eclipse/hibernate tools, and feeling out how seam/jsf work. I noticed that if you key in a non integer value, or a number higher than (2^31)-1 into the results per page field and try submitting it the form, either to find the results, clear the form, or switch pages, it just reloads the same page. I believe this is because this is due to the failure to convert that value to an int, but no error is being thrown, to the screen or the logs. That field is tied to the pageSize attribute of the session bean. The method that is called when I hit that button is never hit. Granted there is no reason why someone would enter that high of a number, or a non int into a page size field but I've seen people do stupider things. That said, where exactly is the error happening? Is the only solution to treat it as a String variable, and do the conversion and error handling myself? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961357#3961357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961357 From do-not-reply at jboss.com Thu Jul 27 13:08:36 2006 From: do-not-reply at jboss.com (ManyLostPackets) Date: Thu, 27 Jul 2006 13:08:36 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss database issue: connections not releasing Message-ID: <7131777.1154020116437.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not a Java programmer or SQL guy, so forgive my dimness on the subjects. I am network support guy looking at this from the hardware/network side . I have a Windows 2000 server hosting a Jboss portal (jboss-portal). It accesses a database on a Microsoft SQL Cluster. Now and then, the developers complain about a strange database connectivity issue between Jboss and the SQL cluster. The issue being is the connections between the two do not close. The claim is that while they are monitoring the connections open and close between the two, things are fine 90% of the time. But, a point is often reached where the connections remain open and then accumulate, passing the maximum allowed connections, requiring the Jboss server to have its jboss-portal service restarted. This is happening almost daily. >From browsing the JBoss directory, it looks like ?jboss-tomcat-4.0.2?. From a external scan, it shows ?Apache Tomcat/Coyote JSP engine 1.1? Hardware wise, the database is on a SAN. Dozens of other applications have there databases hosted on a SAN without incident, so not sure where to look there unless JBoss has some sensitivities. Another application makes use of the same database without incident (though it is a IIS/ASP app) What could be the cause of this or where could I have a DBA or JBoss developer investigate if it?s an admin/code issue? (e.g. perfmon has lots of DB counters, but I?m not sure what options I would set it too or perhaps better DB drivers on the app. dev. side) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961358#3961358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961358 From do-not-reply at jboss.com Thu Jul 27 13:10:41 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 27 Jul 2006 13:10:41 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <22346114.1154020241625.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a test case at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86726&postdays=0&postorder=asc&start=10#3961165 . It has one nested inside another. The outer one is generated by a @Factory method in a stateful session bean and the inner one by a method in an entity bean. The two kinds of entity beans are related by @ManyToMany. If nobody sees a problem with it then I'll submit it to JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961359#3961359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961359 From do-not-reply at jboss.com Thu Jul 27 13:15:59 2006 From: do-not-reply at jboss.com (DjHitItUp) Date: Thu, 27 Jul 2006 13:15:59 -0400 (EDT) Subject: [jboss-user] [JBossWS] - org.jboss.ws.WSException: Cannot obtain endpoint for (using Message-ID: <27858268.1154020559011.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss 4.0.4 and JBossWS 1.0.2 on an HP-UX system. I am getting an exception on a simple web service. The web service works when JBoss is started but if I redeploy the application or restart JBoss the web service no longer works. Below is the web service code: package com.company.department.ws; import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; @WebService @SOAPBinding(style = SOAPBinding.Style.RPC) public class TestWebService { @WebMethod public String hello(String name) { return "Hello "+name+"!"; } } Below is the web.xml: index.jsp TestWebService com.company.department.ws.TestWebService TestWebService /webservice/TestWebService When JBoss starts it rewrites the web.xml to the below: index.jsp TestWebService org.jboss.ws.integration.jboss.JBossServiceEndpointServlet ServiceEndpointImpl com.company.department.ws.TestWebService DataEnhancement TestWebService /webservice/TestWebService The exception that I am getting after I restart JBoss or redeploy the web app is: 12:11:42,155 ERROR [[TestWebService]] Servlet.service() for servlet TestWebService threw exception org.jboss.ws.WSException: Cannot obtain endpoint for: jboss.ws:context=miande,endpoint=TestWebService at org.jboss.ws.server.StandardEndpointServlet.initServiceEndpoint(StandardEndpointServlet.java:162) at org.jboss.ws.integration.jboss.JBossServiceEndpointServlet.initServiceEndpoint(JBossServiceEndpointServlet.java:49) at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:74) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) The libraries that I have in my ../WEB-INF/lib directory is: ../WEB-INF/lib/jbossws-client.jar Some questions I have is: 1.) Does my application need to reference more JBoss .jar files? Is this why I get the error? 2.) Is this a bug in JBossWS 1.0.2? 3.) Is there a work around? For example, when I resart JBoss or redeploy the application do I need to ALWAYS copy the web.xml.org file over web.xml? 4.) What are my options? Thank you guys for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961362#3961362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961362 From do-not-reply at jboss.com Thu Jul 27 13:30:02 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 13:30:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <15543677.1154021402950.JavaMail.jboss@colo-br-02.atl.jboss.com> Basically it just didn't work very well ;-) The trouble with @Conversational is that lots of methods of the component can get called before an action method. There may not even be an action method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961364#3961364 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961364 From do-not-reply at jboss.com Thu Jul 27 13:31:57 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 13:31:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Handling input too large for an integer field using SEAM Message-ID: <19365169.1154021517263.JavaMail.jboss@colo-br-02.atl.jboss.com> Add a to the pagesize box if you like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961366#3961366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961366 From do-not-reply at jboss.com Thu Jul 27 13:32:20 2006 From: do-not-reply at jboss.com (achesini) Date: Thu, 27 Jul 2006 13:32:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - task question Message-ID: <24531731.1154021540199.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody, i?m new in jbpm world. So if someone could help me , i`ll apreciate it. In our process we use only task, for the only reason that task supports the actorsID. Then the user of the task only send the signal method, to pass the procees to the next state. So we dont have to worried about if we are signaling a task or a sate or another node. So we never use the start and end method, and because of this all our task have the variable isopen=true. that?s all right? Somebody could tell me if we are in a wrong way . Thanxs in advance Alfonsina View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961367#3961367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961367 From do-not-reply at jboss.com Thu Jul 27 13:33:51 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Thu, 27 Jul 2006 13:33:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Custom principal in Web application Message-ID: <123759.1154021632005.JavaMail.jboss@colo-br-02.atl.jboss.com> Bogdan, Please give details about which login modules you are using. If you are using a custom login module, please show how you set your custom principal. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961368#3961368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961368 From do-not-reply at jboss.com Thu Jul 27 13:34:08 2006 From: do-not-reply at jboss.com (asaksena) Date: Thu, 27 Jul 2006 13:34:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <26143936.1154021648331.JavaMail.jboss@colo-br-02.atl.jboss.com> The build note is about the jbpm-bpel.sar If you take a look at the build folder under the jbpm-bpel-1.1-beta root folder immediately after extracting the files from the download, 2 files are extracted: jbpm-bpel.war and jbpm-bpel-1.1-beta.jar First run ant.build.service.404 and the jbpm-bpel.sar built is 1428KB. Then run ant clean Then run ant build.service.404 The new jbpm-bpel.sar file in the build folder is about 1,047 KB and creates deployment errors and the 2 files jbpm-bpel.war and jbpm-bpel-1.1-beta.jar are no longer in the folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961369#3961369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961369 From do-not-reply at jboss.com Thu Jul 27 13:34:28 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 13:34:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <19998063.1154021668623.JavaMail.jboss@colo-br-02.atl.jboss.com> Unless you are sure there is a bug in Seam, and you know the nature of the bug, you should not create any JIRA issues. Nothing in this thread indicates you have found any kind of bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961370#3961370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961370 From do-not-reply at jboss.com Thu Jul 27 13:39:55 2006 From: do-not-reply at jboss.com (jkrupka) Date: Thu, 27 Jul 2006 13:39:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Handling input too large for an integer field using SEAM Message-ID: <16800133.1154021995668.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah! I see how it works, sorry for such a newbie question... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961371#3961371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961371 From do-not-reply at jboss.com Thu Jul 27 13:50:46 2006 From: do-not-reply at jboss.com (winklosky) Date: Thu, 27 Jul 2006 13:50:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: HTTP Status 403 error ocurred when I switch portal authe Message-ID: <33370776.1154022646298.JavaMail.jboss@colo-br-02.atl.jboss.com> I received the same error and to get past it I added one more module option: Authenticated Following the change I was able to log in with a user stored in LDAP and I did not have to create an Authenticated role in my LDAP. However, two portlets on the default page threw exceptions: An internal error occured while rendering window 'default.default.HelloWorldPortletWindow:HelloWorldPortletWindow' java.lang.IllegalArgumentException: No null portlet accepted An internal error occured while rendering window 'default.default.Hello:Hello' java.lang.IllegalArgumentException: No null portlet accepted And one portlet on the Test page failed: Cannot render Object not found PreferencesPortletInstance Downloaded Package (JBoss Portal + JBoss AS 2.4-CR2) Fedora Directory Server Oracle 10.1.0 (portal database) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961375#3961375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961375 From do-not-reply at jboss.com Thu Jul 27 13:52:01 2006 From: do-not-reply at jboss.com (uromahn) Date: Thu, 27 Jul 2006 13:52:01 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Potential Issue with EntityInstancePool Message-ID: <9671377.1154022721099.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Experts! I am running into a weird problem and I think I might have found a bug in JBoss. Some brief background first: I am helping a company to migrate their application from WebLogic to JBoss. This application is a really BIG J2EE1.3 implementation that was running on WebLogic 5.1 and should now be running on JBoss 4.0.2. The application is extensively using EJBs, especially SLSB's and BMP Entity Beans. Synopsis of the observed issue: After some time, the testers of the system observe data integrity issues. For example, when trying to add an new entity the DB complaints that some data already exists, although the entity attributes should still be emtpy, except for the ID! To make it clear: it does not complain that the ID is duplicate, but that some related unique data that is stored in one of the entity attribute already exists, although it should be empty! After some more investigation, it appears that JBoss seems to re-use some entity from the pool but still having some data in its property. We could show that this must be somehow related to the EntityInstancePool, since at first in standarjboss.xml we had the default setting in the BMP Container configuration: 100 After changing this setting to '30' we observed the same issue much earlier. After that, we turned on TRACE logging for the system and ejb packages to see what is really going on. The issue seems to be related with one particular Entity Bean. Just before the faulty transaction, I noticed the following line in the log: 2006-07-26 14:23:10,858 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.plugins.EntityInstancePool at e9b75e#29#class . So, it appears to me that the instance pool had 29 elements and the error starts to occur the next time a new instance of that pool gets created, i.e. we should have now 'Maximum Size" elements in the pool! However, when looking at the trace log before, I saw a couple of the following messages: 2006-07-26 14:12:45,194 TRACE [org.jboss.ejb.plugins.EntityInstancePool] 0/100 Free instance:org.jboss.ejb.plugins.EntityInstancePool at e9b75e#10143996#null#false#class For the "experts" of you, you will see that the second number after the "/" should show the maxSize of the EntityInstancePool! Well, we actually have set it to '30' when running this example! So, I would like to know how exactly the variable maxSize in EntityInstancePool gets set and where the value comes from. I also would like to know how the InstancePool and InstanceCache actually work together. Thanks for any reply! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961376#3961376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961376 From do-not-reply at jboss.com Thu Jul 27 13:56:22 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Thu, 27 Jul 2006 13:56:22 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <2366823.1154022982769.JavaMail.jboss@colo-br-02.atl.jboss.com> I found some documentation showing how to override the generator, by using hibernate specific annotations. @Id | @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="VNDR_ID_SEQ") | @GenericGenerator(name="VNDR_ID_SEQ", strategy="org.hibernate.id.SequenceGenerator", | parameters={ | @Parameter(name="sequence", value="VRAP.VNDR_ID_SEQ") | } | ) | //@SequenceGenerator(name="VNDR_ID_SEQ", sequenceName="VRAP.VNDR_ID_SEQ") | @Column(name="VNDR_ID") | public int getId() { | return id; | } I have these imports for the hibernate annotations. import org.hibernate.annotations.GenericGenerator; | import org.hibernate.annotations.Parameter; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961377#3961377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961377 From do-not-reply at jboss.com Thu Jul 27 13:57:12 2006 From: do-not-reply at jboss.com (dbatcn) Date: Thu, 27 Jul 2006 13:57:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <11724858.1154023032447.JavaMail.jboss@colo-br-02.atl.jboss.com> In the other topic I wrote: anonymous wrote : When pressing the "rename" buttons, the value that I expect to be injected is not there (the log.error() calls below are triggered). for instance (and yes, sorry for not including it in the previous post): anonymous wrote : 2006-07-27 10:51:56,946 DEBUG [org.jboss.seam.Component] selected row: null | | 2006-07-27 10:51:56,946 DEBUG [org.jboss.seam.Component] instantiating Seam component: interpolator | | 2006-07-27 10:51:56,946 ERROR [com.orgmob.play.FubarManagerBean] FubarManagerBean.commitFoo() called but foo is null! | | ... | 2006-07-27 10:52:00,431 DEBUG [org.jboss.seam.Component] selected row: null | | 2006-07-27 10:52:00,431 DEBUG [org.jboss.seam.Component] instantiating Seam component: interpolator | | 2006-07-27 10:52:00,431 ERROR [com.orgmob.play.FubarManagerBean] FubarManagerBean.commitBar() called but bar is null! | | When I press buttons that were generated using from a @DataModel, org.jboss.seam.Component says that no row was selected and where I expected @DataModelSelection to inject a value, the value is null. I think that is a bug. Am I in error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961378#3961378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961378 From do-not-reply at jboss.com Thu Jul 27 13:59:17 2006 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 27 Jul 2006 13:59:17 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <11346748.1154023157818.JavaMail.jboss@colo-br-02.atl.jboss.com> read the docs.... lots of 'events' including a TASK-CREATE etc...... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961379#3961379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961379 From do-not-reply at jboss.com Thu Jul 27 14:00:09 2006 From: do-not-reply at jboss.com (ONIT) Date: Thu, 27 Jul 2006 14:00:09 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - SimpleMemoryManager Warning Message-ID: <2715549.1154023209145.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi again, The JBoss Messaging system is working great. Performance is outstanding and memory usage is negligible even with 400K messages. Memory usage for the whole application never exceeds 50M. My only question is that I get a series of these warning messages: 13:46:03,093 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:05,109 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:07,109 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:09,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:11,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:13,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free 13:46:15,156 WARN [SimpleMemoryManager] Less than 25% of total available memory free It doesn't seem to affect anything. Is it a configuration setting, should I be flushing the queues or what? The dilivery mode is DeliveryMode.NON_PERSISTENT and there is only one message consumer. Once the consumer gets the message I want the message removed from the queue. Am I missing something? Thanks for your help. Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961380#3961380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961380 From do-not-reply at jboss.com Thu Jul 27 14:13:59 2006 From: do-not-reply at jboss.com (wtff) Date: Thu, 27 Jul 2006 14:13:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <10598069.1154024039092.JavaMail.jboss@colo-br-02.atl.jboss.com> another WYSIWYG / Drag and Drop portal page example similar to the google sample can be found here: http://www.netvibes.com/ I also like to be able to have a fullfledged way of layouting my portal page via a flexible UI /layout model as is the case with Jetspeed ( a portal I otherwise do not like particularly well ) There you have pluggable decorators which can render your porlet frames (frameless window, framed window with insets etc..). You have pluggable page layouts ( three column, two column, etc...) to choose from. and so on. I don't find this in jboss portal. The "region" mechanism seems to be rather corse grained in comparison. ---- Another interesting thing I read about in the Jetspeed 2 Jira is their plan for a thingy they call Jetspeed Desktop: http://issues.apache.org/jira/browse/JS2-514 This seems to go even a bit further than having an AJAX supported WYSIWYG portal page layout mechanism which helps to define a server side layout. ---- I've been musing about assembling the perfect collection of technologies for being able to deliver rich web clients while at the same time being standards based and being able to rapid prototype. The fixed choices are that this should be portal driven, use Java Server Faces, Seam, Facelets, JSF-Avatar and EJB3. The bulding-block that has been missing for years is that there does not seem to be a JSF component kit which satisfies all needs. Most kits work well in standalone mode (Apache Tomawhak, Oracle ADFFaces aka Apache Trinidat etc) but they fail to work well in collaboration with a portal framework and / or seam. Additionally, the component/render kits are not really satisfyable and robust. I would have to combine aspects from 5 different AJAX kits and another 5 JSF kits to satisfy my vision. (Tomawhak, Trinidat, Tobago, Dojo, Qooxdoo, Rialto, ZK, DWR, jMaki, etc. etc.) What currently happens is that some JSF component/render kit provider now try to integrate components from all these kits into their component library. This is the same type of misuse happening with multiple inheritance where any object which happens to have an interesting method is turned into a supertype... In practice, it is not acceptable to download the javascript/html code for 20 AJAX and web frameworks before being able to look at a beautifully rendered page. I think the community is lacking a robust and satisfyable JSF component library/rendering kit. Everyone is doing some things right but no single vendor does it all right at the same time. - EXO alone supports WCAG 1.0 - Tomawhak is a pot pourri of external scripts reused and doesn't support drag and drop etc.. - ADFFaces is too invasive and doesn't integrate well with other supplementary technologies, so is the current version of SEAM. again, this list could be continued forever Therefore I think that instead of providing halfhearted approaches for embedding JSF rich client frameworks which have not been designed with portals in mind by allowing header injections and the like, I'm thinking more into the direction of defining an XML GUI language that the JSF portlets would emit. The portal would then be responsible for rendering this meta language into javascript/html etc. Again, there are many such XML GUI definition languages out there (OASIS' UIML, Netscape's XUL, W3C's XBL, etc...) but none is a satisfyable solution, probably because the contexts of these approaches are too different from the portal context. XUL was designed with thick desktop environments in mind. UIML is too old - the portal metaphor was uncommon then...) I don't know whether JBoss/Redhat have enough resources to start off from scratch to design a real groundbraking JSF component/render kit, but lets assume that this is most likely beyond the focus: how can you impove your UI? I'm finding myself in the same spot: IF I revamp all the UI stuff I've done which will be a tremendous effort, then I want to do it right the first time and without compromises. I would need to have something at hand that supports drag and drop, client side validation, portal affinity, half objects, AJAX, etc. However, this can only be achieved by mingeling different things together and spending a tremendous effort doing so. That's why I don't understand why all the world is focussing on narrow focus frameworks like lets say an "AJAX toolkit" instead of working on a comprehensive JSF kit with out of the box support for the abovementioned. For example, it would be appriciable to have transparent AJAX support like the ingenious approach taken Avatar. I can only applaud Ed Burns for this approach. Of course, a JSF framework using this approach should be designed by keeping in mind that it also has to be usable in the context of portals... Why am I saying all this? well because I would like to see that the JBoss Portal standard portlets like the CMS, administration or forum portlets are done using a JSF kit. But before conducting this migration, I believe that it is paramount to first work on a satisfyable JSF kit that has at least been designed with portal technology in mind. --- Another thing I'd like to say is that sample apps always asume that developers will put all libs within their webapps. So lets do a hello-world app. All the Tomawhak, myfaces, SEAM and facelets libs go into the webapp. On the business layer side, you'd like to use JBPM and there you have another two libs to pollute your application. Your hello world app turns out to be 20 MBs in size for holding a single web page. This of course is not the usecase that is applicable for real world scenarios. However, one can spend weeks trying to arrange all the libs so that the technologies work well together and yet not find a way to do it. Therefore, one requirement I would like to propose is that JBoss provides samples that really match production environment use-cases in addition to samples which focus on showcasing technological aspects and therefore righteously trying to reduce unnecessary plumbing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961383#3961383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961383 From do-not-reply at jboss.com Thu Jul 27 14:16:16 2006 From: do-not-reply at jboss.com (cpob) Date: Thu, 27 Jul 2006 14:16:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: task question Message-ID: <33104424.1154024176832.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm a little confused. If you say you only use Task Nodes, then why would you be worried about signalling a "state or other node" ? If you signal the tokens, the tasks will never end. It's technically ok if they are open, though it might be confusing. Why not just .end() the task, since you say you're only using task nodes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961384#3961384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961384 From do-not-reply at jboss.com Thu Jul 27 14:18:14 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 14:18:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <18102731.1154024294190.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know the details of what works in facelets and what doesn't. You should ask about that in the facelets forum. But if it works when using h:dataTable, but not when using ui:repeat then it is definitely not a bug in Seam. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961385#3961385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961385 From do-not-reply at jboss.com Thu Jul 27 14:22:36 2006 From: do-not-reply at jboss.com (timfox) Date: Thu, 27 Jul 2006 14:22:36 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: SimpleMemoryManager Warning Message-ID: <19675709.1154024556643.JavaMail.jboss@colo-br-02.atl.jboss.com> "ONIT" wrote : Hi again, | | The JBoss Messaging system is working great. Performance is outstanding and memory usage is negligible even with 400K messages. Memory usage for the whole application never exceeds 50M. | Glad to hear it :) FYI the next release (1.0.1.RC4) which will be out very soon has some very significant further increases in performance. anonymous wrote : | | My only question is that I get a series of these warning messages: | | | 13:46:03,093 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:05,109 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:07,109 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:09,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:11,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:13,140 WARN [SimpleMemoryManager] Less than 25% of total available memory free | 13:46:15,156 WARN [SimpleMemoryManager] Less than 25% of total available memory free | | It doesn't seem to affect anything. | | You probably just need to increase your -Xmx setting for the server a bit. (in run.bat) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961386#3961386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961386 From do-not-reply at jboss.com Thu Jul 27 14:25:49 2006 From: do-not-reply at jboss.com (wtff) Date: Thu, 27 Jul 2006 14:25:49 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <25847770.1154024749921.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : However, one can spend weeks trying to arrange all the libs so that the technologies work well together and yet not find a way to do it. I menat to say: "... arrange all the libs OUTSIDE of one's JEE apps..." Take a look at the SEAM samples. All the libs are always contained within the webapps. If I try to put all libs for JSF, JSF render-kits, Facelets, SEAM etc. into some JBoss location, some lib dir, or tomcat-lib dir, the whole shebang doesn't work. One will find that a webapp which only uses ADFFaces suddenly fails with a stacktrace that contains SEAM JSF listeners although the webapp uses an isolated classloader and doesn't use SEAM.... Problems like these keep me from really getting started with portals plus rich client stuff. I'd need to have guidance on how to best integrate several technologies. I.E. there should be additional sample apps which better showcase real-world usecases. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961388#3961388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961388 From do-not-reply at jboss.com Thu Jul 27 14:26:18 2006 From: do-not-reply at jboss.com (wconroy) Date: Thu, 27 Jul 2006 14:26:18 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <25447393.1154024779002.JavaMail.jboss@colo-br-02.atl.jboss.com> It doesnt look like it. correct me if I am wrong, but it looks like JBWS-1010 has to do with exposing every method in every parent interface for the service. I am more talking about the return types on a method. Take the following interface public interface GetAnimals extends Remote { public Animal[] getAllAnimals(); } using the animal class defined above. Looking at the WSDL generated for this I dont see Dog or Cat show up anywhere. Is that not valid for web services? Do I need to have separate getAllCats and getAllDogs methods that specify the exact return type? Another small complication is that I am trying to use the annotations and am not using wstools. Do the 2 generate identical wsdl files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961389#3961389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961389 From do-not-reply at jboss.com Thu Jul 27 14:29:15 2006 From: do-not-reply at jboss.com (achesini) Date: Thu, 27 Jul 2006 14:29:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: task question Message-ID: <14874335.1154024955759.JavaMail.jboss@colo-br-02.atl.jboss.com> thanxs for your quick answer. Now i'm only using task, but i don't know what could happen tomorrow. I want to think that my process could be a group of task , nodes, or whatever. Look, i?m building a tier who comunicate with jbpm. So i want to call a signal method to my tier and this method calls a signal to jbpm. i'm not clear enough , not? really thanxs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961390#3961390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961390 From do-not-reply at jboss.com Thu Jul 27 14:45:48 2006 From: do-not-reply at jboss.com (smithbstl) Date: Thu, 27 Jul 2006 14:45:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Deployment Error Message-ID: <26185638.1154025948596.JavaMail.jboss@colo-br-02.atl.jboss.com> I am attempting to deploy an Ear that contains several jars, a war, and a hibernate har file. I keep getting this stack trace upon starting jboss 4.0.4GA I have searched the web and can't find any other mentions of this error. I don't know where to begin debugging it but suspect it has something to do with the jboss-service.xml file mentioned at the top of the stack. Below the stack is my jboss-service.xml file from the .har file | 2006-07-27 11:38:28,328 ERROR [STDERR] [Fatal Error] jboss-service.xml:5:10: Already seen doctype. | 2006-07-27 11:38:28,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true | 2006-07-27 11:38:28,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false | 2006-07-27 11:38:28,328 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true | 2006-07-27 11:38:28,328 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.0.4.GA/server/default/deploy/BudgetEAR.ear | 2006-07-27 11:38:28,328 ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.4.GA/server/default/deploy/BudgetEAR.ear | org.jboss.deployment.DeploymentException: Already seen doctype.; - nested throwable: (org.xml.sax.SAXParseException: Already seen doctype.) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:217) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor12.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.xml.sax.SAXParseException: Already seen doctype. | at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) | at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:622) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | ... 70 more | 2006-07-27 11:38:28,359 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL at fb4247a2{ url=file:/C:/jboss-4.0.4.GA/server/default/deploy/BudgetEAR.ear, deployedLastModified=0 } | org.jboss.deployment.DeploymentException: Already seen doctype.; - nested throwable: (org.xml.sax.SAXParseException: Already seen doctype.) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:217) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:881) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor12.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 $Proxy6.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.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.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:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 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:464) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.xml.sax.SAXParseException: Already seen doctype. | at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) | at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) | at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:622) | at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) | ... 70 more | | | | | | | | | java:/XAOracleDS | org.hibernate.dialect.Oracle9Dialect | java:hibernate/SessionFactory | true | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961392#3961392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961392 From do-not-reply at jboss.com Thu Jul 27 14:46:46 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 14:46:46 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS4EE documentation??? Message-ID: <13269859.1154026006228.JavaMail.jboss@colo-br-02.atl.jboss.com> RE: So far, all links i've found only discuss 'stateless' web services. Isn't that because only STATELESS session beans should implement SEI, i.e.provide web services? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961393#3961393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961393 From do-not-reply at jboss.com Thu Jul 27 14:47:01 2006 From: do-not-reply at jboss.com (klsateesh) Date: Thu, 27 Jul 2006 14:47:01 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <3765038.1154026021753.JavaMail.jboss@colo-br-02.atl.jboss.com> HI All, I am getting the same error.. Insatlled JBoss-4.0.4GA and selected the ALL Option and the SEAM Version i am using is jboss-seam-1.0.1.GA When i don't use the below lines | | | i am getting the error | 8907jboss-seam-registration.ear-contents/jboss-seam-registration.jar | org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! | at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:339) | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) | and when i use the above i am getting the Error | 8911jboss-seam-registration.ear-contents/jboss-seam-registration.jar | org.jboss.deployment.DeploymentException: expected one enterprise-beans tag | at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:113) | at org.jboss.metadata.ApplicationMetaData.importEjbJarXml(ApplicationMetaData.java:371) | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:166) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:541) | 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.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:99) | Has any one solved this one yet !! Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961394#3961394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961394 From do-not-reply at jboss.com Thu Jul 27 14:57:04 2006 From: do-not-reply at jboss.com (chane) Date: Thu, 27 Jul 2006 14:57:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <28695219.1154026624268.JavaMail.jboss@colo-br-02.atl.jboss.com> "gavin.king at jboss.com" wrote : Basically it just didn't work very well ;-) | | The trouble with @Conversational is that lots of methods of the component can get called before an action method. There may not even be an action method. I think I discovered that one my own. It seems like I have some cases where I think it should work but doesn't... Guess I'm back to the design mode. I'm trying to put in a framework that handles exceptions - basically all exceptions should redirect to an error page that displays FacesMessages if present. The specific case I'm working on is: a) user submits a page that throws a BusinessExcpetion b) BusinessException is annotated with @Redirect c) error page is displayed correclty d) user in a different window corrects the error e) user than returns to the original window (still displaying the error message) and hits the back button f) the same page is resubmitted - an ugle error is generated basically saying that a conversation is already started and to use (Begin join=true) - however, the conversation was rolledback and I believe destroyed in #b/c I've read some of the other threads/JIRA about using Servlets / modifying JSF, so I'll think about it some more. Anyway, just curious how other handle generic exceptions rather than showing the ugly app server error messages or generic http messages. Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961395#3961395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961395 From do-not-reply at jboss.com Thu Jul 27 14:57:50 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 27 Jul 2006 14:57:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Hello world example failed on junit test , throws ClassC Message-ID: <24581693.1154026670691.JavaMail.jboss@colo-br-02.atl.jboss.com> Product versions, please? I think this problem may be related to topic helloworldservice so you might want to follow up that discussion. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961397#3961397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961397 From do-not-reply at jboss.com Thu Jul 27 14:58:33 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 27 Jul 2006 14:58:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <3291957.1154026713648.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I'll reinstall everything and see what's going on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961398#3961398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961398 From do-not-reply at jboss.com Thu Jul 27 15:09:42 2006 From: do-not-reply at jboss.com (klsateesh) Date: Thu, 27 Jul 2006 15:09:42 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <1415665.1154027382427.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I Installed Patch1 with EJB3 Option and i ab able to deploy the App Successfully and when i enter the User details and try to register i am getting the following Error: | 14:56:58,479 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value | false | 14:57:30,602 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id _id0:_id6 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java | :664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.register} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 24 more | Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.Invocation | Context.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy92.register(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 25 more | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava | /lang/Object; | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:128) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerIntercep | tor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 45 more | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | ... 52 more | thanks sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961400#3961400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961400 From do-not-reply at jboss.com Thu Jul 27 15:10:16 2006 From: do-not-reply at jboss.com (winklosky) Date: Thu, 27 Jul 2006 15:10:16 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: HTTP Status 403 error ocurred when I switch portal authe Message-ID: <12099938.1154027416764.JavaMail.jboss@colo-br-02.atl.jboss.com> Those errors had nothing to do with the LDAP fix. The no null portlet accepted errors were due to another developer using the same Oracle DB for portal dev. And the Object not found PortletPreferencesInstance occurred with the standard install (no Oracle DB and no LDAP), I just hadn't noticed it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961401#3961401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961401 From do-not-reply at jboss.com Thu Jul 27 15:11:28 2006 From: do-not-reply at jboss.com (lking28) Date: Thu, 27 Jul 2006 15:11:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS4EE documentation??? Message-ID: <30235929.1154027488732.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961393 Reply to topic Not necessarily. AXIS 1.4 provides session management by exposing the 'scope' concept with it's wsdl2java tool. Just curious if WS4ee provides the same functionality. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961402#3961402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961402 From do-not-reply at jboss.com Thu Jul 27 15:13:37 2006 From: do-not-reply at jboss.com (klsateesh) Date: Thu, 27 Jul 2006 15:13:37 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <842033.1154027617821.JavaMail.jboss@colo-br-02.atl.jboss.com> "klsateesh" wrote : Hi All, | | I Installed Patch1 with EJB3 Option and i ab able to deploy the App Successfully and when i enter the User details and try to register i am getting the following Error: | | | | 14:56:58,479 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value | | false | | 14:57:30,602 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | | javax.faces.FacesException: Error calling action method of component with id _id0:_id6 | | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java | | :664) | | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | | at java.lang.Thread.run(Thread.java:595) | | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{register.register} | | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | | ... 24 more | | Caused by: javax.ejb.EJBException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.Invocation | | Context.getTarget()Ljava/lang/Object; | | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | | at $Proxy92.register(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:585) | | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | | ... 25 more | | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava | | /lang/Object; | | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:128) | | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerIntercep | | tor.java:54) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | | ... 45 more | | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37) | | 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.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | | ... 52 more | | | | | I tried the booking example and also getting the below Exception | | | javax.faces.el.EvaluationException: /register.xhtml @67,80 value="#{register.verify}": $Proxy148 | | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:60) | | at javax.faces.component.UIOutput.getValue(UIOutput.java:75) | | at javax.faces.component.UIInput.validate(UIInput.java:273) | | at javax.faces.component.UIInput.processValidators(UIInput.java:144) | | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417) | | at javax.faces.component.UIForm.processValidators(UIForm.java:68) | | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417) | | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142) | | at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240) | | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) | | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java | | thanks | sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961403#3961403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961403 From do-not-reply at jboss.com Thu Jul 27 15:18:25 2006 From: do-not-reply at jboss.com (lior.dra) Date: Thu, 27 Jul 2006 15:18:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - problem getting pojocache to work Message-ID: <20384762.1154027905086.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All I am trying to setup a clustered jboss cache solution, I am using pojo cache (1.4 latest release) For some reason I can't get replication to work between 2 machines. Replication is happening fine on one machine (more then one JVM processes) I am using the distribution?s pojocache-service.xml With the following changes: REPL_SYNC instead of LOCAL And on the windows machine. I am using the example?s ?Sample-Cluster? name . One machine runs Fedora core 5 + jdk 1.5.xx, the second machine is Win XP + jdk 1.5.xx.. I have ?aspectisized? my non annotated pojos (again replication is happening fine on a single machine) I have turned the firewall off on both machines. (on the linux box I have also disabled SELinux) To be on the safe side I went as far as using a cross cable between the machines, with no other network connections. The code for starting the cache is very similar to the code in the distribution?s ..examples/Pojocache/non-annotated/?test class. Any thoughts ? Thanks Lior View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961405#3961405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961405 From do-not-reply at jboss.com Thu Jul 27 15:25:47 2006 From: do-not-reply at jboss.com (ptmain) Date: Thu, 27 Jul 2006 15:25:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <13835708.1154028347959.JavaMail.jboss@colo-br-02.atl.jboss.com> Just a followup question... Could I have used the JBoss 4.0.4 GA installation (or 4.0.3), but added the following to my components.xml? Would this override the use of the app server's implementation and instead use the one packaged with Seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961406#3961406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961406 From do-not-reply at jboss.com Thu Jul 27 15:26:42 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Thu, 27 Jul 2006 15:26:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: jar in .sar lib : bug or normal behavior ? Message-ID: <4797319.1154028402527.JavaMail.jboss@colo-br-02.atl.jboss.com> ok Thanks. how can I "make sure the portal sar deploys first" ? is there some "depends" like for the services ? Antoine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961407#3961407 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961407 From do-not-reply at jboss.com Thu Jul 27 15:28:34 2006 From: do-not-reply at jboss.com (muleal) Date: Thu, 27 Jul 2006 15:28:34 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Failed to replicate sessionID Message-ID: <21310528.1154028514560.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using JBoss 4.0.3SP1 under load balancer hardware and some times I have to log on twice inside my application. My application is based on Struts. I've checked the log created by Jboss and I saw some evidence of what can be causing the problem (see the log below). Does anybody have any idea of what can be the cause of the problem? Thanks in advance, Murilo ------------------------------------------------------------------------------------- 11:21:26,821 WARN [InstantSnapshotManager] Failed to replicate sessionID:l6hiN9rO1TGuC4-wTao3xg** java.lang.IllegalArgumentException: storeSession(): session is null at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:342) at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38) at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:138) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) ------------------------------------------------------------------------------------- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961408#3961408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961408 From do-not-reply at jboss.com Thu Jul 27 15:29:42 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Jul 2006 15:29:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment Error Message-ID: <9375093.1154028582742.JavaMail.jboss@colo-br-02.atl.jboss.com> Based on this statement in the stack trace: Caused by: org.xml.sax.SAXParseException: Already seen doctype. I would grep my xml files looking for where the term 'doctype' appears a second time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961409#3961409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961409 From do-not-reply at jboss.com Thu Jul 27 15:33:11 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 27 Jul 2006 15:33:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <29999575.1154028791061.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the original post is conceptually wrong. is an iterator. It can iterate over lists of things, including DataModels. However it doesn't modify the model that is iterates over. For example it will never set a DataModel's selected row and using @DataModelSelection with it will never work. is a powerful substitue to using c:forEach. It is not a direct replacement for h:dataTable. Maybe I misunderstand the original question. If you need @DataModelSelection to work, you'll need to go back to h:dataTable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961410#3961410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961410 From do-not-reply at jboss.com Thu Jul 27 15:38:29 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 15:38:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: DataModel issue Message-ID: <23456095.1154029109721.JavaMail.jboss@colo-br-02.atl.jboss.com> Note that there are plenty of other ways to implement clickable lists apart from @DataModelSelection. Arguably, using a request parameter (like in the blog example) is simply a better approach to begin with. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961411#3961411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961411 From do-not-reply at jboss.com Thu Jul 27 15:41:25 2006 From: do-not-reply at jboss.com (smithbstl) Date: Thu, 27 Jul 2006 15:41:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment Error Message-ID: <15304316.1154029285663.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Peter, I was working off an example I found of the hibernate MBean and I guess the jboss-service.xml file was incorrect. I just removed the element and all is fine. Thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961412#3961412 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961412 From do-not-reply at jboss.com Thu Jul 27 15:45:31 2006 From: do-not-reply at jboss.com (bhuste1) Date: Thu, 27 Jul 2006 15:45:31 -0400 (EDT) Subject: [jboss-user] [Messaging, JMS & JBossMQ] - Send Message to Queue on Remote Broker From MDB Message-ID: <9891386.1154029531393.JavaMail.jboss@colo-br-02.atl.jboss.com> I am attempting to create a computing grid. I setup the grid servers to pull requests from the mutliple brokers using the instructions from "HowDoIConfigureAnMDBToTalkToARemoteQueue". Once the MDB running on the grid is finished processing the message, a message needs to be sent back to the broker. The only design option I see at this point is to configure queues on each of the compute grid servers and have the MDB running on the broker listen for messages on each of the grid servers. However, we could potentially have hundreds of compute grid servers and I believe this would be a lot of overhead if the MDB running on the broker needed to maintain connections to every grid server. In addition, I would need to add jms proxy configuration in the broker for every grid server.....it seems there should be a better solution. Is it possible to create a design where the grid servers can talk back to a queue residing on the broker? In addition, I would like the grid servers to be able to detect a failed broker to ensure that the message is sent to a running broker. Any advice would be very much welcomed. Thanks, Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961413#3961413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961413 From do-not-reply at jboss.com Thu Jul 27 15:55:18 2006 From: do-not-reply at jboss.com (uromahn) Date: Thu, 27 Jul 2006 15:55:18 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Potential Issue with EntityInstancePool Message-ID: <21265263.1154030118727.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, please forget my comment about the maxSize configuration of the InstancePool - I just learned that the server admin did not change the setting in standardjboss.xml and it was still set to the default of 100. However, I still do see the issue and I still have the question regarding the pooling/caching. -Uli View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961414#3961414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961414 From do-not-reply at jboss.com Thu Jul 27 15:58:47 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 15:58:47 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <32841196.1154030327409.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Looking at the WSDL generated for this I dont see Dog or Cat show up anywhere. Is that not valid for web services? Do I need to have separate getAllCats and getAllDogs methods that specify the exact return type? Me neither. Yet I think it's correct. Ask yourself for which purpose in Java-to-Java communication you would need such heavy web service implementation as SOAP (standard? marketecture over architecture?). In Java-to-Java there are plenty much lighter alternatives - just look at Spring remoting. We really need SOAP when we communicate with non-Java client/server - interoperability. And what if that non-Java platform does not support all/some features of OOP including inheritance? So SOAP web service is the lowest and heaviest possible denominator. Use concrete classes instead - exact return types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961415#3961415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961415 From do-not-reply at jboss.com Thu Jul 27 16:01:59 2006 From: do-not-reply at jboss.com (sviergn) Date: Thu, 27 Jul 2006 16:01:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ejb-jar.xml for bookings example: hosed? Message-ID: <12208900.1154030519789.JavaMail.jboss@colo-br-02.atl.jboss.com> Let me see if I understand: "all" for some reason does not include "ejb3"? Can someone explain this? Why is EJB3 not part of all? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961416#3961416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961416 From do-not-reply at jboss.com Thu Jul 27 16:12:38 2006 From: do-not-reply at jboss.com (wconroy) Date: Thu, 27 Jul 2006 16:12:38 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <21912821.1154031158102.JavaMail.jboss@colo-br-02.atl.jboss.com> That doesnt make sense. If I have getCats() and getDogs(), then look at the wsdl, it creates a type Animal then, then has Cat and Dog that extends it. How non object oriented languages handle it is their own business, but the wsdl allows hierarchies as do the the SOAP messages. That being said, can I expose the base class in my interfaces and the wsdl will generate the correct complex types for all of its subclasses? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961418#3961418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961418 From do-not-reply at jboss.com Thu Jul 27 16:13:48 2006 From: do-not-reply at jboss.com (sbalmos) Date: Thu, 27 Jul 2006 16:13:48 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type definition exception (bug?) Message-ID: <15492743.1154031228186.JavaMail.jboss@colo-br-02.atl.jboss.com> Bump. Seriously, any ideas, anyone? --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961419#3961419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961419 From do-not-reply at jboss.com Thu Jul 27 16:14:40 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 16:14:40 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <19401978.1154031280934.JavaMail.jboss@colo-br-02.atl.jboss.com> Checked my logs. | 2006-07-27 16:09:40,003 DEBUG [org.hibernate.jdbc.ConnectionManager] - opening JDBC connection | 2006-07-27 16:09:40,004 DEBUG [org.hibernate.SQL] - select nextval ('postmaster_sequence') | 2006-07-27 16:09:40,043 DEBUG [org.hibernate.id.SequenceGenerator] - Sequence identifier generated: 1 | 2006-07-27 16:09:40,043 DEBUG [org.hibernate.jdbc.AbstractBatcher] - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2006-07-27 16:09:40,043 DEBUG [org.hibernate.jdbc.ConnectionManager] - aggressively releasing JDBC connection | 2006-07-27 16:09:40,043 DEBUG [org.hibernate.jdbc.ConnectionManager] - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2006-07-27 16:09:40,045 DEBUG [org.hibernate.id.SequenceHiLoGenerator] - new hi value: 1 | 2006-07-27 16:09:40,046 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] - generated identifier: 50, using strategy: org.hibernate.id.SequenceHiLoGenerator | 2006-07-27 16:09:40,119 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] - processing flush-time cascades | As you see generated identifier: 50, using strategy: org.hibernate.id.SequenceHiLoGenerator 50 - it is in the database View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961420#3961420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961420 From do-not-reply at jboss.com Thu Jul 27 16:16:46 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 16:16:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ejb-jar.xml for bookings example: hosed? Message-ID: <24695283.1154031406106.JavaMail.jboss@colo-br-02.atl.jboss.com> Because ejb3 is not part of J2EE 1.4. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961421#3961421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961421 From do-not-reply at jboss.com Thu Jul 27 16:19:18 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Thu, 27 Jul 2006 16:19:18 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <11337814.1154031558982.JavaMail.jboss@colo-br-02.atl.jboss.com> If you go to you database now (say through psql) and issue the query anonymous wrote : select nextval ('postmaster_sequence') I'm betting it would not be 51 and will probably be 2. >From your logs: anonymous wrote : 2006-07-27 16:09:40,004 DEBUG [org.hibernate.SQL] - select nextval ('postmaster_sequence') | 2006-07-27 16:09:40,043 DEBUG [org.hibernate.id.SequenceGenerator] - Sequence identifier generated: | 1 It looks like the postgres sequence returned 1. But the SequenceHiLoGenerated inserted a value of 50. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961422#3961422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961422 From steve.morin at gmail.com Thu Jul 27 16:22:46 2006 From: steve.morin at gmail.com (Steve Morin) Date: Thu, 27 Jul 2006 16:22:46 -0400 Subject: [jboss-user] How do you run app in a Ear file that has a application-client.xml Message-ID: I am trying to run an application in a ear file configured with application.xml specified by the testClient.jar J2ee says that I should be able to but how do I do that with jboss? Below is a example of what I am trying to accomplish but using another container. http://jonas.objectweb.org/current/doc/PG_Client.html PS I checked the getting started documentation and it showed a app being run using a application-client.xml file but is only running the application using just the client jar if you check the actual ant file that is running the application. It's not using the ear file. Below is a thread I found regarding this topic but havn't found an answer yet. Steve http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3838368 The J2EE specs states that : " Application clients are first tier client programs that execute in their own Java?? virtual machines. Application clients follow the model for Java technology-based applications: they are invoked at their main method and run until the virtual machine is terminated. However, like other J2EE application components, application clients depend on a container to provide system services. The application client container may be very light-weight compared to other J2EE containers, providing only the security and deployment services described below " Application servers such as Websphere offer a mean to launch such an application with a custom bat ou sh program that initialise the VM with the application-client.xml file contained in the client ear file : how do one achieve this using JBoss ? The JBoss documentation only talks about web container application is this the only possible client of jboss server components ? Regards Back to top kabir.khan at jboss.com Joined: Tue Feb 25, 2003 00:00 AM Posts: kabir.khan at jboss.com Location: Oslo, Norway Posted: Wed May 12, 2004 08:53 AM Post subject: Re: How to run Application Clients Container The getting started documentation shows how to do this. Cheers, Kab Back to top egoldfarb Joined: Thu Jun 10, 2004 13:19 PM Posts: egoldfarb Location: Posted: Thu Jun 10, 2004 13:23 PM Post subject: Re: How to run Application Clients Container I am also having a hard time figuring out how to run an application client jar included inside of EAR file. The getting started documentation only shows how to package the app, and to run it they execute an ant target which in fact doesn't run the application from the EAR but instead runs java -jar appclient.jar in the build directory. Does JBOSS in fact have a helper class which extracts the client JAR from the EAR and runs it, or do we have to deploy client JARs separately from the EAR? -- Lisp Programming - You don't know what your missing ... Benjamin Franklin, in his autobiography, argues that you can be more productive at work if you don't drink rum or beer all day, apparently a revolutionary concept in the 18th century. ====================================== Help Send Laurie to Veterinary School http://www.sendlaurietovetschool.com From do-not-reply at jboss.com Thu Jul 27 16:23:25 2006 From: do-not-reply at jboss.com (scruffy323) Date: Thu, 27 Jul 2006 16:23:25 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - How do you run app in a Ear file that has a application-clie Message-ID: <22420464.1154031805695.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to run an application in a ear file configured with application.xml specified by the testClient.jar J2ee says that I should be able to but how do I do that with jboss? Below is a example of what I am trying to accomplish but using another container. http://jonas.objectweb.org/current/doc/PG_Client.html PS I checked the getting started documentation and it showed a app being run using a application-client.xml file but is only running the application using just the client jar if you check the actual ant file that is running the application. It's not using the ear file. Below is a thread I found regarding this topic but havn't found an answer yet. Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961423#3961423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961423 From do-not-reply at jboss.com Thu Jul 27 16:29:34 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Thu, 27 Jul 2006 16:29:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <31808899.1154032174034.JavaMail.jboss@colo-br-02.atl.jboss.com> The more I look at the SequenceHiLoGenerator, the more I wonder whether it makes sense to use it be default at all in EJB3. What happens in a cluster? The SequenceHiLoGenerator uses state information when getting sequences. If you have 2 seperate boxes using a SequenceHiLoGenerator from the same database sequence, could you end up reissuing an id more than once? I don't see how the default generator could always create new ID's. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961424#3961424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961424 From do-not-reply at jboss.com Thu Jul 27 16:30:29 2006 From: do-not-reply at jboss.com (klsateesh) Date: Thu, 27 Jul 2006 16:30:29 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: ejb-jar.xml must either obey the right xml schema or def Message-ID: <9512271.1154032229419.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I used the wrong JBoss Installer..Get the jar file from here http://labs.jboss.com/portal/jbossseam/gettingstarted/index.html ~Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961425#3961425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961425 From do-not-reply at jboss.com Thu Jul 27 16:43:48 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 27 Jul 2006 16:43:48 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Failed to replicate sessionID Message-ID: <11803173.1154033028325.JavaMail.jboss@colo-br-02.atl.jboss.com> If you turn on DEBUG logging of org.jboss.web.tomcat.tc5.session do you see anything to indicate that the session has bee invalidated? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961426#3961426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961426 From do-not-reply at jboss.com Thu Jul 27 16:45:44 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 16:45:44 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <841530.1154033144225.JavaMail.jboss@colo-br-02.atl.jboss.com> In my view what makes sense and what doesn't in the world of JAX-RPC/WS, we shouldn't look at www3c specifications, but rather at Web Services Interoperability Organization's Basic Profile 1.0/1.1. This is the only standard that have been proven in production and is explicitly required by the J2EE Web Services platform. Hey, lots of stuff which is allowed in www3c specs is actually either not implemented or bluntly prohibited by WSI Basic Profile. For instance, although SOAP supports four modes of messaging (RPC/Literal, Document/ Literal, RPC/Encoded, and Document/Encoded) the BP permits the use of RPC/ Literal or Document/Literal only. Although SOAP is protocol agnostic, Basic Profile permits only HTTP and so on and so on. All these restrictions are in the name of interoperability between different platforms some of which are not object-oriented. To my knowledge, for instance, the Basic Profile prohibits operation overloading. Every operation defined by a particular portType must have a unique name. That said, it's perfectly acceptable for two or more portType elements to declare operation elements with the same name, because each portType is considered a separate definition. So, we'd better check Basic Profile regulations on this inheritance issue. But, like I said, I see the reason why this might not work - again interoperability. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961427#3961427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961427 From do-not-reply at jboss.com Thu Jul 27 16:54:02 2006 From: do-not-reply at jboss.com (Doug.Palmer) Date: Thu, 27 Jul 2006 16:54:02 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Generic Service Message-ID: <18261694.1154033643009.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Heiko Is it possible to emulate the behaviour I'm looking for with a servlet? i.e. Deploy a servlet and deploy additional endpoints for the servlet at runtime. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961428#3961428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961428 From do-not-reply at jboss.com Thu Jul 27 16:55:30 2006 From: do-not-reply at jboss.com (IO_303) Date: Thu, 27 Jul 2006 16:55:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Error when trying to raise max heap size Message-ID: <704585.1154033730646.JavaMail.jboss@colo-br-02.atl.jboss.com> I am needing to take the max heap size over 1563m, but whenever I try JBoss fails(see screen dump below). The dev server i am using right now is dedicated to getting this web app to run with a larger heap space, so there is nothing running that could even come close to using up the entire heap. The server is dual 3.00 GHz Xenon 64 bit with 8GB of ram. The OS is Windows 2003R2 x64 Edition. I knew that 32 bit windows had a 2 GB limit on memory addressing is this still true with 64 bit?? I also noticed that Java was running in 32 bit (most likely the cause of the problem but I can?t find out where to change the JVM options to run in 64) Could not locate E:/Programs/Java/jdk1.5.0_07\lib\tools.jar. Unexpected results may occur. | Make sure that JAVA_HOME points to a JDK and not a JRE. | =============================================================================== | . | JBoss Bootstrap Environment | . | JBOSS_HOME: E:\Programs\jboss-4.0.4.GA | . | JAVA: E:/Programs/Java/jdk1.5.0_07\bin\java | . | JAVA_OPTS: -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml | . | CLASSPATH: E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar | . | . | VENDAVO: E:\App\EV06_PA | . | =============================================================================== | . | | E:\App\EV06_PA\jboss_home\config\vendavo>"E:/Programs/Java/jdk1.5.0_07\bin\java" -hotspot -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml -Djava.endorsed.dirs=E:\Programs\jboss-4.0.4.GA\lib\endorsed -classpath "E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar" -Djboss.server.config.url="file:/E:\App\EV06_PA\jboss_home\config\vendavo\conf" org.jboss.Main -c default | Error occurred during initialization of VM | Could not reserve enough space for object heap | | E:\App\EV06_PA\jboss_home\config\vendavo>IF ERRORLEVEL 10 GOTO RESTART | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961429#3961429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961429 From do-not-reply at jboss.com Thu Jul 27 17:00:49 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Thu, 27 Jul 2006 17:00:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <33152820.1154034049666.JavaMail.jboss@colo-br-02.atl.jboss.com> it looks like the postgres sequence returned 1. But the SequenceHiLoGenerated inserted a value of 50. I guess, it's because initialValue - default - 1 and allocationSize - 50. I have test table along with cabin table and this test table (you know, to test connections in pool) receives the first allocation block - 1 to 49. Cabin receives next 50 @Target({TYPE, METHOD, FIELD}) @Retention(RUNTIME) | public @interface SequenceGenerator { | String name(); | String sequenceName() default ""; | int initialValue() default 1; | int allocationSize() default 50; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961430#3961430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961430 From do-not-reply at jboss.com Thu Jul 27 17:02:30 2006 From: do-not-reply at jboss.com (IO_303) Date: Thu, 27 Jul 2006 17:02:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Error when trying to raise max heap size Message-ID: <4137135.1154034150981.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot a few important facts Java: JDK1.5.0_07 JBoss: 4.0.4.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961431#3961431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961431 From do-not-reply at jboss.com Thu Jul 27 17:05:45 2006 From: do-not-reply at jboss.com (wconroy) Date: Thu, 27 Jul 2006 17:05:45 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Type Hiererchy Message-ID: <26318614.1154034345534.JavaMail.jboss@colo-br-02.atl.jboss.com> I am looking at this http://www.ws-i.org/Profiles/BasicProfile-1.1.html and it doesnt mention anything about the complex types with extensions from what I can see. At any rate, is it really the policy of jbossWS to develop features that only work in the lowest common denominator? not adding features because not all possible consumers are object oriented seems kind of odd. doesnt it make more sense to give those developers creating services as many tools as possible and allow them to choose whether they want to use features not all languages can consume. Anyway, the complexType extension stuff is really just a simple way to define the schema and allowed attributes. it doesnt matter if you are object oriented or not, the xml parser should be able to use this to validate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961432#3961432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961432 From do-not-reply at jboss.com Thu Jul 27 17:12:35 2006 From: do-not-reply at jboss.com (mattgalvin) Date: Thu, 27 Jul 2006 17:12:35 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Serving dynamically generated JSPs Message-ID: <15907077.1154034755681.JavaMail.jboss@colo-br-02.atl.jboss.com> We have an appliacation that needs to dynamically generate JSPs and make them available for our customers to access. Can someone point me to how I can serve a jsp that is stored say in a database to an end user? Right now, we've deployed our application as an exploded war (well, actually an exploded ear since ejbs are a part of the app). We use a servlet with an id parameter to reference the jsp that needs to be served. The servlet currently loads that jsp from the database and writes it to a temporary file on disk within the exploded war. It then redirects to that termporary jsp file. For several reasons, we need to stop doing it this way. The basic reason is that we need to deploy our application as an archive, not exploded. As such, we can no longer write the temporary file. Any suggestions on how to serve this programmatically generated jsp without writing the file to disk first? Thanks, Matt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961434#3961434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961434 From do-not-reply at jboss.com Thu Jul 27 17:24:08 2006 From: do-not-reply at jboss.com (tdanecito) Date: Thu, 27 Jul 2006 17:24:08 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning Message-ID: <24338352.1154035448781.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Pramod, Thanks for the comment. I am on vacation right now but checking this thread. For what I can remember without my system in front of me for the server: Windows 2000 professional sp4 Mustang 1.6 b91 JBoss 4.0.4 GA Apache 2.2 Intel P4 3.0GHz HT Northwood core Regular DDR 400 Two hard drives one for operating system and one for the apps and data There are some details I have not mentioned because I would need more time and a separate web site to talk all about it. I have a regular job like the rest of you and this is just a long term fun project I can do but hope to release soon the entire system for everyone to use on the internet. The client is experimental design so I am not talking about that till it is released. Hope that helps. -Tony Anecito adanecito at yahoo.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961435#3961435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961435 From do-not-reply at jboss.com Thu Jul 27 17:32:12 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 27 Jul 2006 17:32:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <758508.1154035932872.JavaMail.jboss@colo-br-02.atl.jboss.com> An exception shouldn't implicitly kill the conversation. In fact you've proven that it doesn't. You might roll back a transaction on an exception, but conversations aren't the same as transactions and should survive your given use case (although if you wanted to, it wouldn't be hard to end a conversation when you navigate to your error page). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961437#3961437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961437 From do-not-reply at jboss.com Thu Jul 27 17:50:49 2006 From: do-not-reply at jboss.com (wcydaip) Date: Thu, 27 Jul 2006 17:50:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Enum attributes in Entity Beans ... Message-ID: <28247766.1154037049089.JavaMail.jboss@colo-br-02.atl.jboss.com> "dsouza" wrote : Ok, I tested it again for Oracle and it did work, however I did run into some other problems. | | SOME SECURITY | | I have a cactus test suite that inserts/updates/deletes entities in the database to make sure they're working and that they have the appropriate permissions. So in order to test the use of enums in an entity I used one of my entity tests (for an entity that needs an enum). | | Basically I have this line of code in my test suite: | | | interfaceMessage.setMessageType(InterfaceMessageType.WARNING); | | | where InterfaceMessageType is my enum. If I change the line to | | | interfaceMessage.setMessageType(InterfaceMessageType.ERROR); | | | and redeploy without restarting JBOSS, I get the following exception: | | | | org.hibernate.PropertyAccessException: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of entity.iface.InterfaceMessage.setMessageType | | at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(PojoEntityTuplizer.java:209) | | at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:179) | | at org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2981) | | ... | | Caused by: net.sf.cglib.beans.BulkBeanException: entity.enums.InterfaceMessageType | | at entity.iface.InterfaceMessage$$BulkBeanByCGLIB$$48beb320.setPropertyValues() | | at org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(PojoEntityTuplizer.java:206) | | ... 84 more | | Caused by: java.lang.ClassCastException: entity.enums.InterfaceMessageType | | ... 86 more | | | | If I restart JBOSS everything works fine (until I change the code again). I really have no idea why this is happening but I thought maybe something from mixing the latest hibernate cvs with the ejb 3 beta release, but then again I guess it's unlikely since hibernate handles the persistence. Any ideas of what might be causing this? | | Another problem is that the latest cvs broke some of my other code. Maybe it's something that's really changed for good and I'm not up to date yet, but I'm getting the following exception: | | | | org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=brain/24, BranchQual=, localId=24] status=STATUS_NO_TRANSACTION; - nested throwable: (java.lang.ClassCastException: java.util.ArrayList) | | | | java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=brain/24, BranchQual=, localId=24] status=STATUS_NO_TRANSACTION; - nested throwable: (java.lang.ClassCastException: java.util.ArrayList) | | at org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:185) | | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:167) | | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:74) | | ... | | | | Looks like some problem in using ArrayList in OneToMany or ManyToMany relationships. Just thought you should know in case it's a new bug or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961438#3961438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961438 From do-not-reply at jboss.com Thu Jul 27 17:52:29 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Jul 2006 17:52:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Error when trying to raise max heap size Message-ID: <25576375.1154037149185.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86769 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961439#3961439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961439 From do-not-reply at jboss.com Thu Jul 27 17:54:24 2006 From: do-not-reply at jboss.com (rpiaggio) Date: Thu, 27 Jul 2006 17:54:24 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: 2.0 alpha does not seem to like 0.0.0.0 as bind address Message-ID: <24730289.1154037264621.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually, it doesn't like any other value other than "localhost". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961440#3961440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961440 From do-not-reply at jboss.com Thu Jul 27 18:02:48 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Jul 2006 18:02:48 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs Message-ID: <24542915.1154037768298.JavaMail.jboss@colo-br-02.atl.jboss.com> This is probably not the solution you are looking for, but have you looked into using Velocity templates (or some of the other templating mechanism) instead of JSPs? If you are already passing beans to the JSPs and using JSTL to extract the bean data and generate the HTML, this would be very easy to convert to Velocity. Of course, if you have a lot of server-side Java code embedded in your JSPs then you would have a lot more work to do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961441#3961441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961441 From do-not-reply at jboss.com Thu Jul 27 18:07:46 2006 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 27 Jul 2006 18:07:46 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs Message-ID: <23373966.1154038066473.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess I could always point out that when you deploy an ear or war file that JBoss will explode the contents inot a subdirectory of server/xxx/tmp/deploy. The tricky part is determining the subdirectory name since the name contains a random 5-digit integer. But if you can overcome that obstacle, perhaps you can place the JSPs within there. Not sure if that would work, but you could try it by hand once first. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961442#3961442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961442 From do-not-reply at jboss.com Thu Jul 27 18:23:47 2006 From: do-not-reply at jboss.com (Holger Prause) Date: Thu, 27 Jul 2006 18:23:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @OneToMany Question Message-ID: <17950772.1154039027661.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i have a site where the uses can select TaskItems (entities from the database) and set it to a task. I use a OneToMany relationship (a task hast many taskitems) When i set the TaskItems to the task and save it, everything will be ok. But when i save another task whith the same TaskItems, it will fail becourse the primary key of the temporary join table "task_taskItems" is the foreign key to the task item, this means in my case when then taskitems were set to a task, no other other task can have these taskitems So the question is: How can i specify the primary key of the temporary table? As Workaround i could write a Class which wraps around the TaskItems and inside there i can use @JoinColumn but it will mess up my code :-/ | @OneToMany | @JoinTable( | name="task_taskItems", | joinColumns = { @JoinColumn( name="task_id", unique = false), @JoinColumn( name="task_taskItems_id", unique = true) }, | inverseJoinColumns = @JoinColumn( name="taskItem_id", unique = false) | ) | public List getTaskItems() { | return this.taskItems; | } | public void setTaskItems(List taskItems) { | this.taskItems = taskItems; | } | Thank u very much, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961443#3961443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961443 From do-not-reply at jboss.com Thu Jul 27 18:32:49 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 27 Jul 2006 18:32:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPM-BPEL 1.1-beta1 and JBOSS AS 4.0.4 helloworldservice Message-ID: <19246693.1154039569407.JavaMail.jboss@colo-br-02.atl.jboss.com> I was using JDK 1.5.0_05. I upgraded to JDK 1.5.0_07 and I hit the IncompatibleClassException. It looks like they changed the behavior at some release after JDK 1.5.0_05. A note in the javax.xml.namespace.QName source code explains: anonymous wrote : * Due to a historical defect, QName was released with multiple | * serialVersionUID values even though its serialization was the | * same. | * | * To workaround this issue, serialVersionUID is set with either | * a default value or a compatibility value. To use the | * compatiblity value, set the system property: | * | * com.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0. Running the tests with the aforementioned system property set fixes the incompatibility problem: - Set the ANT_OPTS environment property to -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 so that the ant batch file/shell script passes the system property to the JVM. - Execute target run-test. You will notice JBossWS requires some Xerces class not included in the JDK, so you still need Xerces on the classpath. - Replace BPEL_HOME/doc/examples/process.template.xml with the file attached to the jBPM BPEL beta 1 addendum wiki page. - Execute run-test again. It should work this time. Alternatively, you can use the endorsed standards override mechanism. Endorsing seems easier than the above procedure. I will recommend endorsing in future BPEL releases. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961444#3961444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961444 From do-not-reply at jboss.com Thu Jul 27 18:39:39 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 27 Jul 2006 18:39:39 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @OneToMany Question Message-ID: <5273041.1154039979899.JavaMail.jboss@colo-br-02.atl.jboss.com> This is really an EJB3/JPA question, not a Seam one. You may get better support if you post your question in that forum. It sounds like you want a ManyToMany relation. If Tasks can have many TaskItems and a TaskItem can be associated with more than one Task this is a ManyToMany relation, not a OneToMany. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961445#3961445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961445 From do-not-reply at jboss.com Thu Jul 27 18:59:16 2006 From: do-not-reply at jboss.com (bryan_castillo) Date: Thu, 27 Jul 2006 18:59:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <389453.1154041156915.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, now I know whats going on. To summarize, I thought that a generated id coming from a sequence in EJB would be the same as the physical value of the sequence. But the sequence generator actually takes the value from the database sequence and multiplies it by the allocationSize. As long as every program, (or chunk of code) using that sequence uses the same multiplier you will be safe. The SequenceHiLoGenerator keeps the last sequence number in memory and just increments the sequence number in memory, and pulls a new physical sequence when it uses allocationSize numbers since the last pull from the physical sequence. If I want the generator to produce the same number as the sequence (so the code will not conflict with other non-java code using the sequence), than I can set the allocationSize to 1. Then I will not need a hibernate specific annotation. This works for me: | @Id | @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="VNDR_ID_SEQ") | @SequenceGenerator(name="VNDR_ID_SEQ", sequenceName="VRAP.VNDR_ID_SEQ", allocationSize=1) | @Column(name="VNDR_ID") | public int getId() { | return id; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961446#3961446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961446 From do-not-reply at jboss.com Thu Jul 27 19:15:09 2006 From: do-not-reply at jboss.com (chane) Date: Thu, 27 Jul 2006 19:15:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <22142054.1154042109017.JavaMail.jboss@colo-br-02.atl.jboss.com> Your right. I went back and traced through the logs again and I thought it was being destroyed since I saw some context.destroy messages in the log. I mis-read them as being in the stateful context.....Thanks for putting me on the right path. I'm really used to stateless frameworks and wrapping my head around a conversation's interactions and subtlies is a bit more than I initial thought it was going to be. Thanks for the patience. Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961448#3961448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961448 From do-not-reply at jboss.com Thu Jul 27 19:28:09 2006 From: do-not-reply at jboss.com (Holger Prause) Date: Thu, 27 Jul 2006 19:28:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @OneToMany Question Message-ID: <12368747.1154042889424.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello anonymous wrote : | It sounds like you want a ManyToMany relation. If Tasks can have many TaskItems and a TaskItem can be associated with more than one Task this is a ManyToMany relation, not a OneToMany. | Hmm but the TaskItem dont have any information about the task it owns (no getTask() method) and its not biderectional.I shoudl learn sth about database design. Thx for giving me the right hint i changed my code to: | @ManyToMany( | targetEntity=TaskItem.class, | cascade={CascadeType.PERSIST, CascadeType.MERGE} | ) | @JoinTable( | name="task_taskItems", | joinColumns = { @JoinColumn( name="task_id", unique = false)}, | inverseJoinColumns = @JoinColumn( name="taskItem_id", unique = false) | ) | and now its working - no complaining anymore about duplicated entry. Thank u very much, helped me a lot and sorry for posting in wrong forum. Bye, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961449#3961449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961449 From do-not-reply at jboss.com Thu Jul 27 19:33:34 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 27 Jul 2006 19:33:34 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: JBPEL dependency on JWSDP Message-ID: <9208073.1154043214220.JavaMail.jboss@colo-br-02.atl.jboss.com> Effectively, JBossWS contains its own toolset making JWSDP unnecessary. JBoss BPEL beta 1 was tested with jboss 4.0.4 but switching to wstools (and rewriting the user guide, etc.) was postponed due to time constraints. Note there is no real dependency on JWSDP; we only use the wscompile tool. Future JBoss BPEL versions will use wstools instead of wscompile. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961450#3961450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961450 From do-not-reply at jboss.com Thu Jul 27 19:34:16 2006 From: do-not-reply at jboss.com (Martinator) Date: Thu, 27 Jul 2006 19:34:16 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Unable to Obtain JMX MBean for Servlet Info Message-ID: <15921179.1154043256563.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to pull servlet statistics from JMX. The process works great for ServerInfo as follows: MBeanServer lBeanServer = org.jboss.mx.util.MBeanServerLocator.locateJBoss(); | ObjectName lBeanName = new ObjectName("jboss.system:type=ServerInfo"); | Object lAttribute = lBeanServer.getAttribute(lBeanName, "FreeMemory"); It will not work for getting servlet statistics: MBeanServer lBeanServer = org.jboss.mx.util.MBeanServerLocator.locateJBoss(); | ObjectName lBeanName = new ObjectName("jboss.web:J2EEApplication=none,J2EEServer=none,WebModule=//localhost/xxxxxx,j2eeType=Servlet,name=default"); | Object lAttribute = lBeanServer.getAttribute(lBeanName, "requestCount"); I reproduced the string exactly as it appears in the JBoss Console. When I run it it tells me that "default is not registered." I'm running JBoss 3.2.4 and Java 1.4.2_03. Can anyone help? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961451#3961451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961451 From do-not-reply at jboss.com Thu Jul 27 20:20:28 2006 From: do-not-reply at jboss.com (steven.kitchen) Date: Thu, 27 Jul 2006 20:20:28 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Is there a way of configuring multiple application instances Message-ID: <14193399.1154046028236.JavaMail.jboss@colo-br-02.atl.jboss.com> >From a standing start on J2EE, never mind JBoss. We have a web service using a single SLSB to extract information through Hibernate. We want to be able to deploy separate instances of the same app. to JBoss (Live, Training) and potentially different versions (Live, Test next version). The conventional (non J2EE) approach would be to run an application in an environment that set its configuration, i.e. the environment changes, not the application deployment. Point 3 in section 5.2 Java Naming and Directory Interface? (JNDI) Naming Context of the J2EE 1.4 spec referred to in section 3.6. J2EE and JNDI - The Application Component Environment of the jboss4guide would seem to suggest that the ENC (java:comp/env) is the way to achieve this: ?The Deployer uses the tools provided by the container to initialize the environment entries that are declared in the application component?s deployment descriptor. The Deployer can set and modify the values of the environment entries.? However, the documentation uses jboss.xml and jboss-web.xml descriptors to set the ENC. As these would appear to have to be in the EAR or WAR, it requires a different EAR or WAR for each application instance, i.e. the application deployment is changed to change the environment. Can the setting of the ENC be moved out of the EAR or WAR? The other approach I am considering is to use an MBean (again, not something I familiar with) for each application instance. I can envisage setting different Hibernate session factories on application instances using an MBean, but I can?t image how to deploy the required classes, and I can?t conceive of configuring the web application (which is not my area of expertise anyway). So, which is the more viable approach to configuring application instances without changing the EAR: ENC or MBean, or is the whole approach misconceived and I should accept changing the EAR for different application instances. I?d be grateful for any advice that can point me in the right direction. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961452#3961452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961452 From do-not-reply at jboss.com Thu Jul 27 20:37:11 2006 From: do-not-reply at jboss.com (mishelangelo) Date: Thu, 27 Jul 2006 20:37:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - ejb3trail persistence error Message-ID: <7070792.1154047031276.JavaMail.jboss@colo-br-02.atl.jboss.com> whenever i try running jsp files that use session beans to access and retrieve persistent (o/r) entities, i get exceptions usu with root cause: NullPointerException on the line where the an entity should have been initialized from a method call to a session bean. | HTTP Status 500 - | | type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | org.apache.jasper.JasperException: Exception in JSP: /persistence/entitymanager/addfund.jsp:45 | | 42: | 43: <% | 44: // Collection funds = cal.getFunds(); | 45: Collection funds = cal.getFunds(); | 46: %> | 47: | 48: There are <%=funds.size()%> funds in the database.
    | | | Stacktrace: | org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | java.lang.NullPointerException | org.apache.jsp.persistence.entitymanager.addfund_jsp._jspService(addfund_jsp.java:89) | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | I dont see anything wrong with | 45: Collection funds = cal.getFunds(); | in and of itself.... but what do i know.... :) Does anyone have any idea why? I'm kinda like a total j2ee newbie View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961453#3961453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961453 From do-not-reply at jboss.com Thu Jul 27 20:37:53 2006 From: do-not-reply at jboss.com (anatoly.osiko) Date: Thu, 27 Jul 2006 20:37:53 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: 1.0.2: Exception when client receives a JavaBean Message-ID: <15648521.1154047073676.JavaMail.jboss@colo-br-02.atl.jboss.com> I have found this feature of JBossWS empirically as well, whatever worked with the Axis based ws4jee stopped working .... JBossWS appears to be strictly adheres to XML Schema definitions. Which is good. The by definition defines not only the elements it contains, but also their order (compare with ). Therefore the missing element in the message raises the error (on schema validation I guess), unless it explicitly defined with nillable="yes" attribute. In the latter case, the element would be inserted in the message as 'nil' element, of course. So the above is the solution. But not exactly. There is a subtle case with the primitive types. If you expect the JavaBean to contain a primitive type, e.g. int, then - don't, if it's declared as nillable. The primitive type element declared in the schema as nillable, will be generated as a Java object wrapper, e.g. Integer. As it should be. If your insist that property in JavaBean still be an int, then don't declare it nillable, but make sure it is always included in the resulting message. Of course, the above doesn't effect xsd:string. PS I wonder if there is a way to switch the schema validation off? May that will also increase the speed of JAXB processing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961454#3961454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961454 From do-not-reply at jboss.com Thu Jul 27 20:48:33 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Thu, 27 Jul 2006 20:48:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: ejb3trail persistence error Message-ID: <15429658.1154047713921.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't use scriptlets. Use JSF. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961455#3961455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961455 From do-not-reply at jboss.com Thu Jul 27 21:08:55 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 27 Jul 2006 21:08:55 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: problem getting pojocache to work Message-ID: <26170487.1154048935539.JavaMail.jboss@colo-br-02.atl.jboss.com> Has replication ever worked in other tests? For example, can you try out the JBoss Cache tutorial to see if you can get mcast to work first? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961457#3961457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961457 From do-not-reply at jboss.com Thu Jul 27 21:21:16 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Thu, 27 Jul 2006 21:21:16 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Data file synchronization Message-ID: <4700084.1154049676016.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like these are configuration files that you are interested. Can you shared file system to do the job? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961458#3961458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961458 From do-not-reply at jboss.com Thu Jul 27 22:42:08 2006 From: do-not-reply at jboss.com (markfrench) Date: Thu, 27 Jul 2006 22:42:08 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Need help trying to expose singleton mbean interface to all Message-ID: <574515.1154054528381.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I currently have an mbean deployed in the deploy-hasingleton directory which I need to have its interface accessible via jndi to all nodes. The following is it's related deployment descriptor: | | | | | | | | jboss:service=invoker,type=pooled | | | eventmanager:service=eventcontainer | | HASingletonEventContainer | true | | com.transtoll.modules.eventmanager.management.EventContainerMBean | | | | | org.jboss.proxy.ClientMethodInterceptor | | | org.jboss.invocation.InvokerInterceptor | | | | | This bean based on the hajndi wiki page but for some reason the JNDI entry doesn't appear in any of the slave nodes. Is something wrong or is it not possible with jboss 4.0.4 and I have to use the RMIAdaptor and JMX calls? Cheers Mark View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961460#3961460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961460 From do-not-reply at jboss.com Thu Jul 27 22:46:44 2006 From: do-not-reply at jboss.com (markfrench) Date: Thu, 27 Jul 2006 22:46:44 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Need help trying to expose singleton mbean interface to Message-ID: <17662743.1154054804847.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to add the code and service descriptor is packaged in a sar and copied to the deploy-hasingleton directory if that make a difference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961461#3961461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961461 From do-not-reply at jboss.com Thu Jul 27 23:00:55 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 27 Jul 2006 23:00:55 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Need help trying to expose singleton mbean interface to Message-ID: <16177531.1154055655935.JavaMail.jboss@colo-br-02.atl.jboss.com> The bean proxy should be visible in the regular JNDI tree in the node on which it is deployed. Clients needing to access the proxy should use HA-JNDI to find it -- anything bound in the normal JNDI tree on any cluster node will be visible on all nodes via the HA-JNDI service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961462#3961462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961462 From do-not-reply at jboss.com Thu Jul 27 23:08:28 2006 From: do-not-reply at jboss.com (recycle_bin) Date: Thu, 27 Jul 2006 23:08:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Get ServletContext in Session Bean Message-ID: <26248168.1154056109067.JavaMail.jboss@colo-br-02.atl.jboss.com> I would preload system data to ServletContext for later use during system up. Then i will get those data in the Session Bean (both stateful and stateless). I use following code to retrieve Context context = Contexts.getApplicationContext(); But, context is NULL. Is there anything that i need to take care when i use getApplicationContext()? or are there other ways to achieve same goal? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961463#3961463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961463 From do-not-reply at jboss.com Thu Jul 27 23:16:21 2006 From: do-not-reply at jboss.com (markfrench) Date: Thu, 27 Jul 2006 23:16:21 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Need help trying to expose singleton mbean interface to Message-ID: <23251860.1154056581519.JavaMail.jboss@colo-br-02.atl.jboss.com> I have also configured the RMIAdaptor configured as a singleton so that the clustered queues etc can be flushed by any node in cluster. Why does it's jndi name appear in all the global jndi namespace on each node? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961464#3961464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961464 From do-not-reply at jboss.com Thu Jul 27 23:38:17 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Thu, 27 Jul 2006 23:38:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Get ServletContext in Session Bean Message-ID: <16271582.1154057897105.JavaMail.jboss@colo-br-02.atl.jboss.com> How are you making this call? You'll only be able to lookup a Seam context after Seam has initialized and while you're within some web request. So calling this method via a startup servlet will probably fail. Calling this method via an EJB or MDB that is executed via a non-web request (ie executed directly via IIOP) will also probably fail. With few exceptions Seam only really works (has context) within the JSF lifecycle. It sounds like you may be trying to use it outside of this. Or you may simply have Seam misconfigured. I need more info please. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961465#3961465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961465 From do-not-reply at jboss.com Fri Jul 28 00:12:06 2006 From: do-not-reply at jboss.com (confuz) Date: Fri, 28 Jul 2006 00:12:06 -0400 (EDT) Subject: [jboss-user] [JBossCache] - cachelistener configuration Message-ID: <8546432.1154059926474.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, How to configure the cache listener in the xml configuration file? and I tested the POJOCache with 1.4.0.GA use policy and cacheloader like follow | org.jboss.cache.aop.eviction.AopLRUPolicy | | | | | 5 | | | 5000 | 1000 | | | 500 | 4 | | | | | | | true | | false | | | org.jboss.cache.loader.jdbm.JdbmCacheLoader | | location=c:/tmp/aop/filetore2 | | false | | false | false | false | | | | | then i wrote the following test code | for(int j = 0; j < 1000; j ++){ | SamplePojo pojo=new SamplePojo(j, "Hany"+(i*1000+j)); | pojo.getHobbies().add("Running"); | pojo.getHobbies().add("Beerathlon"); | pojo.getHobbies().add("Triathlon"); | cache.putObject("/test/"+(j), pojo); | } | Thread.sleep(6000); | System.out.println(tester.cache.getObject(Fqn.fromString("/test/3"))); | | | the last print will be null, why can not retrieve data from cache? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961466#3961466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961466 From do-not-reply at jboss.com Fri Jul 28 00:17:05 2006 From: do-not-reply at jboss.com (javajedi) Date: Fri, 28 Jul 2006 00:17:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Can't get Seam application to work as a Portlet Message-ID: <1949979.1154060225511.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved my problem. The problem was that inputFileUpload relies on a servlet filter, which doesn't work in a portlet. I found a patch for myfaces here: http://issues.apache.org/jira/browse/MYFACES-434 and it's working with the patch applied. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961468#3961468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961468 From do-not-reply at jboss.com Fri Jul 28 00:42:43 2006 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Fri, 28 Jul 2006 00:42:43 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: 1.0.2: Exception when client receives a JavaBean Message-ID: <29527270.1154061763313.JavaMail.jboss@colo-br-02.atl.jboss.com> My WSDL is generated by the ANT task provided by JBossWS. The schema definition looks as follows: | | | | | | | | | | | | | ... The server doesn't throw any exception, and log shows these entries: 2006-07-28 06:34:05,116 DEBUG org.jboss.ws.soap.SOAPContentElement - setObjectValue: {id=1, nachname=Alpha, vorname=Adrian, art=privat, rabatt=0} | 2006-07-28 06:34:05,116 DEBUG org.jboss.ws.soap.SOAPContentElement - getXMLFragment from Object [xmlType={http://de.hska.ws/jaws}KundeData,javaType=class de.hska.ws.KundeData] | 2006-07-28 06:34:05,116 DEBUG org.jboss.ws.soap.SOAPContentElement - xmlFragment: privat1Alpha0Adrian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961469#3961469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961469 From do-not-reply at jboss.com Fri Jul 28 00:43:31 2006 From: do-not-reply at jboss.com (recycle_bin) Date: Fri, 28 Jul 2006 00:43:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Get ServletContext in Session Bean Message-ID: <31400024.1154061811429.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank Cptnkirk. it works now when i call session bean through JSF. i made a mistake that i call such session bean in a servlet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961470#3961470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961470 From do-not-reply at jboss.com Fri Jul 28 00:53:45 2006 From: do-not-reply at jboss.com (doankhoavy) Date: Fri, 28 Jul 2006 00:53:45 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: Help in executing Hello World BPEL example Message-ID: <20858079.1154062425361.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks PeterJ Yeah, I have fixed this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961471#3961471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961471 From do-not-reply at jboss.com Fri Jul 28 01:04:34 2006 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Fri, 28 Jul 2006 01:04:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <32056933.1154063074547.JavaMail.jboss@colo-br-02.atl.jboss.com> Those are real world use cases, but there are as many use cases as Java developers... Self contained libs is the easiest way to deal with classloading stuff. We also realize that people do not want to copy/move libs around just to see an example running. You can share libs, but your different web apps may require different versions of the same libs. we decided to provide shared myfaces libs in JBoss AS, it's cool for some people, it's a pain for others who prefer to embed their own libs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961472#3961472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961472 From do-not-reply at jboss.com Fri Jul 28 01:29:54 2006 From: do-not-reply at jboss.com (IO_303) Date: Fri, 28 Jul 2006 01:29:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Error when trying to raise max heap size Message-ID: <12092905.1154064594513.JavaMail.jboss@colo-br-02.atl.jboss.com> I was right and able to fix the problem...the suggestion that PeterJ gave was a good one but did not fix my problem. His solution worked if I was using 32 bit, but as it turned out my server admin had installed 32 bit java(like I told him not to) because I told him to use the AMD64 package, he then put the standard 32 bit package on because "we don?t have AMD chips". So I opened a SR assigned it to myself to install the AMD64 java package and reconfigure the JBoss install, then bam I am running with my new max of 4 GB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961474#3961474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961474 From do-not-reply at jboss.com Fri Jul 28 01:34:09 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 28 Jul 2006 01:34:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <21988721.1154064849470.JavaMail.jboss@colo-br-02.atl.jboss.com> Personally I am doing it this way: /** | * Tiny sugar class for getting the hibernate session from an EntityManager. | */ | public class GetHibernateSession { | // wow, cool idiom! | private static final Logger log = Logger.getLogger(new Throwable().getStackTrace()[0].getClass()); | | private GetHibernateSession () { } | | public static Session get (EntityManager entityManager) { | Session delegate = (Session)entityManager.getDelegate(); | return delegate; | } | } Use like so: GetHibernateSession.get(entityManager).enableFilter("priorChangeset") | .setParameter("changeset_id", changeset.getId()); Works for me :-) And no need for hibernate.cfg.xml when I already have a persistence.xml.... Cheers! Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961475#3961475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961475 From do-not-reply at jboss.com Fri Jul 28 01:44:54 2006 From: do-not-reply at jboss.com (RobJellinghaus) Date: Fri, 28 Jul 2006 01:44:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <29925556.1154065494916.JavaMail.jboss@colo-br-02.atl.jboss.com> Basically Tomcat just can't reliably shut down a running webapp, because they are sloppy with their classloaders. You wind up with all kinds of static class references that aren't cleaned up properly, and the reloading of your webapp may or may not work. You can get weird ClassCastExceptions post-reloading because the old classloader's classes are still hanging around. At least that's been my experience.... Cheers, Rob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961477#3961477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961477 From do-not-reply at jboss.com Fri Jul 28 01:51:17 2006 From: do-not-reply at jboss.com (chane) Date: Fri, 28 Jul 2006 01:51:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Understanding Serialization Message-ID: <7974307.1154065877045.JavaMail.jboss@colo-br-02.atl.jboss.com> After a conversation has sat idle for a while due to think time (or abondonment), I am seeing SerializationException errors in the log. Suggestions on where I can learn about serialization? A couple of specific questions that might clear up my issues: 1. Is it enough to add Serializable to a class? 2. When do I need to have writeObject/readObject methods? - are those the right method names? Thanks, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961478#3961478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961478 From do-not-reply at jboss.com Fri Jul 28 02:04:31 2006 From: do-not-reply at jboss.com (dgallego) Date: Fri, 28 Jul 2006 02:04:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Hiding a portlet Message-ID: <26529248.1154066671977.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks so much :). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961482#3961482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961482 From do-not-reply at jboss.com Fri Jul 28 02:31:40 2006 From: do-not-reply at jboss.com (MSchmidke) Date: Fri, 28 Jul 2006 02:31:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <586959.1154068300936.JavaMail.jboss@colo-br-02.atl.jboss.com> Great ... Did not know that Hibernate Session is that simply available. Works great! This is the right solution for such small-brained people like me. Thank you very much! Marcus. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961484#3961484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961484 From do-not-reply at jboss.com Fri Jul 28 02:35:39 2006 From: do-not-reply at jboss.com (bdaniliuc) Date: Fri, 28 Jul 2006 02:35:39 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Custom principal in Web application Message-ID: <23791357.1154068539340.JavaMail.jboss@colo-br-02.atl.jboss.com> Configuration for custom login module configured in login-config.xml: | | java:/jaas/CoreApplication | core.rbac.BasicPrincipal | core.rbac.jboss.CertificateVerifier | | The custom login module is a subclass of BaseCertLoginModule that obtains user roles from LDAP. In the login module the identity is instance of BasicPrincipal. The user roles are propagated to the web application, for example, calling request.isUserInRole("someRole") correctly returns true or false based on user role assignment. However request.getUserPrincipal() returns an instance of SimplePrincipal and not BasicPrincipal. Please inform me if you need other code or configuration snapshots. Thanks, Bogdan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961485#3961485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961485 From do-not-reply at jboss.com Fri Jul 28 02:42:19 2006 From: do-not-reply at jboss.com (angelo.dangelo) Date: Fri, 28 Jul 2006 02:42:19 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Tomahawk File Upload Message-ID: <19081740.1154068939905.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have to create a jsf portlet for file uploading, but I am not able to use inputFileUpload (Apache Tomahawk). It seems that it does not work inside a portlet. Do you know if there is a workaround for this issue, or if there are other JSF extensions that provide this kind of feature? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961486#3961486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961486 From do-not-reply at jboss.com Fri Jul 28 02:42:33 2006 From: do-not-reply at jboss.com (wonnekeysers) Date: Fri, 28 Jul 2006 02:42:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Can you change the context root of a deployed ear? Message-ID: <11507964.1154068953758.JavaMail.jboss@colo-br-02.atl.jboss.com> Has this feature request been created already? I want to vote for it! :-) I am wondering where this feature, of prepending the .ear package name to the EJB names, is coming from. Is it in the specs of EJB 3 or JavaEE 5? Because I see a few problems that may occur in this approach. (Or is there already a solution that I missed?) - Maven builds & version numbers As mentioned in the first post, EJB clients will need to know the version of the ear before being able to lookup the beans. Moreover, new versions of .ear containing EJBs will also require updated clients (external war or client app) - Maven builds & unit testing with embedded EJB3 JNDI names will be different between unit tests from maven using embedded EJB3 and deployment on JBoss AS afterwards. - Packaging/Deployment What if the person responsible for deployment renames the .ear file before deploying? Application will not work? - ... Thanks for your feedback View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961487#3961487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961487 From do-not-reply at jboss.com Fri Jul 28 02:59:55 2006 From: do-not-reply at jboss.com (kosmi) Date: Fri, 28 Jul 2006 02:59:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Logout: Invalidate Session and resetting Principal Message-ID: <30694683.1154069995075.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your answer, but where can I call the method? The JBossActionResponse in the portlet doesn't have such a method. I tried to call it in a custom commandMapper but i also can't find the correct response. Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961488#3961488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961488 From do-not-reply at jboss.com Fri Jul 28 03:01:35 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Fri, 28 Jul 2006 03:01:35 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane in a portlet Message-ID: <28318158.1154070095800.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolve my problem of "out of memory" putting more ram for my server but the problem persite. The error is : 08:48:30,619 ERROR [Services] problem closing service 'persistence' | org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) | at org.jbpm.svc.Services.close(Services.java:211) | at org.jbpm.JbpmContext.close(JbpmContext.java:141) | at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:201) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) | at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav | :129) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) | at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) | at org.jboss.portal.core.CoreController.handle(CoreController.java:190) | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) | at $Proxy133.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | 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.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) | at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus | ing: org.jbpm.graph.exe.Token | at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) | at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) | at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) | at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) | at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:2803) | at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:467) | at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:190) | at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:195) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) | at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) | ... 184 more | 08:48:31,322 ERROR [Jsr168Dispatcher] Could not execute action | org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate sessi | n} | at org.jbpm.svc.Services.close(Services.java:223) | at org.jbpm.JbpmContext.close(JbpmContext.java:141) | at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:201) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) | at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav | :129) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) | at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) | at org.jboss.portal.core.CoreController.handle(CoreController.java:190) | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) | at $Proxy133.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | 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.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) | at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) | at org.jbpm.svc.Services.close(Services.java:211) | ... 183 more | Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus | ing: org.jbpm.graph.exe.Token | at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) | at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) | at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) | at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) | at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:2803) | at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:467) | at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:190) | at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:195) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) | at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) | ... 184 more | 08:48:32,010 ERROR [Jsr168Dispatcher] The portlet threw an exception | javax.portlet.PortletException: Error executing action processInstance | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav | :129) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) | at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:64) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:134) | at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58) | at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) | at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) | at org.jboss.portal.core.CoreController.handle(CoreController.java:190) | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) | at $Proxy133.handle(Unknown Source) | at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:52) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | 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.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:87) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:75) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) | at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) | at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibe | nate session} | at org.jbpm.svc.Services.close(Services.java:223) | at org.jbpm.JbpmContext.close(JbpmContext.java:141) | at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProcessInstanceAction.java:201) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:365) | at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:217) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) | at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:137) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115) | at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:81) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:171) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:100) | at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) | at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:414) | ... 144 more | Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) | at org.jbpm.svc.Services.close(Services.java:211) | ... 183 more | Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus | ing: org.jbpm.graph.exe.Token | at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) | at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) | at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) | at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) | at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:2803) | at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:467) | at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:190) | at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:113) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:195) | at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) | at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) | ... 184 more | 08:48:32,744 ERROR [InvokeWindowActionCommand] An portlet exception occured in portlet MyPortlet.MyPortlet | javax.portlet.PortletException: Error executing action processInstance | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:427) | at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:272) | at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) | at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) | at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:72) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:50) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:76) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:167) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:88) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:87) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchInterceptor.java:65) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.jav | :129) | 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) | at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:247) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:73) | at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) | at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:79) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor.java:94) | at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) | at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) | at org.jboss.portal.ser View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961489#3961489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961489 From do-not-reply at jboss.com Fri Jul 28 03:06:10 2006 From: do-not-reply at jboss.com (gupta.amit) Date: Fri, 28 Jul 2006 03:06:10 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem with system.getproperties("user.home") Message-ID: <30691080.1154070370206.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi , I am deploying An web application consisting of the servlet , in the inti function of servelt i am loading a property file, the function used to retrive the Path of file is system.getproperties("user.home"). As my deployment platform is windows it returns c:\document and setting\Mylogin. I do not want to keep my property file and other application file on this location. IN WAS u have the option of configuring the User.home ,could anyone kindly help me so that i can change the User.home to some location of my choice. Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961490#3961490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961490 From do-not-reply at jboss.com Fri Jul 28 03:18:43 2006 From: do-not-reply at jboss.com (syncter) Date: Fri, 28 Jul 2006 03:18:43 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Properties file with the same name in separate JAR Message-ID: <31002420.1154071123177.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have two EJB jars deployed on the same instance JBOSS application server. These two jars (lets say A.jar and B.jar) both have a utility class that retrieves custom property definition in a file called MyResource.properties. Each of the jar contains its own sets of properties defined in the property file and a copy of util class. Method in util class: public String getMyCustomMessage(String msg) { ResourceBundle myresource= ResourceBundle.getBundle("MyResource", getLocale()); return new StringBuffer(myresource.getString(msg)).toString(); } Here is the problem, when A.jar request service from B.jar, somehow funtions in B.jar refers to property file in A.jar when it calls the util class within B.jar. For instance, I have a property Myname=sync in MyResource.properties file in B.jar not in A.jar. It throws error that it could not find the property definition even though it is defined and bundled in the jar. When I added Myname=sync in MyResource.properties file in A.jar, this errror is gone. May i know what is the cause of such cross reference and how could I rectify this issue? Any help is much appreciated. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961491#3961491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961491 From do-not-reply at jboss.com Fri Jul 28 03:19:29 2006 From: do-not-reply at jboss.com (dlipski) Date: Fri, 28 Jul 2006 03:19:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Task parameters Message-ID: <24395580.1154071169455.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks I forgot about task events, and was trying to do that in some other way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961492#3961492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961492 From do-not-reply at jboss.com Fri Jul 28 03:20:16 2006 From: do-not-reply at jboss.com (davidrh) Date: Fri, 28 Jul 2006 03:20:16 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Removing a MessageListener doesn't remove its associated thr Message-ID: <27320756.1154071216435.JavaMail.jboss@colo-br-02.atl.jboss.com> We are trying to close a session that has a consumer with a MessageListener registered on it. The consumer and the session both close, but the thread that was created for the MessageListener does not die. We have tried explicitly setting the MessageListener to null on the consumer, but this actually creates another thread! Setting the MessageListener to null on the session throws an exception. Even closing the connection does not remove the MessageListener threads. I've pasted code below that will demonstrate this behaviour - we run in debug mode in Eclipse and can see the threads being created. As an aside, the reason that we are trying to close the session that has the MessageListener is that we have noticed that our listeners seem to stop listening after a period of time (in the order of minutes under heavy load). In our application, we actually create a configurable number of sessions with a listener on each which corresponds to how many threads we want to be working the queue (in a similar way to the code below). Through our logs, we can see that over time, the receivers stop receiving until there is only one session left processing messages. We are catching all exceptions in our MessageListener, so they don't propogate up to JBoss Messaging, so as far as JBoss is concerned we always consume the message (we are using auto acknowledge). We've checked that our receiver is not blocking, and the single receiver that is left does eventually process all of the messages. The workaround is to periodically close the sessions that we have and create new ones. This keeps all the listeners processing messages, but now we eventually run out of resources on the server due to the ever increasing number of threads. Are we doing anything wrong in the code below? At the moment, I would be happy if I could get rid of the MessageListener threads somehow as this solves our immediate problem of trying to keep multiple threads processing messages from the queue. Longer term, it would be nice if we didn't have to do this either and the sessions would live indefinitely. Any help appreciated. David | public class TestMultiSessionMessageListener { | | /** | * @param args | */ | public static void main(String[] args) { | TestMultiSessionMessageListener ml = new TestMultiSessionMessageListener(); | | try { | ml.test(); | } catch (JMSException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | } | | private void test() throws JMSException { | Hashtable properties = new Hashtable(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | properties.put(Context.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interfaces"); | properties.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | properties.put(Context.SECURITY_PRINCIPAL, "admin"); | properties.put(Context.SECURITY_CREDENTIALS, "admin"); | | ConnectionFactory connectionFactory = null; | | try { | Context context = new InitialContext(properties); | connectionFactory = (ConnectionFactory) context | .lookup("ConnectionFactory"); | } catch (NamingException ne) { | throw new RuntimeException(ne); | } | | Connection connection = connectionFactory.createConnection(); | connection.start(); | | int numberOfProcesses = 1; | | MessageConsumer[] consumers = new MessageConsumer[numberOfProcesses]; | Session[] sessions = new Session[numberOfProcesses]; | | while (true) { | for (int i = 0; i < consumers.length; i++) { | sessions = connection.createSession(false, | Session.AUTO_ACKNOWLEDGE); | Queue q = sessions.createQueue("publish.request"); | | consumers = sessions.createConsumer(q); | MessageListener ml = new MessageListener() { | | public void onMessage(Message arg0) { | System.out.println(Thread.currentThread().getName()); | } | | }; | | consumers.setMessageListener(ml); | } | try { | Thread.sleep(2000); | } catch (InterruptedException e) { | } | | for (int i = 0; i < consumers.length; i++) { | consumers.setMessageListener(null); | try { | sessions.setMessageListener(null); | } catch (Exception e) { | | } | consumers.close(); | consumers = null; | sessions.close(); | sessions = null; | } | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961493#3961493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961493 From do-not-reply at jboss.com Fri Jul 28 03:28:25 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 28 Jul 2006 03:28:25 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Properties file with the same name in separate JAR Message-ID: <30853118.1154071705427.JavaMail.jboss@colo-br-02.atl.jboss.com> Are these 2 jars part of the same application? If yes, then why are the properties files having the same name. Is there any problem in giving two different names to the properties file and using the appropriate one through your code? The reason i ask these questions is that the properties file is picked by the classloader and if you want to maintain 2 property files with the same name in 2 jars of the *SAME* application, then i dont think thats possible. I believe classloader isolation is possible at application level and not jar level. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961494#3961494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961494 From do-not-reply at jboss.com Fri Jul 28 03:31:09 2006 From: do-not-reply at jboss.com (apill) Date: Fri, 28 Jul 2006 03:31:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Can you change the context root of a deployed ear? Message-ID: <29479719.1154071869297.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes the issues is http://jira.jboss.com/jira/browse/EJBTHREE-617[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961495#3961495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961495 From do-not-reply at jboss.com Fri Jul 28 03:33:30 2006 From: do-not-reply at jboss.com (dlipski) Date: Fri, 28 Jul 2006 03:33:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Retriving task list Message-ID: <26509853.1154072010865.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I'm wondering if it is possible to get user task list meeting some criteria. For example when I create process instance I add to process context some variable ('var1'). Then when I retrive task instances for user i want only tasks which belongs to process instances with var1 = 10. I don't want to retrive all task instances and filter them in Java. What is the simplest way to achieve this ? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961496#3961496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961496 From do-not-reply at jboss.com Fri Jul 28 03:34:47 2006 From: do-not-reply at jboss.com (anurudh) Date: Fri, 28 Jul 2006 03:34:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Database connectivity with Oracle9i Message-ID: <8114106.1154072088000.JavaMail.jboss@colo-br-02.atl.jboss.com> Please tell me how to do database connectivity with Oracle9i. I have created a class DAO and jst write the code for opening the connection and executed a query to check the validity of a user and then close the connection. This class is working fine when i run it indipendently but when i try to run it through portlet by passing the username and password, it won't work. So do i need to make some other changes in any other file..........??? Thanks......!!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961497#3961497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961497 From do-not-reply at jboss.com Fri Jul 28 03:39:39 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 28 Jul 2006 03:39:39 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with system.getproperties( Message-ID: <5988026.1154072379646.JavaMail.jboss@colo-br-02.atl.jboss.com> You need not place the property file outside your application. You can package this property file as part of your application(may be in the same jar/war in which your servlet is present) and later on in your code of servlet, you can retrieve the same as follows: Servlet { | | init() { | InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream("yourPropertiesFileName.properties"); | java.util.Properties props = new Properties(); | props.load(inputStream); | } | | } You will find more information on this here: http://www.javaworld.com/javaworld/javaqa/2003-08/01-qa-0808-property.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961498#3961498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961498 From do-not-reply at jboss.com Fri Jul 28 03:39:50 2006 From: do-not-reply at jboss.com (wtff) Date: Fri, 28 Jul 2006 03:39:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <26996795.1154072390520.JavaMail.jboss@colo-br-02.atl.jboss.com> yeah, I see your point. As you mentioned, putting libs into the app is the easiest way. What I am proposing is that JBoss provides guidance on how to deal with the shared lib approach for those developers who want to go the other way. Let's say that there was one howto on how to install SEAM, Facelets, JSF, Tomawhak, Trinidat and jBPM into Jboss as shared libs and then deploy a portlet app which makes use of these technologies. In this case, the effort of finding out how to do this was invested only once and the knowledge made available to all developers who then wouldn't have to find out for themselves one by one. Stripping this configuration down can then be done easily I suppose because moving part of the libs from a shared mode into apps will probably not break anything. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961499#3961499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961499 From do-not-reply at jboss.com Fri Jul 28 03:43:11 2006 From: do-not-reply at jboss.com (cosjav) Date: Fri, 28 Jul 2006 03:43:11 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Integrating ActiveMQ with Jboss4 Message-ID: <26278058.1154072591242.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am relatively new to JMS and have been looking to migrate our current JBossMQ implementation of JMS to ActiveMQ and at the same time move from using JBoss 3.2.3 to JBoss 4.0.4. Our product is deployed over two servers whereby MDBs deployed on server1 will write to queues located on server2 which server2 will then read from. Server2 also writes to queues located on itself that server1 will read from. Finally server1 also has some local queues that it writes to and reads from (accessed by server1 only). This above-mentioned setup is working perfectly fine with the JBossMQ implementation of JMS and the only reason why we are migrating to ActiveMQ is because JBossMQ doesnt support indexing on message selectors (i.e. when a queue that has multiple receivers, which receive messages based on a msg selector, grows large with messages that dont match a particular receiver, performance degrades significantly). Now the question I'm asking is a newbie one in relation to MDBs reading from remote JMS queues. It was my understanding that to achieve this one would have to follow something similar to: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue Which is pretty much identical to the way we have set up with JBossMQ. But when it comes to ActiveMQ I couldnt find any samples that show me how to do this (the ActiveMQ Jboss Integration Guide seems to take a different approach thats not for remote queue access). Does this mean there is another way to do it? (btw, I will also post this on the ActiveMQ forums but wanted to get an idea from the Jboss community as to whether there are better/different ways of doing this) I will appreciate any guidance (even RTFM advice but with references please). Like what should I read first, and what comes next, etc... because at the moment there seems to be loads of information that I cant make much sense of in terms what links with what. Thanks, cosjav P.S the attempts I have made so far are shown below: I changed the server1 JMSProviderLoader (contained in a file named jms-providers-service.xml in deploy/jms) details from: | | | RemoteJMSProvider_server2 | jnp://server2:1099 | org.jboss.jms.jndi.JBossMQProvider | UIL2XAConnectionFactory | UIL2XAConnectionFactory | | | to | | | RemoteJMSProvider_indium | org.jboss.jms.jndi.JNDIProviderAdapter | | ActiveMQConnectionFactory | ActiveMQConnectionFactory | | java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory | java.naming.factory.url.pkgs=org.jnp.interfaces | java.naming.provider.url=server2:1099 | | | | (I think I have set the connection factory incorrectly above because I'm getting exceptions saying "javax.naming.NameNotFoundException: ActiveMQConnectionFactory") Then I changed jms-ds.xml (in deploy/jms) on server1 from: | RemoteJmsXA_server2 | | true | JMS Adapter | java:/RemoteJMSProvider_server2 | javax.jms.Queue | RemoteJmsXA_server2_Realm | 100 | | to | RemoteJmsXA_server2 | | | JMS Adapter | java:/RemoteJMSProvider_server2 | javax.jms.Queue | RemoteJmsXA_server2_Realm | 100 | activemq-ra-4.0.1.rar | javax.jms.QueueConnectionFactory | | (this was changed based on the ActiveMQ sample) Finally I changed a the queue definitons from: | jboss.mq:service=DestinationManager | to | queue/queue1 | | jboss.jca:service=RARDeployment,name='activemq-ra-4.0.1.rar' | javax.jms.Queue | PhysicalName=queue.queue1 | | I fiddled around with some other configs too but it'll make my post too long if I show all those... I'm clearly missing a link somewhere because after all these changes I am getting: java.lang.ClassCastException | at org.jboss.mq.SpyQueueReceiver.(SpyQueueReceiver.java:42) | at org.jboss.mq.SpySession.createReceiver(SpySession.java:689) | whenever I try to create a receiver (and I think its the same for creating a sender too) Thanks again... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961500#3961500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961500 From do-not-reply at jboss.com Fri Jul 28 03:45:16 2006 From: do-not-reply at jboss.com (bobunny) Date: Fri, 28 Jul 2006 03:45:16 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - [JBOSS 4] Pb Schedulers Message-ID: <12590591.1154072716547.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi every one, I don't know if it's the good group to post my problem ... Anyway, I have migrated from a Jboss application Server 3.0.3 release to a 4.0.3 release and i encountered some troubles in my applications. To give a simple example, I have severals schedulers. We can take 2 of them for example. In the release 3.0.3, the different schedulers runs independently, due to the use of distinct thread i think. Now with the 4.0.3 release, they run one by one. So it's a problem for me because i need them to run simulneously. I don't know how to configure that. Here some logs from the 3.0.3 release : | 2006-07-27 18:15:00,004 INFO [jpea.dataimport.equilend.CompareReport] [Thread-35] No remote file found | 2006-07-27 18:16:00,003 INFO [jpea.dataimport.equilend.CompareReport] [Thread-32] No remote file found | 2006-07-27 18:17:00,004 INFO [jpea.dataimport.equilend.CompareReport] [Thread-30] No remote file found | 2006-07-27 18:18:00,005 INFO [jpea.dataimport.equilend.CompareReport] [Thread-31] No remote file found We can notice that for each call, a different thread is used [Thread-XX]. So i suppose that a pool of thread is used here. Now in the 4.0.3 release, i have something like this : 2006-07-27 18:15:35,802 INFO [jpea.dataimport.equilend.CompareReport] [Timer-2] No remote file found | 2006-07-27 18:16:35,762 INFO [jpea.dataimport.triparty.jpmorgan.JPMorganFileImporter] [Timer-2] No remote file. 0 local file(s). | 2006-07-27 18:16:35,813 INFO [jpea.dataimport.equilend.CompareReport] [Timer-2] No remote file found Here we can notice [Timer-2]. So when 2 process must be launched at the same time, [Timer-2] runs the first of them, and once finished, runs the second. Does anyone know how to configure JBOSS 4.0.3 to use different threads to run my schedulers? Thanks for your help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961501#3961501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961501 From do-not-reply at jboss.com Fri Jul 28 03:52:56 2006 From: do-not-reply at jboss.com (davidrh) Date: Fri, 28 Jul 2006 03:52:56 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <18692796.1154073176493.JavaMail.jboss@colo-br-02.atl.jboss.com> Just showing a colleague and realised that setting the listener to null on the consumer does make a difference. If you do this, only 40 threads get created. If I then pause the above sample, the threads get cleaned up, so I assume there is some sort of thread pooling and cleanup going on. Will have to check out our app server again, but we had over 1,400 threads most of which were message listeners. BTW - we were seeing this behaviour in 1.0.1 CR2, so I might try CR3 next week. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961502#3961502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961502 From do-not-reply at jboss.com Fri Jul 28 03:57:11 2006 From: do-not-reply at jboss.com (jc7442) Date: Fri, 28 Jul 2006 03:57:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Improvement for org.jboss.ejb3.embedded.EJB3StandaloneBootst Message-ID: <32620115.1154073431457.JavaMail.jboss@colo-br-02.atl.jboss.com> When we start scanClasspath method, EJB3StandaloneBoostrap class defines a set of ignoredJars. These jars are not scan for deploy. ignoredJars is public static, consequently we can add some of our jars in the list (such as junit, jdbc driver, ...) When using build tools such as maven jars are named with - for example junit-3.8.2.jar. If we have added junit-3.8.2.jar in the set of jar to ignore, when we will migrate to next junit version we will have to update the set. When we have a lot of dependency the risk is to forget some librairies. A nice features will be that list of jars to ignore contains regular expression for jar (such has junit*.jar: ".*.junit-\\d.\\d.\\d.jar"). Then it will be possible to list all our jars without taking care about the release. And when we will change the release of our components, it will not affect our list of jar to ignore. Code may looks like: protected boolean accept(String file) { | for (String pattern : ignoredJars) { | if (file.matches(pattern)) { | return false; | } | } | return true; | } | | public static HashSet ignoredJars = new HashSet(); | | static { | ignoredJars.add(".*.junit.*.jar"); | ignoredJars.add(".*.commons-.*.jar"); | ignoredJars.add(".*.jboss-.*.jar"); | ... | } | public static void scanClasspath() | { | //if (ignoredJars.contains(fp.getName())) continue; | if (!accept(fp.getName())) continue; | ... | | ...} | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961503#3961503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961503 From do-not-reply at jboss.com Fri Jul 28 03:58:30 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 28 Jul 2006 03:58:30 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <2616971.1154073510522.JavaMail.jboss@colo-br-02.atl.jboss.com> Threads are pooled so will naturally go up and down according to demand, although 1400 seems a lot. Are you running with the jms client and server in the same VM? Or is it a separate client application? CR2 is indeed old, CR4 is coming out next week, so I'd wait for that if I were you rather than trying CR3. In the mean-time I'll try and run your code and see what's happening. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961504#3961504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961504 From do-not-reply at jboss.com Fri Jul 28 04:01:25 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 28 Jul 2006 04:01:25 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <24457300.1154073685324.JavaMail.jboss@colo-br-02.atl.jboss.com> BTW your code doesn't look quite right, I'm assuming this is a cut and paste error: | | sessions = connection.createSession(false, | Session.AUTO_ACKNOWLEDGE); | | Queue q = sessions.createQueue("publish.request"); | | consumers = sessions.createConsumer(q); | | You have no index on sessions or consumers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961505#3961505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961505 From do-not-reply at jboss.com Fri Jul 28 04:04:46 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 28 Jul 2006 04:04:46 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <5083466.1154073886693.JavaMail.jboss@colo-br-02.atl.jboss.com> Also in your code, you only create 1 consumer (numberOfProcesses=1) - are you really seeing 1400 threads in this situation? If not, please tell me how many consumers to create and how many threads you can see. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961506#3961506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961506 From do-not-reply at jboss.com Fri Jul 28 04:08:08 2006 From: do-not-reply at jboss.com (jalite) Date: Fri, 28 Jul 2006 04:08:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Starting failed java.sql.SQLException: User not found: S Message-ID: <22954653.1154074088509.JavaMail.jboss@colo-br-02.atl.jboss.com> ??????? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961507#3961507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961507 From do-not-reply at jboss.com Fri Jul 28 04:40:31 2006 From: do-not-reply at jboss.com (rene@xinit.org) Date: Fri, 28 Jul 2006 04:40:31 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: In which package I can found XOPMarshaller ? Message-ID: <22910161.1154076031416.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS102Install Best regards, Ren? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961511#3961511 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961511 From do-not-reply at jboss.com Fri Jul 28 05:20:06 2006 From: do-not-reply at jboss.com (ekrisjo) Date: Fri, 28 Jul 2006 05:20:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Application resource isolation Message-ID: <8290453.1154078406769.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, JBoss uses a server specific deployment descriptor (or annotation) element that maps the logical JNDI name as used by the module (EJB,WAR) to a global JNDI name. This descriptor is defined and packaged in the module, not in the application (EAR). Since the binding of global names is done in the ejb-jar module there is no way to deploy an ejb module twice in the application server. Is it possible to assign resource to applications which is only visable from that application? Weblogic 9 use a rather interesting approch called application scoped resources.. http://e-docs.bea.com/wls/docs90/jdbc_admin/packagedjdbc.html#1055301 http://e-docs.bea.com/wls/docs90/jms_admin/deployjms.html#1061792 Basically, resources can be defined as part of the application and isolated from other applications. All resources will be part of the local namespace of the application. Lovely! :-) Does JBoss have anything similar to this? Cheers, -Kristoffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961513#3961513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961513 From do-not-reply at jboss.com Fri Jul 28 05:38:33 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Fri, 28 Jul 2006 05:38:33 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: wstools generate wrong array type class ! Message-ID: <3592101.1154079513655.JavaMail.jboss@colo-br-02.atl.jboss.com> As Collection are not standard, so there aren't usableable with webservice. So you have to do your own wrapper that convert you Collection to an array and array to collection. It was not complexe but you have to maintain some new objects that can be use in webservice and another objet that make the conversion. Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961514#3961514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961514 From do-not-reply at jboss.com Fri Jul 28 05:43:55 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 28 Jul 2006 05:43:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane in a portlet Message-ID: <16980983.1154079835051.JavaMail.jboss@colo-br-02.atl.jboss.com> no ,the problem does doet persist, this is a NEW, DIFFERENT problem, which should be posted in a new thread with a good description. Look at the stacktrace for the real errors, then search for that error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961515#3961515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961515 From do-not-reply at jboss.com Fri Jul 28 05:50:07 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Fri, 28 Jul 2006 05:50:07 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: How to access remote file system from Swing client? Message-ID: <17418824.1154080207126.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Kingofhawks, If you want to manage some directory and file it's certainly could me more easy to use directly the OS capability of networking directory because managing the change of your tree could be more complexe that install a samba server or something like this. If you use tree, this tree must just reflet the directory structure, not the data on the files. The file must transfert and update on demand with a byte[] flow. Fo your directory structure you have to make an ejb that compare the server tree and the client tree and apply the difference (delete, rename...). For the file you ejb just need to read/write file and convert this to byte. I hope this help. Regards, Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961516#3961516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961516 From do-not-reply at jboss.com Fri Jul 28 05:50:14 2006 From: do-not-reply at jboss.com (joo) Date: Fri, 28 Jul 2006 05:50:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null Message-ID: <7569916.1154080214999.JavaMail.jboss@colo-br-02.atl.jboss.com> I thought it works :-( I deployed EJBs: 06:24:10,431 INFO [Ejb3AnnotationHandler] found EJB3: ejbName=esLoginBean, class=at.joo.ejb.session.main.ESLoginBean, type=STATELESS | 06:24:10,431 INFO [Ejb3Deployment] EJB3 deployment time took: 31 | 06:24:10,447 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:service=EJB3,jar=joo-ejb-1.0.jar,name=esLoginBean with dependencies: | 06:24:10,572 INFO [EJB3Deployer] Deployed: file:/D:/Server/jboss-4.0.4RC1/server/default/deploy/joo-ejb-1.0.jar | | JNDIView in jboss gives following output | | | | | java: Namespace | | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | | +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory) | | +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter) | | +- comp (class: javax.naming.Context) | | +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) | | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | | +- jaas (class: javax.naming.Context) | | | +- other (class: org.jboss.security.plugins.SecurityDomainContext) | | | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | | | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext) | | | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext) | | +- timedCacheFactory (class: javax.naming.Context) | | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy | | +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory) | | +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory) | | +- comp.ejb3 (class: javax.naming.Context) | | | NonContext: null | | +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter) | | +- TransactionManager (class: org.jboss.tm.TxManager) | | | | Global JNDI Namespace | | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | | +- UserTransactionSessionFactory (proxy: $Proxy30 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | | +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | | +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | | +- HAPartition (class: org.jnp.interfaces.NamingContext) | | | +- DefaultPartition (class: org.jboss.ha.framework.server.HAPartitionImpl) | | +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) | | +- topic (class: org.jnp.interfaces.NamingContext) | | | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | | | +- testTopic (class: org.jboss.mq.SpyTopic) | | | +- securedTopic (class: org.jboss.mq.SpyTopic) | | +- queue (class: org.jnp.interfaces.NamingContext) | | | +- A (class: org.jboss.mq.SpyQueue) | | | +- testQueue (class: org.jboss.mq.SpyQueue) | | | +- ex (class: org.jboss.mq.SpyQueue) | | | +- DLQ (class: org.jboss.mq.SpyQueue) | | | +- D (class: org.jboss.mq.SpyQueue) | | | +- C (class: org.jboss.mq.SpyQueue) | | | +- B (class: org.jboss.mq.SpyQueue) | | +- esLoginBean (class: org.jnp.interfaces.NamingContext) | | | +- remote (proxy: $Proxy50 implements interface at.joo.ejb.session.i.main.EILogin,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | | +- HASessionState (class: org.jnp.interfaces.NamingContext) | | | +- Default (class: org.jboss.ha.hasessionstate.server.HASessionStateImpl) | | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | | +- jmx (class: org.jnp.interfaces.NamingContext) | | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | | +- RMIAdaptor (proxy: $Proxy29 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | | +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | | +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | | In a servlet I need the EJB. I deployed a persistence jar and a war file, no ear. | Please, can you give me the correct Statement for the lookup methode, to get the esLoginBean/remote. | | thanks | Georg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961517#3961517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961517 From do-not-reply at jboss.com Fri Jul 28 06:03:16 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 28 Jul 2006 06:03:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Retriving task list Message-ID: <29634726.1154080996482.JavaMail.jboss@colo-br-02.atl.jboss.com> Since the API does not support this, I would think using HQL or maybe SQL. The 3.1 webapp does something like this with SQL, look at some of the backingbeans there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961519#3961519 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961519 From do-not-reply at jboss.com Fri Jul 28 06:11:36 2006 From: do-not-reply at jboss.com (msdanner) Date: Fri, 28 Jul 2006 06:11:36 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Stateful session bean not passivated Message-ID: <10923575.1154081496870.JavaMail.jboss@colo-br-02.atl.jboss.com> In JBoss 4.0.3 SP 1 a stateful session bean is not passivated after the calling client has terminated while a bean method is being executed. Instead, server log shows the warning message 2006-07-28 10:58:21,161 WARN [org.jboss.ejb.plugins.AbstractInstanceCache] Unable to passivate due to ctx lock, id=eq69yz36-b where eq69yz36-b is the session ID of the terminated client. The stateful session bean's task is to execute an SQL query and return its results in 1 or more than 1 calls because there might be some 100000 resulting rows. The state of the bean is a JBoss WrappedConnection and a ResultSet that should be closed when the caller has terminated. All of it works fine unless the caller terminates while the session bean executes the query (which may take some minutes). What can be the cause why the bean will not get passivated? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961520#3961520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961520 From do-not-reply at jboss.com Fri Jul 28 06:21:34 2006 From: do-not-reply at jboss.com (denis-karpov) Date: Fri, 28 Jul 2006 06:21:34 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Keeping App in a healthy state (exception handling) Message-ID: <7146212.1154082094712.JavaMail.jboss@colo-br-02.atl.jboss.com> I am wondering about exception processing in seam/jsf.. I am totally lost. I can not find a way how to correctly process exceptions that occur in the code that I do not control (like interceptors). Because after such exceptions application is found in a bad state, almost unrecoverable. Only killing session helps sometimes. What is the pattern? How to catch, and display errors that occurs somewhere in interceptors? And most important, how to keep application in a healthy state? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961522#3961522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961522 From do-not-reply at jboss.com Fri Jul 28 06:32:06 2006 From: do-not-reply at jboss.com (Viegas) Date: Fri, 28 Jul 2006 06:32:06 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - one task for multile users Message-ID: <6901500.1154082726659.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I need to creat a node where I need users in a group to performe one task, and everyone in that group can do that task even if it has ben done before by another user in the group. Ive seen in chapter 11 thas the task as to be unsynchronized, and the task will be open until anoter action is performed by anoter user (I think this will be done in a fork). Is this possible? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961523#3961523 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961523 From do-not-reply at jboss.com Fri Jul 28 06:43:44 2006 From: do-not-reply at jboss.com (davidrh) Date: Fri, 28 Jul 2006 06:43:44 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <12719288.1154083424069.JavaMail.jboss@colo-br-02.atl.jboss.com> The client is running in a different JVM to the server. In our test environment, they are running on different boxes. You are right about the cut and paste error - lost the index somewhere between Eclipse and here. This is a harness I use for testing, so I can change the number of consumers up and down. In the production application we have one queue with 10 consumers, one with 5 consumers, two with 2 consumers and 2 with one consumer. The client application is a web app running under JBoss 4.0.4GA. We can get a list of the threads from the JMX console, and I've made our message receivers change the thread name on the first call so that we can identify the threads easily. We're not using MDBs as we want to be able to deploy our product under lighter weight app servers without the full J2EE stack. I just had a quick try with CR3 before I left the office and it looked OK. On a couple of runs, it didn't seem to matter whether you set the message listener to null or not - it peaked at forty threads maximum. Is 40 some sort of maximum thread pool size for the number of sessions with message listeners, and is this configurable somewhere? Will have to wait until Monday for detailed testing - we will upgrade our test environment to CR3 and await CR4. Do you have any thoughts on how long a session should be able to stay open? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961524#3961524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961524 From do-not-reply at jboss.com Fri Jul 28 06:54:24 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 28 Jul 2006 06:54:24 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <14100620.1154084064493.JavaMail.jboss@colo-br-02.atl.jboss.com> 40 is the max pool size for making asynch invocations from the client in the version you are using. This won't exist in CR4 A session should stay open until you close it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961525#3961525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961525 From do-not-reply at jboss.com Fri Jul 28 06:57:13 2006 From: do-not-reply at jboss.com (lior.dra) Date: Fri, 28 Jul 2006 06:57:13 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: problem getting pojocache to work Message-ID: <29705306.1154084233384.JavaMail.jboss@colo-br-02.atl.jboss.com> I have successfully run build.sh run.demo. The tutorial demos (via the shell bean thingy) worked. (the GUI replicated /a/b/c ...) Tx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961526#3961526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961526 From do-not-reply at jboss.com Fri Jul 28 06:58:36 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 28 Jul 2006 06:58:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: one task for multile users Message-ID: <15946985.1154084316184.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at www.workflowpatterns.com site and see what pattern matches here. Then look at the testcases for these patterns to see how to implement it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961527#3961527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961527 From do-not-reply at jboss.com Fri Jul 28 06:58:48 2006 From: do-not-reply at jboss.com (lior.dra) Date: Fri, 28 Jul 2006 06:58:48 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: problem getting pojocache to work Message-ID: <6497165.1154084328715.JavaMail.jboss@colo-br-02.atl.jboss.com> "lior.dra" wrote : I have successfully run build.sh run.demo. | The tutorial demos (via the shell bean thingy) worked. (the GUI replicated /a/b/c ...) | | | Tx I forgot to add that still I can?t get my code to work, on 2 machines. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961528#3961528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961528 From do-not-reply at jboss.com Fri Jul 28 07:04:06 2006 From: do-not-reply at jboss.com (choozie) Date: Fri, 28 Jul 2006 07:04:06 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - rmi over https Message-ID: <15537339.1154084646456.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an old server/client application where communication is done with rmi. My server-part is running on jboss. I create an instance of the RMIServerInvoker and then bind to the rmi registry which is then created at port 3455. This all works well and my client is able to connect to my server at rmi://my_server_ip:3544/server But I need to secure the rmi with ssl. I think I need to tunnell the rmi over http. Everything I find when I do a search is about ejb's. I don't use ejb's. This is an old application that I just want to get running on jboss and in a secure way. What is the easies way for me to tunnell the rmi over http? Please, please, please someone answer me! Thank you :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961529#3961529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961529 From do-not-reply at jboss.com Fri Jul 28 07:05:00 2006 From: do-not-reply at jboss.com (MichaelCouck) Date: Fri, 28 Jul 2006 07:05:00 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Specifying MBean mapping from a hibernate.cfg.xml Message-ID: <21999258.1154084700243.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Is there a way to initilize Hibernate, specifically the MBean for JBoss, with the mapping files for the Pojos using the hibernate.cfg.xml rather than the *.hbm.xml files? Thanks in advance Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961530#3961530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961530 From do-not-reply at jboss.com Fri Jul 28 07:05:59 2006 From: do-not-reply at jboss.com (cakowundu) Date: Fri, 28 Jul 2006 07:05:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - running ejb/jboss_tomcat with netchart on linux, and i keep Message-ID: <26819246.1154084759744.JavaMail.jboss@colo-br-02.atl.jboss.com> 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? 2006-07-26 05:46:42,077 INFO [STDOUT] ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961531#3961531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961531 From do-not-reply at jboss.com Fri Jul 28 07:17:02 2006 From: do-not-reply at jboss.com (Basel) Date: Fri, 28 Jul 2006 07:17:02 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Cannot get @In and @Out to work with a stateless component Message-ID: <9977721.1154085422583.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an Entity bean called PaperDetails and a page called newartwork.jsf which can be used to create a new PaperDetails. | @Entity(name="gs_paper_details") | public class PaperDetails implements Serializable{ | @Id | private int id; | | @NotNull | private String title; | } | |
    | | | | There is a page action under pages.xml that is used to create the newPaperDetails component: | | The FileUploadAction component is used to create and outject the newPaperDetails component. Also, it handles the upload action after the user enters the data of the new PaperDetails in the newartwork.jsf page. | | | @Name("fileUploadAction") | @Scope(ScopeType.STATELESS) | public class FileUploadAction{ | //@In(required=false) | @In(required=false, value="newPaperDetails") | @Out(value="newPaperDetails") | private PaperDetails paperDetails; | | public void initPaperDetails(){ | log.info("Creating a new paperDetails-120"); | paperDetails = new PaperDetails(); | if(paperDetails == null) | log.info("initPaperDetails[papreDetails is null]"); | } | | public String upload(){ | this.initComponent(); | | if(paperDetails == null){ | log.info("upload[papreDetails is null]"); | return null; | } | } | } | However, the newPaperDetails is gone and its value is set to null when I try to upload a new artwork. This causes the @Out annotation to complain as shown in stack trace below: | StackTrace after accessing the newartwork.jsf page: | 13:59:21,920 INFO [Pages] reading pages.xml | 13:59:22,200 INFO [FileUploadAction] Creating a new paperDetails-120 | | | StackTrace after calling the upload method: | 13:59:56,270 INFO [FileUploadAction] upload[papreDetails is null] | 13:59:56,270 INFO [FileUploadAction] PD is null | 13:59:56,273 ERROR [STDERR] Jul 28, 2006 1:59:56 PM com.sun.faces.lifecycle.LifecycleImpl phase | WARNING: phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl at 7ce229be) threw exception: javax.faces.el.EvaluationException: org.jboss.seam.RequiredException: Out attribute requires value for component: fileUploadAction.newPaperDetails org.jboss.seam.RequiredException: Out attribute requires value for component: fileUploadAction.newPaperDetails | com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91) | org.jboss.seam.core.Pages.callAction(Pages.java:161) | org.jboss.seam.core.Pages.callAction(Pages.java:143) | org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) | org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:249) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | java.lang.Thread.run(Thread.java:595) | 13:59:56,311 INFO [SeamExceptionFilter] killing transaction | I even tried to use the getInstance method of the Component class but with no luck. | public String upload(){ | PaperDetails pd = (PaperDetails)Component.getInstance("newPaperDetails"); | if(pd == null){ | log.info("PD is null"); | } | } | I tried to used different scope types for the newPaperDetails component but with no avail. I would truly appreciate your help guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961532#3961532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961532 From do-not-reply at jboss.com Fri Jul 28 07:20:11 2006 From: do-not-reply at jboss.com (davidrh) Date: Fri, 28 Jul 2006 07:20:11 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <4735290.1154085611800.JavaMail.jboss@colo-br-02.atl.jboss.com> We haven't needed the 40 limit, but useful to know. We are seeing the sessions stay open, but they don't receive any more messages. We were also getting a lot of messages in the JBoss Messaging log related to session timeouts (sorry, I don't have the logs with me at the moment). The only change that we have made is to close the sessions and re-open them every minute, and now the JBoss Messaging log is completely clean and we can put through 10's of thousands of messages and have them processed by all of our listeners. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961533#3961533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961533 From do-not-reply at jboss.com Fri Jul 28 07:29:48 2006 From: do-not-reply at jboss.com (timfox) Date: Fri, 28 Jul 2006 07:29:48 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <29007471.1154086188698.JavaMail.jboss@colo-br-02.atl.jboss.com> please post your logs when you get hold of them View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961534#3961534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961534 From do-not-reply at jboss.com Fri Jul 28 07:54:19 2006 From: do-not-reply at jboss.com (christian.bauer@jboss.com) Date: Fri, 28 Jul 2006 07:54:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat? Message-ID: <9960719.1154087659183.JavaMail.jboss@colo-br-02.atl.jboss.com> For future reference in case anybody finds this thread: public class SomeServlet extends HttpServlet { private static ClassLoader myClassloader; public init(ServletConfig cfg) { myClassloader = getClass().getClassLoader(); } } This servlet breaks context reloading in Tomcat, the context leaks a WebappClassloader per reload (and therefore other static variable values, so it can be a lot of memory that is never freed). Since many frameworks (Hibernate, Struts, etc.) use such a pattern, reloading in Tomcat can be considered currently broken. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961535#3961535 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961535 From do-not-reply at jboss.com Fri Jul 28 07:55:50 2006 From: do-not-reply at jboss.com (codek) Date: Fri, 28 Jul 2006 07:55:50 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Associate field list in designer? Message-ID: <29593292.1154087750820.JavaMail.jboss@colo-br-02.atl.jboss.com> ah; i finally osrted this. needed to look at the transition properties in eclipse! Rgds, Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961536#3961536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961536 From do-not-reply at jboss.com Fri Jul 28 08:02:15 2006 From: do-not-reply at jboss.com (kristof_taveirne) Date: Fri, 28 Jul 2006 08:02:15 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: @WebMethod @WebParam: no effect on generated wsdl. Message-ID: <16959447.1154088135305.JavaMail.jboss@colo-br-02.atl.jboss.com> I've read on ([url] http://www.mail-archive.com/jboss-user at lists.sourceforge.net/msg115272.html[/url]) that the operationName attribute of @WebMethod and @WebParam is being ignored. Is this still the case? or is there some update I can use where this is fixed? Kristof. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961537#3961537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961537 From do-not-reply at jboss.com Fri Jul 28 08:34:52 2006 From: do-not-reply at jboss.com (Shaden) Date: Fri, 28 Jul 2006 08:34:52 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: In which package I can found XOPMarshaller ? Message-ID: <18912387.1154090092443.JavaMail.jboss@colo-br-02.atl.jboss.com> "rene at xinit.org" wrote : Hi, | | have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS102Install | | Best regards, | | Ren? Ren?!! You are my angel!!!!! Now, my DII client works fine! IT'S WORKS FINE!! :_) Now, next step: I've to use authentication and WS-Security standard.. (my God! :_( See you soon :P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961538#3961538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961538 From do-not-reply at jboss.com Fri Jul 28 08:42:06 2006 From: do-not-reply at jboss.com (flavio_toledo) Date: Fri, 28 Jul 2006 08:42:06 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Error on deploy Message-ID: <15390405.1154090526303.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm tired in deploy a application on JBoss. When I copy file EAR to deploy directory the JBoss show this error in console: 09:36:44,156 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.2/server/default/deploy/Reg_desenv.ear 09:36:49,623 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.0.2/server/default/deploy/Reg_desenv.ear org.jboss.deployment.DeploymentException: Failed to find module file: Reg_Desenv.war at org.jboss.deployment.EARDeployer.init(EARDeployer.java:244) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:483) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:215) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194) What's worng with my aplication? Thank you, Fl?vio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961539#3961539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961539 From do-not-reply at jboss.com Fri Jul 28 08:48:41 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Fri, 28 Jul 2006 08:48:41 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: JBoss-Spring with Spring 2.0-rc1 NoClassDefFoundError Message-ID: <18930264.1154090921742.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's the jar content of my jboss-spring-jdk5.deployer ./spring.jar ./spring-beans.jar ./spring-aop.jar ./jboss-spring-jdk5.jar spring.jar manifest: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.) Implementation-Title: Spring Framework Implementation-Version: 2.0-m5 Spring-Version: 2.0-m5 As you see spring.jar is the latest one other jars from jboss-spring distribution Manifest-Version: 1.0 Ant-Version: Apache Ant 1.6.5 Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.) Implementation-Title: Spring Framework Implementation-Version: 2.0-m3 Spring-Version: 2.0-m3 Works like a charm to me. Hey, Ales, Thank you very much, man, for your integration solution. I know, I know - 'this is not the proper forum for that'. Thank you very much nonetheless. ;) Best regards, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961540#3961540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961540 From do-not-reply at jboss.com Fri Jul 28 08:49:51 2006 From: do-not-reply at jboss.com (deshmukhrb2000) Date: Fri, 28 Jul 2006 08:49:51 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: READ THIS FIRST Message-ID: <22141212.1154090991628.JavaMail.jboss@colo-br-02.atl.jboss.com> i want know that how to deploy new application in the JBOSS server i.e. directory structure of it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961541#3961541 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961541 From do-not-reply at jboss.com Fri Jul 28 08:50:11 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 28 Jul 2006 08:50:11 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Error on deploy Message-ID: <1265300.1154091011621.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : org.jboss.deployment.DeploymentException: Failed to find module file: Reg_Desenv.war The Reg_Desenv.war is not present in your ear file even though it is mentioned in the application.xml as a module. Place this war file in the ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961542#3961542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961542 From do-not-reply at jboss.com Fri Jul 28 08:53:42 2006 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 28 Jul 2006 08:53:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: READ THIS FIRST Message-ID: <2757564.1154091222521.JavaMail.jboss@colo-br-02.atl.jboss.com> You can either go for Exploded deployement: http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment or in the form of an archive(*.ear, *.war, *.jar etc...). In either case, you will place the application in the %JBOSS_HOME%/server/default/deploy directory. Depending on your requirements, you can even place the application in %JBOSS_HOME%/server/all/deploy or %JBOSS_HOME%/server/minimal/deploy directory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961543#3961543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961543 From do-not-reply at jboss.com Fri Jul 28 08:54:49 2006 From: do-not-reply at jboss.com (j2ee_junkie) Date: Fri, 28 Jul 2006 08:54:49 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Custom principal in Web application Message-ID: <14450142.1154091289368.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear gang, This was an interesting hunt for me as I have not used client certs before. I think you have two options. 1.) Follow JBossSX Subject usage package in your custom login module and add a java.security.acl.Group with name "CallerPrincipal" to the authenticated Subject's principal set. In that group, add your custom Principal class. 2.) Have your custom principal extend org.jboss.security.CertificatePrincipal and set this as the "certificatePrincipal" attribute in Tomcat's server.xml file for JBossSecurityMgrRealm config. if you need more details or if you have problems, let us know. cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961544#3961544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961544 From do-not-reply at jboss.com Fri Jul 28 09:14:27 2006 From: do-not-reply at jboss.com (mteira) Date: Fri, 28 Jul 2006 09:14:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EntityManager.lock() issues Message-ID: <25729974.1154092467384.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello. I'm trying to build an scenario with the following behaviour: Two kind of messages can be feeded into a JMS queue: -NEW. Messages that triggers the creation of a new entity (ejb3.test.AEntity). -INCR. Messages that triggers the modification of a persistent property of a given entity(ejb3.test.AEntity). ejb3.test.AEntity is a simple versioned entity with just a persistent property (other than version and id) called counter. It exposes a bussiness method to increment that counter as: public void incr() { logger.info("incr called for " + this); setCounter( getCounter() + 1); } I have a MDB to handle the messages. NEW messages are handled in the following fashion: Creates a new AEntity instance. Persist it in the injected EntityManager. Flushes the Entity Manager. Send 10 INCR messages. INCR messages are handled as: Finds the AEntity that the message is referenced to (using a property into the message). Locks the AEntity. Calls the AEntity bussiness method: incr(). This scenario does not work using Oracle as DataSource: The AEntity is created, but the MDBs handling the 'INCR' messages are not able to find that Entity using: AEntity a = manager.find(AEntity.class, aId); I suppose that the problem is that the transaction for the MDB handling the 'NEW' message has not finished. But, shouldn't the EntityManager.flush() commit the changes to the DataBase? I tried to change the MDB to BMT and it worked in that way. On the other hand, this worked under Hypersonic, supposedly because it only implements UNCOMMITED_READ as isolation transaction level. Also, I got warning with Hypersonic trying to use: manager.lock(a, LockModeType.READ); in my attempts to lock the AEntity instance before calling its business method: AEntity a = manager.find(AEntity.class, aId); if ( a != null ) { manager.lock(a, LockModeType.READ); a.incr(); } else { logger.warn("No entity with id " + aId); } Unfortunately, using Oracle 9i as DataSource, the INCR handlers are never able to see the Entity (manager.find returns null). With Hypersonic, the entity becomes available after flushing the EntityManager (READ_UNCOMMITED). Furthermore, when using an UserTransaction with BMT, the Entity is visible by the 'INCR' MDB handlers but they seems to see the entity in a concurrent fashion, hence, the final result of the counter field is not valid. Also, trying to use manager.lock(a, LockModeType.WRITE) with a previously created Entity, using CMT, finishes in a NullPointerException: 2006-07-28 13:37:03,801 ERROR [ejb3.test.MsgHandler] Errors found: java.lang.NullPointerException at org.hibernate.persister.entity.AbstractEntityPersister.lock(AbstractEntityPersister.java:1282) at org.hibernate.event.def.AbstractLockUpgradeEventListener.upgradeLock(AbstractLockUpgradeEventListener.java:88) at org.hibernate.event.def.DefaultLockEventListener.onLock(DefaultLockEventListener.java:64) at org.hibernate.impl.SessionImpl.fireLock(SessionImpl.java:586) at org.hibernate.impl.SessionImpl.lock(SessionImpl.java:578) at org.hibernate.ejb.AbstractEntityManagerImpl.lock(AbstractEntityManagerImpl.java:337) at org.jboss.ejb3.entity.TransactionScopedEntityManager.lock(TransactionScopedEntityManager.java:101) After reading the EJB3 Persistence specification, I think that using EntityMager.lock() should avoid the concurrent MDBs trying to get the Entity to access it, and the transactions implied should be serialized to avoid inconsistencies (physically locking the DB row related with the entity). I'm a newbie in this ejb3 world (even in j2ee world) so, I would like to know if I have make any (or a lot of ) mistake in my assumptions or code. Best regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961545#3961545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961545 From do-not-reply at jboss.com Fri Jul 28 09:17:30 2006 From: do-not-reply at jboss.com (cpob) Date: Fri, 28 Jul 2006 09:17:30 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: task question Message-ID: <19199736.1154092650906.JavaMail.jboss@colo-br-02.atl.jboss.com> Your tier that calls jBPM, could just be a little smarter. It could detect if it is a task node or a state, and then end/signal appropriately. Your tier should know if it is a task node or not, and follow up properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961546#3961546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961546 From do-not-reply at jboss.com Fri Jul 28 09:17:54 2006 From: do-not-reply at jboss.com (sumankg) Date: Fri, 28 Jul 2006 09:17:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jdk 1.5.0_07 tools.jar causing JasperException Message-ID: <15729238.1154092674827.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a working JBoss application currently running on sun jdk 1.5.0_06. I have been getting some JVM PermGen space errors and am trying to upgrade to jdk 1.5.0_07 based on some bug fixes. I am running: JBoss 4.0.4.GA, with Hibernate (MySQL 5.0.22) + EJB3. Fedora Core 5, Linux Kernel 2.6.17-1.2139_FC5,i386 The server works great with jdk 1.5.0_06, however after upgrading to jdk 1.5.0_07 I get JasperException / "Unable to compile" on all of my jsp files. The jsps consistently fail on the imports of my hibernate and ejb classes (however servlets seem to be working ok). Again, if I switch back to jdk 1.5.0_06, everything works fine. The error output is shown below. Now the solution I have found was to copy the tools.jar from the jdk1.5.0_06\lib folder into the jdk1.5.0_07\lib folder. By replacing the tools.jar of the newer JVM (1.5.0_07) with the tools.jarfrom 1.5.0_06, the server deployment works fine. This fix enables the JSPs to access both the EJBs and the Hibernate classes properly. Has anyone else come across this bug and could this "workaround" cause other problems? Thanks. | 05:48:20,432 ERROR [Compiler] Javac exception | Compile failed; see the compiler error output for details. | at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933) | at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) | at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:219) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) | at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) | at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614) | at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) | at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135) | at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760) | at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) | at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_tiles_insert_1(DefaultLayout_jsp.java:446) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_f_subview_1(DefaultLayout_jsp.java:422) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspService(DefaultLayout_jsp.java:298) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.sg.filters.AjaxRequestFilter.doFilter(AjaxRequestFilter.java:149) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 05:48:20,445 ERROR [Compiler] Env: Compile: javaFileName=/opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA//org/apache/jsp/pages/manage/JobList_jsp.java | classpath=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/classes/:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-beanutils-1.6.1.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-codec-1.2.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-collections-3.0.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-digester-1.5.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-el.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-fileupload-1.0.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-logging.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-validator.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/jakarta-oro.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/jstl.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/myfaces-all.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/standard.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/struts.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/wicket-1.2.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/xpp3_min-1.1.3.4.I.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/xstream-1.1.2.jar:/opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA:/opt/jboss-4.0.4.GA/server/MyServer/lib/commons-logging.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/cglib.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jnpserver.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jbossmq.jar:/opt/jboss-4.0.4.GA/lib/endorsed/xercesImpl.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2671jaxb-api.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2644ant.jar:/opt/jdk1.5.0_07/jre/lib/ext/sunjce_provider.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-transaction.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2668tomcat55-service.jar:/opt/jboss-4.0.4.GA/lib/endorsed/resolver.jar:/opt/jdk1.5.0_07/jre/lib/ext/dnsns.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2705AdminDNADatabase.har:/opt/jboss-4.0.4.GA/server/MyServer/lib/hsqldb.jar:/opt/jboss-4.0.4.GA/lib/log4j-boot.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/ejb3-persistence.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossws.sar/:/opt/jdk1.5.0_07/lib/tools.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2650jasper-compiler.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2670jbossws.beans:/opt/jboss-4.0.4.GA/lib/endorsed/xml-apis.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/quartz-all-1.5.2.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2661servlets-invoker.jar:/opt/jboss-4.0.4.GA/lib/jboss-xml-binding.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-common-jdbc-wrapper.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2647catalina.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/hsqldb-plugin.jar:/opt/jboss-4.0.4.GA/lib/concurrent.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/bsh-1.3.0.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/activation.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/xmlentitymgr.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2701quartz-ra.rar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2639jboss-microcontainer.jar:/opt/jboss-4.0.4.GA/lib/jboss-jmx.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2659naming-resources.jar:/opt/jdk1.5.0_07/jre/lib/ext/localedata.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2645catalina-manager.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/mail.jar:/opt/jboss-4.0.4.GA/lib/endorsed/serializer.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jpl-pattern.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2675policy-1.0.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2699jboss-local-jdbc.rar-contents/jboss-local-jdbc.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/antlr-2.7.6.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2633jboss-aop-jdk50.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2669tools.jar:/opt/jboss-4.0.4.GA/lib/jboss-common.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate-annotations.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jmx-console.war/:/opt/jboss-4.0.4.GA/server/MyServer/conf/:/opt/jboss-4.0.4.GA/lib/jboss-system.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/ejb3.deployer/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2706SystemDNACore.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2674jbossws-jboss-integration.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-jca.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2646catalina-optional.jar:/opt/jboss-4.0.4.GA/lib/endorsed/xalan.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2700jms-ra.rar-contents/jms-ra.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2631jboss-ejb3.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2658myfaces-impl.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/javassist.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2678xmlsec.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2663tomcat-ajp.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2652commons-beanutils.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2676stax-api-1.0.jar:/opt/jboss-4.0.4.GA/lib/namespace.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2699jboss-local-jdbc.rar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossweb-tomcat55.sar/ROOT.war/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2649commons-modeler.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-remoting.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2630jboss-annotations-ejb3.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2657myfaces-api.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2707ldap.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jboss-bean.deployer/:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-j2ee.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2635trove.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jmx-adaptor-plugin.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossweb-tomcat55.sar/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2653commons-codec-1.2.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2708EJB.ejb3:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-remoting-int.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2701quartz-ra.rar-contents/quartz-ra.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/javax.servlet.jsp.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/mysql-connector-java-3.1.12-bin.jar:/opt/jboss-4.0.4.GA/bin/run.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/javax.servlet.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2679jbossws-context-exp.war/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2656jstl.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2651jasper-runtime.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2673jbossws-core.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2672jaxb-impl.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2648commons-el.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2654commons-collections.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2662servlets-webdav.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-srp.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-serialization.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/bsh-deployer.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate3.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jpl-util.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-hibernate.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/log4j.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2638jboss-dependency.jar:/opt/jboss-4.0.4.GA/lib/dom4j.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2637jboss-container.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/jboss-aop-jdk50.deployer/:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2667tomcat-util.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2655commons-digester-1.6.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2665tomcat-coyote.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2636jboss-bean-deployer.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2632jboss-ejb3x.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2700jms-ra.rar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2664tomcat-apr.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2660servlets-default.jar:/opt/jdk1.5.0_07/jre/lib/ext/sunpkcs11.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2634jboss-aspect-library-jdk50.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/commons-httpclient.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/bcel.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jbosssx.jar:/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/DNAWebServices.war/:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-jaxrpc.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate-entitymanager.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2666tomcat-http.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-saaj.jar:/opt/jboss-4.0.4.GA/server/MyServer/lib/mail-plugin.jar:/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2677wsdl4j.jar | cp=/opt/jdk1.5.0_07/lib/tools.jar:/opt/jboss/bin/run.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/classes | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-beanutils-1.6.1.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-codec-1.2.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-collections-3.0.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-digester-1.5.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-el.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-fileupload-1.0.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-logging.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/commons-validator.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/jakarta-oro.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/jstl.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/myfaces-all.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/standard.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/struts.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/wicket-1.2.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/xpp3_min-1.1.3.4.I.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war/WEB-INF/lib/xstream-1.1.2.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/commons-logging.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/cglib.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jnpserver.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jbossmq.jar | cp=/opt/jboss-4.0.4.GA/lib/endorsed/xercesImpl.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2671jaxb-api.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2644ant.jar | cp=/opt/jdk1.5.0_07/jre/lib/ext/sunjce_provider.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-transaction.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2668tomcat55-service.jar | cp=/opt/jboss-4.0.4.GA/lib/endorsed/resolver.jar | cp=/opt/jdk1.5.0_07/jre/lib/ext/dnsns.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2705AdminDNADatabase.har | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/hsqldb.jar | cp=/opt/jboss-4.0.4.GA/lib/log4j-boot.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/ejb3-persistence.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossws.sar | cp=/opt/jdk1.5.0_07/lib/tools.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2650jasper-compiler.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2670jbossws.beans | cp=/opt/jboss-4.0.4.GA/lib/endorsed/xml-apis.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/quartz-all-1.5.2.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2661servlets-invoker.jar | cp=/opt/jboss-4.0.4.GA/lib/jboss-xml-binding.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-common-jdbc-wrapper.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2647catalina.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/hsqldb-plugin.jar | cp=/opt/jboss-4.0.4.GA/lib/concurrent.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/bsh-1.3.0.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/activation.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/xmlentitymgr.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2701quartz-ra.rar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2639jboss-microcontainer.jar | cp=/opt/jboss-4.0.4.GA/lib/jboss-jmx.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2659naming-resources.jar | cp=/opt/jdk1.5.0_07/jre/lib/ext/localedata.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2645catalina-manager.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/mail.jar | cp=/opt/jboss-4.0.4.GA/lib/endorsed/serializer.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jpl-pattern.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2675policy-1.0.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2699jboss-local-jdbc.rar-contents/jboss-local-jdbc.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/antlr-2.7.6.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2633jboss-aop-jdk50.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2669tools.jar | cp=/opt/jboss-4.0.4.GA/lib/jboss-common.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate-annotations.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jmx-console.war | cp=/opt/jboss-4.0.4.GA/server/MyServer/conf | cp=/opt/jboss-4.0.4.GA/lib/jboss-system.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/ejb3.deployer | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2706SystemDNACore.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2674jbossws-jboss-integration.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/WebDNA.war | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-jca.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2646catalina-optional.jar | cp=/opt/jboss-4.0.4.GA/lib/endorsed/xalan.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2700jms-ra.rar-contents/jms-ra.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2631jboss-ejb3.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2658myfaces-impl.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/javassist.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2678xmlsec.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2663tomcat-ajp.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2652commons-beanutils.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2676stax-api-1.0.jar | cp=/opt/jboss-4.0.4.GA/lib/namespace.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2699jboss-local-jdbc.rar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossweb-tomcat55.sar/ROOT.war | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2649commons-modeler.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-remoting.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2630jboss-annotations-ejb3.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2657myfaces-api.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2707ldap.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jboss-bean.deployer | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-j2ee.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2635trove.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jmx-adaptor-plugin.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jbossweb-tomcat55.sar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2653commons-codec-1.2.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2708EJB.ejb3 | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-remoting-int.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2701quartz-ra.rar-contents/quartz-ra.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/javax.servlet.jsp.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/mysql-connector-java-3.1.12-bin.jar | cp=/opt/jboss-4.0.4.GA/bin/run.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/javax.servlet.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2679jbossws-context-exp.war | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2656jstl.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2651jasper-runtime.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2673jbossws-core.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2672jaxb-impl.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2648commons-el.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2654commons-collections.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2662servlets-webdav.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-srp.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-serialization.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/bsh-deployer.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate3.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jpl-util.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-hibernate.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/log4j.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2638jboss-dependency.jar | cp=/opt/jboss-4.0.4.GA/lib/dom4j.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2637jboss-container.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/jboss-aop-jdk50.deployer | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2667tomcat-util.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2655commons-digester-1.6.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2665tomcat-coyote.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2636jboss-bean-deployer.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2632jboss-ejb3x.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2700jms-ra.rar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2664tomcat-apr.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2660servlets-default.jar | cp=/opt/jdk1.5.0_07/jre/lib/ext/sunpkcs11.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2634jboss-aspect-library-jdk50.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/commons-httpclient.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/bcel.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jbosssx.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/deploy/EAR.ear/DNAWebServices.war | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-jaxrpc.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/hibernate-entitymanager.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2666tomcat-http.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/jboss-saaj.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/lib/mail-plugin.jar | cp=/opt/jboss-4.0.4.GA/server/MyServer/tmp/deploy/tmp2677wsdl4j.jar | work dir=/opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA | extension dir=/opt/jdk1.5.0_07/jre/lib/ext | srcDir=/opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA | compilerTargetVM=1.5 | compilerSourceVM=1.5 | include=org/apache/jsp/pages/manage/JobList_jsp.java | | 05:48:20,467 ERROR [Compiler] Error compiling file: /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA//org/apache/jsp/pages/manage/JobList_jsp.java [javac] Compiling 1 source file | | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | 05:48:20,569 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | org.apache.jasper.JasperException: Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) | at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) | at org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:249) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) | at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) | at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614) | at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) | at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135) | at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760) | at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) | at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_tiles_insert_1(DefaultLayout_jsp.java:446) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_f_subview_1(DefaultLayout_jsp.java:422) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspService(DefaultLayout_jsp.java:298) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.sg.filters.AjaxRequestFilter.doFilter(AjaxRequestFilter.java:149) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 05:48:20,581 ERROR [InsertTag] ServletException in '/pages/manage/JobList.jsp': Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | org.apache.jasper.JasperException: Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) | at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) | at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:614) | at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99) | at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135) | at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760) | at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892) | at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_tiles_insert_1(DefaultLayout_jsp.java:446) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_f_subview_1(DefaultLayout_jsp.java:422) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspService(DefaultLayout_jsp.java:298) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.sg.filters.AjaxRequestFilter.doFilter(AjaxRequestFilter.java:149) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 05:48:20,626 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | javax.servlet.jsp.JspException: ServletException in '/pages/manage/JobList.jsp': Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:923) | at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_tiles_insert_1(DefaultLayout_jsp.java:446) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspx_meth_f_subview_1(DefaultLayout_jsp.java:422) | at org.apache.jsp.tiles.layouts.DefaultLayout_jsp._jspService(DefaultLayout_jsp.java:298) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.sg.filters.AjaxRequestFilter.doFilter(AjaxRequestFilter.java:149) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 05:48:20,664 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: ServletException in '/pages/manage/JobList.jsp': Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:233) | at org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.sg.filters.AjaxRequestFilter.doFilter(AjaxRequestFilter.java:149) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.apache.jasper.JasperException: ServletException in '/pages/manage/JobList.jsp': Unable to compile class for JSP | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:10: package com.sg.database.admin does not exist | import com.sg.database.admin.Clients; | ^ | | | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:11: package com.sg.database.admin does not exist | import com.sg.database.admin.Job; | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:133: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | ArrayList clients = summary.getClients(); | ^ | | | An error occurred at line: 28 in the jsp file: /pages/manage/JobList.jsp | Generated servlet error: | /opt/jboss-4.0.4.GA/server/MyServer/work/jboss.web/localhost/WebDNA/org/apache/jsp/pages/manage/JobList_jsp.java:136: cannot find symbol | symbol : class Clients | location: class org.apache.jsp.pages.manage.JobList_jsp | Clients client = null; | ^ | 4 errors | | | | at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | ... 26 more | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961547#3961547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961547 From do-not-reply at jboss.com Fri Jul 28 09:18:29 2006 From: do-not-reply at jboss.com (hotkeeper) Date: Fri, 28 Jul 2006 09:18:29 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - MySql DataSource configuration autoCommit=false Message-ID: <865465.1154092709542.JavaMail.jboss@colo-br-02.atl.jboss.com> I need to set the autoCommit of MySql DataSource to false, because I use compass search engine. Is there a way to do it? Thanks Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961548#3961548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961548 From do-not-reply at jboss.com Fri Jul 28 09:22:47 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Fri, 28 Jul 2006 09:22:47 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: LDAP, Groups and Roles Message-ID: <12352637.1154092967079.JavaMail.jboss@colo-br-02.atl.jboss.com> The wiki pages shows configurations for groups. Match to one of the ldif examples or show the ldif: http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961549#3961549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961549 From do-not-reply at jboss.com Fri Jul 28 09:23:51 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Fri, 28 Jul 2006 09:23:51 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: JAAS EJB ERROR PAGE Message-ID: <19037824.1154093031019.JavaMail.jboss@colo-br-02.atl.jboss.com> You have to catch the exception and set the error code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961550#3961550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961550 From do-not-reply at jboss.com Fri Jul 28 09:32:24 2006 From: do-not-reply at jboss.com (choozie) Date: Fri, 28 Jul 2006 09:32:24 -0400 (EDT) Subject: [jboss-user] [Remoting] - Re: RMI Message-ID: <18390029.1154093544389.JavaMail.jboss@colo-br-02.atl.jboss.com> How can you do that for several rmi interfaces? Do you have to create one mbean for each? And , is that the class implementing the rmi interface? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961552#3961552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961552 From do-not-reply at jboss.com Fri Jul 28 09:32:48 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 28 Jul 2006 09:32:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - RMI and Seam Message-ID: <11148378.1154093568886.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to offer some RMI in my Seam Application, could I just use the normal way to define RMI Interfaces and then just use the Seam @Factory or @Create in order to initialize and bind the bean? Are there any examples about this? Has anyone done anything in that direction and could maybe post the code? Maybe some direction towards a tutorial... Any help is greatly appreciated :) Best, Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961553#3961553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961553 From do-not-reply at jboss.com Fri Jul 28 09:34:12 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Fri, 28 Jul 2006 09:34:12 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Tomahawk File Upload Message-ID: <30029353.1154093652460.JavaMail.jboss@colo-br-02.atl.jboss.com> Angelo- You are right. The JSF approach does not work in the portal environment. Try the org.apache.commons.fileupload.portlet.PortletFileUpload approach in your portlet. Here is some sample code to get you started | import org.apache.commons.fileupload.FileItem; | import org.apache.commons.fileupload.disk.DiskFileItemFactory; | import org.apache.commons.fileupload.portlet.PortletFileUpload; | | | /** | * | * | */ | private void processAttachments(ActionRequest req) throws Exception | { | DiskFileItemFactory factory = new DiskFileItemFactory(); | PortletFileUpload upload = new PortletFileUpload(factory); | | //Merge with upload fields | for (Iterator i = upload.parseRequest(req).iterator(); i.hasNext();) | { | FileItem item = (FileItem)i.next(); | if (item.isFormField()) | { | //if it's form field just add it to request params map | //TODO:Be aware that this adds single value as we won't have multiply values in new topic form for now... | req.getParameterMap().put(item.getFieldName(), new String[]{item.getString()}); | } | else | { | //process the FileItem here....this is your attachment | //data | } | } | } | Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961554#3961554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961554 From do-not-reply at jboss.com Fri Jul 28 09:34:20 2006 From: do-not-reply at jboss.com (Viegas) Date: Fri, 28 Jul 2006 09:34:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: one task for multile users Message-ID: <641078.1154093660891.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks a lot, therea arent any case that solves mine but I get some ideas. Anyway, How can I say that a group of users can do a task?? Ive tried to create a expression group(OCADS) in a swimlane and creating a group in the database (manualy) but I may be missing something because isnt working View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961555#3961555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961555 From do-not-reply at jboss.com Fri Jul 28 09:34:26 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Fri, 28 Jul 2006 09:34:26 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <1280203.1154093666712.JavaMail.jboss@colo-br-02.atl.jboss.com> That is not correct. If you flush the cache the existing authentication is revalidated which means reloading the Subject and its roles. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961556#3961556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961556 From do-not-reply at jboss.com Fri Jul 28 09:37:59 2006 From: do-not-reply at jboss.com (sohil.shah@jboss.com) Date: Fri, 28 Jul 2006 09:37:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Logout: Invalidate Session and resetting Principal Message-ID: <32137120.1154093879305.JavaMail.jboss@colo-br-02.atl.jboss.com> kosmi- In your CustomMapper use inside the | public ControllerCommand doMapping(ServerInvocation invocation, String portalContextPath, String portalRequestPath) | | use | invocation.getResponse().setWantSignOut(true); | Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961557#3961557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961557 From do-not-reply at jboss.com Fri Jul 28 09:47:07 2006 From: do-not-reply at jboss.com (gus888) Date: Fri, 28 Jul 2006 09:47:07 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <32276285.1154094427174.JavaMail.jboss@colo-br-02.atl.jboss.com> Good morning Gavin, I haven't seen the ajax4jsf topics in the Seam forum for a little while. Do you have a plan to integrate ajax4jsf into Seam in near future? It seems that ajax4jsf is greatly improving JSF functionalities, and also ajax4jsf adds some new excellent functions into JSF (e.g. mediaOutput in rc4). It will be the greatest for Seam + ajax4jsf. Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961559#3961559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961559 From do-not-reply at jboss.com Fri Jul 28 09:47:40 2006 From: do-not-reply at jboss.com (cingram) Date: Fri, 28 Jul 2006 09:47:40 -0400 (EDT) Subject: [jboss-user] [JBossWS] - does not contain operation meta data for: String_1 Message-ID: <18754430.1154094460458.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! I am trying to use TrivialService provided from the jbossws-samples-1.0.1.GA When I call the service I am getting TrivialServicePort does not contain operation meta data for: String_1 Any ideas as to why? Configuration? partial stack trace 09:31:38,625 ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/rpcstyle} | TrivialServicePort does not contain oeration meta data for: String_1 | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:181) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:107) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:219) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | The wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961560#3961560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961560 From do-not-reply at jboss.com Fri Jul 28 09:50:36 2006 From: do-not-reply at jboss.com (cingram) Date: Fri, 28 Jul 2006 09:50:36 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: does not contain operation meta data for: String_1 Message-ID: <6911993.1154094636534.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry forgot to add I am currently using jbossws-1.0.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961562#3961562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961562 From do-not-reply at jboss.com Fri Jul 28 09:52:33 2006 From: do-not-reply at jboss.com (rksangubotla) Date: Fri, 28 Jul 2006 09:52:33 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - using C4J with JBoss4.0.3 Message-ID: <25511107.1154094753894.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I have tried a lot to use C4J with JBoss4.0.3. C4J can be found at : http://c4j.sourceforge.net/ Basically Iam trying using contracts specified with annotations inside an Web Application running on JBoss4.0.3. I have set the VM arguments needed while running the run.bat , But the still the contracts specified (respective to C4J) are not getting executed. Any help on this issue will be helpful. Regards SRK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961563#3961563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961563 From do-not-reply at jboss.com Fri Jul 28 09:53:53 2006 From: do-not-reply at jboss.com (mattgalvin) Date: Fri, 28 Jul 2006 09:53:53 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs Message-ID: <3841123.1154094833012.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll take a look at Velocity...one of the reasons we didn't look at an existing templating engine is we have a lot of very specific business logic with how the templates are managed, who can make what changes, etc, etc... As for the temp directory, I thought about that too but it made me uncomfortable. Who knows how the temp directory structure might change with different versions of JBoss. Or even what guarantee there is that files written into there are available how I want. I guess before I jump down that road I'd want some input from a JBoss developer that it's "OK". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961564#3961564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961564 From do-not-reply at jboss.com Fri Jul 28 09:54:07 2006 From: do-not-reply at jboss.com (rschlege) Date: Fri, 28 Jul 2006 09:54:07 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Transaction strategy requires access to the JTA TransactionM Message-ID: <6191183.1154094847742.JavaMail.jboss@colo-br-02.atl.jboss.com> There is an impressing Blog entry from Brian Leonards: http://weblogs.java.net/blog/bleonard/archive/2006/05/the_best_featur_1.html which shows how to use Netbeans for generating Entity Classes, Controller Classes and even example JSF pages. I used Netbeans 5.5 Beta2 and JBoss 4.0.4, didn't install Hibernate on JBoss because I believe it's bundled (isn't it?). The code generation, compilation, and deployment worked all quite well. Its just when I want to browse to one of the generated pages when the following exception occours: exception | | javax.servlet.ServletException: Cannot get value for expression 'Item #{statustype.firstItem + 1}..#{statustype.lastItem} of #{statustype.itemCount}' | javax.faces.webapp.FacesServlet.service(FacesServlet.java:121) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | javax.faces.FacesException: Cannot get value for expression 'Item #{statustype.firstItem + 1}..#{statustype.lastItem} of #{statustype.itemCount}' | org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) | org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) | org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | I am also not able to use breakpoints inside the Controller or Entity classes. It just doesn't stop there. The persistence.xml looks as follows: | | | org.hibernate.ejb.HibernatePersistence | java:/reporting | | | | | | | | And this is my web.xml: | | | | 30000 | | | | | index.jsp | | | | com.sun.faces.verifyObjects | false | | | com.sun.faces.validateXml | true | | | javax.faces.STATE_SAVING_METHOD | client | | | org.apache.myfaces.webapp.StartupServletContextListener | | | FacesServlet | javax.faces.webapp.FacesServlet | 1 | | | FacesServlet | /faces/* | | | FacesServlet | *.jsf | | | This is the Server log I get: | 14:09:20,235 INFO [SchemaExport] schema export complete | 14:09:20,255 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | javax.faces.el.EvaluationException: Cannot get value for expression 'Item #{filereaderStatus.firstItem + 1}..#{filereaderStatus.lastItem} of #{filereaderStatus.itemCount}' | at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:397) | at javax.faces.component.UIOutput.getValue(UIOutput.java:75) | at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225) | at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderOutput(HtmlTextRendererBase.java:65) | at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331) | at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:349) | at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:253) | at org.apache.jsp.test.filereaderStatus.List_jsp._jspx_meth_h_outputText_0(List_jsp.java:248) | at org.apache.jsp.test.filereaderStatus.List_jsp._jspx_meth_h_form_0(List_jsp.java:190) | at org.apache.jsp.test.filereaderStatus.List_jsp._jspx_meth_f_view_0(List_jsp.java:133) | at org.apache.jsp.test.filereaderStatus.List_jsp._jspService(List_jsp.java:93) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.persistence.PersistenceException: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:217) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) | at com.mycompany.reporting.web.controls.FilereaderStatusController.(FilereaderStatusController.java:31) | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at java.lang.Class.newInstance0(Class.java:350) | at java.lang.Class.newInstance(Class.java:303) | at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:274) | at org.apache.myfaces.util.ClassUtils.newInstance(ClassUtils.java:265) | at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:49) | at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:311) | at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569) | at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124) | at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:140) | at org.apache.commons.el.BinaryOperatorExpression.evaluate(BinaryOperatorExpression.java:154) | at org.apache.commons.el.ExpressionString.evaluate(ExpressionString.java:114) | at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:378) | ... 45 more | Caused by: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager | at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:326) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1213) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205) | ... 65 more | 14:09:20,262 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception | javax.faces.FacesException: Cannot get value for expression 'Item #{filereaderStatus.firstItem + 1}..#{filereaderStatus.lastItem} of #{filereaderStatus.itemCount}' | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) | at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.apache.jasper.JasperException: Cannot get value for expression 'Item #{filereaderStatus.firstItem + 1}..#{filereaderStatus.lastItem} of #{filereaderStatus.itemCount}' | at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) | at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415) | ... 21 more | And if that maybe helps something, earlier in the log, there are some messages saying: | 14:09:19,002 DEBUG [Configuration] resolving reference to class: com.mycompany.reporting.persistence.StatusType | 14:09:19,002 DEBUG [Configuration] resolving reference to class: com.mycompany.reporting.persistence.RecurrenceType | 14:09:19,108 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,116 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,118 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,120 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,212 DEBUG [Configuration] Preparing to build session factory with filters : {} | 14:09:19,212 DEBUG [AnnotationConfiguration] Execute first pass mapping processing | 14:09:19,212 DEBUG [AnnotationConfiguration] Process hbm files | 14:09:19,213 DEBUG [AnnotationConfiguration] Process annotated classes | 14:09:19,213 DEBUG [AnnotationConfiguration] processing manytoone fk mappings | 14:09:19,213 DEBUG [Configuration] processing extends queue | 14:09:19,213 DEBUG [Configuration] processing collection mappings | 14:09:19,213 DEBUG [Configuration] processing native query and ResultSetMapping mappings | 14:09:19,213 DEBUG [Configuration] processing association property references | 14:09:19,213 DEBUG [Configuration] processing foreign key constraints | 14:09:19,213 DEBUG [Configuration] resolving reference to class: com.mycompany.reporting.persistence.RecurrenceType | 14:09:19,214 DEBUG [Configuration] resolving reference to class: com.mycompany.reporting.persistence.StatusType | 14:09:19,214 DEBUG [Configuration] resolving reference to class: com.mycompany.reporting.persistence.RecurrenceType | 14:09:19,214 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,217 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,220 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,221 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,227 INFO [NamingHelper] JNDI InitialContext properties:{} | 14:09:19,232 INFO [DatasourceConnectionProvider] Using datasource: java:/reporting | 14:09:19,237 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.3 | 14:09:19,237 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.1 JDBC3 with SSL (build 404) | 14:09:19,238 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect | 14:09:19,240 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 14:09:19,240 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) | 14:09:19,240 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 14:09:19,240 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 14:09:19,241 INFO [SettingsFactory] JDBC batch size: 15 | 14:09:19,241 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 14:09:19,241 INFO [SettingsFactory] Scrollable result sets: enabled | 14:09:19,241 DEBUG [SettingsFactory] Wrap result sets: disabled | 14:09:19,241 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled | 14:09:19,241 INFO [SettingsFactory] Connection release mode: auto | 14:09:19,241 INFO [SettingsFactory] Default batch fetch size: 1 | 14:09:19,241 INFO [SettingsFactory] Generate SQL with comments: disabled | 14:09:19,241 INFO [SettingsFactory] Order SQL updates by primary key: disabled | 14:09:19,242 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 14:09:19,242 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 14:09:19,242 INFO [SettingsFactory] Query language substitutions: {} | 14:09:19,242 INFO [SettingsFactory] Second-level cache: enabled | 14:09:19,242 INFO [SettingsFactory] Query cache: disabled | 14:09:19,243 INFO [SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider | 14:09:19,289 INFO [SettingsFactory] Optimize cache for minimal puts: disabled | 14:09:19,289 INFO [SettingsFactory] Structured second-level cache entries: disabled | 14:09:19,289 INFO [SettingsFactory] Statistics: disabled | 14:09:19,289 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled | 14:09:19,290 INFO [SettingsFactory] Default entity-mode: pojo | 14:09:19,322 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,325 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,327 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,329 DEBUG [ClassValidator] ResourceBundle ValidatorMessages not found in Validator classloader. Delegate to org.hibernate.validator.resources.DefaultValidatorMessages | 14:09:19,331 INFO [SessionFactoryImpl] building session factory | 14:09:19,332 DEBUG [SessionFactoryImpl] Session factory constructed with filter configurations : {} | 14:09:19,334 DEBUG [SessionFactoryImpl] instantiating session factory with properties: | | ...(lots of properties)... | | 14:09:19,367 DEBUG [CacheManager] Configuring ehcache from classpath. | 14:09:19,494 WARN [ConfigurationFactory] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/usr/local/jboss-4.0.4.GA/server/default/lib/ehcache-1.2.2.jar!/ehcache-failsafe.xml | 14:09:19,495 DEBUG [ConfigurationFactory] Configuring ehcache from URL: jar:file:/usr/local/jboss-4.0.4.GA/server/default/lib/ehcache-1.2.2.jar!/ehcache-failsafe.xml | 14:09:19,502 DEBUG [ConfigurationFactory] Configuring ehcache from InputStream | 14:09:19,554 DEBUG [DiskStoreConfiguration] Disk Store Path: /tmp | 14:09:19,597 DEBUG [ConfigurationHelper] No CacheManagerEventListenerFactory class specified. Skipping... | 14:09:19,598 DEBUG [ConfigurationHelper] No CachePeerListenerFactoryConfiguration specified. Not configuring a CacheManagerPeerListener. | 14:09:19,615 DEBUG [ConfigurationHelper] No CachePeerProviderFactoryConfiguration specified. Not configuring a CacheManagerPeerProvider. | 14:09:19,676 DEBUG [ConfigurationHelper] No BootstrapCacheLoaderFactory class specified. Skipping... Any help is greatly appreciated /R View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961565#3961565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961565 From do-not-reply at jboss.com Fri Jul 28 09:54:30 2006 From: do-not-reply at jboss.com (scruffy323) Date: Fri, 28 Jul 2006 09:54:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - How to run a application-client as part of a ear? Message-ID: <2071199.1154094870615.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to run an application client jar in a ear file configured with application.xml specified by the testClient.jar that has it's own application-client.xml config. J2ee says that I should be able to but how do I do that with jboss? Below is a example of what I am trying to accomplish but using another container. http://jonas.objectweb.org/current/doc/PG_Client.html PS I checked the getting started documentation and it showed a app being run using a application-client.xml file but is only running the application using just the client jar if you check the actual ant file that is running the application. It's not using the ear file. Below is a thread I found regarding this topic but havn't found an answer yet. Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961566#3961566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961566 From do-not-reply at jboss.com Fri Jul 28 09:54:38 2006 From: do-not-reply at jboss.com (rksangubotla) Date: Fri, 28 Jul 2006 09:54:38 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - using C4J with JBoss4.0.3 Message-ID: <13838559.1154094878843.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I have tried a lot to use C4J with JBoss4.0.3. C4J can be found at : http://c4j.sourceforge.net/ Basically Iam trying using contracts specified with annotations inside an Web Application running on JBoss4.0.3. I have set the VM arguments needed while running the run.bat , But the still the contracts specified (respective to C4J) are not getting executed. I see this as similar to AOP , but tried to set it up. Any help on this issue will be helpful. Regards SRK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961567#3961567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961567 From do-not-reply at jboss.com Fri Jul 28 10:02:41 2006 From: do-not-reply at jboss.com (kosmi) Date: Fri, 28 Jul 2006 10:02:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Logout: Invalidate Session and resetting Principal Message-ID: <11467496.1154095361861.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Sahil, i tried this, but it does not work. Can I help you with some more infos? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961569#3961569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961569 From do-not-reply at jboss.com Fri Jul 28 10:08:14 2006 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 28 Jul 2006 10:08:14 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: one task for multile users Message-ID: <6251011.1154095694949.JavaMail.jboss@colo-br-02.atl.jboss.com> in 3.1 in combination with the webapp there are some issues. (also mentioned in the jira and these forums). The jbpm core should have no problem with it (meaning with the api you should get a group tasklist entry) The 3.1 webapp will not be changed a lot, since all effort goes into the 3.2 webapp which has a different approach. This 'new' webapp will probably also run on 3.1, but no guarantees (yet) If it is a simple problem in the 3.1 webapp, maybe I will fix it, or post a fix. but this could take a week or so, since I've got other (private) things to attend View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961571#3961571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961571 From do-not-reply at jboss.com Fri Jul 28 10:09:43 2006 From: do-not-reply at jboss.com (DjHitItUp) Date: Fri, 28 Jul 2006 10:09:43 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: org.jboss.ws.WSException: Cannot obtain endpoint for (us Message-ID: <9480020.1154095783967.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there anyone that could give me guidance on this issue? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961572#3961572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961572 From do-not-reply at jboss.com Fri Jul 28 10:12:33 2006 From: do-not-reply at jboss.com (mailinator) Date: Fri, 28 Jul 2006 10:12:33 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - PLEASE HELP Message-ID: <62800.1154095953359.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I need to integrate jBPM with my seam-hibernate project. My problem is that I use an hibernate.cfg.xml file to mapping my classes. Integrating jBPM I should create another .cfg.xml referring to another schema. How can I do? To be clearest, image to integrate jBPM with hibernate-booking seam example. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961573#3961573 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961573 From do-not-reply at jboss.com Fri Jul 28 10:24:42 2006 From: do-not-reply at jboss.com (ptmain) Date: Fri, 28 Jul 2006 10:24:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Query Logging? Message-ID: <3908655.1154096682745.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know whether this is a question about Seam, EJB3, or JBoss/Hibernate... How do I control SQL logging? Ideally, I could systematically control whether any SQL is logged, as well as controlling specific types (SELECT/INSERT/UPDATE), or selected areas of the application (presumably package level). Also, I need to be able to change the setting while the application is running, in order to debug a production problem. I know how to do this when I'm using Log4j without an O/R framework, since I can wrap the PreparedStatement with my own version with a nice toString() method and some logging calls. I just don't know how to do this when I hand off the entire persistence job to the framework. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961575#3961575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961575 From do-not-reply at jboss.com Fri Jul 28 10:25:47 2006 From: do-not-reply at jboss.com (ptmain) Date: Fri, 28 Jul 2006 10:25:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: jboss seam example Message-ID: <14260949.1154096747955.JavaMail.jboss@colo-br-02.atl.jboss.com> moving previous question to a new topic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961576#3961576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961576 From do-not-reply at jboss.com Fri Jul 28 10:29:08 2006 From: do-not-reply at jboss.com (ptmain) Date: Fri, 28 Jul 2006 10:29:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Using core.ejb Message-ID: <890688.1154096948441.JavaMail.jboss@colo-br-02.atl.jboss.com> Could I use JBoss 4.0.4 GA (without the latest EJB3 implementation), or even 4.0.3, if I add the following to my components.xml? | | | The real question: Would this override the use of the app server's implementation and instead use the one packaged with Seam, or would it create some strange conflict? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961577#3961577 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961577 From do-not-reply at jboss.com Fri Jul 28 10:37:42 2006 From: do-not-reply at jboss.com (kcp) Date: Fri, 28 Jul 2006 10:37:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Avoid requests during deployment of ear Message-ID: <7832540.1154097462031.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I would like to know if there is an possibility to avoid requests to an application-ear while it gets deployed. I have the following situation: I use a facade EJB which is called from other system via RMI and a number of (local) backend EJBs for various tasks. The Facade is the first bean that Jboss deploys. As soon as it is deployed requests can be made to the facade. As the backend EJBs which are used by the facade are not completely deployed at this time, the calls to the Facade result in "Could not instantiate bean" exceptions. Does anybody know a mechanism to avoid calls to an application until the ear is deployed completely? The behavior described is especially a problem in cases when the Jboss needs to be restarted, because it lengthens the startup. Another question: Is there a possibility to avoid any calls at all to applications until the startup of the JBoss is completed? Thanks in advance for any hint. Regards Charly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961579#3961579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961579 From do-not-reply at jboss.com Fri Jul 28 10:41:57 2006 From: do-not-reply at jboss.com (Viegas) Date: Fri, 28 Jul 2006 10:41:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Timer Message-ID: <17664722.1154097717346.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to create a workflow where a date is inserted in the start state and then a timer is started to go on in the inserted date minus 4 weeks, is that possible? if so how? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961580#3961580 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961580 From do-not-reply at jboss.com Fri Jul 28 10:42:18 2006 From: do-not-reply at jboss.com (mrwhite) Date: Fri, 28 Jul 2006 10:42:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Access a Context Session Variablr from a Servlet? Message-ID: <1652959.1154097738042.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everybody, is it possible to access a context variable from a servlet like the interceptor from the booking demo does? | boolean isLoggedIn = Contexts.getSessionContext().get("loggedIn"); | And can i get the session from a seam app? I need this functionality for an upload applet, that posts the session id from a user to an upload servlet that does the upload processes but only if the user is logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961581#3961581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961581 From do-not-reply at jboss.com Fri Jul 28 11:02:55 2006 From: do-not-reply at jboss.com (dserodio) Date: Fri, 28 Jul 2006 11:02:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <12534922.1154098975576.JavaMail.jboss@colo-br-02.atl.jboss.com> dserodio wrote : epbernard wrote : | | In the Hibernate reference documentation... | I see that the reference documentation (which is great, BTW) contains this info, but would it hurt to add it to the javadoc too? "gavin.king at jboss.com" wrote : Emmanuel, that's just silly. You can't reasonably expect people to actually read freely-available documentation about something before blogging it to the world. | | ;-) I'll take that as a "no, we need something to slap newbies-who-don't-RFTM with". In case you didn't notice, I posted a constructive comment, not a rant. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961583#3961583 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961583 From do-not-reply at jboss.com Fri Jul 28 11:04:26 2006 From: do-not-reply at jboss.com (DjHitItUp) Date: Fri, 28 Jul 2006 11:04:26 -0400 (EDT) Subject: [jboss-user] [JBossWS] - JBossWS URL changes Message-ID: <16331301.1154099066661.JavaMail.jboss@colo-br-02.atl.jboss.com> When I go to the JBossWS URL on my server: http://server:8000/jbossws/services I see my webservice: jboss.ws:context=user,endpoint=TestWebService http://server:8080/user/TestWebService?wsdl However the FULL url and port is incorrect b/c due to the web.xml of the application the link below is the CORRECT url. http://server:8000/user/webservice/TestWebService?wsdl Below is my web.xml: index.jsp TestWebService com.company.department.ws.TestWebService TestWebService /webservice/TestWebService The question I have is can I change the URL path found in the JBossWS page? Is this a configuration change or a bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961584#3961584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961584 From do-not-reply at jboss.com Fri Jul 28 11:10:00 2006 From: do-not-reply at jboss.com (Martinator) Date: Fri, 28 Jul 2006 11:10:00 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Unable to Obtain JMX MBean for Servlet Info Message-ID: <29215637.1154099400684.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, never mind, I deployed it again and now it's working. Must have had a typo or something. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961585#3961585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961585 From do-not-reply at jboss.com Fri Jul 28 11:15:05 2006 From: do-not-reply at jboss.com (kuzmiigo) Date: Fri, 28 Jul 2006 11:15:05 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <25430982.1154099705456.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for your reply. Unfortunately, I cannot get it work. I have cache disabled, I flush the cache, but still roles remain the same. From the log I see that LoginModules (I use custom LoginModule to populate roles group) are not called. Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961586#3961586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961586 From do-not-reply at jboss.com Fri Jul 28 11:17:19 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 28 Jul 2006 11:17:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone Message-ID: <17342403.1154099839183.JavaMail.jboss@colo-br-02.atl.jboss.com> Outject your newPaperDetails into conversation or higher scope so that future requests can access this context variable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961587#3961587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961587 From do-not-reply at jboss.com Fri Jul 28 11:17:53 2006 From: do-not-reply at jboss.com (polymedes) Date: Fri, 28 Jul 2006 11:17:53 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - sessionDestroyed && home.create Message-ID: <24893592.1154099873392.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got a problem logging out the currently logged on user. I have a javax.servlet.http.HttpSessionListener in my web application, declared as my.SessionCounter in web.xml Inside the sessionDestroyed event handler I call this code: public void sessionDestroyed(HttpSessionEvent se) { if (activeSessions > 0) activeSessions--; try { MyServiceLocal iface = BeanLocator.getInstance().getMyService(); if (iface!=null) iface.logoutCurrentUser( (String)se.getSession().getAttribute("my.current.user") ); } catch (Exception ex) { System.out.println("XTYPHSE PALI TO MPOYRDELO! " + ex.getClass().getName()); } } I have an error "javax.ejb.AccessLocalException" in the line: MyServiceLocal iface = BeanLocator.getInstance().getMyService(); The error fires when home.create() is called: public MyServiceLocal getMyService() { try { home = (MyServiceLocalHome) ctx.lookup("my.jndiName"); //home is ok here, but calling create() will throw an AccessLocalException return home.create(); } catch (...) {...} } The interface for the bean "MyService" is generated with option @ejb.permission view-type="all" unchecked="true" The security domain is defined ("myApp" in jboss-web.xml and in jboss.xml) My login-config.xml contains the following: nobody nobody What is the problem? How can I logout the user (ie mark the user "clean" in the database), ON session destroy? Any help will be much appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961588#3961588 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961588 From do-not-reply at jboss.com Fri Jul 28 11:18:03 2006 From: do-not-reply at jboss.com (augustinm) Date: Fri, 28 Jul 2006 11:18:03 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: JBOSS is crashing.. Message-ID: <4405236.1154099883648.JavaMail.jboss@colo-br-02.atl.jboss.com> Any help on the above topic is really appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961589#3961589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961589 From do-not-reply at jboss.com Fri Jul 28 11:22:50 2006 From: do-not-reply at jboss.com (Magdalena.Piller) Date: Fri, 28 Jul 2006 11:22:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - how to configure application from global properties file in Message-ID: <9267951.1154100170685.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I have a problem reading a .properties file from the default/server/conf directory at runtime. My application uses a property hierarchy to load configuration parameters at runtime. Every module of the app has a properties file, which contains "defaults". They are packaged in the ear and i can access them no prob. But i also want a global properties file, where the deployer may overide the configuration of some or all of the module defaults. The problem is that i can't find the resource (ResourceBundle.getBundle(...) throws MissingResourceException). I tried to activate/deactivate class loader isolation for my ear, but so far it makes no difference. I ruled outtypos as well (by putting the global properties in the ear and retrieving it successfully) What am i missing? plz help thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961590#3961590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961590 From do-not-reply at jboss.com Fri Jul 28 11:32:19 2006 From: do-not-reply at jboss.com (gcoleman) Date: Fri, 28 Jul 2006 11:32:19 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: JBOSS is crashing.. Message-ID: <8571291.1154100739556.JavaMail.jboss@colo-br-02.atl.jboss.com> Firstly, I'd upgrade JBoss and check that your JDK is up to date. Stack traces: http://wiki.jboss.org/wiki/Wiki.jsp?page=StackTrace http://wiki.jboss.org/wiki/Wiki.jsp?page=GenerateAThreadDumpWithTheJMXConsole View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961591#3961591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961591 From do-not-reply at jboss.com Fri Jul 28 11:36:19 2006 From: do-not-reply at jboss.com (smithbstl) Date: Fri, 28 Jul 2006 11:36:19 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Manually having flush session Message-ID: <9292126.1154100979923.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working with JBOSS 4.0.4GA and Hibernate 3.1.3 I am attempting to manipulate a record in Oracle. For some reason, I am having to manually flush the session to get the changes to show up in the database. From the documentation I have read, I should not have to flush the session as long as I call commit() on the transaction. I am using Hibernate as a MBean Service in JBOSS with har deployment. Here is my code public void delete(int acctId){ | Session session = null; | Transaction tx = null; | try { | session = ServiceLocator.getHibernateSession(HIBERNATE_SESSION_FACTORY); | tx = session.beginTransaction(); | AccountBean acctBean = (AccountBean) session.get(AccountBean.class,acctId); | //For debugging | if (acctBean == null) { | System.out.println("AccountBean = Null"); | } else { | System.out.println("AccountDelete"); | System.out.println("-AcctID = " + acctBean.getAcctId()); | System.out.println("-AcctNum = " + acctBean.getAcctNum()); | System.out.println("-AcctName = " + acctBean.getAcctName()); | } | session.delete(acctBean); | tx.commit(); | } catch (Exception e) { | try { | tx.rollback(); | } catch (Exception e2) { | System.out.println(e2); | } | System.out.println(e); | } finally { | try { | if (session != null) { | //Why do I need to call flush here? | session.flush(); | session.close(); | } | } catch (Exception e) { | System.out.println(e); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961592#3961592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961592 From do-not-reply at jboss.com Fri Jul 28 11:38:43 2006 From: do-not-reply at jboss.com (dbatcn) Date: Fri, 28 Jul 2006 11:38:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - How to store information about many-to-many relationship its Message-ID: <407932.1154101123476.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a situation where I have a many-to-many bidirectional relationship between two entity beans "User" and "Group", where users can belong to many groups and groups can have many users. I want to keep track of the status of the relationship itself and still take advantage of automatic table generation from source annotations in a database-independent fashion. For example, a user's status in a group could be "invited" or "member" independently for each group that the user is related to. The user is the owning side of the relation, although that doesn't seem relevant to me. It seems to me that what I want to do is have another column in the join table and I'm stumped about how to do in a clean way and was unable to find anything about this topic; I've read Bill Burke's O'Reilly EJB3 book and couldn't think of good search terms that would capture this issue. (I'm also using Seam, although I don't think that's germane here.) I imagine I could hack in another column to the join table with an ALTER TABLE, but that strikes me as a kluge and I don't see how I could easily deal with group member status using EJB3. Does anybody have a suggestion? Pointers on how to do this or to previous discussions of this topic gratefully accepted. current Group.java | ... | @Entity | @Table(name="GROUPS") | public class Group implements Serializable { | | private long id; | private Set users = new HashSet(); | | @Id | @Column(name="GROUP_ID") | @GeneratedValue | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @ManyToMany(cascade=CascadeType.PERSIST,mappedBy="groups") | public Set getUsers() { | return users; | } | public void setUsers( Set users ) { | this.users = users; | } | | ... | } | current User.java | ... | @Entity | @Table(name="USERS") | public class User implements Serializable { | | private long id; | private Set groups = new HashSet(); | | @Id | @Column(name="USER_ID") | @GeneratedValue | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @ManyToMany(cascade=CascadeType.PERSIST) | @JoinTable(name="USER_GROUP", | joinColumns={@JoinColumn(name="USER_ID")}, | inverseJoinColumns={@JoinColumn(name="GROUP_ID")}) | public Set getGroups() { | return groups; | } | public void setGroups( Set groups ) { | this.groups = groups; | } | | ... | } | currently generated schema: anonymous wrote : | 2006-07-27 19:15:53,790 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] create table GROUPS (GROUP_ID bigint generated by default as identity (start with 1), ..., primary key (GROUP_ID)) | 2006-07-27 19:15:53,790 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] create table USERS (USER_ID bigint generated by default as identity (start with 1), ..., primary key (USER_ID)) | 2006-07-27 19:15:53,790 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] create table USER_GROUP (USER_ID bigint not null, GROUP_ID bigint not null, primary key (USER_ID, GROUP_ID)) | 2006-07-27 19:15:53,790 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] alter table USER_GROUP add constraint FKC62E00EB21CA0D09 foreign key (USER_ID) references USERS | 2006-07-27 19:15:53,790 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] alter table USER_GROUP add constraint FKC62E00EB44BDA00B foreign key (GROUP_ID) references GROUPS | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961593#3961593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961593 From do-not-reply at jboss.com Fri Jul 28 12:14:07 2006 From: do-not-reply at jboss.com (dapissarenko) Date: Fri, 28 Jul 2006 12:14:07 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Encoding in Hypersonic database Message-ID: <22859262.1154103247771.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I want to use JBoss with Hypersonic Database. I've created a couple of JSP pages and servlets, using which the user can enter data into the database via EJBs with container-managed persistence. Some of the web pages are used for entering string data into the database. It works fine as long as the string are US English. However, when I try to enter Cyrillic or German characters, a problem occurs. When those strings are read from the database, they are displayed incorrectly (both Cyrillic letters and German umlauts). All web pages have UTF-8 encoding, which is set in the header: I would like to know where and how I can configure the encoding of the database. TIA Dmitri Pissarenko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961595#3961595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961595 From do-not-reply at jboss.com Fri Jul 28 12:19:35 2006 From: do-not-reply at jboss.com (dbatcn) Date: Fri, 28 Jul 2006 12:19:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship Message-ID: <24596478.1154103575558.JavaMail.jboss@colo-br-02.atl.jboss.com> BTW, it did occur to me that I could store parallel relationships (e.g. one relation for invited users and another for accepted members) and confine the state change code to one place in a single transaction. That's the cleanest thing I can think of so far and keeps everything in the EJB3 paradigm. I think it would work for me, but I don't think it scales well (e.g. multiple state possibilites). Superior alternatives welcomed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961596#3961596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961596 From do-not-reply at jboss.com Fri Jul 28 12:38:07 2006 From: do-not-reply at jboss.com (acxsjones) Date: Fri, 28 Jul 2006 12:38:07 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - start not being call on 4.0.2 startup Message-ID: <23998138.1154104687059.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a mbean that extends ServiceMBeanSupport I have a start method. The start method does not get call of server startup. I can go into the jmx console and start and everything works fine. Help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961597#3961597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961597 From do-not-reply at jboss.com Fri Jul 28 12:58:34 2006 From: do-not-reply at jboss.com (sphinxmember) Date: Fri, 28 Jul 2006 12:58:34 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: PojoCache Weblogic 91 and JConsole issue!! Message-ID: <5283774.1154105914872.JavaMail.jboss@colo-br-02.atl.jboss.com> ya ..thats right jconsole disables those methods. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961600#3961600 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961600 From do-not-reply at jboss.com Fri Jul 28 13:09:34 2006 From: do-not-reply at jboss.com (taba_youichi) Date: Fri, 28 Jul 2006 13:09:34 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Reverse proxy and generated WSDL Message-ID: <3495228.1154106574093.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I want to use JBossWS behind reverse proxy. Internet -- Apache HTTP -- JBoss But generated WSDL contains hostname of JBoss's machine which is not reachable from Internet. How can I configure the hostname to Apache's machine? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961601#3961601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961601 From do-not-reply at jboss.com Fri Jul 28 13:10:10 2006 From: do-not-reply at jboss.com (cingram) Date: Fri, 28 Jul 2006 13:10:10 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: does not contain operation meta data for: String_1 Message-ID: <5511664.1154106610493.JavaMail.jboss@colo-br-02.atl.jboss.com> I am putting a solution to my problem just incase it might help some one else. I've found the reason for my problem was because I used jboss-4.0.4.CR2-installer.jar to install my jboss. I downloaded jboss and unzipped jboss manually. I then upgraded to jbossws-1.0.2 and deployed my webservices. I used my client to call the webservice and I received the reply with out any errors. I didn?t have to make any changes to my war file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961602#3961602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961602 From do-not-reply at jboss.com Fri Jul 28 13:10:21 2006 From: do-not-reply at jboss.com (gcsixty6) Date: Fri, 28 Jul 2006 13:10:21 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - JBoss error when passing a query result between EJBs Message-ID: <10386647.1154106621081.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi folk, I deployed my EAR in Jboss 3.2.8 that access a MySql db. On my local Windows machine everything works perfect. On the production environment (Linux Fedora) a method in the session bean (uk.co.backrack.ejb.session.beans.ForumHandlerBean.listForums) calls a method in an entity bean (called getForumsData()). This returns from the database a collection but when this collection is passed to the calling session bean method the following hell of an error is triggered. Never seen something like that. Any idea? Is it a configuration problem of JBoss in the Linux env? Thanks 11:26:58,208 ERROR [LogInterceptor] Unexpected Error: java.lang.NoSuchMethodError: org.jboss.util.timeout.Timeout.cancel()V at org.jboss.tm.TransactionImpl.cancelTimeout(TransactionImpl.java:1070) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:420) at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:456) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:324) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:128) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:94) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:478) at org.jboss.ejb.Container.invoke(Container.java:743) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:294) at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:110) at $Proxy37.getForumsData(Unknown Source) at uk.co.backrack.ejb.session.beans.ForumHandlerBean.listForums(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:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:723) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:359) at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83) at $Proxy48.listForums(Unknown Source) at uk.co.backrack.web.ListForumsServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312) at uk.co.backrack.web.EnterSiteServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:72) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:275) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961603#3961603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961603 From do-not-reply at jboss.com Fri Jul 28 13:12:56 2006 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Fri, 28 Jul 2006 13:12:56 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: can username be UTF-8 Message-ID: <12515560.1154106776376.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBAS-3445 Jira issue is to write a test case to test this. Are you able to submit a junit test case (that maybe utilizes apache common httpclient to make calls on your test application). If yes, then you can attach it as a zip in the JIRA issue? That way, we can resolve this issue faster if exists. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961604#3961604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961604 From do-not-reply at jboss.com Fri Jul 28 13:14:58 2006 From: do-not-reply at jboss.com (cpob) Date: Fri, 28 Jul 2006 13:14:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timer Message-ID: <4043654.1154106898100.JavaMail.jboss@colo-br-02.atl.jboss.com> Should be rather simple. You can see how to programmatically create a timer if you look at the CreateTimerAction source code. They build a Timer object. I would created an action handler on the node-exit of the start state which would take the entered date, and then do simple java date math Date newDate = new Date( enteredDate.getTime() - 2419200000 ) Where 2419200000 is 4 weeks (in milliseconds). Or Date newDate = new Date( enteredDate.getTime() - (4 * 7 * 24 * 60 * 60 * 1000) ) For the 4 weeks, 7 days in a week, 24 hours in day, so on and so on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961605#3961605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961605 From do-not-reply at jboss.com Fri Jul 28 13:37:52 2006 From: do-not-reply at jboss.com (ManyLostPackets) Date: Fri, 28 Jul 2006 13:37:52 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss database issue: connections not releasing Message-ID: <27819438.1154108272841.JavaMail.jboss@colo-br-02.atl.jboss.com> Failure to severe a networked DB connection untill it crashes sounds more like a memory leak for sockets than anything. Would anyone concure that this is a code issue rather than a JBoss service or Database issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961606#3961606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961606 From do-not-reply at jboss.com Fri Jul 28 13:50:28 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Fri, 28 Jul 2006 13:50:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Problem testing seam using EntityManager Message-ID: <20802547.1154109028090.JavaMail.jboss@colo-br-02.atl.jboss.com> I've have test like so... | package com.vicor.dcap.integration.test; | | import javax.persistence.EntityManagerFactory; | import javax.persistence.Persistence; | | import org.junit.AfterClass; | import org.junit.Assert; | import org.junit.BeforeClass; | import org.junit.Test; | | | public class PackageActionTest { | | private static EntityManagerFactory emf; | | @BeforeClass | public static void init() { | try { | emf = Persistence.createEntityManagerFactory("DC"); | } | catch(Exception e) { | e.printStackTrace(System.err); | Assert.fail(e.getMessage()); | } | } | | @AfterClass | public static void destroy() | { | try { | //emf.close(); | } | catch(Exception e) { | e.printStackTrace(System.err); | Assert.fail(e.getMessage()); | } | } | | @Test | public void loadPackages() { | Assert.fail("not implemented yet..."); | } | } | when I run it I get the following exception stack | FATAL 28-07 12:40:35,250 (Log4JLogger.java:fatal:124) -default.persistence.propertiesO-:-Ofalse | FATAL 28-07 12:40:35,250 (Log4JLogger.java:fatal:124) -ejb3-interceptors-aop.xmlO-:-Ofalse | FATAL 28-07 12:40:35,250 (Log4JLogger.java:fatal:124) -embedded-jboss-beans.xmlO-:-Ofalse | FATAL 28-07 12:40:35,250 (Log4JLogger.java:fatal:124) -jboss-jms-beans.xmlO-:-Ofalse | FATAL 28-07 12:40:35,250 (Log4JLogger.java:fatal:124) -jndi.propertiesO-:-Ofalse | FATAL 28-07 12:40:35,265 (Log4JLogger.java:fatal:124) -log4j.xmlO-:-Ofalse | FATAL 28-07 12:40:35,265 (Log4JLogger.java:fatal:124) -META-INF/ejb-jar.xmlO-:-Ofalse | FATAL 28-07 12:40:35,265 (Log4JLogger.java:fatal:124) -META-INF/jboss-app.xmlO-:-Ofalse | FATAL 28-07 12:40:35,265 (Log4JLogger.java:fatal:124) -META-INF/MANIFEST.MFO-:-Ofalse | FATAL 28-07 12:40:35,265 (Log4JLogger.java:fatal:124) -META-INF/persistence.xmlO-:-Ofalse | ERROR 28-07 12:40:35,343 (Log4JLogger.java:error:119) -Could not obtain initial context | javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:175) | at org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) | at com.vicor.dcap.integration.test.PackageActionTest.init(PackageActionTest.java:19) | 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.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) | at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) | at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource | FATAL 28-07 12:40:35,359 (Log4JLogger.java:fatal:129) -Could not find datasource: java:/PostgresDCAP | javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:175) | at org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) | at com.vicor.dcap.integration.test.PackageActionTest.init(PackageActionTest.java:19) | 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.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) | at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) | at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:217) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27) | at com.vicor.dcap.integration.test.PackageActionTest.init(PackageActionTest.java:19) | 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.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74) | at org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33) | at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | Caused by: org.hibernate.HibernateException: Could not find datasource | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205) | ... 18 more | Caused by: javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:175) | at org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | ... 27 more | I'm using eclipes and have set my test project to be an ejb project. I have the following persistence.xml which defines the datasource I want to use. | | | org.hibernate.ejb.HibernatePersistence | java:/PostgresDCAP | | | | | | | | I also have included as a source directory (which gets put in the classpath) the files defined in the seam/embedded-ejb3/conf directory and modified the embedded-jboss-beans.xml to have a bootstrap datasource that matches the persistence unit defined in my persistence.xml. | | org.postgres.Driver | jdbc:postgresql://localhost:5432/test | dcap | dcap | java:/PostgresDCAP | 0 | 10 | 1000 | 100000 | | | | | | | | | | | Any ideas what I'm doing wrong. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961607#3961607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961607 From do-not-reply at jboss.com Fri Jul 28 13:50:47 2006 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Fri, 28 Jul 2006 13:50:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: PLEASE HELP Message-ID: <20288798.1154109047111.JavaMail.jboss@colo-br-02.atl.jboss.com> Why don't you merge the mappings for JBPM classes and your custom classes in the same .cfg.xml file? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961608#3961608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961608 From do-not-reply at jboss.com Fri Jul 28 13:56:14 2006 From: do-not-reply at jboss.com (Basel) Date: Fri, 28 Jul 2006 13:56:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone Message-ID: <2066097.1154109374736.JavaMail.jboss@colo-br-02.atl.jboss.com> I did that already and I got the same error message shown above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961609#3961609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961609 From do-not-reply at jboss.com Fri Jul 28 14:09:34 2006 From: do-not-reply at jboss.com (saravanag) Date: Fri, 28 Jul 2006 14:09:34 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Ant build.xml for JBoss 4.0.2 Message-ID: <18519138.1154110174202.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Anyone have sample Ant build.xml for JBoss 4.0.2. I am trying to compile JSP and build a jar file and move the jar file to WEB-INF/lib dir. Thanks Ganesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961610#3961610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961610 From do-not-reply at jboss.com Fri Jul 28 14:17:44 2006 From: do-not-reply at jboss.com (paro) Date: Fri, 28 Jul 2006 14:17:44 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Exception when storing Object that contains a set of oth Message-ID: <19898527.1154110664973.JavaMail.jboss@colo-br-02.atl.jboss.com> So, what is the solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961611#3961611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961611 From do-not-reply at jboss.com Fri Jul 28 14:27:47 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 28 Jul 2006 14:27:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone Message-ID: <22729570.1154111267052.JavaMail.jboss@colo-br-02.atl.jboss.com> You must have done something wrong. Your current code injects null, sets newPaperDetails in initPaperDetails(), then outjects it to nowhere (stateless). On the next call you inject null again, don't set the variable, then outject null, which causes an error. Fix this and things should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961612#3961612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961612 From do-not-reply at jboss.com Fri Jul 28 14:29:14 2006 From: do-not-reply at jboss.com (dazbaz) Date: Fri, 28 Jul 2006 14:29:14 -0400 (EDT) Subject: [jboss-user] [JBoss.NET] - Re: NoSuchFieldError when deploying .wsr Message-ID: <7735992.1154111354232.JavaMail.jboss@colo-br-02.atl.jboss.com> I think this may work for you. Try following the replacement instructions found in the Wiki, but instead of copying JBoss.NET from your 3.2.x JBoss instance, copy it from a JBoss 4.0.2 instance that you may have to download. See steps below and where to find the appropriate files: 1. I deleted the jbossws14-client.jar from client directory 2. Deleted the jbossws14.sar directory 3. Copied the jboss-4.0.2\docs\examples\jboss.net\jboss-net-client.jar to the client directory in JBoss4.0.4GA 4. Copied the jboss-4.0.2\docs\examples\jboss.net\jboss-net.sar to the JBoss4.0.4GA\server\all\deploy directory Let me know if this works for you. Please remember to get the JBoss.NET version from JBoss 4.0.2 instead or your 3.2.x instance. Cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961613#3961613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961613 From do-not-reply at jboss.com Fri Jul 28 14:37:43 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 14:37:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem using SequenceGenerator Message-ID: <29595727.1154111863498.JavaMail.jboss@colo-br-02.atl.jboss.com> you need to use an allocationSize of 1 and for the records, SequenceHiLoGenerator is perfectly fine in an cluster :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961614#3961614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961614 From do-not-reply at jboss.com Fri Jul 28 14:40:32 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 14:40:32 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ManyToMany relationship removal example Message-ID: <2425342.1154112032901.JavaMail.jboss@colo-br-02.atl.jboss.com> are you using those object in the detached state? Then yes you need to implement a proper equals/hashcode impl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961615#3961615 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961615 From do-not-reply at jboss.com Fri Jul 28 14:47:55 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 28 Jul 2006 14:47:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: how to configure application from global properties file Message-ID: <5928792.1154112475546.JavaMail.jboss@colo-br-02.atl.jboss.com> Try something like this: String dataDir = System.getProperties("jboss.server.data.dir"); | InputStream is = new FileInputStream(dataDir + "global.properties"); | Properties globalProp = new Properties(); | globalProp.load(is); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961616#3961616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961616 From do-not-reply at jboss.com Fri Jul 28 14:51:41 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 14:51:41 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Compound primary key with cmr Message-ID: <20534634.1154112701842.JavaMail.jboss@colo-br-02.atl.jboss.com> not sure I understand everything but here is my answer You can do that with Hibernate, but the specification does not support it. Hence Dali & co probably do not support it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961617#3961617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961617 From do-not-reply at jboss.com Fri Jul 28 14:55:04 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 14:55:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Override Primary Key Mapping Message-ID: <20273690.1154112904051.JavaMail.jboss@colo-br-02.atl.jboss.com> this is not possible and not supported by the spec View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961618#3961618 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961618 From do-not-reply at jboss.com Fri Jul 28 14:56:37 2006 From: do-not-reply at jboss.com (wolfc) Date: Fri, 28 Jul 2006 14:56:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null Message-ID: <32255743.1154112997233.JavaMail.jboss@colo-br-02.atl.jboss.com> Please try: InitialContext ctx = new InitialContext(); | EILogin login = (EILogin) ctx.lookup("esLoginBean/remote"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961619#3961619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961619 From do-not-reply at jboss.com Fri Jul 28 14:57:35 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 28 Jul 2006 14:57:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Ant build.xml for JBoss 4.0.2 Message-ID: <8584570.1154113055040.JavaMail.jboss@colo-br-02.atl.jboss.com> Try the code examples from the book JBoss at Work. You can download the examples from http://www.jbossatwork.com/downloads.html. The examples use Ant to build and deploy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961620#3961620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961620 From do-not-reply at jboss.com Fri Jul 28 14:57:51 2006 From: do-not-reply at jboss.com (rknechtel) Date: Fri, 28 Jul 2006 14:57:51 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: EJB3 JDNI lookup error 'unexpected block data' Message-ID: <32991294.1154113071023.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having the same problems using JBoss 4.0.4GA & EJB 3.0 RC8. javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.footlocker.client.Client.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628) 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:1494) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at java.rmi.MarshalledObject.get(MarshalledObject.java:135) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) I added the jars suggested but still no go. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961621#3961621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961621 From do-not-reply at jboss.com Fri Jul 28 15:04:57 2006 From: do-not-reply at jboss.com (Basel) Date: Fri, 28 Jul 2006 15:04:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Cannot get @In and @Out to work with a stateless compone Message-ID: <20730751.1154113497224.JavaMail.jboss@colo-br-02.atl.jboss.com> What should I do to fix it? The action is stateless in nature in that the user uploads a file with some details, in this case newPaperDetails, and store them in the database. The reason I used @Out and initPaperDetails is because that the newartwork.jsf page complains about not being able to find newPaperDetails instance. What approach would you suggest me to follow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961622#3961622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961622 From do-not-reply at jboss.com Fri Jul 28 15:08:37 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 15:08:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Tryed searching for this issue, but haven't found anythi Message-ID: <16058071.1154113717113.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a reason for not adding common usages into the JavaDoc. We would en up having very long JavaDocs (ie Reference guide in it), so we decided to not include usages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961623#3961623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961623 From do-not-reply at jboss.com Fri Jul 28 15:09:00 2006 From: do-not-reply at jboss.com (matthewkim) Date: Fri, 28 Jul 2006 15:09:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Could not restore ejb timers exception occured to JBossD Message-ID: <18738283.1154113740104.JavaMail.jboss@colo-br-02.atl.jboss.com> I get this error as well! My JBoss was working for a while, but now it's giving me this same error when I deploy an EAR file. I haven't a clue what the problem could be... Oh how I do wish someone new the solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961624#3961624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961624 From do-not-reply at jboss.com Fri Jul 28 15:44:12 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 15:44:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: EntityManager.lock() issues Message-ID: <7629409.1154115852430.JavaMail.jboss@colo-br-02.atl.jboss.com> flush() does not commit a transaction, it just execute statements. That's the reason for you not seeing the entity. Yes HSQLDB does not implements the required isolation level. About the NPE, this is bad, I'll fix that http://opensource.atlassian.com/projects/hibernate/browse/HHH-1958 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961626#3961626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961626 From do-not-reply at jboss.com Fri Jul 28 15:57:48 2006 From: do-not-reply at jboss.com (epbernard) Date: Fri, 28 Jul 2006 15:57:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship Message-ID: <6814684.1154116668754.JavaMail.jboss@colo-br-02.atl.jboss.com> use an intermediate entity to handle this state View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961627#3961627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961627 From do-not-reply at jboss.com Fri Jul 28 15:58:26 2006 From: do-not-reply at jboss.com (fljmayer) Date: Fri, 28 Jul 2006 15:58:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - IllegalArgumentException during deserialization Message-ID: <33021090.1154116706293.JavaMail.jboss@colo-br-02.atl.jboss.com> Under specific circumstances I get the exception below when making a call to an EJB3 stateless session bean using JBoss 4.0.4.GA-Patch1. I debugged JBoss and found that the object passed to java.lang.reflect.Method.invoke() was not of the correct class; the method is readResolve(). The circumstances are as follows: - The bean's remote interface must be looked up from inside of the JBoss EJB container. If we use the local interface inside of the container or the remote interface from outside, everything is fine. - The deserialized graph must contain a org.geotools.referencing.crs.DefaultProjectedCRS, which contains a bunch of other Geotools objects. This behavior is reproducible 100% of the time. If necessary, I should be able to provide a standalone test case. java.lang.IllegalArgumentException: object is not an instance of declaring class 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.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:426) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) 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:411) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) 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:411) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) 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:411) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) 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:411) at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:841) at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:102) at $Proxy150.createCoordinateReferenceSystem(Unknown Source) at com.lggi.esp.services.ejb.spatial.core.coordinatesystem.CoordinateSystemWorker.createCoordinateReferenceSystem_aroundBody10(CoordinateSystemWorker.java:120) at com.lggi.esp.services.ejb.spatial.core.coordinatesystem.CoordinateSystemWorker$AjcClosure11.run(CoordinateSystemWorker.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:101) at com.lggi.esp.services.aspects.security.SecurityAspect.aroundSecuredMethods(SecurityAspect.aj:104) at com.lggi.esp.services.ejb.spatial.core.coordinatesystem.CoordinateSystemWorker.createCoordinateReferenceSystem(CoordinateSystemWorker.java:1) at com.lggi.esp.services.ejb.spatial.core.coordinatesystem.CoordinateSystemBean.createCoordinateReferenceSystem(CoordinateSystemBean.java:94) 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.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169) at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:64) 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.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:954) at sun.reflect.GeneratedMethodAccessor124.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.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) at sun.reflect.GeneratedMethodAccessor136.invoke(Unknown Source) 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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961628#3961628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961628 From do-not-reply at jboss.com Fri Jul 28 16:13:37 2006 From: do-not-reply at jboss.com (lafr) Date: Fri, 28 Jul 2006 16:13:37 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Re: HELP: Looking up to java:comp namespace problem!! Message-ID: <2884094.1154117617392.JavaMail.jboss@colo-br-02.atl.jboss.com> To get a mail session via "java:comp/env/Mail" I declared this tags for xdoclet: | * @ejb.resource-ref | * res-ref-name="Mail" | * res-type="javax.mail.Session" | * res-auth="Container" | * @jboss.resource-ref | * res-ref-name="Mail" | * jndi-name="java:/Mail" | Using the global namespace you simply do a lookup of "java:/Mail". No narrowing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961629#3961629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961629 From do-not-reply at jboss.com Fri Jul 28 16:22:22 2006 From: do-not-reply at jboss.com (lafr) Date: Fri, 28 Jul 2006 16:22:22 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Migration to jboss4..0.4 problems Message-ID: <11749133.1154118142574.JavaMail.jboss@colo-br-02.atl.jboss.com> The entity bean was not deployed correctly. Look for errors or warnings on deployment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961630#3961630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961630 From do-not-reply at jboss.com Fri Jul 28 16:25:33 2006 From: do-not-reply at jboss.com (sjmenden) Date: Fri, 28 Jul 2006 16:25:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Getting IllegalStateException: No data type for node:... Message-ID: <31618164.1154118333926.JavaMail.jboss@colo-br-02.atl.jboss.com> I successfully got the seam registration example running. I took that example, changed a few classes so I could begin getting familiar with seam, but I can not get past this one exception: | javax.faces.FacesException: Error calling action method of component with id _id0:_id7 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{sellcar.sell} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 24 more | Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.IdentNode | \-[IDENT] IdentNode: 'car' {originalText=car} | | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy78.sell(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 25 more | Caused by: java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.IdentNode | \-[IDENT] IdentNode: 'car' {originalText=car} | | at org.hibernate.hql.ast.tree.SelectClause.initializeExplicitSelectClause(SelectClause.java:144) | at org.hibernate.hql.ast.HqlSqlWalker.useSelectClause(HqlSqlWalker.java:714) | at org.hibernate.hql.ast.HqlSqlWalker.processQuery(HqlSqlWalker.java:538) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:645) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281) | at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229) | at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:227) | at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:159) | at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:110) | at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77) | at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56) | at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71) | ... | I mirrored the registration example almost exactly, here are the relevant files: | @Entity | @Name("car") | @Scope(SESSION) | @Table(name="cars") | public class Car implements Serializable | { | private static final long serialVersionUID = 1881413500711441951L; | | private String vin; | private String make; | private String model; | private Integer year; | | public Car(String vin, String make, String model, Integer year) { | this.vin = vin; | this.make = make; | this.model = model; | this.year = year; | } | | public Car() {} | | @Id @NotNull | public String getVin() { | return vin; | } | | public void setVin(String vin) { | this.vin = vin; | } | | public void setName(String vin) { | this.vin = vin; | } | | @NotNull | public String getMake() { | return make; | } | | public void setMake(String make) { | this.make = make; | } | | @NotNull | public String getModel() { | return model; | } | | public void setModel(String model) { | this.model = model; | } | | @NotNull | public Integer getYear() { | return year; | } | | public void setYear(Integer year) { | this.year = year; | } | | | public String toString() | { | return "Car(VIN: " + vin + " Make: " + make + " Model: " + model + " Year: " + year + ")"; | } | } | | | @Stateless | @Name("sellcar") | public class SellCarAction implements SellCar | { | | @In @Valid | private Car car; | | @PersistenceContext | private EntityManager em; | | @Logger | private Log log; | | public String sell() { | List existing = em.createQuery("select car from Car where vin=:vin") | .setParameter("vin", car.getVin()) | .getResultList(); | if (existing.size()==0) { | em.persist(car); | log.info("Sold car with vin #{car.vin}"); | return "/sold.jsp"; | } | else { | FacesMessages.instance().add("Car vin: #{car.vin} has already been sold"); | return null; | } | } | | } | | @Local | public interface SellCar { | public String sell(); | } | | <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> | <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> | <%@ taglib uri="http://jboss.com/products/seam/taglib" prefix="s" %> | | | Sell your Car | | | | | | | | | | | | | | | | | | | | | | | |
    VIN
    Make
    Model
    Year
    | | |
    |
    | | | | | | org.hibernate.ejb.HibernatePersistence | java:/DefaultDS | | | | | | Hibernate claims to be generating all of the schema, and there are no additional errors to report. Any help would be greatly appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961631#3961631 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961631 From do-not-reply at jboss.com Fri Jul 28 16:36:09 2006 From: do-not-reply at jboss.com (AllenABQ) Date: Fri, 28 Jul 2006 16:36:09 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Drools 3.0 and constraints Message-ID: <18896708.1154118969752.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe I've just not found the documentation that explains how to deal with this. I'm using Drools and want to compare to values in the same object as a condition for executing the RHS. For example I might have: public class Battery { | private double charge; | | public void setCharge(double charge) { | this.charge = charge; | } | | public double getCharge() { | return charge; | } | } | | public class DoubleA extends Battery { | private double optimal; | | public double getOptimal(){ | return optimal; | } | } In my main function I set up all my pieces to get the rule base working with some instantiated objects. Lets say for DoubleA #1, I say the charge is .68 and the optimal value is .75. For DoubleA #2, the charge is .72 and the optimal value is .70. In my rule base, I want to monitor all my DoubleA batteries for when they are less than optimal. It would make sense that I would write the rule somehow like this... rule "DoubleA less than optimal" | when | b : DoubleA(charge < optimal); | then | b.chargeBattery(); | end However, this does not work. I get an error message in Eclipse saying "Unable to return Declaration for identifier 'optimal'". In haven't been able to find anything in the documentation about comparing the internal values of single objects, and the contraints on the RHS of the comparison operator only appears to work for literals or bound variables. I've tired many different permutations of making a bound variable out of 'optimal', but nothing seems to work, and I'm stumped. There HAS to be a way to do this. I can't imagine it was not thought of. Any help appreciated! Allen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961632#3961632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961632 From do-not-reply at jboss.com Fri Jul 28 16:40:56 2006 From: do-not-reply at jboss.com (luowp) Date: Fri, 28 Jul 2006 16:40:56 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Where can I find process examples Message-ID: <22727959.1154119256973.JavaMail.jboss@colo-br-02.atl.jboss.com> I just started to use jBPM. I am wondering where can I find some examples of process definition. Thx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961633#3961633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961633 From do-not-reply at jboss.com Fri Jul 28 16:41:42 2006 From: do-not-reply at jboss.com (jleech) Date: Fri, 28 Jul 2006 16:41:42 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Serving dynamically generated JSPs Message-ID: <19813830.1154119302706.JavaMail.jboss@colo-br-02.atl.jboss.com> I would do something along the lines of compiling the .jsp into a servlet and dynamically loading it / invoking it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961634#3961634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961634 From do-not-reply at jboss.com Fri Jul 28 16:48:31 2006 From: do-not-reply at jboss.com (luowp) Date: Fri, 28 Jul 2006 16:48:31 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - How to stop a token to propagate Message-ID: <20366621.1154119711394.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a process which has a fork. This fork has three way. I just want to stop one of them. So I add an action handler in one of nodes and get context data and then using this context data to decide whether or not stop this path. I use token.end() trying to stop one path but it fails. Could anybody tell me how to stop one of the execution path. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961636#3961636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961636 From do-not-reply at jboss.com Fri Jul 28 16:51:23 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Fri, 28 Jul 2006 16:51:23 -0400 (EDT) Subject: [jboss-user] [Datasource Configuration] - Can't connect to global namespace datasource from servlet Message-ID: <30578043.1154119883985.JavaMail.jboss@colo-br-02.atl.jboss.com> I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have already: mysql-ds.xml ? jdbc/MySqlDS false jdbc:mysql://localhost:3306/proxyServletDB com.mysql.jdbc.Driver root pword org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL web.xml ? The default DS jdbc/MySqlDS javax.sql.DataSource Container < ? > jboss-web.xml ? jdbc/MySqlDS javax.sql.DataSource java:/MySqlDS Servlet ? Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/MySqlDS"); I think these are the relevant files. I could access the datasource from the local jndi namespace by using lookup(?java:/jdbc/MySqlDS?). But I need it to be global so that other servlets, from other machines can use it. Which is when I added: false to my mysql-ds.xml file so that the default, local java:/ namespace won?t be used. But now whenever the servlet is invoked I get the error that says MySqlDS not bound (complete trace shown below). Error I get when I try to invoke the servlet: 16:34:47,328 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.N ameNotFoundException: MySqlDS not bound] 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,328 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,328 ERROR [STDERR] at ReadServlet.doGet(ReadServlet.java:28) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:252) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,328 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:202) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv e.java:175) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:1 12) 16:34:47,343 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 16:34:47,343 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: MySqlDS not bound 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,343 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061) 16:34:47,343 ERROR [STDERR] ... 25 more service=jndiview - Global JNDI Namespace +- jdbc (class: org.jnp.interfaces.NamingContext) | +- MySqlDS (class: javax.sql.DataSource) Any ideas/suggestions? I?ve been stuck on this thing for almost 3 days now. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961637#3961637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961637 From do-not-reply at jboss.com Fri Jul 28 16:53:48 2006 From: do-not-reply at jboss.com (andresram1) Date: Fri, 28 Jul 2006 16:53:48 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Frequently Asked Questions[Tomcat/Http/Apache/Servlets/J Message-ID: <10519716.1154120028628.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I can?t deploy my images build under jsf applications I have installed apache + tomcat and everything is fine with the configurations (I think so) because php, jsp and servlets application work well. My jsf applications work, but all images aren't deployed Thanks for your collaboration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961638#3961638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961638 From do-not-reply at jboss.com Fri Jul 28 16:54:07 2006 From: do-not-reply at jboss.com (nagmca) Date: Fri, 28 Jul 2006 16:54:07 -0400 (EDT) Subject: [jboss-user] [JBossWS] - urgent - need help Message-ID: <10090304.1154120047899.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a requirement to pass an xml file (Invoice.xml) to web service and returns InvoiceResponse.xml file. How to achive this using web services? I was looking at samples (document oriented) but the test client is passing string values instead of xml file. I was getting unsupported exception while passing an xml file. Any pointers will be really helpful. Give me few hints. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961639#3961639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961639 From do-not-reply at jboss.com Fri Jul 28 16:57:46 2006 From: do-not-reply at jboss.com (goose-dog) Date: Fri, 28 Jul 2006 16:57:46 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Facelet and pageEncoding Message-ID: <21942225.1154120266980.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have utf8 data in my DB, and when I used to use JSP I can specify <%@ page pageEncoding="UTF-8" %> and the data display correctly.. however in facelet, I can't use that.. How should I do it in facelet? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961640#3961640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961640 From do-not-reply at jboss.com Fri Jul 28 16:59:44 2006 From: do-not-reply at jboss.com (tach) Date: Fri, 28 Jul 2006 16:59:44 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - How to configure JBoss with MS SQL Server Message-ID: <10932938.1154120384816.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Forum! I want to know how to configure JBoss with MS SQL Server, I have downloaded sqljdbc.jar from Microsoft (is this the very file needed for configuration?) site but couldnt findout any tutorial or howTo, I have SQL Server version 2000 does the configuration same with version 2005? can u plz help me in this configuration? Thanks in advance - Tahir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961641#3961641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961641 From do-not-reply at jboss.com Fri Jul 28 17:01:48 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Fri, 28 Jul 2006 17:01:48 -0400 (EDT) Subject: [jboss-user] [JNDI/Naming/Network] - Can't connect to global namespace datasource from servlet Message-ID: <18907988.1154120508609.JavaMail.jboss@colo-br-02.atl.jboss.com> I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have so far: mysql-ds.xml ? jdbc/MySqlDS false jdbc:mysql://localhost:3306/proxyServletDB com.mysql.jdbc.Driver root pword org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL web.xml ? The default DS jdbc/MySqlDS javax.sql.DataSource Container < ? > jboss-web.xml ? jdbc/MySqlDS javax.sql.DataSource java:/MySqlDS Servlet ? Context ctx = new InitialContext(); DataSource ds = DataSource)ctx.lookup("java:/comp/env/jdbc/MySqlDS"); I think these are the relevant files. I could access the datasource from the local jndi namespace by using lookup(?java:/jdbc/MySqlDS?). But I need it to be global so that other servlets, from other machines can use it. Which is when I added: false to my mysql-ds.xml file so that the default, local java:/ namespace won?t be used. But now whenever the servlet is invoked I get the error that says MySqlDS not bound (complete trace shown below). Error I get when I try to invoke the servlet: 16:34:47,328 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.N ameNotFoundException: MySqlDS not bound] 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,328 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,328 ERROR [STDERR] at ReadServlet.doGet(ReadServlet.java:28) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:252) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,328 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:202) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv e.java:175) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:1 12) 16:34:47,343 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 16:34:47,343 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: MySqlDS not bound 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,343 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061) 16:34:47,343 ERROR [STDERR] ... 25 more service=jndiview ? +- jdbc (class: org.jnp.interfaces.NamingContext) | +- MySqlDS (class: javax.sql.DataSource) Any ideas/suggestions? I?ve been stuck on this thing for almost 3 days now. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961642#3961642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961642 From do-not-reply at jboss.com Fri Jul 28 17:03:24 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 28 Jul 2006 17:03:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelet and pageEncoding Message-ID: <20546642.1154120604860.JavaMail.jboss@colo-br-02.atl.jboss.com> Later versions of facelets default to UTF-8. If you want to change that I think you can specify the encoding parameter on the xml declaration. If that doesn't seem to work for you, you might want to ask the facelets mailing list. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961643#3961643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961643 From do-not-reply at jboss.com Fri Jul 28 17:13:03 2006 From: do-not-reply at jboss.com (klsateesh) Date: Fri, 28 Jul 2006 17:13:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Cannot Deploy the JBoss Seam Examples ( getting Deployment E Message-ID: <17021840.1154121183247.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I installed JBoss4.0.4 and Started working on Seam Examples and i was able to deploy and test the examples initially.. I developed a Sample app (under /examples/remoting)and when i tried deploying it i am getting the following Exception | 16:52:16,279 ERROR [MainDeployer] Could not create deployment: file:/D:/Projects/Sample/Jboss4.0.4/server/default/tmp/deplo | y/tmp12863jboss-seam-registration.ear-contents/jboss-seam.jar-contents/booking-ds.xml | org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.jca:service=LocalTxCM,nam | e=bookingDatasource | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:449) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor15.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.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | 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 $Proxy25.create(Unknown Source) | at org.jboss.deployment.XSLSubDeployer.create(XSLSubDeployer.java:192) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor14.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 $Proxy6.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:26 | 3) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | The Sample App i tried is using a Slider Control with remoting capabilities. Here is the sample.xhtml i am using | | | | | | | | | | Welcome to Digital Preservation Archives. | | |
    | | | My application.xml is listed below | | Seam Remoting Sample | | | seam-sample.war | /seam-sample | | | | seam-sample.jar | | | jboss-seam.jar | | | | jboss-app.xml : | | | seam.jboss.org:loader=seam-dpa | | | I am using the Session Bean | | package com.test..simple.remote.slider; | | import javax.ejb.Stateless; | import javax.interceptor.Interceptors; | | import org.jboss.seam.annotations.Name; | import org.jboss.seam.ejb.SeamInterceptor; | | @Stateless | @Name("sampleRemoteSlider") | @Interceptors(SeamInterceptor.class) | public class SampleRemoteSlider implements SampleRemoteSliderLocal { | | public String getMessage(String strValue) { | return "Selected the Value " + strValue; | } | } | My JNDI View is as shown below.. | java: Namespace | | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory) | +- DefaultJMSProvider (class: org.jboss.jms.jndi.JNDIProviderAdapter) | +- comp (class: javax.naming.Context) | +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- jaas (class: javax.naming.Context) | | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext) | | +- jmx-console (class: org.jboss.security.plugins.SecurityDomainContext) | | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext) | | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext) | +- timedCacheFactory (class: javax.naming.Context) | Failed to lookup: timedCacheFactory, errmsg=org.jboss.util.TimedCachePolicy | +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory) | +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory) | +- Mail (class: javax.mail.Session) | +- comp.ejb3 (class: javax.naming.Context) | | NonContext: null | +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter) | +- TransactionManager (class: org.jboss.tm.TxManager) | +- bookingDatasource (class: org.jboss.resource.adapter.jdbc.WrapperDataSource) | | Now i cannot deploy other examples which comes with Seam. I tried unregistering ( invoked the destroy() method on name=bookingDatasource,service=LocalTxCM and even after that i am getting the same error.. Why the booking-ds.xml is placed in the jboss-seam.jar File ?? Pls let me know hot to resolve this.. Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961644#3961644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961644 From do-not-reply at jboss.com Fri Jul 28 17:14:38 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Fri, 28 Jul 2006 17:14:38 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Can't connect to global namespace datasource from servlet Message-ID: <7140039.1154121278022.JavaMail.jboss@colo-br-02.atl.jboss.com> I just recently started playing with JBoss. I have been successful so far. But now I am stuck on a datasource issue. I need to access a MySQL DB from a servlet to read/write xml content. Here is what I have so far: mysql-ds.xml - jdbc/MySqlDS false jdbc:mysql://localhost:3306/proxyServletDB com.mysql.jdbc.Driver root pword org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL web.xml - The default DS jdbc/MySqlDS javax.sql.DataSource Container < ... > jboss-web.xml - jdbc/MySqlDS javax.sql.DataSource java:/MySqlDS Servlet - Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("java:/comp/env/jdbc/MySqlDS"); I think these are the relevant files. I could access the datasource from the local jndi namespace by using lookup("java:/jdbc/MySqlDS"). But I need it to be global so that other servlets, from other machines can use it. Which is when I added: false to my mysql-ds.xml file so that the default, local java:/ namespace won't be used. But now whenever the servlet is invoked I get the error that says MySqlDS not bound (complete trace shown below). Error I get when I try to invoke the servlet : 16:34:47,328 ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.N ameNotFoundException: MySqlDS not bound] 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) 16:34:47,328 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,328 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,328 ERROR [STDERR] at ReadServlet.doGet(ReadServlet.java:28) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 16:34:47,328 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:252) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,328 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha in.java:202) 16:34:47,328 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: 173) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv e.java:175) 16:34:47,343 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 16:34:47,343 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 16:34:47,343 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 16:34:47,343 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:1 12) 16:34:47,343 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 16:34:47,343 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: MySqlDS not bound 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 16:34:47,343 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 16:34:47,343 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 16:34:47,343 ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061) 16:34:47,343 ERROR [STDERR] ... 25 more service=jndiview - Global JNDI Namespace +- jdbc (class: org.jnp.interfaces.NamingContext) | +- MySqlDS (class: javax.sql.DataSource) Any ideas/suggestions? I?ve been stuck on this thing for almost 3 days now. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961645#3961645 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961645 From do-not-reply at jboss.com Fri Jul 28 17:18:14 2006 From: do-not-reply at jboss.com (acxsjones) Date: Fri, 28 Jul 2006 17:18:14 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: start not being call on 4.0.2 startup Message-ID: <27071201.1154121494516.JavaMail.jboss@colo-br-02.atl.jboss.com> I made a simple test and still can not get start to be called. So I guess I am missing something. I will post my example. | package com.acxiom.test; | | import org.jboss.system.ServiceMBeanSupport; | | public class Test extends ServiceMBeanSupport implements TestMBean { | | private String attr1; | | public String getAttr1() { | return attr1; | } | | public void setAttr1(String att1) { | this.attr1 = att1; | | } | | public void start() throws Exception { | System.out.println("INSIDE START"); | | } | | public void create() throws Exception { | System.out.println("INSIDE CREATE"); | | | } | | } configuration | | | | | Value for Attr1 | | | | I am deploying a jar file in the deploy directory and the test-service.xml in the deploy directory. Below is the server.log output 2006-07-28 16:13:33,659 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,659 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,659 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml -> C:\jboss-4.0.2\server\default\tmp\deploy\tmp47542Test-service.xml | 2006-07-28 16:13:33,659 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.SARDeployer at 1833eca | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] Found classpath element: [classpath: null] | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] codebase URL is file:/C:/jboss-4.0.2/server/default/deploy/ | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] listing codebase for archives matching test.jar | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] URLLister class is org.jboss.net.protocol.file.FileURLLister | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] deployed classes for file:/C:/jboss-4.0.2/server/default/deploy/test.jar | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] about to copy 0 local directories | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] looking for nested deployments in : file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:name=Default,service=LoaderRepository, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) | 2006-07-28 16:13:33,669 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp47542Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1ab28fe, cl=org.jboss.mx.loading.UnifiedClassLoader3 at aefcbb{ url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp47542Test-service.xml ,addedOrder=0} | 2006-07-28 16:13:33,669 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 1ab28fe, cl=org.jboss.mx.loading.UnifiedClassLoader3 at aefcbb{ url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp47542Test-service.xml ,addedOrder=0} | 2006-07-28 16:13:33,669 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at aefcbb{ url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp47542Test-service.xml ,addedOrder=0} | 2006-07-28 16:13:33,669 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/C:/jboss-4.0.2/server/default/deploy/test.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at aefcbb{ url=file:/C:/jboss-4.0.2/server/default/tmp/deploy/tmp47542Test-service.xml ,addedOrder=14} | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, create step: url file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,669 DEBUG [org.jboss.deployment.SARDeployer] Registering service UCL=jmx.loading:UCL=aefcbb | 2006-07-28 16:13:33,679 DEBUG [org.jboss.system.ServiceCreator] About to create bean: com.acxiom.test:service=Test with code: com.acxiom.test.Test | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceCreator] Created bean: com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceConfigurator] Attr1 set to Value for Attr1 in com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceController] Creating service com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [com.acxiom.test.Test] Creating com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [com.acxiom.test.Test] Created com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: com.acxiom.test:service=Test dependents are: [] | 2006-07-28 16:13:33,689 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying Test-service.xml | 2006-07-28 16:13:33,689 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,689 DEBUG [org.jboss.deployment.SARDeployer] Deploying SAR, start step: url file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceController] starting service com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [com.acxiom.test.Test] Starting com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [com.acxiom.test.Test] Started com.acxiom.test:service=Test | 2006-07-28 16:13:33,689 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: com.acxiom.test:service=Test dependent components: [] | 2006-07-28 16:13:33,699 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: Test-service.xml | 2006-07-28 16:13:33,699 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,699 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml -> file:/C:/jboss-4.0.2/server/default/deploy/Test-service.xml | 2006-07-28 16:13:33,709 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-4.0.2/server/default/deploy/cache-invalidation-service.xml | 2006-07-28 16:13:33,709 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-4.0.2/server/default/deploy/cache-invalidation-service.xml | 2006-07-28 16:13:33,709 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/C:/jboss-4.0.2/server/default/deploy/cache-invalidation-service.xml -> C:\jboss-4.0.2\server\default\tmp\deploy\tmp47543cache-invalidation-service.xml | 2006-07-28 16:13:33,709 DEBUG [org.jboss.deployment.MainDeployer] using deployer org.jboss.deployment.SARDeployer at 1833eca | 2006-07-28 16:13:33,719 DEBUG [org.jboss.deployment.SARDeployer] about to copy 0 local directories View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961647#3961647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961647 From do-not-reply at jboss.com Fri Jul 28 17:19:45 2006 From: do-not-reply at jboss.com (andresram1) Date: Fri, 28 Jul 2006 17:19:45 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Frequently Asked Questions[Tomcat/Http/Apache/Servlets/J Message-ID: <26855905.1154121585976.JavaMail.jboss@colo-br-02.atl.jboss.com> :::JSF in apache + tomcat::: Well I found a solution... I have added to the web.xml of my jsf application the welcome-files tag... and it works But maybe there's another solution Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961648#3961648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961648 From do-not-reply at jboss.com Fri Jul 28 17:24:52 2006 From: do-not-reply at jboss.com (raysonliu) Date: Fri, 28 Jul 2006 17:24:52 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - comp not bound Message-ID: <17050712.1154121892144.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've been trying the following project on Jboss ( initially from SUN J2EE tutorial ). Depolyment of EJB to Jboss is ok, but when I try the ConverterClient, I got the following error: Caught an unexpected exception! javax.naming.NameNotFoundException: comp not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) ... -------------------------- Source Code start --------------- Converter.java | | package converter; | | import javax.ejb.EJBObject; | import java.rmi.RemoteException; | import java.math.*; | | public interface Converter extends EJBObject { | public BigDecimal dollarToYen(BigDecimal dollars) throws RemoteException; | | public BigDecimal yenToEuro(BigDecimal yen) throws RemoteException; | } | | ConverterHome.java | package converter; | | import java.rmi.RemoteException; | import javax.ejb.CreateException; | import javax.ejb.EJBHome; | | public interface ConverterHome extends EJBHome { | Converter create() throws RemoteException, CreateException; | } | | ConverterBean.java | package converter; | | import java.rmi.RemoteException; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | import java.math.*; | | public class ConverterBean implements SessionBean { | BigDecimal yenRate = new BigDecimal("121.6000"); | BigDecimal euroRate = new BigDecimal("0.0077"); | | public BigDecimal dollarToYen(BigDecimal dollars) { | BigDecimal result = dollars.multiply(yenRate); | return result.setScale(2,BigDecimal.ROUND_UP); | } | | public BigDecimal yenToEuro(BigDecimal yen) { | BigDecimal result = yen.multiply(euroRate); | return result.setScale(2,BigDecimal.ROUND_UP); | } | | public ConverterBean() {} | public void ejbCreate() {} | public void ejbPostCreate() {} | public void ejbRemove() {} | public void ejbActivate() {} | public void ejbPassivate() {} | public void setSessionContext(SessionContext sc) {} | } | | ConverbeanHome.java | | package converter; | | public interface ConverterBeanHome | extends javax.ejb.EJBHome | { | public static final String COMP_NAME="java:comp/env/ejb/ConverterBean"; | public static final String JNDI_NAME="ejb/ConverterBean"; | | public converter.ConverterBean create() | throws javax.ejb.CreateException,java.rmi.RemoteException; | | } | ejb-jar.xml | | | | | | | | Generated by XDoclet | | | | | | | Name for test | | ConverterBean | | converter.ConverterHome | converter.Converter | converter.ConverterBean | Stateless | Container | | | | | | jboss.xml | | | | | | | ConverterBean | ejb/ConverterBean | | | | | | | ConverterClient.java | | import converter.Converter; | import converter.ConverterHome; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.rmi.PortableRemoteObject; | import java.math.BigDecimal; | | | | public class ConverterClient { | public static void main(String[] args) { | try { | Context initial = new InitialContext(); | Context myEnv = (Context) initial.lookup("java:comp/env"); | Object objref = myEnv.lookup("ejb/ConverterBean"); | | ConverterHome home = | (ConverterHome) PortableRemoteObject.narrow(objref, | ConverterHome.class); | | Converter currencyConverter = home.create(); | | BigDecimal param = new BigDecimal("100.00"); | BigDecimal amount = currencyConverter.dollarToYen(param); | | System.out.println(amount); | amount = currencyConverter.yenToEuro(param); | System.out.println(amount); | | System.exit(0); | } catch (Exception ex) { | System.err.println("Caught an unexpected exception!"); | ex.printStackTrace(); | } | } | } | -------------------------- Source Code end --------------- Anybody please help, thanks a lot in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961649#3961649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961649 From do-not-reply at jboss.com Fri Jul 28 17:43:32 2006 From: do-not-reply at jboss.com (wmprice) Date: Fri, 28 Jul 2006 17:43:32 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <20829962.1154123012551.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't do false This doesn't have anything to do with Servlets, but rather, accessing the DS outside of the container. It's an experimental feature of JBoss, at best and something we encournage people NOT to use. This is why you are having a problem BTW. Remove that tag, and your code should work fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961651#3961651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961651 From do-not-reply at jboss.com Fri Jul 28 17:50:10 2006 From: do-not-reply at jboss.com (ybh6336) Date: Fri, 28 Jul 2006 17:50:10 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WS4EE - Error while generating WSDL and jaxrpc mapping Message-ID: <6912678.1154123410466.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello all, This is mainly a question about how to use wscompile.bat provided by JWSDP. I'm using JBoss 4.0.2/4.0.3 and using WS4EE to create a WSDL and jaxrpc mapping for my EJB SEI. I'm using Sun's JWSDP 1.4 to do so and my interface has simple String datatypes as arguments. I'm getting the following error when I try to use wscompile.bat: | error: only one configuration file can be specified: config.xml | Usage: wscompile [options] configuration_file | Use "wscompile -help" for a detailed description of options. | I'm using the command as follows: | wscompile -cp C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar -gen:server -f:rpcliteral -mapping jaxrpc-mapping.xml config.xml | (client.jar contains the interface, and since it extends javax.ejb.EJBObject, I also included jboss-j2ee.jar in the CLASSPATH). My config.xml looks as follows: | | | | | | | What am I doing wrong here? Would really appreciate any help. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961652#3961652 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961652 From do-not-reply at jboss.com Fri Jul 28 18:08:00 2006 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 28 Jul 2006 18:08:00 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: comp not bound Message-ID: <14613275.1154124480264.JavaMail.jboss@colo-br-02.atl.jboss.com> Try remove the line that reads: Context myEnv = (Context) initial.lookup("java:comp/env"); and change the following line to: Object objref = initial.lookup("ejb/ConverterBean"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961653#3961653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961653 From do-not-reply at jboss.com Fri Jul 28 19:01:15 2006 From: do-not-reply at jboss.com (peteroyle) Date: Fri, 28 Jul 2006 19:01:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Query Logging? Message-ID: <19778931.1154127675299.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi ptmain, I'm not sure about the SELECT/INSERT/UPDATE or the package level stuff, but I think I've read in docs about how to turn full sql logging on and off. Mind you I've never actually tried it, so anyone with actual experience in this is welcome to correct me :) Anyway, since we're using hibernate and EJB I think you can set the following property in your persistence.xml (after jta-data-source): | | ... | | ... | | According to the Hibernate documentation regarding this property: anonymous wrote : | This is an alternative to setting the log category org.hibernate.SQL to debug. | Hope that works! Pete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961654#3961654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961654 From do-not-reply at jboss.com Fri Jul 28 19:18:35 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 28 Jul 2006 19:18:35 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @Remote still shown as "local" Message-ID: <12081825.1154128715555.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I annotated one of my interfaces with @Remote, and when I deploy the application, it binds it to .../classname/local - so I assume that it doesn't recognize it. It also doesn't call the constructor, which to my knowledge should be done with stateless remote beans. Does anyone know what could be the problem? I run JBoss 4.0.4 GA & Seam 1.0.0 GA Thanks Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961655#3961655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961655 From do-not-reply at jboss.com Fri Jul 28 19:34:48 2006 From: do-not-reply at jboss.com (acxsjones) Date: Fri, 28 Jul 2006 19:34:48 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: start not being call on 4.0.2 startup Message-ID: <25058352.1154129688843.JavaMail.jboss@colo-br-02.atl.jboss.com> I need to call the method startService and not start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961656#3961656 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961656 From do-not-reply at jboss.com Fri Jul 28 19:47:19 2006 From: do-not-reply at jboss.com (bluetrade) Date: Fri, 28 Jul 2006 19:47:19 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Remote still shown as Message-ID: <31617263.1154130439159.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems to be bound anyways to "ClassName/remote" even though this is not explicitly listed. I assume this because if I specify this, I get an error that differs from the error I get when misspell something in this string. However, none-the-less I cannot really figure out what's going on, since I get the following error: | javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2583299153931800023, local class serialVersionUID = -9097306519795868] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at de.myties.sample.chat.ChatTester.main(ChatTester.java:18) | Caused by: java.io.InvalidClassException: org.jboss.ejb3.stateless.StatelessRemoteProxy; local class incompatible: stream classdesc serialVersionUID = 2583299153931800023, local class serialVersionUID = -9097306519795868 | at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at java.rmi.MarshalledObject.get(MarshalledObject.java:135) | at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:653) | ... 3 more | My interface: | import java.rmi.Remote; | | @javax.ejb.Remote | public interface ChatServer extends Remote { | public void sendMessage(Message msg); | public void addClient(ChatClient client); | public void notifyClients(); | } | My class: | | import java.rmi.RemoteException; | import java.rmi.server.UnicastRemoteObject; | | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | @Stateless | @Name("chatServer") | public class ChatServerImpl extends UnicastRemoteObject implements ChatServer { | | @In(create=true) | EntityManager entityManager; | | public ChatServerImpl() throws RemoteException { | System.out.println("Started Chat Server!"); | } | | public void addClient(ChatClient client) { | | | } | | public void notifyClients() { | System.out.println("Notifying clients"); | | } | | public void sendMessage(Message msg) { | // TODO Auto-generated method stub | | } | | } | The client: import javax.naming.Context; | import com.sun.corba.se.impl.javax.rmi.PortableRemoteObject; | | public class ChatTester { | public static void main(String args[]) { | try { | Context jndiContext = getInitialContext( ); | Object ref = jndiContext.lookup("jboss-seam-myties/ChatServerImpl/remote"); | ChatServer srv = (ChatServer)javax.rmi.PortableRemoteObject.narrow(ref, ChatServer.class); | | srv.notifyClients(); | } catch (javax.naming.NamingException ne){ne.printStackTrace( );} | } | | public static Context getInitialContext( ) | throws javax.naming.NamingException { | 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"); | return new javax.naming.InitialContext(p); | | } | } | I am not sure whether this is related to seam, but I thought so... Maybe you have any clues to this? Thank you very much in advance and by this time, for reading the post :) Joey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961657#3961657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961657 From do-not-reply at jboss.com Fri Jul 28 20:41:04 2006 From: do-not-reply at jboss.com (CptnKirk) Date: Fri, 28 Jul 2006 20:41:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Remote still shown as Message-ID: <31593297.1154133664342.JavaMail.jboss@colo-br-02.atl.jboss.com> This doesn't appear to be related to Seam. From this error it looks like you have different versions of your classes on your client and server. You also appear to be mixing RMI, EJB 2.x and EJB 3. I suggest using pure EJB 3 with Seam. Try looking at an EJB 3 tutorial and/or an EJB 3 book (free one here: http://www.theserverside.com/tt/books/wiley/masteringEJB3/index.tss). While you may eventually get EJB 3 to recognize this code due to the annotations, it's confusing to look at. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961661#3961661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961661 From do-not-reply at jboss.com Fri Jul 28 21:17:22 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 28 Jul 2006 21:17:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Mixing Hibernate & EJB3 Message-ID: <14434101.1154135842135.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Personally I am doing it this way: Even better, do that stuff in an @Unwrap method on a Seam component, and you can inject the wrapped Hibernate session using @In. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961662#3961662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961662 From do-not-reply at jboss.com Fri Jul 28 21:21:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 28 Jul 2006 21:21:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <22817088.1154136100917.JavaMail.jboss@colo-br-02.atl.jboss.com> We are still figuring out our strategy here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961663#3961663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961663 From do-not-reply at jboss.com Fri Jul 28 21:26:11 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 28 Jul 2006 21:26:11 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Access a Context Session Variablr from a Servlet? Message-ID: <6342288.1154136371364.JavaMail.jboss@colo-br-02.atl.jboss.com> Just get it from the HttpSession. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961664#3961664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961664 From do-not-reply at jboss.com Fri Jul 28 21:29:20 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 28 Jul 2006 21:29:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Remote still shown as Message-ID: <12582148.1154136560458.JavaMail.jboss@colo-br-02.atl.jboss.com> If what you mean is that *Seam* is using /local, well, that is because that is what is specified in org.jboss.seam.core.init.jndiPattern View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961665#3961665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961665 From do-not-reply at jboss.com Fri Jul 28 21:30:55 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Fri, 28 Jul 2006 21:30:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Getting IllegalStateException: No data type for node:... Message-ID: <31433105.1154136655689.JavaMail.jboss@colo-br-02.atl.jboss.com> select car from Car where vin=:vin should be: select car from Car car where vin=:vin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961666#3961666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961666 From do-not-reply at jboss.com Fri Jul 28 21:31:00 2006 From: do-not-reply at jboss.com (knatarajan) Date: Fri, 28 Jul 2006 21:31:00 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Configuring SOAP over SSL Message-ID: <4313682.1154136660608.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have a web server front-ending an app server. When a browser accesses a URL served by the web server through HTTPS we do not want the web server to require a client certificate to be presented. However when a web service client accesses the Web Server to invoke a web service operation we want to require that the client certificate be presented to enable strong authentication. Is it possible to do this separation on a single web server ? Thanks, K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961667#3961667 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961667 From do-not-reply at jboss.com Fri Jul 28 23:38:01 2006 From: do-not-reply at jboss.com (IvanLatysh) Date: Fri, 28 Jul 2006 23:38:01 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - ClassCastException when casting Hibernate bean. Message-ID: <2727405.1154144281114.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All! I have a problem with casting retrieved hibernate bean from my portlet. I have simple setup: * Hibernate archieve deployed as HAR. * In my webapp I have har.jar with pojo classes. I successfully look up HibernateSessionFactory and query my bean from my portlet. But when I am trying to cast it to it's own class I am getting ClassCastException. Both classes are the same, but it looks like they have been loaded with 2 different classloaders. I can't find a solution for this issue, so any help apprechiated ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961668#3961668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961668 From do-not-reply at jboss.com Sat Jul 29 03:33:32 2006 From: do-not-reply at jboss.com (sriram4java@gmail.com) Date: Sat, 29 Jul 2006 03:33:32 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - doubt in exploded-form application deployment Message-ID: <927295.1154158412338.JavaMail.jboss@colo-br-02.atl.jboss.com> hi I deployed an application in Jboss 4.0 in exploded form If iam going to change any java file or deployment descriptor (web.xml) is there way to reflect these changes automatically other than restarting Jboss Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961670#3961670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961670 From do-not-reply at jboss.com Sat Jul 29 03:52:49 2006 From: do-not-reply at jboss.com (DerJohannes) Date: Sat, 29 Jul 2006 03:52:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - hibernate.LazyInitializationException with jBPM websale exam Message-ID: <28687907.1154159569945.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I get the quoted error when I try to access jBPM taskInstances, like "taskInstance.setVariable" or "jbpmContext.save(taskInstance)". I know that this is due to a closed Hibernate session. But I don't know why the session is closed and how to control that. The situation is as follows: I extended the jBPM Starters Kit websale example; the structure of the jsps and the backing beans is still the same. First, the user is on home.jsp and sees a list of "latest process instances". When he chooses one, the backing bean "HomeBean.java" runs the method "startProcessInstance" before it returns the navigation string "task" to the JavaServer Faces context. In HomeBean.startProcessInstance everything is working fine. The commands - long processDefinitionId = JsfHelper.getId("processDefinitionId"); - ProcessDefinition processDefinition = graphSession.loadProcessDefinition(processDefinitionId); - ProcessInstance processInstance = new ProcessInstance(processDefinition); - TaskInstance taskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance(); - jbpmContext.save(processInstance); - taskBean.initialize(taskInstance); are executed without problems. On task.jsp, the process graph is correctly displayed by the tag As you can see, everthing is okay up to this point. But...when I hit "Save & Close" now, the TaskBean.saveAndClose method is called (exactly like in the jBPM Starters Kit websale example). TaskBean.saveAndClose calls TaskBean.save and as soon as this method tries to run the command - taskInstance.setVariable - or jbpmContext.save(taskInstance), I get the following error: 09:42:34,441 ERROR [LazyInitializationException] could not initialize proxy - the owning Session was closed org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:56) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98) at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133) at org.jbpm.taskmgmt.exe.TaskInstance$$EnhancerByCGLIB$$1cd1f5d7.getTaskMgmtInstance() at org.jbpm.JbpmContext.save(JbpmContext.java:297) Can you please tell me what could be the reason for that? Who told Hibernate to close the session? When? Why? How can I prevent Hibernate from closing the session? How can I reopen it? Or could there be another reason for this error? I am searching for the cause since two days but haven't found it yet; i'm kind of stuck. Any help would be appreciated, Johannes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961671#3961671 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961671 From do-not-reply at jboss.com Sat Jul 29 04:13:41 2006 From: do-not-reply at jboss.com (pilhuhn) Date: Sat, 29 Jul 2006 04:13:41 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: start not being call on 4.0.2 startup Message-ID: <29043084.1154160821382.JavaMail.jboss@colo-br-02.atl.jboss.com> It looks like create() is not called either. Try to remove the "throws Exception" from the method signature. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961672#3961672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961672 From do-not-reply at jboss.com Sat Jul 29 04:19:57 2006 From: do-not-reply at jboss.com (andydale) Date: Sat, 29 Jul 2006 04:19:57 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EntityManager not working correctly Message-ID: <12085787.1154161197581.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am currently experiencing some problems using the that JBoss 4.0.4GA persistence with postgres 8.1.4. I am having lots of trouble reading Entities back out of the database. The application works as follows, data is received and a new object (Entity) is created and then persisted from within a stateless session bean. The a message is sent to a Message Driven Bean where the entity is then attempted to be read out of the database (with EntityManager.find()) and this is where the problem is. Most of the time the find() method cannot find the Entity even though it has been persisted (verified persistence by viewing the table in pgAdmin) but now this is where it gets interesting, if you code the EntityManager.find() code as so = EntityManager.find(.class, Integer.valueof(pk)) null is returned most of the time. But if you code the EntityManager.find() like below: = EntityManager.find(.class, Integer.valueof(pk)) | if( == null){ | try{ | synchronized(this){ | wait(2000); | } | = EntityManager.find(.class, Integer.valueof(pk)) | } | catch(InterruptedException e){ | e.printStackTrace(); | } | } the object is always found on the second call of the find method. Has anybody else experienced this strange behaviour ???? Another few things to note are that if i call the find method directly after persisting the Entity in the stateless session bean then is is always found, and in both beans the EntityManager is injected with the @PersistenceContext using the same persistence unit . Also note that the stateless session bean and the message driven bean are in different archives in a .ear file, would this make a difference ?? Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961673#3961673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961673 From do-not-reply at jboss.com Sat Jul 29 04:52:27 2006 From: do-not-reply at jboss.com (onizukanne) Date: Sat, 29 Jul 2006 04:52:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBOSS on CentOS - Logging Issue Message-ID: <25310964.1154163147884.JavaMail.jboss@colo-br-02.atl.jboss.com> We've been running an application on liferay 3.6.1, running in JBoss4 on a Windows server. On migrating the solution to a CentOS server, it appears to run alright at first. However, after about 30mins, we notice serious logging activity resulting in the log files growing to up to 4GB daily. We change the logger from the DailyRollingAppender to the RollingAppender to cut of at 2MB and the server generates about 8 2MB logfiles every second. This is very strange, since once the problem starts, even after we undeploy all our ears and the liferay ear from the deploy folder, the logging continues. An extract of the logfile is like so: anonymous wrote : 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,884 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? | 2006-07-29 02:15:52,885 INFO [STDOUT] ? Notice how many log lines are written every millisecond? Any one with a similar experience? Any idea what could be responsible? Your ideas are highly welcome, this is really driving us crazy. This is happening on a life system and consumes lots and lots of system resources, causing us to need to restart the service every hour or so. URGENTLY need a solution. Many thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961674#3961674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961674 From do-not-reply at jboss.com Sat Jul 29 05:22:29 2006 From: do-not-reply at jboss.com (kukeltje) Date: Sat, 29 Jul 2006 05:22:29 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: hibernate.LazyInitializationException with jBPM websale Message-ID: <28756048.1154164949797.JavaMail.jboss@colo-br-02.atl.jboss.com> You say exactely 'like' the jbpm webapp (the websale is just a process IN the webapp). Did you develop something yourself? (re) opening the hibernate session happens automagically in the webapp on each post to the server by filters configured in web.xml (jbpmcontexfilter). So i'd start looking there and compare it to what you did yourself View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961676#3961676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961676 From do-not-reply at jboss.com Sat Jul 29 05:40:52 2006 From: do-not-reply at jboss.com (DerJohannes) Date: Sat, 29 Jul 2006 05:40:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: hibernate.LazyInitializationException with jBPM websale Message-ID: <20960634.1154166052427.JavaMail.jboss@colo-br-02.atl.jboss.com> This was exactly the point, thank you!!! I wouldn't have figured this out alone... On task.jsp, i added a commons-fileupload field: [...] [...] to make this work, i had to add the following to web.xml: multipartFilter org.apache.myfaces.component.html.util.ExtensionsFilter multipartFilter /* "DerJohannes" wrote : This was exactly the point, thank you!!! I wouldn't have figured this out alone... Ahhh.. come on... I bet you would have.... I did. On task.jsp, i added a commons-fileupload field: [...] [...] to make this work, i had to add the following to web.xml: multipartFilter org.apache.myfaces.component.html.util.ExtensionsFilter multipartFilter /* hmmm sorry, wrong quoting and no preview done (shame on me) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961679#3961679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961679 From do-not-reply at jboss.com Sat Jul 29 07:02:33 2006 From: do-not-reply at jboss.com (timfox) Date: Sat, 29 Jul 2006 07:02:33 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <8775798.1154170953092.JavaMail.jboss@colo-br-02.atl.jboss.com> Raghu- Thanks for your test program. I have been experimenting with it, and here are my findings: If CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME are set to a small value e.g. 1000, then the entire test runs through successfully - this is because the messages are being relayed and consumed at approximately the same rate as they are being sent, so they do not build up in the topic subscriptions. If CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME are set to a large value e.g. 150000, then a great many messages get sent before they start being consumed. Since each message you are sending is about 100K in size, and (on my machine) about 3000 get sent before they start being consumed, this is too much to be stored in RAM at once in my JBoss4.0.4 installation since I am using -Xmx100M. I therefore configured the paging parameters for the topic so a maximum of 200 messages would be stored in memory at once and the rest paged to storage: jboss.messaging:service=ServerPeer 200 10 10 With this config the test also completes successfully - albeit more slowly since it has the added overhead of reading and writing from the database. I am using MySQL 5. Finally I tried increasing the amount of memory for the server to 1.2GB (-XMx1200M), this should allow all 10000 messages to be stored in memory without having to page to the db. For this setup I also changed fullSize to 10000, so if more than 10000 messages arrive then we won't get an OutOfMemory error. Again this test ran through fine. After the tests have completed I am not seeing any messages or message references in the database, which is correct bahviour. I can repeat the tests multiple times without seeing any significant change in memory on ther server. I am using the HEAD codebase, which is what will be in RC4 when it is released in a few days. I have made many changes in compared to RC3 but not sure if they are responsible for seeing the difference in behaviour that you are seeing. Probably your best bet is to upgrade to RC4 when it comes out and see if you still have your problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961680#3961680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961680 From do-not-reply at jboss.com Sat Jul 29 08:59:51 2006 From: do-not-reply at jboss.com (raja05) Date: Sat, 29 Jul 2006 08:59:51 -0400 (EDT) Subject: [jboss-user] [The Lizzard's corner] - Repository for JBossCommon and Checkout instructions Message-ID: <28696414.1154177991638.JavaMail.jboss@colo-br-02.atl.jboss.com> Im trying to checkout the JBossCommon for the tag JBossMC_1_0_2 . I tried looking up http://wiki.jboss.org/wiki/Wiki.jsp?page=CVSRepository and couldnt succeed in checking out. cvsgrab always returned me the directories and no contents inside. Looking up through fisheye indicated that cvs2svn was run which implies that maybe the repository is now in svn ? Since there is no project for JbossCommon in the front page, I cant figure out the CVSROOT or the SVN Checkout URL for that. Can someone let me know whats the checkout url for JBossCommon with tag JBossMC_1_0_2 ? Thanks a lot Raja View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961682#3961682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961682 From do-not-reply at jboss.com Sat Jul 29 10:54:11 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Sat, 29 Jul 2006 10:54:11 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <12207726.1154184851242.JavaMail.jboss@colo-br-02.atl.jboss.com> I understand that. But if I delete that tag then the DS will come under java:/ local namespace. - If it is local then can servlets on other servers access it? What if it is a clustered environment? - If that tag is present then I can access the DS using java:/jdbc/MySqlDS, not using java:/comp/env/jdbc/MySqlDS. So I guess my question now is what is the actual difference between those namespaces? - Are these the only files I need to modify to make the DS available? Thanks for your help, wmprice! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961684#3961684 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961684 From do-not-reply at jboss.com Sat Jul 29 10:58:21 2006 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Sat, 29 Jul 2006 10:58:21 -0400 (EDT) Subject: [jboss-user] [JBossWS] - 1.0.2: client exception when receiving an array Long[] Message-ID: <30107291.1154185101974.JavaMail.jboss@colo-br-02.atl.jboss.com> My webservice server transmits an array. The log looks ok: 2006-07-29 16:45:22,695 DEBUG org.jboss.ws.soap.SOAPContentElement - getXMLFragment from Object [xmlType={http://de.hska.ws/jaws}Long.Array,javaType=class [Ljava.lang.Long;] | 2006-07-29 16:45:22,705 DEBUG org.jboss.ws.soap.SOAPContentElement - xmlFragment: 123 | However, the client throws the following exception. Any hint is appreciated! 2006-07-29 16:45:22,635 DEBUG org.jboss.ws.soap.SOAPContentElement - setObjectValue: Alpha | 2006-07-29 16:45:22,645 DEBUG org.jboss.ws.soap.SOAPContentElement - getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}string,javaType=class java.lang.String] | 2006-07-29 16:45:22,645 DEBUG org.jboss.ws.soap.SOAPContentElement - xmlFragment: Alpha | 2006-07-29 16:45:22,715 DEBUG org.jboss.ws.soap.SOAPContentElement - setXMLFragment: 123 | 2006-07-29 16:45:22,725 DEBUG org.jboss.ws.soap.SOAPContentElement - getObjectValue [xmlType={http://de.hska.ws/jaws}Long.Array,javaType=class [Ljava.lang.Long;] | 2006-07-29 16:45:22,735 ERROR org.jboss.ws.jaxrpc.CallImpl - Call invocation failed with unkown Exception | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: {http://de.hska.ws/jaws}value not found as a child of result | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:292) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182) | at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | at $Proxy7.findIdsByNachname(Unknown Source) | at de.hska.test.WebServicesTest.findIdsByNachname(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:585) | at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) | at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) | at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) | at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) | at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) | at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) | at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) | at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52) | at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:361) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:809) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:670) | Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: {http://de.hska.ws/jaws}value not found as a child of result | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:229) | ... 26 more | Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: {http://de.hska.ws/jaws}value not found as a child of result | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67) | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | ... 27 more | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: {http://de.hska.ws/jaws}value not found as a child of result | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126) | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63) | ... 28 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: {http://de.hska.ws/jaws}value not found as a child of result | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:198) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(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:152) | ... 30 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961685#3961685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961685 From do-not-reply at jboss.com Sat Jul 29 11:11:15 2006 From: do-not-reply at jboss.com (wmprice) Date: Sat, 29 Jul 2006 11:11:15 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <28639503.1154185875108.JavaMail.jboss@colo-br-02.atl.jboss.com> The local java namespace is used for ApplicationComponents (ie Servlets, EJB's) residing in the same application server. It is known as the ENC (environment naming context). anonymous wrote : | - If it is local then can servlets on other servers access it? | No.Using a datasource outside of the local container is discouraged. It was put in place solely for TCK compatiblity. From the Wiki: anonymous wrote : | Note: JBoss does not recommend using this feature on a production environment. It requires accessing a connection pool remotely and this is an anti-pattern as connections are not serializable. Besides, transaction propagation is not supported and it could lead to connection leaks if the remote clients are unreliable (i.e crashes, network failure). If you do need to access a datasource remotely, JBoss recommends accessing it via a remote session bean facade. | anonymous wrote : | What if it is a clustered environment? | Datasources are non-clusterable. Each datasource is particular to the node on which it resides. anonymous wrote : | - If that tag is present then I can access the DS using java:/jdbc/MySqlDS, not using java:/comp/env/jdbc/MySqlDS. | You could, but this would defeat the purpose of using an resource-ref. A resource-ref is a logical binding of a resource-ref name to an actual JNDI name. You could very well lookup the DataSource directly from JNDI, but if the JNDI name were to change, your code would have to change. The resource-ref shields you 'hard-coding' the JNDI name in your application. This is the purpose of the java:comp/env namespace. Basically it's a read-only JNDI namespace reserved for application components to store references to J2EE resources. anonymous wrote : | - Are these the only files I need to modify to make the DS available? | Yes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961686#3961686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961686 From do-not-reply at jboss.com Sat Jul 29 11:17:20 2006 From: do-not-reply at jboss.com (scotttam) Date: Sat, 29 Jul 2006 11:17:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to store information about many-to-many relationship Message-ID: <29400422.1154186240582.JavaMail.jboss@colo-br-02.atl.jboss.com> Check out this posting, it covers the same scenario. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87407 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961687#3961687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961687 From do-not-reply at jboss.com Sat Jul 29 11:41:32 2006 From: do-not-reply at jboss.com (jcurtin2ski) Date: Sat, 29 Jul 2006 11:41:32 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JBoss 4.0.4, IDE 2.0, Eclipse 3.2 - cannot configure a serve Message-ID: <17105205.1154187692184.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I'm trying to do an evaluation of JBoss as a lower cost option for our WAS servers. Today I downloaded JBoss 4.0.4 and used the Eclipse update site to download JBoss IDE 2.0 into my brand new Eclipse 3.2 IDE. I also downloaded org.eclipse.jst.server.jboss_1.0.0 which someone recommended but I still cannot get past the first step of configuring a server. I'm following these steps: 1. Open the 'Servers' tab in Eclipse 2. Right click, 'New', 'Server'. This brings up the 'Define a new server' dialog. 3. Click on JBoss/JBoss 4.0.x. 4. I get the error 'Missing classpath entry jboss-4.0.x\bin\run.jar 5. Set the App Server Directory and Classpath variables to 'C:\Program Files\jboss-4.0.4.GA\ 6. New Error displayed = "C:\Program Files\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar" I know I'm missing something - but this is very frustrating. Does anyone have a clear set of instructions on how to integrate these 3 versions of each package? Thanks in advance for the help! John View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961688#3961688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961688 From do-not-reply at jboss.com Sat Jul 29 11:59:41 2006 From: do-not-reply at jboss.com (raja05) Date: Sat, 29 Jul 2006 11:59:41 -0400 (EDT) Subject: [jboss-user] [The Lizzard's corner] - Re: Repository for JBossCommon and Checkout instructions Message-ID: <13420894.1154188781268.JavaMail.jboss@colo-br-02.atl.jboss.com> I figured out a way to this. The following url works for cvsgrab to checkut a branch from CVS sh /apps/cvsgrab-2.2.2/cvsgrab.sh -url http://viewcvs.forge.jboss.com/cgi-bin/viewcvs.cgi/jboss-common/src/?only_with_tag=JBossMC_1_0_2 -destDir . That would checkout the JBossMC_1_0_2 branch from jboss-common View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961690#3961690 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961690 From do-not-reply at jboss.com Sat Jul 29 12:10:30 2006 From: do-not-reply at jboss.com (treespace) Date: Sat, 29 Jul 2006 12:10:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Unable to persist timer Message-ID: <7744550.1154189430129.JavaMail.jboss@colo-br-02.atl.jboss.com> I added a timer service to a stateless EJB: | private @Resource TimerService timer; | | public void startTimer() | { | timer.createTimer(1000, 1000, "clock"); | } | | @Timeout public void timeou(Timer timer) | { | logger.info("tick"); | } | This works wonderfully but there's a problem that ONLY appears when I'm running on Windows. I do not run in to this problem using the same app on OS X. I am using JBoss 4.0.4.GA. I get this error after killing and restarting JBoss a few times: 08:50:19,421 ERROR [TimerServiceImpl] Cannot create txtimer java.lang.IllegalStateException: Unable to persist timer at org.jboss.ejb.txtimer.DatabasePersistencePolicy.insertTimer(DatabasePersistencePolicy.java:126) I am not given an opportunity to catch this exception (tried that) before it chokes so I cannot retry the create call. I resolve the problem by taking a clean copy of the default configuration and then redeploying my app. Any suggestions appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961691#3961691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961691 From do-not-reply at jboss.com Sat Jul 29 13:42:32 2006 From: do-not-reply at jboss.com (ScottMarlowNovell) Date: Sat, 29 Jul 2006 13:42:32 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Data file synchronization Message-ID: <20614809.1154194952966.JavaMail.jboss@colo-br-02.atl.jboss.com> As Ben suggested, others like to use a shared file system (JBoss can be configured to deploy from a shared folder). Regarding the "no deployer available" deployment message that you are receiving, it is true as we expect to only share applications via farm deployment. After farm deployment, is the xml configuration file accessible to your application on each of the cluster nodes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961693#3961693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961693 From do-not-reply at jboss.com Sat Jul 29 15:22:09 2006 From: do-not-reply at jboss.com (kuzmiigo) Date: Sat, 29 Jul 2006 15:22:09 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <29599764.1154200929950.JavaMail.jboss@colo-br-02.atl.jboss.com> Some additional information. jboss-web.xml: | java:/jaas/testdomain | >From login-config.xml: | | | useFirstPass | java:/DefaultDS | | | useFirstPass | java:/DefaultDS | | | Flushing code: String domain = "testdomain"; | Principal principal = new SimplePrincipal(user.getUsername()); | ObjectName jaasMgr = new ObjectName("jboss.security:service=JaasSecurityManager"); | Object[] params = { domain, principal }; | String[] signature = { "java.lang.String", Principal.class.getName() }; | MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0); | server.invoke(jaasMgr, "flushAuthenticationCache", params, signature); Credentials caching is disabled, after flushing (just in case) Subject is not populated again (LoginModules are not called again to populate "Roles" group). I would be grateful for your comments, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961697#3961697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961697 From do-not-reply at jboss.com Sat Jul 29 15:39:07 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Sat, 29 Jul 2006 15:39:07 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Is it SpringLifecycleInterceptor or just me? Message-ID: <27992076.1154201947657.JavaMail.jboss@colo-br-02.atl.jboss.com> The other day I decided to play a little with batch processing on JBoss + Spring EJB3 and all. Created this stateful session bean to force the Entity manager do a batch job for me on remove | @Stateful | @Interceptors(SpringLifecycleInterceptor.class) | @TransactionAttribute(NOT_SUPPORTED) | public class StetefulBean implements Init { | @PersistenceContext(unitName = "titan", type = EXTENDED) | private EntityManager manager; | | @Spring(jndiName = "spring-pojo", bean = "statefulService") | private TravelService service; | | @PostConstruct | public void postConstruct() { | service.setManager(manager); | } | | public void initAirports(int index) { | if (isInit(Airport.class)) { | return; | } | List lst = new ArrayList(); | | for (int i = 0; i < index; i++) { | Airport port = new Airport(); | if (i % 2 == 0) { | port.setName("Denver " + (i + 1)); | port.setAirportCode("dnvr_" + (i + 1)); | } else { | port.setName("Hoover " + (i + 1)); | port.setAirportCode("hvr_" + (i + 1)); | } | lst.add(port); | } | service.createAirports(lst); | } | | @Remove | @TransactionAttribute(REQUIRED) | public void flush() { | // syncrhonize with database; | } | | private boolean isInit(Class clazz) { | return service.getNumberOfObjects(clazz) == 0 ? false : true; | } | } | I am using this SpringLifecycleInterceptor.class from the JBoss+Spring distribution. Unfortunately, that one is giving me kinda trouble throwing all kind of exceptions OK. Made my own interceptor a la SpringLifecycleInterceptor | public class StatefulBeanInterceptor extends SpringPassivationInterceptor { | private static final long serialVersionUID = 1243234L; | @PostConstruct | public void postConstruct(InvocationContext ctx) throws Throwable { | inject(ctx.getBean()); | ctx.proceed(); | } | } | Wired it up. @Interceptors(StatefulBeanInterceptor.class) Ran JBoss. No problemo! Works like a charm. There might be something wrong with that SpringLifecyleInterceptor thing from the distribution, or mine might be a bit obsolete (I've downloaded sometime late June, I guess). No idea... Another question - how to inject EntityManager from Spring configuration. Currently I am using annotations and pushing manager to the service layer. Yet wiring it up from outside, Spring, I mean, would be kinda kool to me. Cheers, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961698#3961698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961698 From do-not-reply at jboss.com Sat Jul 29 15:45:12 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Sat, 29 Jul 2006 15:45:12 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <28346202.1154202312936.JavaMail.jboss@colo-br-02.atl.jboss.com> Exception from SpringLifecycleInterceptor: | Error message: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | Exception in thread "main" javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:223) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:288) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:109) | at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:582) | at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:108) | at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:207) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:288) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:190) | at org.jboss.remoting.Client.invoke(Client.java:525) | at org.jboss.remoting.Client.invoke(Client.java:488) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55) | 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:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133) | at $Proxy1.initAirports(Unknown Source) | at com.ileonov.client.Client.init(Client.java:97) | at com.ileonov.client.Client.run(Client.java:39) | at com.ileonov.client.Client.main(Client.java:23) | Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:141) | at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:105) | at org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:582) | at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:108) | at org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:48) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.create(SimpleStatefulCache.java:207) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:288) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object; | at org.jboss.spring.callback.SpringLifecycleInterceptor.postConstruct(SpringLifecycleInterceptor.java:44) | 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.ejb3.interceptor.LifecycleInvocationContextImpl.proceed(LifecycleInvocationContextImpl.java:131) | ... 13 more | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961699#3961699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961699 From do-not-reply at jboss.com Sat Jul 29 18:34:43 2006 From: do-not-reply at jboss.com (alesj) Date: Sat, 29 Jul 2006 18:34:43 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <14047319.1154212483853.JavaMail.jboss@colo-br-02.atl.jboss.com> Looks like you are using old ejb3 impl: - http://jboss.org/jbossBlog/blog/bburke/2006/06/02/JBoss_EJB_3_0_Preview_RC8.txt >> Another question - how to inject EntityManager from Spring configuration This you have to look it up from Spring docs ... but why not using @PersistenceContext ... and then wire-ing it up to Spring layer? Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961702#3961702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961702 From do-not-reply at jboss.com Sat Jul 29 18:37:16 2006 From: do-not-reply at jboss.com (wyckoff) Date: Sat, 29 Jul 2006 18:37:16 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - using JBPM to string together 5 Perl webservices (they manip Message-ID: <19202299.1154212636635.JavaMail.jboss@colo-br-02.atl.jboss.com> is this a good application for JBPM/JBOSS. I would prefer to write the minimum amount of Java possible and just use bpel or something to specify the flow from service to service (serially, but they do have error transitions from each node). The services would be long running, so we'd want to make them asynchronous. If I have to, I can wrap the 5 services, but this seems like something that should be more config driven?? Thanks, pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961704#3961704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961704 From do-not-reply at jboss.com Sat Jul 29 18:42:15 2006 From: do-not-reply at jboss.com (alesj) Date: Sat, 29 Jul 2006 18:42:15 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <22366159.1154212936019.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Currently I am using annotations and pushing manager to the service layer. Yet wiring it up from outside, Spring, I mean, would be kinda kool to me. | >> but why not using @PersistenceContext ... and then wire-ing it up to Spring layer? Ok ... missed this one ... but what's the problem here? I guess you can still use JPA from Spring ... but EJB3 container will probably not be able to join into that context. It depends what you want to do. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961707#3961707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961707 From do-not-reply at jboss.com Sat Jul 29 19:10:34 2006 From: do-not-reply at jboss.com (joellindheimer) Date: Sat, 29 Jul 2006 19:10:34 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <15396933.1154214634916.JavaMail.jboss@colo-br-02.atl.jboss.com> Tim/Ovidiu/Lakshmi 1) I created a JMS Async consumer which is created in a new thread within the init() method of a startup servlet. 2) The onMessage() wrapps a UserTransaction 3) I created a client that sends 9 messages There were no residual messages in the Messages Table. I will contact Juergen Hoeller and see if he has any suggestions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961709#3961709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961709 From do-not-reply at jboss.com Sat Jul 29 20:37:24 2006 From: do-not-reply at jboss.com (joellindheimer) Date: Sat, 29 Jul 2006 20:37:24 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <13002613.1154219844568.JavaMail.jboss@colo-br-02.atl.jboss.com> Lakshmi, Tim, Ovidiu, I have isolated the variable that caused the problem. When I configured my consumer with Spring the problem was duplicated. I noticed that there was a difference between my test and the Spring configuration and that was the user of our own configured QueueConnectionFactory. I then switched from using Click's configured WMXQueueConnectionFactory: WMXQueueConnectionFactory false jms-ra.rar org.jboss.resource.adapter.jms.JmsConnectionFactory javax.jms.Queue 60000 5 45 5 To using the generic Jboss "/XAConnectionFactory" and the problem went away. This is very good news... however, I imagine that it would be important to Jboss to understand why the problem occurs with the WMXConnectionFactory configuration as to avoid others encountering the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961711#3961711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961711 From do-not-reply at jboss.com Sat Jul 29 22:09:16 2006 From: do-not-reply at jboss.com (lucas f m r) Date: Sat, 29 Jul 2006 22:09:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Exception sending context initialized event to listener inst Message-ID: <31429303.1154225356744.JavaMail.jboss@colo-br-02.atl.jboss.com> Stack: ... 23:00:48,811 INFO [Initialization] initializing Seam 23:00:48,952 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init 23:00:48,967 ERROR [[/seam-usuario]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.NullPointerException at sun.beans.editors.BoolEditor.setAsText(BoolEditor.java:38) at org.jboss.seam.Component.initInitializers(Component.java:314) ... what happen , i?ve tried to do a seam app clone of the seam-registration example but i?m get?n this error tanx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961712#3961712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961712 From do-not-reply at jboss.com Sun Jul 30 00:58:01 2006 From: do-not-reply at jboss.com (lhoriman) Date: Sun, 30 Jul 2006 00:58:01 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @Local and @Remote version of the same interface? Message-ID: <9922706.1154235481613.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm finding that even in-process, @Remote interfaces result in serialization. Isn't JBoss supposed to detect this case and optimize out the serialization? Thanks, Jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961713#3961713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961713 From do-not-reply at jboss.com Sun Jul 30 04:33:31 2006 From: do-not-reply at jboss.com (stephan.opitz) Date: Sun, 30 Jul 2006 04:33:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - EJB 3.0 help - joining Message-ID: <17151768.1154248411811.JavaMail.jboss@colo-br-02.atl.jboss.com> i have two tables: categories_id BIGINT(20) NOT NULL, image VARCHAR(45) NOT NULL, parent_categories_id BIGINT(20) NOT NULL, sort_order INTEGER(3) NOT NULL, last_modified DATETIME NOT NULL, timestamp DATETIME NOT NULL, PRIMARY KEY(categories_id) ); CREATE TABLE categories_lang ( categories_id BIGINT(20) NOT NULL, languages_id BIGINT(20) NOT NULL, name VARCHAR(45) NOT NULL, description TEXT NOT NULL, PRIMARY KEY(categories_id, languages_id) ); in categoriesLang the languages_id is given... is it possible to get the specific language data while creating query for categories table... or have i ask second table in second query stephan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961714#3961714 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961714 From do-not-reply at jboss.com Sun Jul 30 04:50:00 2006 From: do-not-reply at jboss.com (akpraha) Date: Sun, 30 Jul 2006 04:50:00 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Non-default HTTP port ignored Message-ID: <23021626.1154249400627.JavaMail.jboss@colo-br-02.atl.jboss.com> I've run into a strange problem with JBossWS-1.0.2.GA installed on JBoss-4.0.4.GA. In my test environment, I cannot use port 8080, so I have configured tomcat to run on a different port. I set up a simple test web service similar to the examples in the user guide, deployed it, and took a look at the wsdl published by the ws. When I use the URL: http://seinfeld:8888/TrivialService/SampleService?wsdl The resulting wsdl contains the proper hostname, but HTTP port 8080: | | What am I missing here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961715#3961715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961715 From do-not-reply at jboss.com Sun Jul 30 05:19:59 2006 From: do-not-reply at jboss.com (TLex) Date: Sun, 30 Jul 2006 05:19:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener Message-ID: <1657585.1154251199096.JavaMail.jboss@colo-br-02.atl.jboss.com> Check if your components.properties file is in place. If it is try replacing all @xyz@ entries in components.xml with values from components.properties. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961716#3961716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961716 From do-not-reply at jboss.com Sun Jul 30 05:56:05 2006 From: do-not-reply at jboss.com (koriel) Date: Sun, 30 Jul 2006 05:56:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Jboss Logger Message-ID: <7086341.1154253365013.JavaMail.jboss@colo-br-02.atl.jboss.com> Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for log.debug("some text") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961717#3961717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961717 From do-not-reply at jboss.com Sun Jul 30 05:56:45 2006 From: do-not-reply at jboss.com (koriel) Date: Sun, 30 Jul 2006 05:56:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Jboss Logger Message-ID: <19223493.1154253405093.JavaMail.jboss@colo-br-02.atl.jboss.com> Can I configure jboss to use different log files for different log levels for my application. For example the info level to be logged in file myapp_info.log and the debug level in the myapp_debug.log so when I use log.info("some text") this entry goes to the myapp_info.log and accordingly for log.debug("some text") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961718#3961718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961718 From do-not-reply at jboss.com Sun Jul 30 06:04:09 2006 From: do-not-reply at jboss.com (kukeltje) Date: Sun, 30 Jul 2006 06:04:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: using JBPM to string together 5 Perl webservices (they m Message-ID: <1758761.1154253849158.JavaMail.jboss@colo-br-02.atl.jboss.com> what you describe is a SOA, jBPM BPEL is good for the orchestration. But the core imo could (should?) be an esb like solution. If it is simple, you can suffice yust with jBPM BPEL, but maybe JBoss ESB (with jBPM BPEL for more complex orchestration) would be a better choice. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961719#3961719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961719 From do-not-reply at jboss.com Sun Jul 30 07:01:28 2006 From: do-not-reply at jboss.com (stephan.opitz) Date: Sun, 30 Jul 2006 07:01:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - ejb 3.0 lazy loading no session Message-ID: <29536685.1154257288666.JavaMail.jboss@colo-br-02.atl.jboss.com> in my ejb i have such a construct... private long productsId; private List categories; @Id @GeneratedValue(strategy = GenerationType.AUTO) @Column(name = "products_id") public long getProductsId() { return productsId; } public void setProductsId(long productsId) { this.productsId = productsId; } @ManyToMany @JoinTable(name = "products_categories", joinColumns = @JoinColumn(name = "products_id", referencedColumnName = "products_id"), inverseJoinColumns = @JoinColumn(name = "categories_id", referencedColumnName = "categories_id")) public List getCategories() { return categories; } public void setCategories(List categories) { this.categories = categories; } i get a list with content from db... but if i want to access the list... :-( Caused by: org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role:... , no session or session was closed what should i change... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961720#3961720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961720 From do-not-reply at jboss.com Sun Jul 30 09:54:59 2006 From: do-not-reply at jboss.com (urswag) Date: Sun, 30 Jul 2006 09:54:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Data retrieve before the page is displayed Message-ID: <23242374.1154267699251.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Before the page is displayed some data should be retrieved. There is no possibility for example with an action in a outputLink. Is there somewhere a good example how I can realize this. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961722#3961722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961722 From do-not-reply at jboss.com Sun Jul 30 10:58:50 2006 From: do-not-reply at jboss.com (lior.dra) Date: Sun, 30 Jul 2006 10:58:50 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: problem getting pojocache to work Message-ID: <9368633.1154271530225.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I have managed to solve the problem. I have used replSync-service.xml instead of pojocach-service.xml , with the appropriate changes, () and it did the trick. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961724#3961724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961724 From do-not-reply at jboss.com Sun Jul 30 11:01:42 2006 From: do-not-reply at jboss.com (lucas f m r) Date: Sun, 30 Jul 2006 11:01:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener Message-ID: <22316048.1154271702058.JavaMail.jboss@colo-br-02.atl.jboss.com> tanx Tlex was really that, now i?m getting a missing library, tanx again man View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961725#3961725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961725 From do-not-reply at jboss.com Sun Jul 30 11:20:13 2006 From: do-not-reply at jboss.com (scotttam) Date: Sun, 30 Jul 2006 11:20:13 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <25187451.1154272813514.JavaMail.jboss@colo-br-02.atl.jboss.com> For the join object, don't you need to define a composite primary key, otherwise you will get a "No identifies exists for specific entity" error on startup? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961726#3961726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961726 From do-not-reply at jboss.com Sun Jul 30 11:54:28 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sun, 30 Jul 2006 11:54:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <26372028.1154274868034.JavaMail.jboss@colo-br-02.atl.jboss.com> I have commited my test cases today in the CVS that assert the correct behavior for instances and instances per user. So now the news portlet behave correctly except that it still has caching enabled which makes the results wrong sometime. I think I can fix this by adding in the cache key the user name. So the cached fragment will belong to a particular identity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961727#3961727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961727 From do-not-reply at jboss.com Sun Jul 30 12:19:40 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Sun, 30 Jul 2006 12:19:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Saving user specific preferences Message-ID: <2531489.1154276380520.JavaMail.jboss@colo-br-02.atl.jboss.com> "julien at jboss.com" wrote : I have commited my test cases today in the CVS that assert the correct behavior for instances and instances per user. | | So now the news portlet behave correctly except that it still has caching enabled which makes the results wrong sometime. | | I think I can fix this by adding in the cache key the user name. So the cached fragment will belong to a particular identity. | | done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961728#3961728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961728 From do-not-reply at jboss.com Sun Jul 30 12:29:47 2006 From: do-not-reply at jboss.com (TLex) Date: Sun, 30 Jul 2006 12:29:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener Message-ID: <13430301.1154276987839.JavaMail.jboss@colo-br-02.atl.jboss.com> Run ant with the deploy target of your choice, inspect the created .ear or .war file and compare the libs directory with your manually setup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961729#3961729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961729 From do-not-reply at jboss.com Sun Jul 30 13:09:58 2006 From: do-not-reply at jboss.com (lucas f m r) Date: Sun, 30 Jul 2006 13:09:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Exception sending context initialized event to listener Message-ID: <32642266.1154279398774.JavaMail.jboss@colo-br-02.atl.jboss.com> yeah i use ant to do all (javac,war,jar,ear,deploy) , the problem was in the components.xml, it was not getting the value of the properties and one of the property was to do something that i didn?t need. now is fine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961730#3961730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961730 From do-not-reply at jboss.com Sun Jul 30 14:13:56 2006 From: do-not-reply at jboss.com (lucas f m r) Date: Sun, 30 Jul 2006 14:13:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Cannot find seam component ? Message-ID: <32191988.1154283236556.JavaMail.jboss@colo-br-02.atl.jboss.com> part of jboss initialize log: ... 15:03:53,203 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 15:03:53,296 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=jboss-seam-usuario.ear,jar=jboss-seam-usuario.jar,name=CrudUsuario,service=EJB3 with dependencies: 15:03:53,296 INFO [JmxKernelAbstraction] persistence.units:ear=jboss-seam-usuario.ear,jar=jboss-seam-usuario.jar,unitName=userDatabase 15:03:53,781 INFO [EJBContainer] STARTED EJB: negocio.usuario.CrudUsuario ejbName: CrudUsuario ... but when i thi the submit i?m getting the follow exceptions: Caused by: javax.naming.NameNotFoundException: CrudUsuario not bound; Caused by: org.jboss.seam.InstantiationException: Could not instantiate Seam component: CrudUsuario; Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{CrudUsuario.persistir}; javax.faces.FacesException: Error calling action method of component with id _id0:_id6 and the components.xml: false #{ejbName}/local tanx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961731#3961731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961731 From do-not-reply at jboss.com Sun Jul 30 14:18:17 2006 From: do-not-reply at jboss.com (TLex) Date: Sun, 30 Jul 2006 14:18:17 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - tomcat deploy Message-ID: <25393316.1154283497313.JavaMail.jboss@colo-br-02.atl.jboss.com> Deploying the seam hibernate example with ant and a fresh tomcat 5.5.17 install gives me following error: ... | INFO 30-07 20:04:15,265 (Log4JLogger.java:info:94) -Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.hibernate.Hotel | INFO 30-07 20:04:15,296 (Log4JLogger.java:info:94) -Hibernate Annotations 3.2.0.CR1 | INFO 30-07 20:04:15,312 (Log4JLogger.java:info:94) -Hibernate 3.2 cr2 | INFO 30-07 20:04:15,328 (Log4JLogger.java:info:94) -hibernate.properties not found | INFO 30-07 20:04:15,328 (Log4JLogger.java:info:94) -Bytecode provider name : cglib | INFO 30-07 20:04:15,343 (Log4JLogger.java:info:94) -using JDK 1.4 java.sql.Timestamp handling | INFO 30-07 20:04:15,484 (Log4JLogger.java:info:94) -configuring from resource: /hibernate.cfg.xml | INFO 30-07 20:04:15,484 (Log4JLogger.java:info:94) -Configuration resource: /hibernate.cfg.xml | INFO 30-07 20:04:15,625 (Log4JLogger.java:info:94) -Configured SessionFactory: java:/bookingDatabase | INFO 30-07 20:04:15,765 (Log4JLogger.java:info:94) -Binding entity from annotated class: org.jboss.seam.example.hibernate.Hotel | INFO 30-07 20:04:15,843 (Log4JLogger.java:info:94) -Bind entity org.jboss.seam.example.hibernate.Hotel on table Hotel | INFO 30-07 20:04:15,906 (Log4JLogger.java:info:94) -Binding entity from annotated class: org.jboss.seam.example.hibernate.User | INFO 30-07 20:04:15,906 (Log4JLogger.java:info:94) -Bind entity org.jboss.seam.example.hibernate.User on table User | INFO 30-07 20:04:15,906 (Log4JLogger.java:info:94) -Binding entity from annotated class: org.jboss.seam.example.hibernate.Booking | INFO 30-07 20:04:15,906 (Log4JLogger.java:info:94) -Bind entity org.jboss.seam.example.hibernate.Booking on table Booking | INFO 30-07 20:04:16,125 (Log4JLogger.java:info:94) -JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | ERROR 30-07 20:04:16,156 (Log4JLogger.java:error:119) -Could not obtain initial context | javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.init(Unknown Source) | at javax.naming.InitialContext.(Unknown Source) | at org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) | at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.jboss.seam.core.Hibernate.startup(Hibernate.java:69) | 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.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32) | at org.jboss.seam.Component.callComponentMethod(Component.java:1334) | at org.jboss.seam.Component.callCreateMethod(Component.java:1322) | at org.jboss.seam.Component.newInstance(Component.java:1312) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1253) | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:125) | at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:104) | at org.jboss.seam.init.Initialization.init(Initialization.java:196) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) | at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809) | at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698) | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472) | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) | at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) | at org.apache.catalina.core.StandardService.start(StandardService.java:450) | at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) | at org.apache.catalina.startup.Catalina.start(Catalina.java:551) | 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.catalina.startup.Bootstrap.start(Bootstrap.java:294) | at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961732#3961732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961732 From do-not-reply at jboss.com Sun Jul 30 15:09:10 2006 From: do-not-reply at jboss.com (isterin) Date: Sun, 30 Jul 2006 15:09:10 -0400 (EDT) Subject: [jboss-user] [J2EE Design Patterns] - Re: quite a design problem..!!! Message-ID: <19130031.1154286550821.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm a bit lost as to your response. Do you want to figure out the class name at runtime and dynamically pass it? You can use reflection facilities. Not sure what you mean by redundant code, use standard OO techniques and patterns to reduce redundancy in code. Or create some util libraries that do that. Or do you mean that you want your classes to not have any create methods and be able to create them at runtime? You can use runtime bytecode injection/enhancement techniquest to do that. Take a look at the cglib libraries, and there are many more. Ilya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961733#3961733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961733 From do-not-reply at jboss.com Sun Jul 30 15:12:44 2006 From: do-not-reply at jboss.com (isterin) Date: Sun, 30 Jul 2006 15:12:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam without JSF Message-ID: <1670180.1154286764732.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I've seen posts on the fact that Seam currently requires JSF. I'm wondering whether support for non-JSF view technologies is planned. Our app is being build using XSLT views with in-browser transformations, so we don't want any MVC type stuff, other than abstraction from the HTTP(Response|Request) and some other basic services. Our response is plain XML with an attached XSLT sheet. My biggest reason for wanting to Seam is it's stateful lifecycle services and integration with JBPM, since our app is a workflow application. Thanks. Ilya View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961734#3961734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961734 From do-not-reply at jboss.com Sun Jul 30 15:13:47 2006 From: do-not-reply at jboss.com (scotttam) Date: Sun, 30 Jul 2006 15:13:47 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - ManyToMany: entry on the other side of the relationship is b Message-ID: <10689167.1154286827915.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a many to many relationship that is handled by a join table. Here's the simple "diagram" : campaign -> campaign_adslot_xref <- ad_slot When I create a new campaign object and add adslots to the relationship to get the entries in the join table created, for some reason, persist is trying to create an entry in the ad_slot table when the object already exists. Therefore, I get a duplicate key exception. When I use merge instead of persist, this works fine. I know merge has a bit of overhead and checking to see if entites exist in the db but my AdSlot object is in the persistentcontext so I am not sure why it is trying to be created. The POJO's are: | @Entity | | @Table(name="campaign") | | public class ParentCampaign implements Serializable { | private long id; | | private Set adSlots; | | @ManyToMany(cascade = {CascadeType.ALL}, fetch = FetchType.LAZY, mappedBy="campaigns") | | public Set getAdSlots() { | | return adSlots; | | } | | | | public void setAdSlots(Set adSlots) { | | this.adSlots = adSlots; | | } | | @Override | | public int hashCode() { | | int hash = 7; | | hash = 31 * hash + (int)id; | | hash = 31 * hash + ((null == name) ? 0 : name.hashCode()); | | return hash; | | } | | | | @Override | | public boolean equals(Object obj) { | | if (obj == this) return true; | | | | if (null == obj || !(obj instanceof ParentCampaign)) { | | return false; | | } | | | | ParentCampaign other = (ParentCampaign)obj; | | | | if ((id != other.getId())) { | | return false; | | } | | | | return true; | | } | | | } | | @Entity | @Table(name="ad_slot") | public class AdSlot implements Serializable { | private long id; | private Set campaigns; | | @ManyToMany | @JoinTable(name = "campaign_adslot_xref", | joinColumns = { | @JoinColumn(name = "ad_slot_id") | }, | inverseJoinColumns = { | @JoinColumn(name = "campaign_id") | } | ) | | public Set getCampaigns() | { | return campaigns; | } | | public void setCampaigns(Set campaigns) { | this.campaigns = campaigns; | } | Here's where I setup the newly created Campaign object with selected AdSlots. | if (null != selectedAdSlots && selectedAdSlots.length > 0) { | | for (int k=0; k < selectedAdSlots.length; k++) { | | AdSlot as = Utils.getAdDAO().findAdSlotLazyLoadAll(new Long(selectedAdSlots[k])); | | | | if (null == currentCampaign.getAdSlots()) { | | currentCampaign.setAdSlots(new HashSet()); | | } | | | | as.getCampaigns().add(currentCampaign); | | currentCampaign.getAdSlots().add(as); | | } | | } | | The findAdSlotLazyLoadAll looks like | public AdSlot findAdSlotLazyLoadAll(long id) { | | return (AdSlot)em.createQuery("FROM AdSlot a " + | | "LEFT JOIN FETCH a.program " + | | "LEFT JOIN FETCH a.campaigns " + | | "WHERE a.id = :id ") | | .setParameter("id", id) | | .getSingleResult(); | | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961735#3961735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961735 From do-not-reply at jboss.com Sun Jul 30 16:22:14 2006 From: do-not-reply at jboss.com (scotttam) Date: Sun, 30 Jul 2006 16:22:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: ejb 3.0 lazy loading no session Message-ID: <17107418.1154290934836.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you have a pojo for your Category object? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961736#3961736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961736 From do-not-reply at jboss.com Sun Jul 30 16:24:55 2006 From: do-not-reply at jboss.com (abl) Date: Sun, 30 Jul 2006 16:24:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: How to access a join table column?! Message-ID: <2238210.1154291095357.JavaMail.jboss@colo-br-02.atl.jboss.com> of cource you are right - a composite key or just a additional primary key for the entity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961737#3961737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961737 From do-not-reply at jboss.com Sun Jul 30 17:04:31 2006 From: do-not-reply at jboss.com (wondermike) Date: Sun, 30 Jul 2006 17:04:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - one2many example Message-ID: <21537150.1154293471496.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm looking for a One2Many example which is just good enough for a beginner like me ... i.e. not too complicated ;-) I've looked at the issues example, but I could not simplify it for my purposes, it didn't work - the editor stuff killed me. In the end I'd like to descent several hierarchical layers like * client1 * client1-contract1 * client1-contract2 * client1-contract2-contractdetail1 * client1-contract2-contractdetail2 * client1-contract2-contractdetail3 ... * client2 * client3 ... having 3 entities: clients, contracts and contractdetails and 3 different pages listing each m clients, n contracts and so on ... Can you help with with a simple example or a pointer to an example? The interesting thing for me is the logical transfer of the @DataModelSelection to the next hierarchical layer which would be included in the where clause of the next layer's 'entityManager.createQuery("from ...' I think the next layer receives the Selection via injection but I'd like to see a whole working example. TIA! Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961738#3961738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961738 From do-not-reply at jboss.com Sun Jul 30 17:25:09 2006 From: do-not-reply at jboss.com (lucas f m r) Date: Sun, 30 Jul 2006 17:25:09 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Cannot find seam component ? Message-ID: <30986856.1154294709955.JavaMail.jboss@colo-br-02.atl.jboss.com> resolved was really jndi problem MyEARName/#{ejbName}/local View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961739#3961739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961739 From do-not-reply at jboss.com Sun Jul 30 17:38:54 2006 From: do-not-reply at jboss.com (Ullrich) Date: Sun, 30 Jul 2006 17:38:54 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Deploymnet tooks long time Message-ID: <2082787.1154295534337.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, im running into the same problem like http://jboss.org/index.html?module=bb&op=viewtopic&t=85448 The last server messages are: 23:19:10,312 INFO [EjbModule] Deploying CustomerBean 23:19:10,453 INFO [EjbModule] Deploying AccountBean 23:19:10,468 INFO [EjbModule] Deploying TxBean 23:19:10,484 INFO [EjbModule] Deploying NextIdBean 23:19:10,484 INFO [EjbModule] Deploying AccountControllerBean 23:19:10,515 INFO [EjbModule] Deploying CustomerControllerBean 23:19:10,531 INFO [EjbModule] Deploying TxControllerBean I tried the solution given at http://jboss.org/index.html?module=bb&op=viewtopic&t=60926 but i got an error like: cannot find any jndi at port 1099 ... altough i changed the jboss-service.xml and jndi.properties file as mentioned. So this doesnt work either for me. Are there any more solutions - or why does depolyment took that long? Gr??e, Ullrich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961740#3961740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961740 From do-not-reply at jboss.com Sun Jul 30 17:52:08 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Sun, 30 Jul 2006 17:52:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Logger Message-ID: <19115203.1154296328938.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a log4j config issue, but I would doubt this is supported. See http://logging.apache.org/log4j/docs/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961741#3961741 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961741 From do-not-reply at jboss.com Sun Jul 30 18:09:00 2006 From: do-not-reply at jboss.com (scott.stark@jboss.org) Date: Sun, 30 Jul 2006 18:09:00 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <27310590.1154297340202.JavaMail.jboss@colo-br-02.atl.jboss.com> Show the trace level logging of the org.jboss.security category that demonstrates what is happening. Q4 of the following shows the key categories: http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961742#3961742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961742 From do-not-reply at jboss.com Sun Jul 30 18:11:15 2006 From: do-not-reply at jboss.com (kangaroody) Date: Sun, 30 Jul 2006 18:11:15 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - Re: 'Can't create EJB3 Project Message-ID: <26164023.1154297475314.JavaMail.jboss@colo-br-02.atl.jboss.com> click back and again next. now the button should be activated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961743#3961743 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961743 From do-not-reply at jboss.com Sun Jul 30 18:33:48 2006 From: do-not-reply at jboss.com (DjHitItUp) Date: Sun, 30 Jul 2006 18:33:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Complicated DataSouce and JNDI javax.naming.NamingException: Message-ID: <18871429.1154298828828.JavaMail.jboss@colo-br-02.atl.jboss.com> My oracle-ds.xml is: DCDEV jdbc:oracle:thin:@d2.corp.company.net:1521:DCDEV oracle.jdbc.driver.OracleDriver test test 10 30 5000 15 org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter 15 Oracle10i My WEB-INF/web.xml is: index.jsp Data Compilation DataSource DCDEV javax.sql.DataSource Container My WEB-INF/jboss-web.xml is: DCDEV java:/DCDEV My question is why am I getting the following exception when jboss 4.0.4 is restarted or when I redeploy the application: org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: resource-ref: DCDEV has no valid JNDI binding. Check the jboss-web/resource-ref.) NOTE: The application is an exploded(unpacked) format. Not sure if i'm using the correct technical wording. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961744#3961744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961744 From do-not-reply at jboss.com Sun Jul 30 18:43:28 2006 From: do-not-reply at jboss.com (treespace) Date: Sun, 30 Jul 2006 18:43:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Unable to persist timer Message-ID: <13003437.1154299408675.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's the SQL exception from the stack trace. | | Caused by: java.sql.SQLException: Unique constraint violation: in statement | | [insert into TIMERS TIMERID, TARGETID, INITIALDATE, TIMERINTERVAL, INSTANCEPK, INFO) values (?,?,?,?,?,?)] | | at org.hsqldb.jdbc.Util.throwError(Unknown Source) | at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961745#3961745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961745 From do-not-reply at jboss.com Sun Jul 30 20:01:02 2006 From: do-not-reply at jboss.com (kuzmiigo) Date: Sun, 30 Jul 2006 20:01:02 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Adding roles to user on the fly Message-ID: <18743293.1154304062200.JavaMail.jboss@colo-br-02.atl.jboss.com> Scott, I sent you the security log by e-mail. Thank you again, Igor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961746#3961746 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961746 From do-not-reply at jboss.com Sun Jul 30 20:36:49 2006 From: do-not-reply at jboss.com (peteroyle) Date: Sun, 30 Jul 2006 20:36:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed Message-ID: <2676219.1154306209498.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi urswag, The blog example from the tutorial deals with this kind of stuff: http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#blog This example calls an @Unwrap-annotated @Stateless session bean directly from the JSF page being loaded. As far as I can tell the statelessness ensures that the data gets loaded fresh every time. Pete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961747#3961747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961747 From do-not-reply at jboss.com Sun Jul 30 21:12:55 2006 From: do-not-reply at jboss.com (muyan) Date: Sun, 30 Jul 2006 21:12:55 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: help me! This error Unregistered handle that was not reg Message-ID: <25266592.1154308375600.JavaMail.jboss@colo-br-02.atl.jboss.com> thank you .My jobss is 4.0.2. I use the database pool in the servlet. I am sure the program of Connection is closed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961748#3961748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961748 From do-not-reply at jboss.com Sun Jul 30 21:17:11 2006 From: do-not-reply at jboss.com (wyckoff) Date: Sun, 30 Jul 2006 21:17:11 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: using JBPM to string together 5 Perl webservices (they m Message-ID: <8765710.1154308631330.JavaMail.jboss@colo-br-02.atl.jboss.com> I'd like to start with jBPM and then work in from there. Is there a way to just configure JBOSS for this, or do i need to write code to interface with the services? thanks, pete View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961749#3961749 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961749 From do-not-reply at jboss.com Sun Jul 30 22:04:43 2006 From: do-not-reply at jboss.com (sbalmos) Date: Sun, 30 Jul 2006 22:04:43 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Using entities with collections? Message-ID: <11836465.1154311483050.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, In 1.0.2, the WSDL generator now ignores datatypes that are collections. This was easy enough to fix with my wrapper SOAP interface. However, the complex datatypes that I return from my functions are entity beans, which themselves have member collections. I cannot replace these collections with arrays, since the EJB3 Persistence system needs collections to determine relationship mappings. And I can't create overridden getter methods in the entities that return arrays. So, what am I supposed to do? On one hand, I must use collections in the entities for the persistence framework. Yet on the other hand, I can't for the SOAP framework. Am I supposed to create new wrapper entity datatypes for SOAP, which only use arrays? What about Map-type collections, where a flat array wouldn't really work? Ideas are appreciated. --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961750#3961750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961750 From do-not-reply at jboss.com Sun Jul 30 22:09:22 2006 From: do-not-reply at jboss.com (davidrh) Date: Sun, 30 Jul 2006 22:09:22 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <3346496.1154311762204.JavaMail.jboss@colo-br-02.atl.jboss.com> I've tried upgrading to CR3 (both the server and the client JAR), and now under load we get the following exception on the client (it happens anywhere from 20 seconds to a couple of minutes after processing starts): | 2006-07-31 11:05:10,829 ERROR org.jboss.jms.client.container.ExceptionInterceptor - Caught Exception: | org.jboss.aop.NotFoundInDispatcherException: Object with oid: -2147483420 was not found in the Dispatcher | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:85) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:842) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:691) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:443) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:530) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:253) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) | at org.jboss.remoting.Client.invoke(Client.java:610) | at org.jboss.remoting.Client.invoke(Client.java:602) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java) | at org.jboss.jms.client.container.TransactionAspect.handleSend(TransactionAspect.java:170) | at org.jboss.aop.advice.org.jboss.jms.client.container.TransactionAspect10.invoke(TransactionAspect10.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientSessionDelegate$send_N3028277934545793941.invokeNext(ClientSessionDelegate$send_N3028277934545793941.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java) | at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:237) | at sun.reflect.GeneratedMethodAccessor504.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java) | at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java) | at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164) | at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:208) | at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145) | at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136) | at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:671) | at org.springframework.jms.core.JmsTemplate.doSend(JmsTemplate.java:653) | at org.springframework.jms.core.JmsTemplate$3.doInJms(JmsTemplate.java:638) | at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:585) | at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:635) | at com.platefood.pfp.integration.messaging.JmsTemplateMessageDispatcher.dispatchAsynchronous(JmsTemplateMessageDispatcher.java:67) | at com.platefood.pfp.core.integration.publishing.MulePublisherInvoker.invokeAsynchronous(MulePublisherInvoker.java:116) | at com.platefood.pfp.core.integration.publishing.PublisherIntegrationServiceImpl.send(PublisherIntegrationServiceImpl.java:985) | at com.platefood.pfp.core.integration.publishing.PublisherIntegrationServiceImpl.validateAndSend(PublisherIntegrationServiceImpl.java:1686) | at com.platefood.pfp.core.integration.publishing.PublisherIntegrationServiceImpl.updateListingKeyword(PublisherIntegrationServiceImpl.java:1595) | at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:292) | at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155) | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122) | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) | at com.platefood.pfp.core.business.common.dao.OptimisticLockInterceptor.invoke(OptimisticLockInterceptor.java:46) | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) | at com.platefood.pfp.core.business.aop.PerformanceLoggerInterceptor.invoke(PerformanceLoggerInterceptor.java:377) | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144) | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174) | at $Proxy146.updateListingKeyword(Unknown Source) | at sun.reflect.GeneratedMethodAccessor508.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at com.platefood.pfp.core.integration.publishing.PublisherIntegrationReceiver.onMessage(PublisherIntegrationReceiver.java:190) | at com.platefood.pfp.integration.spring.jms.JMSReceiverManager$2.onMessage(JMSReceiverManager.java:226) | at org.jboss.jms.client.remoting.MessageCallbackHandler.callOnMessage(MessageCallbackHandler.java:82) | at org.jboss.jms.client.remoting.MessageCallbackHandler$ClientDeliveryRunnable.run(MessageCallbackHandler.java:751) | at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(Unknown Source) | at java.lang.Thread.run(Thread.java:534) | The log is then filled with this exception, and no messages are processed anymore. I still have the code in there to close and re-open the session every sixty seconds but that doesn't fix the problem. This didn't happen with CR2 and I haven't changed our application apart from the jboss-messaging-client.jar. There are only two warnings in the JBoss server.log: | 2006-07-31 11:03:57,257 WARN [org.jboss.jms.server.endpoint.DeliveryRunnable] Failed to deliver the message to the client. | 2006-07-31 11:03:57,267 WARN [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] A problem has been detected with the connection to remote client 5c4o25-8eg1pp-eqa511ib-1-eqa51w8f-h It is possible the client has exited without closing its connection(s) or there is a network problem. All connection resources corresponding to that client process will now be removed. | I will try to update my test harness class above to include some load and see if I can re-produce the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961751#3961751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961751 From do-not-reply at jboss.com Sun Jul 30 22:36:57 2006 From: do-not-reply at jboss.com (frank101) Date: Sun, 30 Jul 2006 22:36:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Filter error after setting character encoding in LogFilter.j Message-ID: <20030170.1154313417556.JavaMail.jboss@colo-br-02.atl.jboss.com> I was trying to set the request character encoding to utf-8, but got an error after the change. The change was in doFilter() in LogFilter.java. Here is the code that does that: public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { HttpServletRequest request = (HttpServletRequest) servletRequest; // ADDED THESE 2 LINES request.setCharacterEncoding("UTF-8"); filterChain.doFilter(servletRequest, servletResponse); log.debug("request "+request.getRequestURL()); Enumeration enumeration = request.getParameterNames(); while (enumeration.hasMoreElements()) { String paramName = (String) enumeration.nextElement(); log.debug("request parameter ["+paramName+"]="+request.getParameter(paramName)); } HttpSession session = request.getSession(); enumeration = session.getAttributeNames(); while (enumeration.hasMoreElements()) { String attributeName = (String) enumeration.nextElement(); log.debug("session parameter ["+attributeName+"]="+session.getAttribute(attributeName)); } filterChain.doFilter(servletRequest, servletResponse); } Here is the error trace: 21:12:34,980 DEBUG [LogFilter] request parameter [login:username]=cookie monster 21:12:34,980 DEBUG [LogFilter] request parameter [login_SUBMIT]=1 21:12:34,980 DEBUG [LogFilter] request parameter [login:_link_hidden_]= 21:12:34,980 DEBUG [LogFilter] request parameter [login:_id2]=Log In 21:12:34,990 DEBUG [LogFilter] session parameter [org.apache.myfaces.application .jsp.JspStateManagerImpl.SERIALIZED_VIEW-/login.jsp]=[Ljava.lang.Object;@132cb29 21:12:34,990 DEBUG [LogFilter] session parameter [javax.faces.request.charset]=I SO-8859-1 21:12:34,990 DEBUG [LogFilter] session parameter [userBean]=org.jbpm.webapp.bean .UserBean at 12f2b32 21:12:35,000 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet t hrew exception javax.faces.el.EvaluationException: Cannot get value for expression '#{userBean. userSelectItems}' at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java :399) at javax.faces.component.UISelectItems.getValue(UISelectItems.java:55) at javax.faces.component._SelectItemsIterator.hasNext(_SelectItemsIterat or.java:92) at javax.faces.component._SelectItemsUtil.matchValue(_SelectItemsUtil.ja va:46) at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:52) at javax.faces.component.UIInput.validate(UIInput.java:269) at javax.faces.component.UIInput.processValidators(UIInput.java:144) at javax.faces.component.UIForm.processValidators(UIForm.java:68) at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:417) at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:14 2) at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(Lifecyc leImpl.java:208) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java :76) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc ipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:159) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ssConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo int.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor kerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.faces.el.EvaluationException: org.jbpm.webapp.bean.UserBean at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverI mpl.java:78) at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELPars erHelper.java:532) at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145) at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java :380) ... 34 more Caused by: javax.faces.el.EvaluationException: Bean: org.jbpm.webapp.bean.UserBe an, property: userSelectItems at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolv erImpl.java:404) at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverI mpl.java:71) ... 37 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(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolv erImpl.java:400) ... 38 more Caused by: java.lang.NullPointerException at org.jbpm.webapp.bean.UserBean.getUsers(UserBean.java:53) at org.jbpm.webapp.bean.UserBean.getUserSelectItems(UserBean.java:61) ... 43 more 21:12:36,873 DEBUG [JbpmContextInfo] creating jbpm context with service factorie s '[message, scheduler, logging, persistence, authentication]' 21:12:36,873 DEBUG [JbpmContext] creating JbpmContext 21:12:36,873 DEBUG [DbPersistenceServiceFactory] creating persistence service 21:12:36,873 DEBUG [DbPersistenceService] creating hibernate session Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961752#3961752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961752 From do-not-reply at jboss.com Sun Jul 30 23:24:52 2006 From: do-not-reply at jboss.com (templar.ding) Date: Sun, 30 Jul 2006 23:24:52 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Translate the documents to Chinese Message-ID: <23169383.1154316292636.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry... I was working on a memory leak issue in the past month....so tired... Now I'm planning the JBoss-Cache related features. If there is no Chinese document yet, I'll start translation soon. Ben, how about XiaoGang's work now? Did his team finished any document? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961757#3961757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961757 From do-not-reply at jboss.com Sun Jul 30 23:27:26 2006 From: do-not-reply at jboss.com (templar.ding) Date: Sun, 30 Jul 2006 23:27:26 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Translate the documents to Chinese Message-ID: <11193625.1154316446141.JavaMail.jboss@colo-br-02.atl.jboss.com> How to edit my messages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961758#3961758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961758 From do-not-reply at jboss.com Sun Jul 30 23:34:55 2006 From: do-not-reply at jboss.com (tankejin) Date: Sun, 30 Jul 2006 23:34:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - How can I download a .jar/.jad file to my mobilephone by wap Message-ID: <3698949.1154316895640.JavaMail.jboss@colo-br-02.atl.jboss.com> I use a Jboss server, and run a WAP application in it, Now ,I want to download a .jar/.jad file to a mobilephone by this wap application. I made a link to a .JAR file in a xhtml file, but when I visit this link with mobilephone's browser, It will popup an error : can not find this page What shall I do if I want to download .jar file to my phone? Thanks very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961759#3961759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961759 From do-not-reply at jboss.com Mon Jul 31 00:16:26 2006 From: do-not-reply at jboss.com (wichka) Date: Mon, 31 Jul 2006 00:16:26 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Class path issues Message-ID: <13101291.1154319386550.JavaMail.jboss@colo-br-02.atl.jboss.com> When I create a new jboss instance and put jar files under lib directory and sar file under deploy and service gets deployed fine. But the service looks for the configuration file abc.xml in the class path( by getting class loader and trying to load it). Where should I put this configuration file so that service can find it in the class path of the instance? I tried putting the abc.xml in the conf diretory, service can't find it in the classpath. I tried putting it in the lib directotory, service can't find it. I can't jar up the xml file with the jar file because it needs to be in area where I can change it if needed. Could you please help. This is a basic questions. I am new to Jboss and don't have good hold on Jboss class loading mechanism. Thanks, Bashir Wichka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961760#3961760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961760 From do-not-reply at jboss.com Mon Jul 31 00:32:47 2006 From: do-not-reply at jboss.com (feroz_ps) Date: Mon, 31 Jul 2006 00:32:47 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Filter error after setting character encoding in LogFilt Message-ID: <3005051.1154320367768.JavaMail.jboss@colo-br-02.atl.jboss.com> #{UserBean.userSelectItems} this class domt have a method getUserSelectItems(){} just check the case if exist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961763#3961763 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961763 From do-not-reply at jboss.com Mon Jul 31 00:35:50 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 00:35:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed Message-ID: <9008051.1154320550702.JavaMail.jboss@colo-br-02.atl.jboss.com> And check the section of the docs that describe Seam page actions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961764#3961764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961764 From do-not-reply at jboss.com Mon Jul 31 00:41:08 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 00:41:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam without JSF Message-ID: <8366584.1154320868320.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes I plan to make this easy .... but no right now is probably not the right time to adopt Seam if this is super-important to you... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961765#3961765 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961765 From do-not-reply at jboss.com Mon Jul 31 01:01:31 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 01:01:31 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Data retrieve before the page is displayed Message-ID: <12716558.1154322091694.JavaMail.jboss@colo-br-02.atl.jboss.com> I've been using page action in the pages.xml file, usually together with @RequestParameter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961766#3961766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961766 From do-not-reply at jboss.com Mon Jul 31 01:12:49 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 01:12:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - conversation timeout Message-ID: <670080.1154322769427.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, has anyone had this problem? My conversations never timeout. Only when my session timeout do my conversations timeout too. Here is my components.xml, conversation should timeout in 2 minutes, but it took 30 minutes(my session timeout). | | | | @myFacesLifecycleBug@ | @jndiPattern@ | | | | | 120000 | | | | newUser.jpdl.xml | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961767#3961767 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961767 From do-not-reply at jboss.com Mon Jul 31 01:20:00 2006 From: do-not-reply at jboss.com (davidrh) Date: Mon, 31 Jul 2006 01:20:00 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <17191486.1154323200770.JavaMail.jboss@colo-br-02.atl.jboss.com> I've updated the test harness and I can reproduce both problems - the increasing number of threads and the NotFoundInDispatcherException. From my testing it seems that once a thread in the pool has received a message, it is never destroyed but also is never allocated to another message listener. In this way, the number of threads slowly builds up over time, as the thread pool doesn't seem to count these threads as being part of the pool anymore. You can see this behaviour if you produced messages at a slower rate than the consumers are consuming them. The threads that have consumed messages will never be destroyed, and those that haven't will get destroyed after a certain amount of time (seems to be around 1 minute). The NotFoundInDispatcherException seems to be caused by setting the message listener to null to try and de-register it. According to the API http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/MessageConsumer.html#setMessageListener(javax.jms.MessageListener) this should have the effect of unsetting the listener for the message consumer. This doesn't worry me much, as I'll simply stop doing it - I was only doing it to see if it removed the threads more cleanly. You need to run this against a queue that has lots of text messages in it for this harness to consume. I've made the harness do exactly what we're doing in our application, which is receive a message from one queue and place a message on another queue. In this case, the placing of the message on the other queue doesn't seem to influence the above behaviour. | public class TestMultiSessionMessageListener { | | public static void main(String[] args) { | TestMultiSessionMessageListener ml = new TestMultiSessionMessageListener(); | | try { | ml.test(); | } catch (Exception e) { | e.printStackTrace(); | } | } | | private void test() throws Exception { | Hashtable properties = new Hashtable(); | properties.put(Context.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | properties.put(Context.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interfaces"); | properties.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | properties.put(Context.SECURITY_PRINCIPAL, "admin"); | properties.put(Context.SECURITY_CREDENTIALS, "admin"); | | ConnectionFactory connectionFactory = null; | | try { | Context context = new InitialContext(properties); | connectionFactory = (ConnectionFactory) context | .lookup("ConnectionFactory"); | } catch (NamingException ne) { | throw new RuntimeException(ne); | } | | Connection connection = connectionFactory.createConnection(); | connection.start(); | | // We want to have 5 threads listening for messages | int numberOfProcesses = 5; | | MessageConsumer[] consumers = new MessageConsumer[numberOfProcesses]; | Session[] sessions = new Session[numberOfProcesses]; | | while (true) { | for (int j = 0; j < consumers.length; j++) { | sessions[j] = connection.createSession(false, | Session.AUTO_ACKNOWLEDGE); | final Queue sourceQ = sessions[j].createQueue("publish.request"); | final Queue destQ = sessions[j] | .createQueue("publish.request.error"); | final Session session = sessions[j]; | | consumers[j] = sessions[j].createConsumer(sourceQ); | MessageListener ml = new MessageListener() { | | public void onMessage(Message msg) { | try { | String payload = ((TextMessage) msg).getText(); | System.out.println(Thread.currentThread().getName() | + " " + payload); | MessageProducer producer = session | .createProducer(destQ); | producer.send(msg); | try { | // Simulate normal processing time | Thread.currentThread().sleep(500); | } catch (InterruptedException e) { | e.printStackTrace(); | } | } catch (JMSException e) { | e.printStackTrace(); | } | } | }; | | consumers[j].setMessageListener(ml); | } | | // Recycle the sessions every 60 seconds | Thread.sleep(60000); | for (int j = 0; j < consumers.length; j++) { | try { | consumers[j].setMessageListener(null); | consumers[j].close(); | } catch (Exception e) { | // Ignore as we are recycling it anyway | e.printStackTrace(); | } | consumers[j] = null; | try { | sessions[j].close(); | } catch (Exception e) { | // Ignore as we are recycling it anyway | e.printStackTrace(); | } | sessions[j] = null; | } | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961768#3961768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961768 From do-not-reply at jboss.com Mon Jul 31 01:33:25 2006 From: do-not-reply at jboss.com (joo) Date: Mon, 31 Jul 2006 01:33:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: @EJB DI in a servlet always null Message-ID: <15063402.1154324005526.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, yes, now it works :-) I had a second bug in the JNDI configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961769#3961769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961769 From do-not-reply at jboss.com Mon Jul 31 01:34:08 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 31 Jul 2006 01:34:08 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: help me! This error Unregistered handle that was not reg Message-ID: <25695212.1154324048818.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, so your not really seeing an error. The logging context is INFO. Could you post the code that is producing this condition? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961770#3961770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961770 From do-not-reply at jboss.com Mon Jul 31 01:47:51 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 01:47:51 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jsf output utf8 Message-ID: <13542497.1154324871231.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I used to use JSTL and it will escape all the html appropriately but still output UTF8 characters. After swtching to JSF, it still escapes fine, but all the UTF8 chars are escaped as well. Unless I set the escape attribute to false, but I don't want to do that eirtther. I need it to behave as JSTL did before, escaping all the malicious characters but still render the chinese/japanese/russian, etc .. Anyone have any idea on this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961771#3961771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961771 From do-not-reply at jboss.com Mon Jul 31 01:49:32 2006 From: do-not-reply at jboss.com (gosanjeev@yahoo.com) Date: Mon, 31 Jul 2006 01:49:32 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: Help in executing Hello World BPEL example Message-ID: <2371645.1154324972153.JavaMail.jboss@colo-br-02.atl.jboss.com> hi doankhoavy, glad that your problem is fixed. I haven't found enough BPEL examples on JBoss environment. The only reference I have is the document titled "JBoss jBPM BPEL 1.1". If you have come across more samples I would appreciate your sharing them. thanks, sanjeev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961772#3961772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961772 From do-not-reply at jboss.com Mon Jul 31 02:02:56 2006 From: do-not-reply at jboss.com (prese) Date: Mon, 31 Jul 2006 02:02:56 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Migration to jboss4..0.4 problems Message-ID: <7005630.1154325776050.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi *, One of the problem that I have found was, that we did not specified into the jbosscmp-jdbc.xml the sql-type for the persistent fields. I have fixed that but some hidden error still exists. I am still searching. I hope that I will find the problem soon. Sebi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961773#3961773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961773 From do-not-reply at jboss.com Mon Jul 31 02:05:28 2006 From: do-not-reply at jboss.com (raghum) Date: Mon, 31 Jul 2006 02:05:28 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <8307875.1154325928416.JavaMail.jboss@colo-br-02.atl.jboss.com> Tim - Thanks for your reply and the effort you have put in analyzing the problem. But I am sorry if I have failed to communicate the real intent of the test program. The large values for CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME was intentionally put. It is simulating a situation where the system could go down with many messages unconsumed in a topic. So, the test case needs to stop with many messages unconsumed in the topic. And this test case is run multiple times without restarting the JMS server. To give you an idea of the usage - JMS is used by a communication layer to provide a large scale message passing infrastructure (similar to MPI) between the distributed processes. So, during the application development many applications would terminate abnormally (but we make sure that all the connections, topic producers, topic consumers, topic sessions are closed before the application terminates) leaving messages unconsumed on the topic. But we no longer care for these messages as it does not any meaning outside of the closed connection/session. So, we want to make sure that the unconsumed messages are flushed out (out of memory at least and the database). Multiple runs of the test case essentially tries to test this behavior - if the messages from a previous run is still in JMS server memory. So, I would rephrase my query - in a scenario where the applications close (connections, sessions, topic producers, topic consumers) arbitrarily and we need the unconsumed messages on the topic to be flushed out automatically. Please note that When the application closes, it terminates the JVM the application was instantiated in, too. So, apart from setting the messages to be NON_PERSISTENT and closing all the JMS objects and the JVM, is there anything that needs to be done to flush all the messages? Thanks Raghu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961774#3961774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961774 From do-not-reply at jboss.com Mon Jul 31 02:08:02 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 02:08:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss Logger Message-ID: <1185469.1154326082891.JavaMail.jboss@colo-br-02.atl.jboss.com> You could play with the "Threshold" attribute on the appender. You could have 2 appenders(one with Threshold set to INFO and another set to DEBUG). You could then point your logger to these 2 appenders as follows: | | | | Even after setting the threshold on the appender, you will have to make sure that the appenders log only for the *specific* log level(i.e. appender with threshold INFO should NOT log DEBUG messages), have a look at: http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=001536 http://logging.apache.org/log4j/docs/api/org/apache/log4j/varia/LevelMatchFilter.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961775#3961775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961775 From do-not-reply at jboss.com Mon Jul 31 02:11:37 2006 From: do-not-reply at jboss.com (templar.ding) Date: Mon, 31 Jul 2006 02:11:37 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Translate the documents to Chinese Message-ID: <29128401.1154326297261.JavaMail.jboss@colo-br-02.atl.jboss.com> Can I ask a question? In TreeCache.PDF, p17, line 8, there is a sentence "using this isolation level will not Tx2 read operation.". My English is not very good, I can't understand it. What does it mean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961776#3961776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961776 From do-not-reply at jboss.com Mon Jul 31 02:12:26 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 02:12:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: doubt in exploded-form application deployment Message-ID: <16368463.1154326346110.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=RedeployAnApplicationWhenChangeAFileInAnExplodedDeploymentDirectory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961777#3961777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961777 From do-not-reply at jboss.com Mon Jul 31 02:31:52 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 02:31:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Avoid requests during deployment of ear Message-ID: <4692556.1154327512865.JavaMail.jboss@colo-br-02.atl.jboss.com> I dont think there is a way to avoid requests when the application is being deployed/hot-deployed. However, there is a way to check whether the server has started successfully or not. These links might help: http://wiki.jboss.org/wiki/Wiki.jsp?page=StartupAndDeploymentCheck http://wiki.jboss.org/wiki/Wiki.jsp?page=MakeSureRequestsBeingProcessedAreNotImpactedByHotDeployments View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961778#3961778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961778 From do-not-reply at jboss.com Mon Jul 31 02:46:04 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Mon, 31 Jul 2006 02:46:04 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - CommandFactoryDelegate and InvokeWindowActionCommand possibl Message-ID: <17141963.1154328364600.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am rewriting my own CommandFactoryDelegate to manage url mapping and sending file to show in the CMSPortlet. in the doMapping method public ControllerCommand doMapping(ServerInvocation invocation, String portalContextPath, String portalRequestPath) the return is with a InvokeWindowRenderCommand : return new InvokeWindowRenderCommand(myTargetWindowRef, Mode.VIEW, null, params); Is it possible to use the InvokeWindowActionCommand, to have the processAction triggered ? is this compliant to JSR-168 ? Am I misundersting the JSR ? If the file change in the CMSPortlet, I guess it my involve some action to be processed, such as updating the navigation menu item that is active. I would like then to use some IPC to have the menu of navigation updated. I am trying to do it, but I get no answer from the server. I mean the logs show it goes through the processAction method, everything is processed properly, but then, the log shows it does not go through the doView method. the code is : return new InvokeWindowActionCommand(myTargetWindowRef, Mode.VIEW, WindowState.NORMAL, params, (StateString)paramsInteraction, paramsForms); I have tried to put my parameters in the params list, and also in the paramsForms. nothing work : the doView does not follow the processAction. Any idea of what is wrong in this ? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961779#3961779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961779 From do-not-reply at jboss.com Mon Jul 31 02:49:18 2006 From: do-not-reply at jboss.com (antitrust1982) Date: Mon, 31 Jul 2006 02:49:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Problem with the swimlane Message-ID: <10833828.1154328558979.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I created a portlet, when I use it without swimlane all is all right. But, Now I want to assign some task to specific people so I have used the swimlane. When I execute my portlet JBPM process I have this error when I arrived on a task where the task have a swimlane. error:08:48:30,619 ERROR [Services] problem closing service 'persistence' org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) at org.jbpm.svc.Services.close(Services.java:211) at org.jbpm.JbpmContext.close(JbpmContext.java:141) at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProce ssInstanceAction.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java: 365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.j ava:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflow Interceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor. java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadIntercepto r.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMapping Interceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatch er.java:414) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatch er.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionIntercep tor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:5 0) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationIntercep tor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:1 67) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:8 8) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInte rceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionP ostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand. execute(ContextDispatcherInterceptor.jav :129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.ja va:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextD ispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDisp atcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPr eDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTracker Interceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransp ortInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java: 64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand .java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcas terInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforc ementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeIntercept or.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationIntercept or.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociat ionInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociatio nInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeIntercept or.java:68) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvali datorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor .java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus ing: org.jbpm.graph.exe.Token at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister. java:2803) at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEven tListener.java:467) at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEnt ityEventListener.java:190) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityE ventListener.java:113) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEvent Listener.java:195) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(Abstrac tFlushingEventListener.java:76) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java: 26) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) ... 184 more 08:48:31,322 ERROR [Jsr168Dispatcher] Could not execute action org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPersistenceEx ception: couldn't commit hibernate sessi n} at org.jbpm.svc.Services.close(Services.java:223) at org.jbpm.JbpmContext.close(JbpmContext.java:141) at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProce ssInstanceAction.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java: 365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.j ava:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflow Interceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor. java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadIntercepto r.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMapping Interceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatch er.java:414) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatch er.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionIntercep tor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:5 0) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationIntercep tor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:1 67) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:8 8) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInte rceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionP ostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand. execute(ContextDispatcherInterceptor.jav :129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.ja va:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextD ispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDisp atcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPr eDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTracker Interceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransp ortInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java: 64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand .java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcas terInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforc ementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeIntercept or.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationIntercept or.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociat ionInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociatio nInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeIntercept or.java:68) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvali datorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor .java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) at org.jbpm.svc.Services.close(Services.java:211) ... 183 more Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus ing: org.jbpm.graph.exe.Token at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister. java:2803) at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEven tListener.java:467) at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEnt ityEventListener.java:190) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityE ventListener.java:113) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEvent Listener.java:195) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(Abstrac tFlushingEventListener.java:76) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java: 26) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) ... 184 more 08:48:32,010 ERROR [Jsr168Dispatcher] The portlet threw an exception javax.portlet.PortletException: Error executing action processInstance at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatch er.java:427) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatch er.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionIntercep tor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:5 0) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationIntercep tor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:1 67) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:8 8) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInte rceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionP ostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand. execute(ContextDispatcherInterceptor.jav :129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.ja va:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextD ispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDisp atcherInterceptor.java:79) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPr eDispatchInterceptor.java:94) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTracker Interceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransp ortInterceptor.java:69) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java: 64) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand .java:134) at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcas terInterceptor.java:85) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforc ementInterceptor.java:168) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeIntercept or.java:61) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationIntercept or.java:58) at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93) at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77) at org.jboss.portal.core.CoreController.handle(CoreController.java:190) 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce ptor.java:127) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273) at $Proxy133.handle(Unknown Source) at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:76) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociat ionInterceptor.java:47) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociatio nInterceptor.java:52) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeIntercept or.java:68) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:69) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:184) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvali datorInterceptor.java:87) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor .java:75) at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175) at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:221) at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:159) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11P rotocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.persistence.JbpmPe rsistenceException: couldn't commit hibe nate session} at org.jbpm.svc.Services.close(Services.java:223) at org.jbpm.JbpmContext.close(JbpmContext.java:141) at com.opensymphony.webwork.portlet.tutorial.CreateProcessInstanceAction.execute(CreateProce ssInstanceAction.java:201) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java: 365) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.j ava:217) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:191) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflow Interceptor.java:137) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor. java:115) at com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterIntercep tor.java:81) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.webwork.interceptor.FileUploadInterceptor.intercept(FileUploadIntercepto r.java:171) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:151) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMapping Interceptor.java:100) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:189) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:113) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatch er.java:414) ... 144 more Caused by: org.jbpm.persistence.JbpmPersistenceException: couldn't commit hibernate session at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:171) at org.jbpm.svc.Services.close(Services.java:211) ... 183 more Caused by: org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flus ing: org.jbpm.graph.exe.Token at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:216) at org.hibernate.type.EntityType.getIdentifier(EntityType.java:108) at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:221) at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:476) at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister. java:2803) at org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEven tListener.java:467) at org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEnt ityEventListener.java:190) at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityE ventListener.java:113) at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEvent Listener.java:195) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(Abstrac tFlushingEventListener.java:76) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java: 26) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:980) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:353) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161) ... 184 more 08:48:32,744 ERROR [InvokeWindowActionCommand] An portlet exception occured in portlet MyPortlet.MyP ortlet javax.portlet.PortletException: Error executing action processInstance at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatch er.java:427) at com.opensymphony.webwork.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatch er.java:272) at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:492) at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:428) at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:79) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140) at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionIntercep tor.java:72) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:5 0) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationIntercep tor.java:76) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:1 67) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:8 8) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInte rceptor.java:87) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionP ostDispatchInterceptor.java:65) at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:38) at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand. execute(ContextDispatcherInterceptor.jav :129) 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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:101) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499) at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.ja va:247) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextD ispatcherInterceptor.java:73) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:81) at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(Con View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961780#3961780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961780 From do-not-reply at jboss.com Mon Jul 31 02:56:35 2006 From: do-not-reply at jboss.com (fheldt) Date: Mon, 31 Jul 2006 02:56:35 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Using entities with collections? Message-ID: <29860582.1154328995095.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's what i did: The entity bean is field mapped and the getters/setters convert between Collection and Array. A sample: | public class MyEntityBean implements java.io.Serializable { | @Id | @Column(name="id") | private int id; | ... | @OneToMany(mappedBy = "abc") | private Set colHeaders; | ... | public ColumnHeader[] getColumns() { | return this.colHeaders.toArray(new ColumnHeader[ this.colHeaders.size() ]); | } | public void setColumns(ColumnHeader[] colHeaders) { | this.colHeaders.clear(); | for (int i = 0; i < colHeaders.length; i++) { | this.colHeaders.add(colHeaders[ i ]); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961781#3961781 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961781 From do-not-reply at jboss.com Mon Jul 31 03:18:01 2006 From: do-not-reply at jboss.com (bhupendra1980) Date: Mon, 31 Jul 2006 03:18:01 -0400 (EDT) Subject: [jboss-user] [Javassist user questions] - how to put image file on client machine through JBOSS Message-ID: <16061131.1154330281341.JavaMail.jboss@colo-br-02.atl.jboss.com> I need to imlement the functionality like google map on website, where my server is JBOSS server. We used the newest technology SVG(scalable vector graphics) which doesn't loose the image quaility on increasing the size of the image. we are doing backend processing of the image and throwing the png images on the client. machine. I already written a program which can be used at the time of zooming and panning of the image and can throw the image but that is all PC based. but when I am implementing on the server it is giving error because code is not getting any output directory to save the image on sever. Please tell me if that can be happen through caching or how can I save image on client machine without user authenication and can retrieve on the web page. so that my server doesn't have extra load. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961783#3961783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961783 From do-not-reply at jboss.com Mon Jul 31 03:27:57 2006 From: do-not-reply at jboss.com (Antoine_h) Date: Mon, 31 Jul 2006 03:27:57 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <6117998.1154330877175.JavaMail.jboss@colo-br-02.atl.jboss.com> I don't know if this is a bug, but I saw nothing related to this in Jira. In management portlet : when an instance is not well defined in the descriptor (as an example, the portlet is not found because the name has an error). when you call the instance "screen", you get an exception and nothing in the portlet (the error is given, but no more list of instances). then you can't do anything on any instances. => in case of error on one instance object, allow to still have the list of instance, and may be the wrong instance also shown in the list (with error message for only this one). also : since 2.4, it seems that the "overwrite" is not working anymore. | overwrite | | MyPletInstance | MyPortlet | | so if there is an error in the portlet-instances.xml definition ("MyPtlet" instead of "MyPortlet"), the instance is set in a wrong way in the database, and it is impossible to get the management portlet to show the instances. It is not possible to suppress this instance in the management portlet, to have the new descriptor (corrected) used again. what I did : stop jboss, suppress all the table in the database, correct the portlet-instances.xml, restart jboss.... not great... I've just realized I could have suppress the whole portal in the management portlet, and then restart JBoss, but even... it is not really nice... Many thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961784#3961784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961784 From do-not-reply at jboss.com Mon Jul 31 03:38:33 2006 From: do-not-reply at jboss.com (jimmymani) Date: Mon, 31 Jul 2006 03:38:33 -0400 (EDT) Subject: [jboss-user] [JBossWS] - WSDLFilePublisher Message-ID: <10801620.1154331513697.JavaMail.jboss@colo-br-02.atl.jboss.com> hi i am a newbie to JbossWs i am using java ee 5 with jboss 4.0.4.GA i have a webservice endpoint with @webservice annotaion. jboss is creating the WSDL and published it successfully i am able to connect to this service from my client and get served. now i want to know that ,is there any way to publish our own WSDL other that WSDLFilePublisher way of JbossWS(because i have to call webservice in a asynchronous way.so i have one WSDL which my client refer and another for server.i want to try with single WSDL file ) it will be helpful if anyone can tell how jboss is creating the WSDL by itself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961785#3961785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961785 From do-not-reply at jboss.com Mon Jul 31 03:45:12 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 03:45:12 -0400 (EDT) Subject: [jboss-user] [Testimonials] - complete convertion to Jboss SEAM Message-ID: <12043176.1154331912812.JavaMail.jboss@colo-br-02.atl.jboss.com> I've completely converted an online community previously done is a proprietary framework to JBoss SEAM. The core functions of the site has been done within 1 week learning SEAM from scratch. I'd have to say it's by far the smoothest transitions I've had in the past. I supposed it's not really just because of SEAM, it's the fact that all the goodies are starting to come together at this time, EJB 3 being much eaiser to deal with than its previous version known night mare plagued with repetitive code, JSF being much more mature than it used to be with many more extentions such as tomahawk and ASF, and SEAM just ties all these things together without needing to write an extra 20 XML files just to make things work. Here is the site I've used as a pilot for my first SEAM project http://vnl-online.com By the way. There wouldn't happen to be a good book on SEAM yet is there? The docs are great but not quite as detail as I'd like. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961786#3961786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961786 From do-not-reply at jboss.com Mon Jul 31 03:51:58 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 03:51:58 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Problem with the swimlane Message-ID: <33509326.1154332318689.JavaMail.jboss@colo-br-02.atl.jboss.com> STFF the errors your get have been discussed before and also in hibernate forums View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961787#3961787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961787 From do-not-reply at jboss.com Mon Jul 31 03:52:36 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 03:52:36 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: using JBPM to string together 5 Perl webservices (they m Message-ID: <31484329.1154332356107.JavaMail.jboss@colo-br-02.atl.jboss.com> you have to write your webservice client software yourself at the moment View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961788#3961788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961788 From do-not-reply at jboss.com Mon Jul 31 03:54:58 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 03:54:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Facelet and pageEncoding Message-ID: <33103023.1154332498376.JavaMail.jboss@colo-br-02.atl.jboss.com> Actually ends up that wasn't the problem. Everything displays properly if I set the escape="false" but this is not what I want. I want the users to be able to input anything and if there are things that need to be escaped, the h:outputText should escape it, but I don't want the characters in other languages to be all escaped as well.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961789#3961789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961789 From do-not-reply at jboss.com Mon Jul 31 03:58:05 2006 From: do-not-reply at jboss.com (brado) Date: Mon, 31 Jul 2006 03:58:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: PLEASE HELP Message-ID: <16117491.1154332685932.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a related question to this -- I have a simlar need, having extra tables that need to be added to the schema and managed by Hibernate. Is the common approach to this to alter the jbpm.sar, and rebuild it, or to just abandon the sar altogether and integrate the contents of the sar (which are basically jars and config files) into the actual webapp? What is the approach that everyone is taking to handle this? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961790#3961790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961790 From do-not-reply at jboss.com Mon Jul 31 03:59:48 2006 From: do-not-reply at jboss.com (onizukanne) Date: Mon, 31 Jul 2006 03:59:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <30030439.1154332788860.JavaMail.jboss@colo-br-02.atl.jboss.com> Two days and no replies yet... Unbelievable! Has no one ever seen this issue before? Are we the first to encounter this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961791#3961791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961791 From do-not-reply at jboss.com Mon Jul 31 04:07:08 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 04:07:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <29345465.1154333228767.JavaMail.jboss@colo-br-02.atl.jboss.com> System.out.println is invoked as part of some code. Something like: System.out.println("?"); You will have to search for the System.out.println statements in your code to find the culprit. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961792#3961792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961792 From do-not-reply at jboss.com Mon Jul 31 04:26:55 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 04:26:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Complicated DataSouce and JNDI javax.naming.NamingExcept Message-ID: <17031889.1154334415507.JavaMail.jboss@colo-br-02.atl.jboss.com> | DCDEV | java:/DCDEV | Is this a typo? If not, it should be: | DCDEV | java:/DCDEV | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961794#3961794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961794 From do-not-reply at jboss.com Mon Jul 31 04:32:14 2006 From: do-not-reply at jboss.com (onizukanne) Date: Mon, 31 Jul 2006 04:32:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <21645275.1154334734915.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks jaikiran That was the first search we ran, looked for EVERY single System.out.println message in all the code. There was no such record. Besides like I mentioned, once the problem starts, even after we undeploy ALL our ears from the deploy folder, the logging continues. If it was due to a println message in our code, it would stop the moment the affected ear is undeployed. So so strange View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961795#3961795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961795 From do-not-reply at jboss.com Mon Jul 31 04:35:52 2006 From: do-not-reply at jboss.com (poupou) Date: Mon, 31 Jul 2006 04:35:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Override Primary Key Mapping Message-ID: <11101820.1154334952302.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, thank you for your answer. Au temps pour moi. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961796#3961796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961796 From do-not-reply at jboss.com Mon Jul 31 04:39:31 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 04:39:31 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <16766435.1154335171316.JavaMail.jboss@colo-br-02.atl.jboss.com> If you read my last reply, you will notice that I said I can successfully repeat your test case with both large and small values for CONSUMER_SLEEP_TIME and RELAYER_SLEEP_TIME multiple times, without seeing memory increase and without seeing any messages left in the database. So, as far as I am concerned I have not been able to replicate your problem, and everything is working ok. As I say I am using the latest code, so that may explain the difference in behaviour. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961797#3961797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961797 From do-not-reply at jboss.com Mon Jul 31 04:41:05 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 04:41:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <10378768.1154335265801.JavaMail.jboss@colo-br-02.atl.jboss.com> Though i would not call this a ideal solution, you can change the threshold level of the CONSOLE appender to some value higher than INFO to supress these messages(and prevent the log files growing huge), till you get hold of the actual class from which this message is being logged. | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961798#3961798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961798 From do-not-reply at jboss.com Mon Jul 31 04:48:11 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 31 Jul 2006 04:48:11 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: jbossws-1.0.2 released Message-ID: <23553819.1154335691521.JavaMail.jboss@colo-br-02.atl.jboss.com> In order to upgrade to 1.0.2 you need to manually replace the jboss-xml-binding.jar in the JBOSS/client and JBOSS/lib directories. The 4.0.4GA compatible release can be found here: http://repository.jboss.com/jboss/jbossxb/1.0.0.CR6/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961800#3961800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961800 From do-not-reply at jboss.com Mon Jul 31 04:50:18 2006 From: do-not-reply at jboss.com (mailinator) Date: Mon, 31 Jul 2006 04:50:18 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: PLEASE HELP Message-ID: <18693457.1154335818539.JavaMail.jboss@colo-br-02.atl.jboss.com> "alex.guizar at jboss.com" wrote : Why don't you merge the mappings for JBPM classes and your custom classes in the same .cfg.xml file? Because I'd like to mantain two separate schemas. One for jbpm management and one for my data. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961801#3961801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961801 From do-not-reply at jboss.com Mon Jul 31 04:56:30 2006 From: do-not-reply at jboss.com (bdecoste) Date: Mon, 31 Jul 2006 04:56:30 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - is it worth it? Message-ID: <25118249.1154336190446.JavaMail.jboss@colo-br-02.atl.jboss.com> JCA seems more like a pain in the ass that anything else. Why do we have to learn this new technology? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961802#3961802 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961802 From do-not-reply at jboss.com Mon Jul 31 05:20:44 2006 From: do-not-reply at jboss.com (rogerbrito) Date: Mon, 31 Jul 2006 05:20:44 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <5986409.1154337644386.JavaMail.jboss@colo-br-02.atl.jboss.com> To so this problem, change portlet.xml, in portlet NavigationPortlet and add this: navigation-root-level portal I do this and it work fine. rb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961804#3961804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961804 From do-not-reply at jboss.com Mon Jul 31 05:24:56 2006 From: do-not-reply at jboss.com (rogerbrito) Date: Mon, 31 Jul 2006 05:24:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: navigation portlet problem Message-ID: <239303.1154337896643.JavaMail.jboss@colo-br-02.atl.jboss.com> To so this problem, change portlet.xml, in portlet NavigationPortlet and add this: navigation-root-level portal I do this and it work fine. rb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961805#3961805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961805 From do-not-reply at jboss.com Mon Jul 31 05:27:11 2006 From: do-not-reply at jboss.com (trifonov) Date: Mon, 31 Jul 2006 05:27:11 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - newbie: Deploying WebService to JBoss 4.0.4 Message-ID: <8821825.1154338031231.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I tried to follow adminguide.pdf to create and deplot web service - HelloWorldWS. Everything was fine untill I reach the deploy. It says: "To deploy and test the hello web service, run the following from the examples directory: ant -Dchap=ws -Dex=1 run-example I go into jboss example directory and run it but it says there is now build.xml filere.. How can write it or where can I get it? Can i manually put all in ear file and put in deploy directory? Regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961806#3961806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961806 From do-not-reply at jboss.com Mon Jul 31 05:29:08 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 31 Jul 2006 05:29:08 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timer Message-ID: <30397008.1154338148262.JavaMail.jboss@colo-br-02.atl.jboss.com> where can I find the createTimerAction???? Thanks a lot for the tip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961807#3961807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961807 From do-not-reply at jboss.com Mon Jul 31 05:32:28 2006 From: do-not-reply at jboss.com (julien@jboss.com) Date: Mon, 31 Jul 2006 05:32:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: CommandFactoryDelegate and InvokeWindowActionCommand pos Message-ID: <21651642.1154338348914.JavaMail.jboss@colo-br-02.atl.jboss.com> - You can return any command from a factory, it will just processed by the portal. You can even add your own commands. - It is not related to JSR-168, it is how JBoss Portal implements its portal. It not really related to the portlet container itself (although some command trigger the portlet container like InvokeWindowActionCommand and such) - If you want to update the navigational state of the portlet window (its render parameters) you need to return rather an InvokeWindowRenderCommand with the proper ParametersStateString containing the render parameters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961808#3961808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961808 From do-not-reply at jboss.com Mon Jul 31 05:32:39 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 31 Jul 2006 05:32:39 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timer Message-ID: <3990842.1154338359789.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok Ive found it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961809#3961809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961809 From do-not-reply at jboss.com Mon Jul 31 05:50:37 2006 From: do-not-reply at jboss.com (onizukanne) Date: Mon, 31 Jul 2006 05:50:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <20803829.1154339437902.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm afraid we already raised the threshold. Whatever the process though still continues running in the background, still causing the appserver to ultimately go out of memory, even without the appender logging anything. Because of this, we spent the last 36 hours migrating the system from CentOS to Fedora Core (since all our other implementations are on Fedora and have been quite stable). All of a sudden the problem has started again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961812#3961812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961812 From do-not-reply at jboss.com Mon Jul 31 06:00:37 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 06:00:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <5384054.1154340037805.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Whatever the process though still continues running in the background, still causing the appserver to ultimately go out of memory, even without the appender logging anything. This looks more than just a logging issue. In such cases, the best way to know what's going on is to obtain a thread dump. When you start seeing this behaviour, obtain the thread dump as mentioned here: http://www.jboss.org/wiki/Wiki.jsp?page=StackTrace The thread dump will display the list of threads and the activities that are going on(which might be causing the logging and the OutOfMemory issues). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961813#3961813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961813 From do-not-reply at jboss.com Mon Jul 31 06:03:05 2006 From: do-not-reply at jboss.com (paradigmza) Date: Mon, 31 Jul 2006 06:03:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Problem injecting a stateful session bean Message-ID: <30799140.1154340185711.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, form pasted by accident???.... Anyway, as you can see as soon as I add that line to inject my bean I get that exception... everything works fine until I try inject my bean. Am I misssing something? Thanks Sean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961814#3961814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961814 From do-not-reply at jboss.com Mon Jul 31 06:09:48 2006 From: do-not-reply at jboss.com (paradigmza) Date: Mon, 31 Jul 2006 06:09:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem injecting a stateful session bean Message-ID: <17849499.1154340588066.JavaMail.jboss@colo-br-02.atl.jboss.com> :-/ having a bit of trouble with the forum. Here is the question. I have a normal bean that is populated with data. @Stateful() | @Scope(ScopeType.SESSION) | @Name("advancedSearch") | public class AdvancedSearchBean implements AdvancedSearchLocal { I want to use this data so I try inject it with @Stateful() | @Name("search") | @Scope(ScopeType.CONVERSATION) | public class SearchBean implements SearchLocal { | | private Integer pageSize=15; | | private int currentPage = 0; | | boolean hasMore = false; | | private String sender; | | @In(required=false) | AdvancedSearchBean advancedSearch; but I get this exception as soon as I add that line 11:50:22,966 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.FacesException: Error calling action method of component with id form:_id28 | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) | at javax.faces.component.UICommand.broadcast(UICommand.java:106) | at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168) | at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.faces.el.EvaluationException: /search.xhtml @23,68 action="#{search.doSearch}": javax.ejb.EJBException: java.lang.IllegalArgumentException: | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73) | at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) | ... 27 more | Caused by: javax.ejb.EJBException: java.lang.IllegalArgumentException: could not set field value: search.advancedSearch | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy100.doSearch(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:585) | at com.sun.el.parser.AstValue.invoke(AstValue.java:151) | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283) | at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) | at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) | ... 28 more | Caused by: java.lang.IllegalArgumentException: could not set field value: search.advancedSearch | at org.jboss.seam.Component.setFieldValue(Component.java:1214) | at org.jboss.seam.Component.injectFields(Component.java:1024) | at org.jboss.seam.Component.inject(Component.java:795) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:71) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 51 more | Caused by: java.lang.IllegalArgumentException | at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63) | at java.lang.reflect.Field.set(Field.java:656) | at org.jboss.seam.Component.setFieldValue(Component.java:1210) | ... 96 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961815#3961815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961815 From do-not-reply at jboss.com Mon Jul 31 06:14:00 2006 From: do-not-reply at jboss.com (Viegas) Date: Mon, 31 Jul 2006 06:14:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timer Message-ID: <13671918.1154340840311.JavaMail.jboss@colo-br-02.atl.jboss.com> I have another question, Where can I find the sintax for the due date, for the repeat and so on? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961816#3961816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961816 From do-not-reply at jboss.com Mon Jul 31 06:17:21 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 31 Jul 2006 06:17:21 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - problem with Starting conversations with GET requests Message-ID: <11875210.1154341041915.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I tried to invoke a method in a session bean when rendering a page. the problem is when the page is rendered by using a newly created browser, the method can't be invoked and the following exception is thrown. | 10:05:46,706 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | javax.faces.el.EvaluationException: Exception while invoking expression #{login.chagen} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.jboss.seam.core.Pages.callAction(Pages.java:161) | at org.jboss.seam.core.Pages.callAction(Pages.java:143) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.ejb.EJBException: org.jboss.seam.RequiredException: In attribute requires value for component: login.reguser | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy128.chagen(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 29 more | Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: login.reguser | at org.jboss.seam.Component.getInstanceToInject(Component.java:1382) | at org.jboss.seam.Component.injectFields(Component.java:1024) | at org.jboss.seam.Component.inject(Component.java:795) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:30) | at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:82) | at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:60) | at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 49 more the method can be invoked when the page is rendering by a page action within the same page with no exceptions. the method can be invoked when the page is rendering by a S Link within another page with the following exceptions: the S Link: the exceptions: 10:39:22,505 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:48) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:87) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) I defined a page action in the pages.xml like this: | | the session bean where the method and the same page page acction is defined: package src.reg.server; | | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.contexts.Contexts; | import org.jboss.seam.core.FacesMessages; | | @Stateless | @Name("login") | public class LoginAction implements Login | { | | @In @Out | private Reguser reguser; | | @PersistenceContext | private EntityManager em; | | private String random; | | | public String test() | { | chacode = mt.rndnum(); | System.out.println("the next rnd is:"+rnd); | FacesMessages.instance().add(chacode); | return random; | } | | public String login() | { | Reguser user; | user = em.find(Reguser.class, reguser.getUid()); | System.out.println("the current rnd is:"+rnd); | if ( user==null ) | { | FacesMessages.instance().add("USER ID wrong"); | return "login"; | } | else | { | return "main" | } | } | | } the login page: login.xhtml | | | | login page | | | | |
    | |
    | |
    |
    |

    seam

    |
    |
    |
    | |
    |
    | | | any suggestions? thanks a lot Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961817#3961817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961817 From do-not-reply at jboss.com Mon Jul 31 06:23:08 2006 From: do-not-reply at jboss.com (paradigmza) Date: Mon, 31 Jul 2006 06:23:08 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem injecting a stateful session bean Message-ID: <7611877.1154341388937.JavaMail.jboss@colo-br-02.atl.jboss.com> I fixed it, was a silly error, I was not using the interface. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961818#3961818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961818 From do-not-reply at jboss.com Mon Jul 31 06:28:02 2006 From: do-not-reply at jboss.com (brain101) Date: Mon, 31 Jul 2006 06:28:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - portlet title Message-ID: <25508656.1154341682105.JavaMail.jboss@colo-br-02.atl.jboss.com> how can i suppress the portlet to show its title? in portlet.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961819#3961819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961819 From do-not-reply at jboss.com Mon Jul 31 06:41:04 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 06:41:04 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Timer Message-ID: <8036977.1154342464021.JavaMail.jboss@colo-br-02.atl.jboss.com> The same place I found it, the documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961820#3961820 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961820 From do-not-reply at jboss.com Mon Jul 31 06:42:12 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 06:42:12 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Transaction is not active Message-ID: <25501523.1154342532401.JavaMail.jboss@colo-br-02.atl.jboss.com> You guys are in the wrong forum, but it looks like your sessiopn beans do not have the correct trans-attributes set View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961821#3961821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961821 From do-not-reply at jboss.com Mon Jul 31 06:54:14 2006 From: do-not-reply at jboss.com (angelo.dangelo) Date: Mon, 31 Jul 2006 06:54:14 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: Tomahawk File Upload Message-ID: <30432072.1154343254326.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Sohil (thanks for the answer), but any existing Portal/Portlets Bridge lets me able to use Tomahawk? Angelo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961823#3961823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961823 From do-not-reply at jboss.com Mon Jul 31 07:00:24 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 31 Jul 2006 07:00:24 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: problem with Starting conversations with GET requests Message-ID: <14012996.1154343624805.JavaMail.jboss@colo-br-02.atl.jboss.com> sorry guys...there were some errors of the code in this page.. I'll post a new one, you can delete this one if you have the administrator previledge. sorry... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961825#3961825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961825 From do-not-reply at jboss.com Mon Jul 31 07:01:14 2006 From: do-not-reply at jboss.com (bluetrade) Date: Mon, 31 Jul 2006 07:01:14 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Seam component instantiation problem Message-ID: <30715367.1154343674064.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a stateless seam component, that I use for my RMI stuff. Unlike my other components it doesn't seem to be instantiated, the entityManager (even though it contains @In(create=true)) is null, when I do a invocation from the client... This component is the only component that is not mentioned anywhere inside my View, since it is pure RMI, I think that is the problem, so how could I "properly" instantiate it? Any clues? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961826#3961826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961826 From do-not-reply at jboss.com Mon Jul 31 07:10:05 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 31 Jul 2006 07:10:05 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - problem with Starting conversations with GET requests Message-ID: <28924597.1154344205756.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I tried to invoke a method in a session bean when rendering a page. the problem is when the page is rendered by using a newly created browser, the method can't be invoked and the following exception is thrown. 10:05:46,706 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | | javax.faces.el.EvaluationException: Exception while invoking expression #{login.test} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.jboss.seam.core.Pages.callAction(Pages.java:161) | at org.jboss.seam.core.Pages.callAction(Pages.java:143) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) | | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManage | r.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base | Protocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.ejb.EJBException: org.jboss.seam.RequiredException: In attribute requires value for | component: login.reguser | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:6 | 2) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181) | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79) | at $Proxy128.chagen(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:585) | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129) | ... 29 more | Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: login.reguse | r | at org.jboss.seam.Component.getInstanceToInject(Component.java:1382) | at org.jboss.seam.Component.injectFields(Component.java:1024) | at org.jboss.seam.Component.inject(Component.java:795) | at org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java | :30) | at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(Conversati | onInterceptor.java:82) | at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProc | essInterceptor.java:60) | at sun.reflect.GeneratedMethodAccessor106.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39) | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:13) | at org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:90) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:60) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:73) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:6 | 3) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityMa | nagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | ... 49 more the method can be invoked when the page is rendering by a page action within the same page with no exceptions. the method can be invoked when the page is rendering by a S Link within another page with the following exceptions: the S Link: | the exceptions: | 10:39:22,505 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) afterPhase | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:48) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:87) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager | .java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202 | ) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base | Protocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) I defined a page action in the pages.xml like this: | | | the session bean where the method and the same page page acction is defined: package src.reg.server; | | import javax.ejb.Stateless; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Out; | import org.jboss.seam.contexts.Contexts; | import org.jboss.seam.core.FacesMessages; | | @Stateless | @Name("login") | public class LoginAction implements Login | { | | @In @Out | private Reguser reguser; | | @PersistenceContext | private EntityManager em; | | private String rnd; | | | public String test() | { | int i=0 | rnd = i; | i++; | | System.out.println("the next rnd is:"+rnd); | FacesMessages.instance().add(rnd); | return rnd; | } | | public String login() | { | Reguser user; | user = em.find(Reguser.class, reguser.getUid()); | System.out.println("the current rnd is:"+rnd); | if ( user==null ) | { | FacesMessages.instance().add("USER ID wrong"); | return "login"; | } | else | { | return "main" | } | } | | } the login page: login.xhtml | | | | login page | | | | |
    | |
    | |
    |
    |

    seam

    |
    |
    |
    | |
    |
    | | any suggestions? thanks a lot Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961827#3961827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961827 From do-not-reply at jboss.com Mon Jul 31 07:17:33 2006 From: do-not-reply at jboss.com (balellu) Date: Mon, 31 Jul 2006 07:17:33 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - JBoss / Hibernate / BMP (CMT) / DB2 / JDBC - DB locks are no Message-ID: <9475212.1154344653765.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using >>>JBoss-3.2.5 >>>Hibernate-2.0.3 >>>BMP with CMT EJB's - Using requires transaction attribute. EJB's use Hibernate >>>DB2-8.1.7 I have a situation where Hibernate is used to create insert there records into DB and creating three entity beans for each record. Once the above process is complete i am invoking a JDBC call to get some information from the same table where hibernate has inserted three new records. Once i try to execute the query through JDBC, app just hangs. When i monitor the connections in the DB2 i can see lock waiting and when i kill the connection that is creating the lock then app resumes with exception. Now i am trying to figure out where the problem could be? Can some one please help me with this. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961829#3961829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961829 From do-not-reply at jboss.com Mon Jul 31 07:19:51 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 07:19:51 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: notification about deploy/undeploy of aspects Message-ID: <24065964.1154344791984.JavaMail.jboss@colo-br-02.atl.jboss.com> We do not allow instrumentation of the JBoss AOP classes. If you are running in JBoss, an option right now might be to subclass the AspectDeployer and then to parse the xml file being undeployed yourself to generate the notifications (See AspectXmlLoader), before/after doing the real work from the AspectDeployer? You would need to update the jboss-aop.deployer/META-INF/jboss-service.xml file to point to your subclass for the AspectDeployer service View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961830#3961830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961830 From do-not-reply at jboss.com Mon Jul 31 07:24:24 2006 From: do-not-reply at jboss.com (mwoelke) Date: Mon, 31 Jul 2006 07:24:24 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - JNLP classpath Message-ID: <1308858.1154345064151.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Ive developed an ejb3 application with a swing client. i want to deploy this client via java webstart. therefore i created a war archive containing a jar with all my classes needed by the client. The problem is the client needs jbossall-client.jar as well. Can someone tell me how to include this jar to the jnlp classpath without actually packaging it with the client. there has to be some way of referencing the jar located in /client. Please help. Thanx in advance. Milan W?lke View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961833#3961833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961833 From do-not-reply at jboss.com Mon Jul 31 07:26:16 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 31 Jul 2006 07:26:16 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: newbie: Deploying WebService to JBoss 4.0.4 Message-ID: <26491596.1154345176816.JavaMail.jboss@colo-br-02.atl.jboss.com> Look at JBossWS, you can dowload on it some example and tutorial call jbossws-samples-XXX.zip I don't know there are your HelloWorldWS but there a lot of example (with code source) of Jboss Web Service. Regards, Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961834#3961834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961834 From do-not-reply at jboss.com Mon Jul 31 07:34:01 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 31 Jul 2006 07:34:01 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: JNLP classpath Message-ID: <9759096.1154345641712.JavaMail.jboss@colo-br-02.atl.jboss.com> AS you probably know your jnlp file you can put some entry for your classpath like this : | ... | | | | | ... | | Your jar entry (./lib/. here) are depends of your jnlp codebase | /client because this is (and it's better) non accessible via http. So put your jbossall-client.jar on http://XXXX:8080/YYYY/lib and it's should work. Regards, Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961837#3961837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961837 From do-not-reply at jboss.com Mon Jul 31 07:35:01 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 07:35:01 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: sar will not deploy with LoadTimeWeaving (javaagent:plug Message-ID: <5426803.1154345701931.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks like a problem with native methods, we do not check for those at the moment. I've added a JIRA issue http://jira.jboss.com/jira/browse/JBAOP-279 to be able to intercept those. In the meantime I think a workaround would be to use the following in your pointcuts | execution(!native * org.acme.ClassWNative->*(..)) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961838#3961838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961838 From do-not-reply at jboss.com Mon Jul 31 07:35:30 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 07:35:30 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: ConstructorInvocation and ConstructionInvocation? Message-ID: <5873101.1154345730605.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, the difference is in the weaving | excecution(org.blah.Blah->new(int)) | becomes a ConstructorInvocation | excecution(org.blah.Blah->new(boolean)) | becomes a ConstructionInvocation Once we weave | class Blah{ | Blah(int i){ | //Normal code | } | | Blah(boolean b){ | //Normal code | } | } | | class Blah{ | | static Blah_new(int i){ | //Hooks for AOP creating a ConstructorInvocation, eventually calling new Blah(i) | } | | Blah(int i){ | //Normal code | } | | Blah(boolean b){ | //Normal code | | //Hooks for AOP with a ConstructionInvocation | } | } | For ConstructorInvocation to work we need to make sure that everyone who calls new Blah(int), calls Blah.Blah_new(int) instead. So ConstructionInvocation can be more efficient, but is triggered at a slightly different time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961839#3961839 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961839 From do-not-reply at jboss.com Mon Jul 31 07:36:47 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 07:36:47 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: how to do tracing of advices Message-ID: <304660.1154345807965.JavaMail.jboss@colo-br-02.atl.jboss.com> Within only works in conjunction with caller pointcuts (which you should not use unless you have to! i.e. you re advising system classes). Also, in some cases you might want to allow for weaving of the aspects. One way to make sure that your aspect is not woven is by implementing the org.jboss.aop.instrument.Untransformable marker interface. This will avoid the recursion View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961840#3961840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961840 From do-not-reply at jboss.com Mon Jul 31 07:37:12 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 07:37:12 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Applying security aspects using metadata-aop.xml Message-ID: <26942985.1154345832448.JavaMail.jboss@colo-br-02.atl.jboss.com> When using the annotation compiler for this the preferred mechanism is to compile the annotations into the bytecode. Alternatively, try advisor.getClassMetaData() to try to get hold of the metadata that way. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961841#3961841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961841 From do-not-reply at jboss.com Mon Jul 31 07:39:54 2006 From: do-not-reply at jboss.com (l.tournayre) Date: Mon, 31 Jul 2006 07:39:54 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Encoding in Hypersonic database Message-ID: <1000793.1154345994073.JavaMail.jboss@colo-br-02.atl.jboss.com> Perhaps you could search on your data-source file (on deploy directory, look hsqldb-ds.xml for the default datasource used by jboss, but it's better to use your own datasource, for some data-source example see on docs/examples/jca). Regards, Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961842#3961842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961842 From do-not-reply at jboss.com Mon Jul 31 07:42:01 2006 From: do-not-reply at jboss.com (atamur) Date: Mon, 31 Jul 2006 07:42:01 -0400 (EDT) Subject: [jboss-user] [Security & JAAS/JBoss] - Re: Using j_security_check with a custom Principal , a custo Message-ID: <10083764.1154346121993.JavaMail.jboss@colo-br-02.atl.jboss.com> if someone is also interested in this topic, you should look at http://wiki.jboss.org/wiki/Wiki.jsp?page=AccessingServletRequestForAuthentication for WEB_REQUEST_KEY =) PS great thanks to sohil.shah your reply was of a great help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961843#3961843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961843 From do-not-reply at jboss.com Mon Jul 31 07:56:44 2006 From: do-not-reply at jboss.com (thehunt) Date: Mon, 31 Jul 2006 07:56:44 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Register Schedulable events to the ScheduleManager Mbean thr Message-ID: <22782286.1154347004354.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I am relatively new to Jboss and I am making a huge effort the last month to get to now everything for a university project. I would like your help regarding the problem below : I want to use the Jboss Scheduler as Singleton to register events in a clustered setup. These events will place messages in a Queue which is going to feed the whole cluster. So the basic concept is 1 Scheduling Service - 1 queue - Many schedule executing instances. My first problem is that I want to register new Schedules dynamically when an RMI client for example calls a Session Bean. This means I have to control the SchedulerManager Mbean programatically but every doc I have read shows how i can xml describe the SchedulerProvider so that the schedules are registered on jboss startup. I guess there is an Mbean controlling API. Could you link me with some info plz? thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961846#3961846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961846 From do-not-reply at jboss.com Mon Jul 31 07:57:00 2006 From: do-not-reply at jboss.com (KVAK_TNT) Date: Mon, 31 Jul 2006 07:57:00 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM HowTo add User Group Swimlane to DB? Message-ID: <3314764.1154347020393.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! actually I try to develop a small processengine in jBPM. Some stuff is allready done and working. But now I wanted to add user (s), group (s), swimlane (s) to the jBPM Persistance (DB) but I cannot find any add-function or any setter to do so? I use jBPM 3.1.1 and also jBPM identity 3.1.1 Do I have to add them manually in hard SQL? I'm also using Hibernate for mapping and for testing I'm using HSQL (Hibersonic in Memory Database) like in the example. Thanks in advance for your help! Greetings Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961847#3961847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961847 From do-not-reply at jboss.com Mon Jul 31 08:37:53 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 08:37:53 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Register Schedulable events to the ScheduleManager Mbean Message-ID: <20085221.1154349473640.JavaMail.jboss@colo-br-02.atl.jboss.com> If i understand your question right, what you are looking for is a way to get control of the Scheduler MBean. If that's the case, then you will have to get hold of the MBeanServer first, as mentioned at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIGetAReferenceToTheMBeanServer And once you get the MBeanServer, you can use any of the APIs provided by the MBeanServer: http://java.sun.com/j2ee/1.4/docs/api/javax/management/MBeanServer.html If you need information about the APIs provided by the SchedulerMBean in jboss, then here's the link: http://docs.jboss.org/jbossas/javadoc/3.2.7/varia/org/jboss/varia/scheduler/SchedulerMBean.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961850#3961850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961850 From do-not-reply at jboss.com Mon Jul 31 08:46:41 2006 From: do-not-reply at jboss.com (thehunt) Date: Mon, 31 Jul 2006 08:46:41 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Register Schedulable events to the ScheduleManager Mbean Message-ID: <32147367.1154350001780.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes u understood just fine. thx alot for the info. Really appreciate it. I guess that the right spot to place the code accessing the MBean must be a POJO class which will be used in my Session Beans? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961851#3961851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961851 From do-not-reply at jboss.com Mon Jul 31 08:49:52 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 08:49:52 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Register Schedulable events to the ScheduleManager Mbean Message-ID: <1676782.1154350192682.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess that the right spot to place the code accessing the MBean must be a POJO class which will be used in my Session Beans? Yes, that would be fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961852#3961852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961852 From do-not-reply at jboss.com Mon Jul 31 08:50:50 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 08:50:50 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: Register Schedulable events to the ScheduleManager Mbean Message-ID: <2453877.1154350250443.JavaMail.jboss@colo-br-02.atl.jboss.com> Oops, used the Code button instead of Quote :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961853#3961853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961853 From do-not-reply at jboss.com Mon Jul 31 08:51:29 2006 From: do-not-reply at jboss.com (Dens) Date: Mon, 31 Jul 2006 08:51:29 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Data Access Layer / No entity Message-ID: <19185852.1154350289602.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, A session EJB acts as a facade in front of a data accass layer. this layer is implemented as pure JDBC and Java code. how to be sure that all the database modification in my data access layer will be associated with the transaction demarcated in my session ejb ? how to get the db' connexion ? the jdbc driver must support XA whereas the transaction is local ? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961854#3961854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961854 From do-not-reply at jboss.com Mon Jul 31 09:13:42 2006 From: do-not-reply at jboss.com (luowp) Date: Mon, 31 Jul 2006 09:13:42 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - How to dynamically create fork's transitions Message-ID: <1065978.1154351622125.JavaMail.jboss@colo-br-02.atl.jboss.com> HI all, I have a requirement to use fork. In one situation, I need have three tasks follow, but in another situation, it just have two tasks. How to do that? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961855#3961855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961855 From do-not-reply at jboss.com Mon Jul 31 09:17:01 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 09:17:01 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Removing a MessageListener doesn't remove its associated Message-ID: <32392602.1154351821809.JavaMail.jboss@colo-br-02.atl.jboss.com> I have found a resource leak which seems which is more than likely causing the problem you are seeing. The session maintains it's own QueuedExecutor which maintains a single thread, however on session close the executor wasn't being explicitly shutdown causing it's thread to remain running. After shutting down explicitly, I am not seeing an increase in threads on the client side as more sessions are created. This fix will be in RC4, which will be out very soon (a couple of days hopefully). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961856#3961856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961856 From do-not-reply at jboss.com Mon Jul 31 09:17:21 2006 From: do-not-reply at jboss.com (sbalmos) Date: Mon, 31 Jul 2006 09:17:21 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Using entities with collections? Message-ID: <20050495.1154351841569.JavaMail.jboss@colo-br-02.atl.jboss.com> Groan... Nothing like rewriting all those getters/setters, the annotations, etc. :) I'm guessing there's no real difference in using property vs field annotations. What's worse is that some of my entities use Map-type collections, which there is no support at all for (I thought SOAP had some key-value type primitive???). I have no idea how I am going to fix that. I thought about writing XmlAdapters, like in http://weblogs.java.net/blog/kohsuke/archive/2005/04/xmladapter_in_j.html , but I just tried that. The WSDL generator doesn't pick up on the adapter, and continues to almost-silently ignore the Map. Ideas for that one would be even more appreciated. Thanks! --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961857#3961857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961857 From do-not-reply at jboss.com Mon Jul 31 09:28:41 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 09:28:41 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - problem trying to deploy a simple helloworldejb.jar Message-ID: <6272205.1154352521543.JavaMail.jboss@colo-br-02.atl.jboss.com> Whenever I triy to deploy my helloworldejb.jar, i get the following exception - I have looked everywhere in the forum and out of forum but cannot figure out what the problem is. If someone can help me I will appreciate it. Right after the error I have also pasted the contents of my ejb-jar.xml and jboss.xml 09:20:24,239 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. 2.3/server/default/deploy/HelloWorldEJB.jar org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile d, see above for error messages. at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea nDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:476) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:191) contents of ejb-jar.xml HelloWorldEJB Hello examples.HelloHome examples.Hello examples.HelloBean Stateless Container contents of jboss.xml Hello ejb/Hello View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961858#3961858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961858 From do-not-reply at jboss.com Mon Jul 31 09:33:56 2006 From: do-not-reply at jboss.com (thehunt) Date: Mon, 31 Jul 2006 09:33:56 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Reference to MBeanServer is local? Message-ID: <29680688.1154352836883.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I want to control an MBean service through its API. This Service will be either the JMX Timer or the JBoss Scheduler. To control it, I ll have to access it through the MBeanServer. In a clustered environment where I have declared the service to run as singleton I am gonna have the service running on one node and replicating its state for failover on the others. Here the problem turns up. An RMI client contacts a node of the cluster through a Session EB willing to register a new task to the scheduler. The session EJB resides on a random node not necessarily the master node (regarding the singleton). So if I just get the MBeanServer reference and next the Scheduler Mbean reference as described here http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanAnEJBCallAnMBean wont I come up with local references actually? How can I deal with this problem? The only solution I ve considered until now is to find a way to bind the running (singleton) Mbean reference to the cluster wide JNDI tree but this in turn brings a bunch of new problems. thx in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961859#3961859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961859 From do-not-reply at jboss.com Mon Jul 31 09:35:27 2006 From: do-not-reply at jboss.com (sjmenden) Date: Mon, 31 Jul 2006 09:35:27 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Getting IllegalStateException: No data type for node:... Message-ID: <13398860.1154352927336.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks a ton. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961860#3961860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961860 From do-not-reply at jboss.com Mon Jul 31 09:39:20 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 09:39:20 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <24140377.1154353160237.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. Post the entire stack trace that you are seeing. Also, post the contents of your ejb-jar.xml and jboss.xml since they did not show up properly the last time. Make sure you wrap the contents in the Code tags(use the Code button, which is provided above while posting) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961861#3961861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961861 From do-not-reply at jboss.com Mon Jul 31 09:41:28 2006 From: do-not-reply at jboss.com (thehunt) Date: Mon, 31 Jul 2006 09:41:28 -0400 (EDT) Subject: [jboss-user] [Clustering/JBoss] - Re: Reference to MBeanServer is local? Message-ID: <10080560.1154353288169.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok sorry for my haste. Just noticed markfrench's post below. I guess it touches the same problem. I ll try the HA-JNDI approach and let you know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961862#3961862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961862 From do-not-reply at jboss.com Mon Jul 31 09:43:02 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 31 Jul 2006 09:43:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <6062848.1154353382748.JavaMail.jboss@colo-br-02.atl.jboss.com> Add an action handler on the fork node and do whatever you want to do in the handler. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961863#3961863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961863 From do-not-reply at jboss.com Mon Jul 31 09:43:09 2006 From: do-not-reply at jboss.com (ybh6336) Date: Mon, 31 Jul 2006 09:43:09 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS4EE - Error while generating WSDL and jaxrpc mapping Message-ID: <7285720.1154353389334.JavaMail.jboss@colo-br-02.atl.jboss.com> Apparently for JWSDP, the command needs to be issued as follows: | wscompile -cp "C:\temp\lib\client.jar;C:\jboss-4.0.2\server\all\lib\jboss-j2ee.jar" -gen:server -f:rpc | literal -mapping jaxrpc-mapping.xml config.xml | (Notice the quotes around the CLASSPATH) Hope this helps someone else. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961864#3961864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961864 From do-not-reply at jboss.com Mon Jul 31 09:43:53 2006 From: do-not-reply at jboss.com (onizukanne) Date: Mon, 31 Jul 2006 09:43:53 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <28606499.1154353433061.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks j Would revert once I've reviewed the stack trace as advised View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961865#3961865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961865 From do-not-reply at jboss.com Mon Jul 31 09:46:20 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 31 Jul 2006 09:46:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <1042749.1154353580922.JavaMail.jboss@colo-br-02.atl.jboss.com> Decision node to two separate forks. The first fork would go to each of the three tasks. The second fork would go to only two of them. All three of the tasks would go to the single join. Something like this | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961866#3961866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961866 From do-not-reply at jboss.com Mon Jul 31 09:50:36 2006 From: do-not-reply at jboss.com (bezdomny) Date: Mon, 31 Jul 2006 09:50:36 -0400 (EDT) Subject: [jboss-user] [Tomcat, HTTPD, Servlets & JSP] - bean synchronization question Message-ID: <23105841.1154353836033.JavaMail.jboss@colo-br-02.atl.jboss.com> I know that the jdk implements synchronization is a recursive way, but I need to clear up a burning question in my mind. Lets say I have a bean with a synchronized public getData() method. This method calls a private method called getDataFromDB() that uses the standard DataSource pattern to get data from a db to populate instance variables. Since I synchronized getData(), do I also need to synchronize getDataFromDB()? The scope of this bean is "request" when called from a jsp. Thanks and sorry for the dumb question. B View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961867#3961867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961867 From do-not-reply at jboss.com Mon Jul 31 09:50:41 2006 From: do-not-reply at jboss.com (newbie007) Date: Mon, 31 Jul 2006 09:50:41 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM HowTo add User Group Swimlane to DB? Message-ID: <655122.1154353841189.JavaMail.jboss@colo-br-02.atl.jboss.com> You can add the user etc eigher by using the SQL or by using the hibernate session (You should be able to get the session from the jbpm context or configuration). Use .save(user) if you are using hibernate session. make sure you populate the user object before saving. Also please make sure you follow the correct order for inserting (if there is any foreign key reference, you will have to insert the record in the other table first). Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961868#3961868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961868 From do-not-reply at jboss.com Mon Jul 31 09:50:54 2006 From: do-not-reply at jboss.com (bobunny) Date: Mon, 31 Jul 2006 09:50:54 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: [JBOSS 4] Pb Schedulers Message-ID: <33275232.1154353854607.JavaMail.jboss@colo-br-02.atl.jboss.com> For informtion, I found this warning several times : * ATTENTION: The scheduler instance only allows to run one schedule at a time. * Therefore when you want to run two schedules create to instances with this * MBean. Suggested Object Name for the MBean are: * :service=Scheduler,schedule= * This way you should not run into a name conflict. So i tried to apply this recommandation, and changed my configuration file into something like this : | | true | jpea.dataimport.crest.CrestFileImporter | import, crest_(cas|dbv)_.+\.csv$, DataimportPool, DEV | java.lang.String, java.lang.String, java.lang.String, java.lang.String | 0 | 300000 | -1 | | instead of | | true | jpea.dataimport.crest.CrestFileImporter | import, crest_(cas|dbv)_.+\.csv$, DataimportPool, DEV | java.lang.String, java.lang.String, java.lang.String, java.lang.String | 0 | 300000 | -1 | | But this change has no success. Then I also tried to allocate a different Timer for each scheduler with a dependance like below : | | true | jpea.dataimport.crest.CrestFileImporter | import, crest_(cas|dbv)_.+\.csv$, DataimportPool, DEV | java.lang.String, java.lang.String, java.lang.String, java.lang.String | 0 | 300000 | -1 | | | | | | true | jpea.dataimport.triparty.bony.BonyFileImporter | import, bony_(i|d)_.+\.txt$, DataimportPool, DEV | java.lang.String, java.lang.String, java.lang.String, java.lang.String | 0 | 300000 | -1 | | | | | | That didn't change anything... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961869#3961869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961869 From do-not-reply at jboss.com Mon Jul 31 09:54:42 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 09:54:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <5237545.1154354082426.JavaMail.jboss@colo-br-02.atl.jboss.com> 09:04:17,649 INFO [SARDeployer] Started jboss.system:service=ServiceDeployer | 09:04:17,649 INFO [Server] Core system initialized | 09:04:17,659 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss | -3.2.3/server/default/conf/jboss-service.xml | 09:04:20,193 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour | ce:log4j.xml | 09:04:25,721 INFO [STDOUT] Apache Tomcat/4.1.29 | 09:04:26,843 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on port 8080 | 09:04:26,873 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on port 8080 | 09:04:27,103 INFO [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:8009 | 09:04:27,123 INFO [JkMain] Jk running ID=0 time=0/80 config=null | 09:20:24,239 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.3/server/default/deploy/HelloWorldEJB.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile | d, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea | nDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:302) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:476) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | run(AbstractDeploymentScanner.java:191) Contents of my ejb-jar.xml | | | | HelloWorldEJB | | | Hello | examples.HelloHome | examples.Hello | examples.HelloBean | Stateless | Container | | | contents of my jboss.xml | | | | | | | | | | Hello | ejb/Hello | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961870#3961870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961870 From do-not-reply at jboss.com Mon Jul 31 09:54:49 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Mon, 31 Jul 2006 09:54:49 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <7444692.1154354089122.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you Ales for your comments and suggestions. I followed your advise and tried to update my JBoss 4.0.4 GA and run it with your Spring integration solution. Unfortunately, my experience in this endeavor is mainly negative. Firstly, I tried to install on my existing JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) jboss-EJB-3.0_RC8-FD. Downloaded jboss-EJB-3.0_RC8-FD.zip. Not good. The problem - according to accompanying INSTALL.html there should be client jars (fairly reasonable attitude): | 15. Copy jboss-ejb3-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client | 17. Copy hibernate-client.jar from the lib/ directory of the distribution to jboss-4.0.x/client | etc. | Here's the content of the RC8-FD lib directory: | ./ejb3-entity-cache-service.xml | ./hibernate-entitymanager.jar | ./ejb3-interceptors-aop.xml | ./ejb3-persistence.jar | ./quartz-ra.rar | ./hibernate-annotations.jar | ./ejb3.deployer | ./ejb3.deployer/jboss-ejb3x.jar | ./ejb3.deployer/jboss-ejb3.jar | ./ejb3.deployer/META-INF | ./ejb3.deployer/META-INF/persistence.properties | ./ejb3.deployer/META-INF/jboss-service.xml | ./ejb3.deployer/jboss-annotations-ejb3.jar | ./quartz-all-1.5.2.jar | ./jboss-remoting.jar | ./hibernate3.jar | ./ejb3-clustered-sfsbcache-service.xml | ./jboss-aop-jdk50.deployer | ./jboss-aop-jdk50.deployer/trove.jar | ./jboss-aop-jdk50.deployer/base-aop.xml | ./jboss-aop-jdk50.deployer/META-INF | ./jboss-aop-jdk50.deployer/META-INF/jboss-service.xml | ./jboss-aop-jdk50.deployer/jboss-aop-jdk50.jar | ./jboss-aop-jdk50.deployer/jboss-aspect-library-jdk50.jar | Well, I do not see any client jar here... and without proper client jars my attempts to communicate with the server using standalone client are doomed. I need client and I need RMI. Unable to install jboss-EJB-3.0_RC8-FD.zip (client jars problem) I decided to download the whole shebang hoping that this ejb update might be incorporated (wrong call!) with the newest version of the JBoss 4.0.4 http://umn.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.4.GA-Patch1-installer.jar Installed ejb3 version domain all, installed your jboss-spring-jdk5.deployer and tried with my test application. Yak! This patched server throws | 08:05:25,377 INFO [[/web]] Loading Spring root WebApplicationContext | 08:05:25,597 INFO [CollectionFactory] JDK 1.4+ collections available | 08:05:25,874 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] | 08:05:26,427 INFO [DefaultNamespaceHandlerResolver] Ignoring handler [org.springframework.jndi.config.JndiNamespaceHandler]: class not found | 08:05:26,492 INFO [DefaultNamespaceHandlerResolver] Ignoring handler [org.springframework.web.servlet.config.MvcNamespaceHandler]: class not found | 08:05:26,623 INFO [XmlWebApplicationContext] Bean factory for application context [Root WebApplicationContext]: org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [facade]; root of BeanFactory hierarchy | 08:05:26,727 INFO [XmlWebApplicationContext] 1 beans defined in application context [Root WebApplicationContext] | 08:05:26,770 INFO [XmlWebApplicationContext] Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource at 937e20] | 08:05:26,779 INFO [XmlWebApplicationContext] Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster at e229be] | 08:05:26,824 INFO [UiApplicationContextUtils] Unable to locate ThemeSource with name 'themeSource': using default [org.springframework.ui.context.support.ResourceBundleThemeSource at 10a063d] | 08:05:26,831 INFO [DefaultListableBeanFactory] Pre-instantiating singletons in factory [org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [facade]; root of BeanFactory hierarchy] | 08:05:27,179 ERROR [ContextLoader] Context initialization failed | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'facade' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: jspring not bound | javax.naming.NameNotFoundException: jspring 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 org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123) | at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85) | at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121) | at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:71) | at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:106) | at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:125)... | | 08:05:27,197 ERROR [[/web]] 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 'facade' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: jspring not bound | javax.naming.NameNotFoundException: jspring 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) | Classic bad behavior of an application server towards Spring. Server loads web part of the app first and after that - is trying to load EJBs. I tried to rectify this. My usual declaration in applicationContext.xml for local facade looks like this. | | | | I tried to to force the factory bean to generate a proxy object to stand in for the real JNDI object and disabled lookupOnStartup. New version: | | | | | | Rebuild, reran. Nada! The same exception. For me it's no show, so I decided to revert back to my old, original JBoss 4.0.4 which does not recognize SpringLifecycleInterceptor but works well with my version of the same thing extending SpringPassivationInterceptor. This my original installation works good with Spring - first it loads EJBs and only then - web layer. Yet not all that good. On my web layer I have two very simple jsps with JSTL - index.jsp and home.jsp. index - | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | | home.jsp has the following very simple JSTL statements: | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ... |
      | |
    • ${special.departFrom.name} - ${special.arriveAt.name} from ${special.cost}
    • |
      |
    | The problem is with jsp generation JBoss 4.0.4 on my machine generates index.jsp correctly transforming jstl into something like this | _jspx_th_c_redirect_0.setPageContext(_jspx_page_context); | _jspx_th_c_redirect_0.setParent(null); | _jspx_th_c_redirect_0.setUrl("/home.htm"); | int _jspx_eval_c_redirect_0 = _jspx_th_c_redirect_0.doStartTag(); | if (_jspx_th_c_redirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) { | _jspx_tagPool_c_redirect_url_nobody.reuse(_jspx_th_c_redirect_0); | return true; | } | _jspx_tagPool_c_redirect_url_nobody.reuse(_jspx_th_c_redirect_0); | return false; | But in case with home.jsp it fails to process forEach. | do { | out.write("\n"); | out.write("\t\t
  • "); | out.write("${special.departFrom.name}"); | out.write(' '); | out.write('-'); | out.write(' '); | out.write("${special.arriveAt.name}"); | out.write(" from\n"); | out.write("\t\t$"); | out.write("${special.cost}"); | out.write("
  • \n"); | out.write("\t"); | int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody(); | if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN) | and on generated html I am getting |
    • ${special.departFrom.name} - ${special.arriveAt.name} from ${special.cost}
    • | |
    | Tried the same pages on JBoss 4.0.2 and Sun AS 8 - no problem - pages properly generated. I noticed that in your sample application you don't use JSTL. Why is that? Is this because JBoss 4.0.4x way of handling of JSTL statements kinda 'patchy'? It's also strange that 4.0.4 does not have usual web-console - only jmx, at least on my installations. Well, strange, strange... So, for now I have a disfunctional web layer (controllers working fine though) and properly working facade, service, dao, EJB3 persistence on my old JBoss 4.0.4 - not patched. Any ideas are highly appreciated ;) Cheers, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961871#3961871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961871 From do-not-reply at jboss.com Mon Jul 31 10:03:53 2006 From: do-not-reply at jboss.com (KVAK_TNT) Date: Mon, 31 Jul 2006 10:03:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM HowTo add User Group Swimlane to DB? Message-ID: <19246599.1154354633140.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the quick reply. I will try to. I have found another info about this "problem" identity.hbm.xml Does anyone know something about the use of this file? I haven't found anything in the web but I have found another post with this file: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76736 Greetings Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961872#3961872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961872 From do-not-reply at jboss.com Mon Jul 31 10:04:28 2006 From: do-not-reply at jboss.com (mrohad) Date: Mon, 31 Jul 2006 10:04:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - seam tag libs question Message-ID: <8035578.1154354668089.JavaMail.jboss@colo-br-02.atl.jboss.com> i'm new to seam just read and understood the registration example. I wonder how can I change any of the tag libs look and feel.. for example the Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961873#3961873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961873 From do-not-reply at jboss.com Mon Jul 31 10:06:13 2006 From: do-not-reply at jboss.com (KVAK_TNT) Date: Mon, 31 Jul 2006 10:06:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation Message-ID: <3343280.1154354774000.JavaMail.jboss@colo-br-02.atl.jboss.com> hi mennen! can you tell me who I have to config a identity.hbm.xml to insert users and groups into the database? Do you have a special code for it? Would be nice if you could answer... :-) Greetings Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961874#3961874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961874 From do-not-reply at jboss.com Mon Jul 31 10:08:53 2006 From: do-not-reply at jboss.com (KVAK_TNT) Date: Mon, 31 Jul 2006 10:08:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bug in MEMBERSHIP creation Message-ID: <8428945.1154354934004.JavaMail.jboss@colo-br-02.atl.jboss.com> I think I have found the file.... its called only identity.xml ... Greetings Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961875#3961875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961875 From do-not-reply at jboss.com Mon Jul 31 10:12:42 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 31 Jul 2006 10:12:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam tag libs question Message-ID: <31598942.1154355162082.JavaMail.jboss@colo-br-02.atl.jboss.com> You can change the surrounding CSS classes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961876#3961876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961876 From do-not-reply at jboss.com Mon Jul 31 10:14:05 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 10:14:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <9754369.1154355245945.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : 09:20:24,239 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3. | 2.3/server/default/deploy/HelloWorldEJB.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. Hmm... Strange there are no errors messages above this stacktrace. Traverse to C:/jboss-3.2.3/server/default/deploy/ directory from the command prompt and run the following command and post the output: jar -tf HelloWorldEJB.jar This will show the contents of the jar file. Just wanted to make sure that the packaging is proper View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961877#3961877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961877 From do-not-reply at jboss.com Mon Jul 31 10:16:56 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Mon, 31 Jul 2006 10:16:56 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <17994162.1154355416512.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, I guess I will create the session bean facade. But I still have a few questions to really make it clear. If I leave the datasource in the local namespace with jdbc/MySqlDS as JNDI name, I can't access it using java:comp/env/jdbc/MySqlDS; this throws an error that says: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: MySqlDS not bound] Why so? Forgive me if I'm not understanding the basic point here. But I'd really like to know :) What is right syntax to access it? And so, does that mean anything in the global datasource cannot be accessed outside the app server? Or is it only for datasources? Thanks a bunch! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961878#3961878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961878 From do-not-reply at jboss.com Mon Jul 31 10:18:59 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 10:18:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <22363449.1154355539965.JavaMail.jboss@colo-br-02.atl.jboss.com> Here are the contents of my jar file..as asked by you ..i ran the jar -tf command META-INF/MANIFEST.MF | examples/HelloBean.class | META-INF/ejb-jar.xml | examples/HelloHome.class | examples/Hello.class | examples/ | META-INF/jboss.xml | / View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961879#3961879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961879 From do-not-reply at jboss.com Mon Jul 31 10:29:40 2006 From: do-not-reply at jboss.com (asauvage) Date: Mon, 31 Jul 2006 10:29:40 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <31790463.1154356180731.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, To expand on the previous question, is there a way to use jBPM to support the "Multiple Instances Requiring Synchronisation" workflow pattern without having to define all the possible numbers of multiple instances in the PDL file? (In my case, this number of instances can only be known at run-time and can vary greatly from a few to hundreds). Many thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961882#3961882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961882 From do-not-reply at jboss.com Mon Jul 31 10:30:18 2006 From: do-not-reply at jboss.com (mrohad) Date: Mon, 31 Jul 2006 10:30:18 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam tag libs question Message-ID: <30344125.1154356218283.JavaMail.jboss@colo-br-02.atl.jboss.com> what about the way it works? lets say i want to make this msg as a pop up and not just a text in my screen? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961883#3961883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961883 From do-not-reply at jboss.com Mon Jul 31 10:33:26 2006 From: do-not-reply at jboss.com (jedavie) Date: Mon, 31 Jul 2006 10:33:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Null Pointer when attempting update on newly created detache Message-ID: <477155.1154356406467.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am having problems with the EJB3.0 concept of being able to update and merge a detached instance of an entity bean. I successfully call the create() mathod, which is really a wrapper for em.persist (entity). However, immediately after, I am returned a null pointer when I attempt to find the newly created entity with a dao.find(pk), which is really a wrapper for em.find(entity class,pk). What would cause this? I can see the entity entry in the database using the DatabseExplorer, and the EJB docs state that I should be able to call up an entity out of the database for a detached update and merge? I am using jboss-EJB-3.0_RC5-PFD, JBoss 4.0.4.GA, and an Oracle 10G database. Thanks, Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961884#3961884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961884 From do-not-reply at jboss.com Mon Jul 31 10:33:38 2006 From: do-not-reply at jboss.com (kirdat_kishore) Date: Mon, 31 Jul 2006 10:33:38 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Configuring interceptors for stateless session beans Message-ID: <6061175.1154356418289.JavaMail.jboss@colo-br-02.atl.jboss.com> As I understand the ejb3-interceptors-aop.xml defines the set of interceptors for ejb3. I would like to understand what functionality does each one of them provide. Also, is it possible to disable any interceptors by simply removing them from the element list under element? For ex. I have following fragment in my ejb3-interceptors-aop.xml. | . | . | | | | | | | ... | | .... | | Can I remove AsynchronousInterceptor simply by commenting out that entry? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961885#3961885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961885 From do-not-reply at jboss.com Mon Jul 31 10:34:36 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 10:34:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <2204745.1154356476568.JavaMail.jboss@colo-br-02.atl.jboss.com> Do I have to do anything with Jndi ? in jboss.xml file i have said that the jndi name is jndi/Hello Do I need to register this anywhere in the Java Naming Directory implementation provided by Jboss or is it done automatically? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961886#3961886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961886 From do-not-reply at jboss.com Mon Jul 31 10:35:31 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 31 Jul 2006 10:35:31 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <5953981.1154356531087.JavaMail.jboss@colo-br-02.atl.jboss.com> The remaing issue is in your jboss-web.xml file you are binding the reference as | | | | jdbc/MySqlDS | javax.sql.DataSource | java:/MySqlDS | | | | Yet, your datasource is bound as | jdbc/MySqlDS | | | | | I would suggest chaning the JNDI name in the *-ds.xml file to be just | | | | | | | MySqlDS | | | | | | | The 'java:' prefix is appended automatically. Changing this, your lookup should work. | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961887#3961887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961887 From do-not-reply at jboss.com Mon Jul 31 10:36:03 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 31 Jul 2006 10:36:03 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Problem with decrementing dates Message-ID: <12215937.1154356563640.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an entity Person with a Birthday (property annotated with @Temporal(TemporalType.DATE)). e.g. John Sixpack, 1976-07-04 There's a JSF file for editing it, and it includes: | | Problem: The input text field shows the wrong date: 1976-07-03 instead of 1976-07-04. For debugging I added the following after the h:inputText | | | and the page now displays: anonymous wrote : [__1976-07-03___] (input field with converter is wrong) | 1976-07-04 (normal output is correct) | 1976-07-03 23:00:00 (output field with converter is wrong) The database clearly says 1976-07-04 (it's a date field without time). But as you can see, the converter subtracts one hour, what results in a birthday one day earlier each time the user saves the edited entry. Well, it looks like a timezone (GMT+1) or summertime/daylight saving time problem, but I don't know what to do or where to start. Did anyone have similar experiences? Or a hint for solving this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961888#3961888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961888 From do-not-reply at jboss.com Mon Jul 31 10:36:10 2006 From: do-not-reply at jboss.com (dlipski) Date: Mon, 31 Jul 2006 10:36:10 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Swimlane in start Message-ID: <23090995.1154356570716.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I want to remeber process initiator and then assign some task only to such person. So I've created some smple process definition: | | | | | | | | | And after invoking this code: | InputStream is = new FileInputStream("processes/orderManagement/processdefinition.xml"); | ProcessDefinition def = ProcessDefinition.parseXmlInputStream(is); | ProcessInstance pi = def.createProcessInstance(); | Token t = pi.getRootToken(); | t.signal(); | I get such log: | [org.jbpm.configuration.ObjectFactoryImpl] - adding object info 'jbpm.mail.address.resolver' | [org.jbpm.jpdl.xml.JpdlXmlReader] - process xml warning: swimlane 'creator' does not have an assignment | [org.jbpm.graph.def.GraphElement] - event 'process-start' on 'ProcessDefinition(orderManagement)' for 'Token(/)' | [org.jbpm.graph.def.GraphElement] - event 'before-signal' on 'StartState(start)' for 'Token(/)' | [org.jbpm.graph.def.GraphElement] - event 'node-leave' on 'StartState(start)' for 'Token(/)' | [org.jbpm.graph.def.GraphElement] - event 'transition' on 'Transition(init)' for 'Token(/)' | What is wrong ? It is very similar to example from documentaion(11.7). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961890#3961890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961890 From do-not-reply at jboss.com Mon Jul 31 10:37:50 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 10:37:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <691171.1154356670352.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Do I need to register this anywhere in the Java Naming Directory implementation provided by Jboss or is it done automatically? You dont have to do anything with that. JBoss will automatically bind your bean to that jndi name. How big is that jar file? If its not huge, mail it to jai_forums2005 at yahoo.co.in. Let me try it at my end. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961891#3961891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961891 From do-not-reply at jboss.com Mon Jul 31 10:39:23 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 10:39:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <5372863.1154356764027.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : How big is that jar file? If its not huge Silly me :-) Shouldn't have asked it since you already posted it contents. Go ahead and mail it to my address. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961892#3961892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961892 From do-not-reply at jboss.com Mon Jul 31 10:40:01 2006 From: do-not-reply at jboss.com (uromahn) Date: Mon, 31 Jul 2006 10:40:01 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Re: Problem with BLOB and Oracle 10g Message-ID: <7301283.1154356801094.JavaMail.jboss@colo-br-02.atl.jboss.com> What JDBC driver are you using? There are several known bugs in some older Oracle JDBC driver with blobs. I suggest to download the latest Oracle JDBC driver. In addition, make sure you have the correct settings for Hibernate, especially for BLOB data types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961893#3961893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961893 From do-not-reply at jboss.com Mon Jul 31 10:41:28 2006 From: do-not-reply at jboss.com (jason_rency) Date: Mon, 31 Jul 2006 10:41:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: problem with Starting conversations with GET requests Message-ID: <25471125.1154356888096.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the problem is because the entity bean reguser is null when seam trying to invoke the method by rediring the page with a new browser. but I still need the @in @out annotation for user login... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961894#3961894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961894 From do-not-reply at jboss.com Mon Jul 31 10:44:23 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 10:44:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <33004472.1154357063222.JavaMail.jboss@colo-br-02.atl.jboss.com> ok cool i am mailing it now... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961896#3961896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961896 From do-not-reply at jboss.com Mon Jul 31 10:45:26 2006 From: do-not-reply at jboss.com (milind0811) Date: Mon, 31 Jul 2006 10:45:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBoss crashes on Fedora Core RH Linux Message-ID: <28750328.1154357126102.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss crashes when started Server.log --------------------- ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /etc/jboss JAVA: /usr/java/j2sdk1.4.2_12/bin/java JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Dprogram.name=run.sh CLASSPATH: /etc/jboss/bin/run.jar:/usr/java/j2sdk1.4.2_12/lib/tools.jar ========================================================================= 05:58:51,253 INFO [Server] Starting JBoss (MX MicroKernel)... 05:58:51,254 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) 05:58:51,256 INFO [Server] Home Dir: /etc/jboss 05:58:51,256 INFO [Server] Home URL: file:/etc/jboss/ 05:58:51,257 INFO [Server] Patch URL: null 05:58:51,257 INFO [Server] Server Name: default 05:58:51,257 INFO [Server] Server Home Dir: /etc/jboss/server/default 05:58:51,258 INFO [Server] Server Home URL: file:/etc/jboss/server/default/ 05:58:51,258 INFO [Server] Server Log Dir: /etc/jboss/server/default/log 05:58:51,258 INFO [Server] Server Temp Dir: /etc/jboss/server/default/tmp 05:58:51,259 INFO [Server] Root Deployment Filename: jboss-service.xml 05:58:51,860 INFO [ServerInfo] Java version: 1.4.2_12,Sun Microsystems Inc. 05:58:51,860 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_12-b03,Sun Microsystems Inc. 05:58:51,860 INFO [ServerInfo] OS-System: Linux 2.6.17-1.2139_FC5,i386 05:58:52,671 INFO [Server] Core system initialized # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb7c121af, pid=9397, tid=2384567200 # # Java VM: Java HotSpot(TM) Server VM (1.4.2_12-b03 mixed mode) # Problematic frame: # V [libjvm.so+0x28f1af] # # An error report file with more information is saved as hs_err_pid9397.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # /etc/jboss/bin/run.sh: line 183: 9397 Aborted "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@" ------------------------------------------------------------------------------------- Error log # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0xb7c121af, pid=9397, tid=2384567200 # # Java VM: Java HotSpot(TM) Server VM (1.4.2_12-b03 mixed mode) # Problematic frame: # V [libjvm.so+0x28f1af] # --------------- T H R E A D --------------- Current thread (0x099039e8): VMThread [id=9398] siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x001ab39c Registers: EAX=0x001ab300, EBX=0xb7fa84a4, ECX=0x8ee87c38, EDX=0xae6d8410 ESP=0x8e218f6c, EBP=0x8e218f84, ESI=0x00000000, EDI=0x00000000 EIP=0xb7c121af, CR2=0x001ab39c, EFLAGS=0x00010246 Top of Stack: (sp=0x8e218f6c) 0x8e218f6c: ae6d8410 b7fa84a4 00000000 eb9b5906 0x8e218f7c: 098b0528 00000000 8e218fac b7c1fae1 0x8e218f8c: 098ae900 098b03e0 8ee87c38 eb9b5906 0x8e218f9c: 8f126908 b7fa84a4 8ee87c38 00000000 0x8e218fac: 8e218fd8 b7bd5bed 098b03e0 8ee87c38 0x8e218fbc: eb9b5906 8f126908 b7fa84a4 8f126908 0x8e218fcc: 8e219110 098aebf4 eb9b5906 8e219008 0x8e218fdc: b7c3ce0d 098aeb50 8ee87c38 8f126908 Instructions: (pc=0xb7c121af) 0xb7c1219f: 00 00 00 8b 4d 10 8b 41 04 8d 50 08 8b 40 08 52 0xb7c121af: 8b 80 9c 00 00 00 ff d0 83 c4 04 85 c0 74 20 8b Stack: [0x8e1a7000,0x8e21a000), sp=0x8e218f6c, free space=455k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x28f1af] V [libjvm.so+0x29cae1] V [libjvm.so+0x252bed] V [libjvm.so+0x2b9e0d] V [libjvm.so+0x411a1e] V [libjvm.so+0x2535ed] V [libjvm.so+0x2905a4] V [libjvm.so+0x2525ad] V [libjvm.so+0x28e72c] V [libjvm.so+0x22e12d] V [libjvm.so+0x290813] V [libjvm.so+0x465635] V [libjvm.so+0x46556d] V [libjvm.so+0x464807] V [libjvm.so+0x464aa1] V [libjvm.so+0x4646ca] V [libjvm.so+0x3bf083] C [libpthread.so.0+0x540b] VM_Operation (0x8d61f1f8): generation collection for allocation, mode: safepoint, requested by thread 0x0991e4f0 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x09d66090 JavaThread "Thread-0" daemon [_thread_blocked, id=9408] 0x0988ee28 JavaThread "DestroyJavaVM" [_thread_blocked, id=9397] 0x0991e4f0 JavaThread "main" [_thread_blocked, id=9407] 0x0990bcc0 JavaThread "CompilerThread1" daemon [_thread_blocked, id=9405] 0x0990ab48 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9404] 0x09909c18 JavaThread "AdapterThread" daemon [_thread_blocked, id=9403] 0x09908dc8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9402] 0x09904860 JavaThread "Finalizer" daemon [_thread_blocked, id=9400] 0x09904488 JavaThread "Reference Handler" daemon [_thread_blocked, id=9399] Other Threads: =>0x099039e8 VMThread [id=9398] 0x0990d4e8 WatcherThread [id=9406] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x0988e638/0x0988e668] Threads_lock - owner thread: 0x099039e8 [0x0988e968/0x0988e988] Heap_lock - owner thread: 0x0991e4f0 Heap def new generation total 13120K, used 12634K [0x8e440000, 0x8f270000, 0x91d20000) eden space 11712K, 99% used [0x8e440000, 0x8efafff0, 0x8efb0000) from space 1408K, 65% used [0x8efb0000, 0x8f096970, 0x8f110000) to space 1408K, 7% used [0x8f110000, 0x8f128cc0, 0x8f270000) tenured generation total 116544K, used 898K [0x91d20000, 0x98ef0000, 0xae440000) the space 116544K, 0% used [0x91d20000, 0x91e00930, 0x91e00a00, 0x98ef0000) compacting perm gen total 16384K, used 5884K [0xae440000, 0xaf440000, 0xb2440000) the space 16384K, 35% used [0xae440000, 0xae9ff170, 0xae9ff200, 0xaf440000) Dynamic libraries: 004c2000-004c3000 r-xp 004c2000 00:00 0 [vdso] 004c3000-004dc000 r-xp 00000000 08:02 323868 /lib/ld-2.4.so 004dc000-004dd000 r-xp 00018000 08:02 323868 /lib/ld-2.4.so 004dd000-004de000 rwxp 00019000 08:02 323868 /lib/ld-2.4.so 004e0000-0060d000 r-xp 00000000 08:02 323869 /lib/libc-2.4.so 0060d000-0060f000 r-xp 0012d000 08:02 323869 /lib/libc-2.4.so 0060f000-00610000 rwxp 0012f000 08:02 323869 /lib/libc-2.4.so 00610000-00613000 rwxp 00610000 00:00 0 00615000-00617000 r-xp 00000000 08:02 323873 /lib/libdl-2.4.so 00617000-00618000 r-xp 00001000 08:02 323873 /lib/libdl-2.4.so 00618000-00619000 rwxp 00002000 08:02 323873 /lib/libdl-2.4.so 0061b000-0063e000 r-xp 00000000 08:02 323870 /lib/libm-2.4.so 0063e000-0063f000 r-xp 00022000 08:02 323870 /lib/libm-2.4.so 0063f000-00640000 rwxp 00023000 08:02 323870 /lib/libm-2.4.so 006b5000-006c7000 r-xp 00000000 08:02 323872 /lib/libnsl-2.4.so 006c7000-006c8000 r-xp 00011000 08:02 323872 /lib/libnsl-2.4.so 006c8000-006c9000 rwxp 00012000 08:02 323872 /lib/libnsl-2.4.so 006c9000-006cb000 rwxp 006c9000 00:00 0 006fd000-0070d000 r-xp 00000000 08:02 323888 /lib/libpthread-2.4.so 0070d000-0070e000 r-xp 0000f000 08:02 323888 /lib/libpthread-2.4.so 0070e000-0070f000 rwxp 00010000 08:02 323888 /lib/libpthread-2.4.so 0070f000-00711000 rwxp 0070f000 00:00 0 00718000-00727000 r-xp 00000000 08:02 323883 /lib/libresolv-2.4.so 00727000-00728000 r-xp 0000e000 08:02 323883 /lib/libresolv-2.4.so 00728000-00729000 rwxp 0000f000 08:02 323883 /lib/libresolv-2.4.so 00729000-0072b000 rwxp 00729000 00:00 0 08048000-08053000 r-xp 00000000 08:02 1020391 /usr/java/j2sdk1.4.2_12/bin/java 08053000-08055000 rwxp 0000a000 08:02 1020391 /usr/java/j2sdk1.4.2_12/bin/java 0988c000-0a502000 rwxp 0988c000 00:00 0 [heap] 8c297000-8c298000 --xp 8c297000 00:00 0 8c298000-8c2a5000 rwxp 8c298000 00:00 0 8c2a5000-8c2a8000 --xp 8c2a5000 00:00 0 8c2a8000-8c318000 rwxp 8c2a8000 00:00 0 8c318000-8c326000 r-xs 00000000 08:02 664055 /etc/jboss/server/default/lib/activation.jar 8c326000-8c327000 r-xs 00000000 08:02 664105 /etc/jboss/server/default/lib/xmlentitymgr.jar 8c327000-8c350000 r-xs 00000000 08:02 664104 /etc/jboss/server/default/lib/wsdl4j.jar 8c350000-8c368000 r-xs 00000000 08:02 664103 /etc/jboss/server/default/lib/snmp-support.jar 8c368000-8c374000 r-xs 00000000 08:02 664102 /etc/jboss/server/default/lib/scheduler-plugin.jar 8c374000-8c375000 r-xs 00000000 08:02 664101 /etc/jboss/server/default/lib/scheduler-plugin-example.jar 8c375000-8c378000 r-xs 00000000 08:02 664100 /etc/jboss/server/default/lib/properties-plugin.jar 8c378000-8c3c9000 r-xs 00000000 08:02 664099 /etc/jboss/server/default/lib/mail.jar 8c3c9000-8c420000 r-xs 00000000 08:02 664097 /etc/jboss/server/default/lib/log4j.jar 8c420000-8c425000 r-xs 00000000 08:02 664096 /etc/jboss/server/default/lib/jpl-util.jar 8c425000-8c42f000 r-xs 00000000 08:02 664094 /etc/jboss/server/default/lib/jnpserver.jar 8c42f000-8c437000 r-xs 00000000 08:02 664093 /etc/jboss/server/default/lib/jmx-adaptor-plugin.jar 8c437000-8c481000 r-xs 00000000 08:02 664092 /etc/jboss/server/default/lib/jbosssx.jar 8c481000-8c48d000 r-xs 00000000 08:02 664091 /etc/jboss/server/default/lib/jbossretro-rt.jar 8c48d000-8c50a000 r-xs 00000000 08:02 664090 /etc/jboss/server/default/lib/jbossmq.jar 8c50a000-8c70b000 r-xs 00000000 08:02 664089 /etc/jboss/server/default/lib/jboss.jar 8c70b000-8c719000 r-xs 00000000 08:02 664088 /etc/jboss/server/default/lib/jboss-transaction.jar 8c719000-8c726000 r-xs 00000000 08:02 664087 /etc/jboss/server/default/lib/jboss-srp.jar 8c726000-8c745000 r-xs 00000000 08:02 664086 /etc/jboss/server/default/lib/jboss-serialization.jar 8c745000-8c74b000 r-xs 00000000 08:02 664085 /etc/jboss/server/default/lib/jboss-saaj.jar 8c74b000-8c7e0000 r-xs 00000000 08:02 664084 /etc/jboss/server/default/lib/jboss-remoting.jar 8c7e0000-8c7e3000 r-xs 00000000 08:02 664083 /etc/jboss/server/default/lib/jboss-remoting-int.jar 8c7e3000-8c7f2000 r-xs 00000000 08:02 664082 /etc/jboss/server/default/lib/jboss-monitoring.jar 8c7f2000-8c81a000 r-xs 00000000 08:02 664081 /etc/jboss/server/default/lib/jboss-management.jar 8c81a000-8c82a000 r-xs 00000000 08:02 664080 /etc/jboss/server/default/lib/jboss-jsr88.jar 8c82a000-8c82e000 r-xs 00000000 08:02 664079 /etc/jboss/server/default/lib/jboss-jsr77.jar 8c82e000-8c85c000 r-xs 00000000 08:02 664078 /etc/jboss/server/default/lib/jboss-jca.jar 8c85c000-8c864000 r-xs 00000000 08:02 664077 /etc/jboss/server/default/lib/jboss-jaxrpc.jar 8c864000-8c8d1000 r-xs 00000000 08:02 664076 /etc/jboss/server/default/lib/jboss-j2ee.jar 8c8d1000-8c8d5000 r-xs 00000000 08:02 664075 /etc/jboss/server/default/lib/jboss-hibernate.jar 8c8d5000-8c8e9000 r-xs 00000000 08:02 664074 /etc/jboss/server/default/lib/jboss-common-jdbc-wrapper.jar 8c8e9000-8c93a000 r-xs 00000000 08:02 664073 /etc/jboss/server/default/lib/jboss-backport-concurrent.jar 8c93a000-8c947000 r-xs 00000000 08:02 664072 /etc/jboss/server/default/lib/javax.servlet.jsp.jar 8c947000-8c960000 r-xs 00000000 08:02 664071 /etc/jboss/server/default/lib/javax.servlet.jar 8c960000-8c9cf000 r-xs 00000000 08:02 664070 /etc/jboss/server/default/lib/javassist.jar 8c9cf000-8ca6b000 r-xs 00000000 08:02 664069 /etc/jboss/server/default/lib/hsqldb.jar 8ca6b000-8ca6e000 r-xs 00000000 08:02 664068 /etc/jboss/server/default/lib/hsqldb-plugin.jar 8ca6e000-8cc72000 r-xs 00000000 08:02 664067 /etc/jboss/server/default/lib/hibernate3.jar 8cc72000-8cc7e000 r-xs 00000000 08:02 664066 /etc/jboss/server/default/lib/commons-logging.jar 8cc7e000-8ccb6000 r-xs 00000000 08:02 664065 /etc/jboss/server/default/lib/commons-httpclient.jar 8ccb6000-8ccdf000 r-xs 00000000 08:02 664064 /etc/jboss/server/default/lib/commons-collections.jar 8ccdf000-8cd30000 r-xs 00000000 08:02 664063 /etc/jboss/server/default/lib/cglib.jar 8cd30000-8cd34000 r-xs 00000000 08:02 664062 /etc/jboss/server/default/lib/bsh-deployer.jar 8cd34000-8cd70000 r-xs 00000000 08:02 664061 /etc/jboss/server/default/lib/bsh-1.3.0.jar 8cd70000-8cd9b000 r-xs 00000000 08:02 664060 /etc/jboss/server/default/lib/bsf.jar 8cd9b000-8cda1000 r-xs 00000000 08:02 664059 /etc/jboss/server/default/lib/bindingservice-plugin.jar 8cda1000-8ce20000 r-xs 00000000 08:02 664058 /etc/jboss/server/default/lib/bcel.jar 8ce20000-8ce8d000 r-xs 00000000 08:02 664056 /etc/jboss/server/default/lib/antlr-2.7.6.jar 8ce8d000-8ce91000 r-xp 00000000 08:02 324461 /lib/libnss_dns-2.4.so 8ce91000-8ce92000 r-xp 00003000 08:02 324461 /lib/libnss_dns-2.4.so 8ce92000-8ce93000 rwxp 00004000 08:02 324461 /lib/libnss_dns-2.4.so 8ce95000-8ce97000 r-xs 00000000 08:02 664098 /etc/jboss/server/default/lib/mail-plugin.jar 8ce97000-8ce99000 r-xs 00000000 08:02 664057 /etc/jboss/server/default/lib/autonumber-plugin.jar 8ce99000-8cea7000 r-xp 00000000 08:02 1021589 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libnet.so 8cea7000-8cea8000 rwxp 0000d000 08:02 1021589 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libnet.so 8cea8000-8cef9000 r-xs 00000000 08:02 647904 /etc/jboss/lib/jboss-xml-binding.jar 8cef9000-8cf39000 r-xs 00000000 08:02 647903 /etc/jboss/lib/jboss-system.jar 8cf39000-8cf9b000 r-xs 00000000 08:02 647901 /etc/jboss/lib/jboss-common.jar 8cf9b000-8cfb9000 r-xs 00000000 08:02 647905 /etc/jboss/lib/log4j-boot.jar 8cfb9000-8cfe4000 r-xs 00000000 08:02 647898 /etc/jboss/lib/concurrent.jar 8cfe4000-8d02f000 r-xs 00000000 08:02 647899 /etc/jboss/lib/dom4j.jar 8d02f000-8d0c3000 r-xs 00000000 08:02 647902 /etc/jboss/lib/jboss-jmx.jar 8d0c3000-8d59e000 r-xs 00000000 08:02 1022174 /usr/java/j2sdk1.4.2_12/lib/tools.jar 8d59e000-8d5a1000 r-xs 00000000 08:02 633041 /etc/jboss/client/getopt.jar 8d5a1000-8d5a2000 --xp 8d5a1000 00:00 0 8d5a2000-8d5af000 rwxp 8d5a2000 00:00 0 8d5af000-8d5b2000 --xp 8d5af000 00:00 0 8d5b2000-8d622000 rwxp 8d5b2000 00:00 0 8d622000-8d62c000 r-xs 00000000 08:02 633027 /etc/jboss/bin/run.jar 8d62c000-8d648000 r-xs 00000000 08:02 1021509 /usr/java/j2sdk1.4.2_12/jre/lib/ext/sunjce_provider.jar 8d648000-8d704000 r-xs 00000000 08:02 1021497 /usr/java/j2sdk1.4.2_12/jre/lib/ext/localedata.jar 8d704000-8d711000 r-xs 00000000 08:02 1021507 /usr/java/j2sdk1.4.2_12/jre/lib/ext/ldapsec.jar 8d711000-8d712000 --xp 8d711000 00:00 0 8d712000-8d792000 rwxp 8d712000 00:00 0 8d792000-8d793000 --xp 8d792000 00:00 0 8d793000-8d7a0000 rwxp 8d793000 00:00 0 8d7a0000-8d7a3000 --xp 8d7a0000 00:00 0 8d7a3000-8d993000 rwxp 8d7a3000 00:00 0 8d993000-8d994000 --xp 8d993000 00:00 0 8d994000-8d9a1000 rwxp 8d994000 00:00 0 8d9a1000-8d9a4000 --xp 8d9a1000 00:00 0 8d9a4000-8db94000 rwxp 8d9a4000 00:00 0 8db94000-8db95000 --xp 8db94000 00:00 0 8db95000-8dba2000 rwxp 8db95000 00:00 0 8dba2000-8dba5000 --xp 8dba2000 00:00 0 8dba5000-8dd95000 rwxp 8dba5000 00:00 0 8dd95000-8dd96000 --xp 8dd95000 00:00 0 8dd96000-8dda3000 rwxp 8dd96000 00:00 0 8dda3000-8dda6000 --xp 8dda3000 00:00 0 8dda6000-8de16000 rwxp 8dda6000 00:00 0 8de16000-8de17000 --xp 8de16000 00:00 0 8de17000-8de97000 rwxp 8de17000 00:00 0 8de97000-8e097000 r-xp 00000000 08:02 942966 /usr/lib/locale/locale-archive 8e097000-8e098000 --xp 8e097000 00:00 0 8e098000-8e0a5000 rwxp 8e098000 00:00 0 8e0a5000-8e0a8000 --xp 8e0a5000 00:00 0 8e0a8000-8e118000 rwxp 8e0a8000 00:00 0 8e118000-8e119000 --xp 8e118000 00:00 0 8e119000-8e126000 rwxp 8e119000 00:00 0 8e126000-8e129000 --xp 8e126000 00:00 0 8e129000-8e199000 rwxp 8e129000 00:00 0 8e199000-8e19a000 --xp 8e199000 00:00 0 8e19a000-8e223000 rwxp 8e19a000 00:00 0 8e223000-8e23b000 rwxp 8e223000 00:00 0 8e23b000-8e274000 rwxp 8e23b000 00:00 0 8e274000-8e31f000 rwxp 8e274000 00:00 0 8e31f000-8e327000 rwxp 8e31f000 00:00 0 8e327000-8e33b000 rwxp 8e327000 00:00 0 8e33b000-8e375000 rwxp 8e33b000 00:00 0 8e375000-8e41f000 rwxp 8e375000 00:00 0 8e41f000-8e427000 rwxp 8e41f000 00:00 0 8e427000-8e43f000 rwxp 8e427000 00:00 0 8e43f000-8f270000 rwxp 8e43f000 00:00 0 8f270000-91d20000 rwxp 8f270000 00:00 0 91d20000-98ef0000 rwxp 91d20000 00:00 0 98ef0000-ae440000 rwxp 98ef0000 00:00 0 ae440000-af440000 rwxp ae440000 00:00 0 af440000-b2440000 rwxp af440000 00:00 0 b2440000-b2443000 r-xs 00000000 08:02 1021506 /usr/java/j2sdk1.4.2_12/jre/lib/ext/dnsns.jar b2443000-b2474000 rwxp b2443000 00:00 0 b2474000-b252b000 rwxp b2474000 00:00 0 b252b000-b276b000 rwxp b252b000 00:00 0 b276b000-b552b000 rwxp b276b000 00:00 0 b552b000-b5b00000 r-xs 00000000 08:02 1021614 /usr/java/j2sdk1.4.2_12/jre/lib/charsets.jar b5b00000-b5b12000 r-xs 00000000 08:02 1021613 /usr/java/j2sdk1.4.2_12/jre/lib/jce.jar b5b12000-b5bef000 r-xs 00000000 08:02 1021658 /usr/java/j2sdk1.4.2_12/jre/lib/jsse.jar b5bef000-b5c05000 r-xs 00000000 08:02 1021665 /usr/java/j2sdk1.4.2_12/jre/lib/sunrsasign.jar b5c05000-b5c4f000 rwxp b5c05000 00:00 0 b5c4f000-b75fa000 r-xs 00000000 08:02 1022116 /usr/java/j2sdk1.4.2_12/jre/lib/rt.jar b75fa000-b762b000 r-xs 00000000 08:02 647895 /etc/jboss/lib/endorsed/xml-apis.jar b762b000-b7752000 r-xs 00000000 08:02 647894 /etc/jboss/lib/endorsed/xercesImpl.jar b7752000-b78f5000 r-xs 00000000 08:02 647893 /etc/jboss/lib/endorsed/xalan.jar b78f5000-b7924000 r-xs 00000000 08:02 647892 /etc/jboss/lib/endorsed/serializer.jar b7924000-b7933000 r-xs 00000000 08:02 647891 /etc/jboss/lib/endorsed/resolver.jar b7933000-b7941000 r-xp 00000000 08:02 1021593 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libzip.so b7941000-b7943000 rwxp 0000d000 08:02 1021593 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libzip.so b7943000-b795f000 r-xp 00000000 08:02 1021578 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libjava.so b795f000-b7961000 rwxp 0001b000 08:02 1021578 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libjava.so b7961000-b796e000 r-xp 00000000 08:02 1021592 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libverify.so b796e000-b7970000 rwxp 0000c000 08:02 1021592 /usr/java/j2sdk1.4.2_12/jre/lib/i386/libverify.so b7970000-b7979000 r-xp 00000000 08:02 324465 /lib/libnss_files-2.4.so b7979000-b797a000 r-xp 00008000 08:02 324465 /lib/libnss_files-2.4.so b797a000-b797b000 rwxp 00009000 08:02 324465 /lib/libnss_files-2.4.so b797b000-b7981000 r-xp 00000000 08:02 1021595 /usr/java/j2sdk1.4.2_12/jre/lib/i386/native_threads/libhpi.so b7981000-b7983000 rwxp 00005000 08:02 1021595 /usr/java/j2sdk1.4.2_12/jre/lib/i386/native_threads/libhpi.so b7983000-b7f52000 r-xp 00000000 08:02 1021599 /usr/java/j2sdk1.4.2_12/jre/lib/i386/server/libjvm.so b7f52000-b7fac000 rwxp 005ce000 08:02 1021599 /usr/java/j2sdk1.4.2_12/jre/lib/i386/server/libjvm.so b7fac000-b7fc3000 rwxp b7fac000 00:00 0 b7fc3000-b7fc4000 r-xs 00000000 08:02 664095 /etc/jboss/server/default/lib/jpl-pattern.jar b7fc4000-b7fc5000 r-xs 00000000 08:02 647906 /etc/jboss/lib/namespace.jar b7fc5000-b7fc9000 rwxs 00000000 08:02 680130 /tmp/hsperfdata_root/9397 b7fc9000-b7fca000 rwxp b7fc9000 00:00 0 bfaf4000-bfafe000 rwxp bfaf4000 00:00 0 bfafe000-bfb01000 --xp bfafe000 00:00 0 bfcdb000-bfcf0000 rwxp bfcdb000 00:00 0 [stack] VM Arguments: jvm_args: -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Dprogram.name=run.sh -Djava.endorsed.dirs=/etc/jboss/lib/endorsed java_command: org.jboss.Main -c default Launcher Type: SUN_STANDARD Environment Variables: PATH=/sbin:/usr/sbin:/bin:/usr/bin LD_LIBRARY_PATH=/usr/java/j2sdk1.4.2_12/jre/lib/i386/server:/usr/java/j2sdk1.4.2_12/jre/lib/i386:/usr/java/j2sdk1.4.2_12/jre/../lib/i386 --------------- S Y S T E M --------------- OS:Fedora Core release 5 (Bordeaux) uname:Linux 2.6.17-1.2139_FC5 #1 Fri Jun 23 12:40:16 EDT 2006 i686 libc:glibc 2.4 NPTL 2.4 rlimit: STACK 10240k, CORE 0k, NPROC 32636, NOFILE 1024, AS infinity load average:2305371875193477.00 3682211737374180026647287394465231144322965111161713695038128720135521032342882689836971020800477151018305177395940366631821643870250301855693715527850966783703355386287362112749568.00 51809783858.73 CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 2067448k(1376512k free), swap 987956k(987956k free) vm_info: Java HotSpot(TM) Server VM (1.4.2_12-b03) for linux-x86, built on May 9 2006 12:16:45 by unknown with unknown compiler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961897#3961897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961897 From do-not-reply at jboss.com Mon Jul 31 10:48:44 2006 From: do-not-reply at jboss.com (bfo81) Date: Mon, 31 Jul 2006 10:48:44 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem with decrementing dates Message-ID: <20057373.1154357324454.JavaMail.jboss@colo-br-02.atl.jboss.com> PS: I changed the timezone of my computer from GMT+1 to GMT-1, and now the date is regarded as 1976-07-04 01:00. So JSF really wants to perform a timezone adjustment. I know that there's a timeZone attribute for . But I think it's daft to artificially add this every time I use a date. Especially since client and server are running on the same machine here and sharing the same timezone. btw: Even the booking demo fails on my PC. If I enter a new booking from July 31st to August 1st everything is shown correctly on the confirm page, but the database entries are one day earlier. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961898#3961898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961898 From do-not-reply at jboss.com Mon Jul 31 10:54:55 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 10:54:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <31712324.1154357695480.JavaMail.jboss@colo-br-02.atl.jboss.com> Tried deploying the jar that you sent and got the following exception while deploying: 2006-07-31 20:19:37,842 [] WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation: | Bean : Hello | Section: 7.10.3 | Warning: A Session bean must define at least one ejbCreate method. | | 2006-07-31 20:19:37,889 [] ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/E:/puthere/NewFolder/jboss-3.2.3/server/default/deploy/HelloWorldEJB.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:491) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:394) | at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291) | at org.jboss.Main.boot(Main.java:150) | at org.jboss.Main$1.run(Main.java:395) | at java.lang.Thread.run(Thread.java:534) which means that you have not defined the ejbCreate method in your HelloBean class. Provide a blank implementation for the same, in your HelloBean class and deploy it: public void ejbCreate() | { | } That should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961899#3961899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961899 From do-not-reply at jboss.com Mon Jul 31 10:59:19 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 10:59:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <20516874.1154357959783.JavaMail.jboss@colo-br-02.atl.jboss.com> ok i will try that..here help me with the theory behind this..i used to know it..have kind of gotten confused.. the way it works is that create method is called by the container automatically for us...if we want to do anything special during the creation of the bean we should do that in ejbCreate which is called by create..right ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961900#3961900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961900 From do-not-reply at jboss.com Mon Jul 31 11:03:13 2006 From: do-not-reply at jboss.com (KVAK_TNT) Date: Mon, 31 Jul 2006 11:03:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: jBPM HowTo add User Group Swimlane to DB? Message-ID: <26301151.1154358193039.JavaMail.jboss@colo-br-02.atl.jboss.com> OK I solved it myself. Example: identity.xml | | | | | | Your handling class for users and so on: public void setUp(){ | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | | Entity[] entities = IdentityXmlParser.parseEntitiesResource("identity.xml"); | | for (int i=0; i < entities.length; i++) { | jbpmContext.getSession().save(entities); | } Thats all. Greetings Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961901#3961901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961901 From do-not-reply at jboss.com Mon Jul 31 11:08:01 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 31 Jul 2006 11:08:01 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <22999332.1154358481067.JavaMail.jboss@colo-br-02.atl.jboss.com> There are test cases for each of the workflow patterns. However, some of the code used to 'enable' these patterns aren't really supported yet in the PDL or Database. I know the join has a .setNOutofM() (or something like taht) which will allow a join to only require 2 out of 4 (for example) tokens until completion. You could perhaps programmatically change that during runtime for the instance. However, I don't know if that changes the instance of the definition which would be bad. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961903#3961903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961903 From do-not-reply at jboss.com Mon Jul 31 11:10:56 2006 From: do-not-reply at jboss.com (srbox) Date: Mon, 31 Jul 2006 11:10:56 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Oracle insert with SELECT missing Message-ID: <14677613.1154358656890.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello to all, i'm working on some basic examples while using JBoss 4.0.4 with EJB3.0 and Oracle 10g as database. With a simple statement such as | Location tmpLoc = new Location(street, number); | em.persist(tmpLoc); | >From the client I'm getting this error: anonymous wrote : | Exception in thread "main" java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=maric/25, BranchQual=, localId=25] status=STATUS_NO_TRANSACTION; - nested throwable: (javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update) | at org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198) | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) | And on the server side this: anonymous wrote : | 17:06:08,147 WARN [JDBCExceptionReporter] SQL Error: 928, SQLState: 42000 | 17:06:08,147 ERROR [JDBCExceptionReporter] ORA-00928: missing SELECT keyword | | 17:06:08,147 WARN [JDBCExceptionReporter] SQL Error: 928, SQLState: 42000 | 17:06:08,147 ERROR [JDBCExceptionReporter] ORA-00928: missing SELECT keyword | This happened after the em.persist() method, judging by the logs, and object creation is also ok. Why is there a SELECT keyword missing, when I'm using pure tables and this is a INSERT statment (just guessing, since the container is managing that part) tnx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961904#3961904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961904 From do-not-reply at jboss.com Mon Jul 31 11:11:57 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 11:11:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <332229.1154358717340.JavaMail.jboss@colo-br-02.atl.jboss.com> The ejbCreate method will be called when the client invokes the create() method on the home interface. The lifecycle of the EJB is explained here: http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBConcepts9.html As per the specs: anonymous wrote : The session bean class must define one or more ejbCreate methods whose signatures must follow these rules: | ? The method name must have ejbCreate as its prefix. | ? The method must be declared as public. | ? The method must not be declared as final or static. | ? The return type must be void. | ? The method arguments must be legal types for RMI/IIOP if there is a create corresponding | to the ejbCreate method on the session bean?s remote home interface. | ? A stateless session bean must define a single ejbCreate method, with no arguments. | ? The throws clause may define arbitrary application exceptions, possibly including the javax.ejb.CreateException. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961905#3961905 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961905 From do-not-reply at jboss.com Mon Jul 31 11:13:43 2006 From: do-not-reply at jboss.com (srbox) Date: Mon, 31 Jul 2006 11:13:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Oracle insert with SELECT missing Message-ID: <1670191.1154358823703.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to mention that the server is correctly configured and that another example like this one, only packed in a jar instead of a ear is working without problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961906#3961906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961906 From do-not-reply at jboss.com Mon Jul 31 11:18:14 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 11:18:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <32492591.1154359094717.JavaMail.jboss@colo-br-02.atl.jboss.com> why was my jboss server not displaying errors...any idea. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961907#3961907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961907 From do-not-reply at jboss.com Mon Jul 31 11:21:56 2006 From: do-not-reply at jboss.com (klsateesh) Date: Mon, 31 Jul 2006 11:21:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Setting up hello wolrd remoting app in NetBean5.5 Dev Message-ID: <32709106.1154359316576.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I am trying to use NetBeans5.5 for Developing Seam Apps.. As an ex i tried examples/remoting/helloworld in NetBeans5.5 by folloiwng Brian's blog http://weblogs.java.net/blog/bleonard/archive/2006/05/trying_out_jbos_2.html and everything went well except that i cannot see the first page.. It is trying to Save the page as a SEAM File and showing up the Save As Dialog.. It seems the Servlet Mapping got screwed up.. Here is the web.xml in the Web Project.. | | | | | | | | index.html | | | | | | | org.jboss.seam.servlet.SeamListener | | | | | | | Seam Redirect Filter | org.jboss.seam.servlet.SeamRedirectFilter | | | | Seam Redirect Filter | *.seam | | | | | | org.apache.myfaces.webapp.StartupServletContextListener | | | | javax.faces.STATE_SAVING_METHOD | client | | | | facelets.DEVELOPMENT | true | | | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | | | | Faces Servlet | *.seam | | | | Seam Remoting | org.jboss.seam.remoting.SeamRemotingServlet | | | | Seam Remoting | /seam/remoting/* | | | | | Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961908#3961908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961908 From do-not-reply at jboss.com Mon Jul 31 11:28:43 2006 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 31 Jul 2006 11:28:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <29656537.1154359723371.JavaMail.jboss@colo-br-02.atl.jboss.com> "rsood72" wrote : why was my jboss server not displaying errors...any idea. Looks like some changes were made in your log4j.xml which might have disabled logging for the org.jboss.ejb.EJBDeployer class. The log4j.xml is present in %JBOSS_HOME%/server/default/conf directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961909#3961909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961909 From do-not-reply at jboss.com Mon Jul 31 11:29:57 2006 From: do-not-reply at jboss.com (LostJBossIdeUser) Date: Mon, 31 Jul 2006 11:29:57 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <19233213.1154359797706.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, that did the trick. Thanks, weston, for your patience and help! :) BTW, why isn't there a universal doc that would teach beginners like me on how to do exactly what I got stuck on? That would really be helpful and would save many hours. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961910#3961910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961910 From do-not-reply at jboss.com Mon Jul 31 11:32:04 2006 From: do-not-reply at jboss.com (ShadenS) Date: Mon, 31 Jul 2006 11:32:04 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS-Security: a standalone client ? Message-ID: <11528882.1154359924251.JavaMail.jboss@colo-br-02.atl.jboss.com> "heiko.braun at jboss.com" wrote : I think what you are asking for is a DII client that is WSSE enabled. Check the userguide on both chapters: | | - http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html | - http://labs.jboss.com/portal/jbossws/user-guide/en/html/wssecurity.html | | In order to register handlers with a DII client, you'd have to use a proprietary API. See http://fisheye.jboss.com/viewrep/JBossWS/trunk/src/test/java/org/jboss/test/ws/eventing/DIIClientTestCase.java for examples on how to do that. Thank you, Heiko. Now, I'm trying to enable security (signature and ecryption). I think I'll get some problems with a J2SE client, that is a client not deployed in whatever container... See you soon! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961911#3961911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961911 From do-not-reply at jboss.com Mon Jul 31 11:32:38 2006 From: do-not-reply at jboss.com (luowp) Date: Mon, 31 Jul 2006 11:32:38 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Write my fork Message-ID: <17167072.1154359958694.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I am trying to write my fork. I created a class called MyFork with almost same code as Fork.java and do some customerlize in execute method. The question is how to let the processdefinition assoicate with MyFork? I tried to change to , it throw out exceptions. Thanks very much for help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961912#3961912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961912 From do-not-reply at jboss.com Mon Jul 31 11:33:01 2006 From: do-not-reply at jboss.com (irabinovitch) Date: Mon, 31 Jul 2006 11:33:01 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Migrating from PojoCache 1.3 to 1.4 Message-ID: <3711093.1154359981594.JavaMail.jboss@colo-br-02.atl.jboss.com> We are in the process of migrating from JBossCache 1.3.2 SP3 to 1.4.0GA and one some of our classes appears to no longer work with the new version of JBossCache. Moving back to 1.3.x resolves the issue. Specifically, calling the notify method of the following class results in an exception in 1.4.0GA but not in 1.3.x. Any ideas? Thanks, Ilan Exception ======= ERROR SessionService sendRemoteNotification - Can not send message remotely com.intersolved.xmlserver.global_services.synchronizator.SynchronizationException: Can not notify at com.intersolved.xmlserver.global_services.synchronizator.SynchronizationMetaData.notify(SynchronizationMetaData.java:197) at com.intersolved.xmlserver.global_services.synchronizator.RemoteSynchronizationStorage.notify(RemoteSynchronizationStorage.java:51) at com.intersolved.xmlserver.global_services.session.SessionService.sendRemoteNotification(SessionService.java:586) at com.intersolved.xmlserver.global_services.session.SessionService.resetTimeout(SessionService.java:550) at com.intersolved.xmlserver.global_services.session.SessionService.changeConnection(SessionService.java:339) at com.intersolved.xmlserver.global_services.convertor.PacketConvertorService$4.processOwnCommands(PacketConvertorService.java:216) at com.intersolved.xmlserver.global_services.convertor.PacketConvertorService$4.run(PacketConvertorService.java:161) at com.intersolved.xmlserver.global_services.convertor.PacketConvertorService$5.run(PacketConvertorService.java:310) at java.lang.Thread.run(Thread.java:595) Caused by: com.intersolved.cluster.jsync.SynchronizeException: Can not notify at com.intersolved.cluster.jsync.components.NotificationTreeCacheAOP.notify(NotificationTreeCacheAOP.java:48) at com.intersolved.cluster.jsync.components.Synchronizer.notify(Synchronizer.java:420) at com.intersolved.xmlserver.global_services.synchronizator.SynchronizationMetaData.notify(SynchronizationMetaData.java:195) ... 8 more Caused by: java.lang.RuntimeException: failure to marshal argument(s) at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:152) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4159) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4113) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4221) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4242) at com.intersolved.cluster.jsync.components.NotificationTreeCacheAOP.notify(NotificationTreeCacheAOP.java:45) ... 10 more Caused by: java.lang.IllegalArgumentException: MethodCall does not have a valid method id. Was this method call created with MethodCallFactory? at org.jboss.cache.marshall.TreeCacheMarshaller140.marshallObject(TreeCacheMarshaller140.java:223) at org.jboss.cache.marshall.TreeCacheMarshaller140.objectToStream(TreeCacheMarshaller140.java:94) at org.jboss.cache.marshall.VersionAwareMarshaller.objectToByteBuffer(VersionAwareMarshaller.java:133) at org.jgroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:145) ... 15 more CLASS ========= public class NotificationTreeCacheAOP extends org.jboss.cache.aop.TreeCacheAop { public void _notify(Serializable transport) { fireNotification(transport); } public void notify(Serializable transport) throws SynchronizeException { try { callRemoteMethods(getMembers(), "_notify", new Class[]{Serializable.class}, new Object[]{transport}, false, true, getSyncReplTimeout()); } catch (Exception exp) { throw new SynchronizeException("Can not notify", exp); } } void fireNotification(Serializable transport) { // Pass notification to listeners. } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961913#3961913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961913 From do-not-reply at jboss.com Mon Jul 31 11:37:14 2006 From: do-not-reply at jboss.com (rmalhotr) Date: Mon, 31 Jul 2006 11:37:14 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - Getting AccessControlException from Applet trying to call EJ Message-ID: <7426188.1154360234622.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the following exception while trying to access EJB deployed on JBoss 4.0.3SP1 from an Applet: | java.lang.ExceptionInitializerError | at org.jboss.proxy.SecurityInterceptor$3.run(SecurityInterceptor.java:87) | ...... | ...... | Caused by:java.security.AccessControlException:access denied (java.util.PropoertyPermission org.jboss.security.SecurityAssociation.ThreadLocal read) | ..... | The exception is thrown from the line "inBox = inBoxHome.create();" in the following block of code: | /** | * | * @return a InBoxBean object | * @throws java.lang.Exception | */ | public InBox getInBoxBean() throws Exception | { | InBox inBox = null; | try | { | Object ref = null; | try | { | //look up jndi name | ref = _context.lookup("InBoxBean"); | } | catch (Exception ex) | { | System.out.println("_context.lookup('InBoxBean') failed with: "+ ex); | //look up jndi name again | ref = _context.lookup("InBoxBean"); | System.out.println("_context.lookup('InBoxBean') succeeded:"); | } | //then cast to Home interface | InBoxHome inBoxHome = (InBoxHome)PortableRemoteObject.narrow(ref, InBoxHome.class); | // use Home interface to create remote interface | inBox = inBoxHome.create(); | } | catch (Exception e) | { | throw e; | } | return inBox; | } | The only way I have been able make this work is by running the Java Plug-in on the client with security manager with the following policy: | grant { | permission java.util.PropertyPermission "org.jboss.security.SecurityAssociation.ThreadLocal", "read"; | permission java.lang.RuntimePermission "org.jboss.security.SecurityAssociation.getPrincipalInfo"; | permission java.io.SerializablePermission "enableSubstitution"; | }; | Is there a way to make this work without have to do anything special on the client plug-in. Thanks, Rajeev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961914#3961914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961914 From do-not-reply at jboss.com Mon Jul 31 11:37:28 2006 From: do-not-reply at jboss.com (luowp) Date: Mon, 31 Jul 2006 11:37:28 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <27846822.1154360248875.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the replies. I am a new guy in jbpm. Questions based on the solutions: 1. how to add a action handler for a fork. Is that using ? 2. how to disable one of the transition in this handler? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961915#3961915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961915 From do-not-reply at jboss.com Mon Jul 31 11:37:49 2006 From: do-not-reply at jboss.com (jainer) Date: Mon, 31 Jul 2006 11:37:49 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - assign a task to an actor at runtime Message-ID: <27808403.1154360269431.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i know how to assign a task to pool actors: taskName.setPooledActors(). I have two candidates in pool actors for a specific task, but for the first actor of pool that starts session in the webapp i need to assign him that task, i've seen the TaskAssignmentTest class but i don't find an example very clear. if i'm wrong, please guide me! Regards jainer e. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961916#3961916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961916 From do-not-reply at jboss.com Mon Jul 31 11:38:00 2006 From: do-not-reply at jboss.com (Arno Werr) Date: Mon, 31 Jul 2006 11:38:00 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <10139121.1154360280258.JavaMail.jboss@colo-br-02.atl.jboss.com> Ales, I am reading your article 'Spring and EJB 3.0 in Harmony' Quote: anonymous wrote : | However, one big problem with EJB 3.0 dependency injection is that there's no way of configuring, defining, and injecting plain Java beans. | You can only inject Java EE component types and only lets you inject primitive types. Sure, EJBs look a lot like POJOs and JBoss has the concept of a @Service bean, which is a singleton, but do we really have to define and inject these component objects that have to run in containers? | And what about beans from third-party libraries and pre-existing code. | Well, how about this? | @Stateless | public class OrderEntryBean implements OrderEntry { | | @PersistenceContext(unitName = "titan") | private EntityManager manager; | | private PersonDao personDao; | | @Resource(name = "personDaoImplName") | private String personDaoImplName; | | @PostConstruct | public void postConstruct() { | try { | personDao = (PersonDao) (Class.forName(personDaoImplName)) | .newInstance(); | } catch (Exception e) { | throw new ValidationException(e); | } | personDao.setManager(manager); | } | } | | | | OrderEntryBean | personDaoImplName | java.lang.String | | com.arno.dao.impl.PersonDaoImpl | | | | | It might be heavy, it might be not-elegant the way Spring provides solution (LOC), injected object cannot be configured externally. But to all practical purposes as long as a class has an interface it can be injected into EJB and serve the purpose of injection - runtime definition of implementation. Not so? ;) Cheers, Arno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961917#3961917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961917 From do-not-reply at jboss.com Mon Jul 31 11:45:16 2006 From: do-not-reply at jboss.com (stepan1117) Date: Mon, 31 Jul 2006 11:45:16 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Pluggable serializers/deserializers Message-ID: <30426774.1154360716550.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, it is possible to use custom (or pluggable) de/serializers for my own non-trivial datatypes? All I want is to serialize a class to the array of bytes and send it using webservice. I know, that Axis/Axis2 have this possibility, but I have not discovered yet, how to achieve this in JbossWS. Thanks and cheers, Stepan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961918#3961918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961918 From do-not-reply at jboss.com Mon Jul 31 11:50:15 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 31 Jul 2006 11:50:15 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss crashes on Fedora Core RH Linux Message-ID: <25807636.1154361015016.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running JBoss 4.0.4GA on Fedora Core 5 using the 1.4.2_12 JVM, and it is working fine. Does the same thing happen if you use a different JVM version (1.4.2_10, or 1.5.0_x)? I am wondering if your JVM installation is corrupt. Or one of the FC5 shared objects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961919#3961919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961919 From do-not-reply at jboss.com Mon Jul 31 11:55:15 2006 From: do-not-reply at jboss.com (jbpmndc) Date: Mon, 31 Jul 2006 11:55:15 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - jBPM and Voip Message-ID: <409054.1154361315750.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's a list of success stories using jBPM. These are useful for selling jbpm to the 'boss'. The jBPM and Voip one is very cool. http://www.jbossworld.com/jbwv_2006/jems_verticles.htm I've been working with jbpm for a while and have not seen these. JBoss ought to put these in the forefront of the website. my 2 cents View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961920#3961920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961920 From do-not-reply at jboss.com Mon Jul 31 11:57:29 2006 From: do-not-reply at jboss.com (manuel.gentile@itd.cnr.it) Date: Mon, 31 Jul 2006 11:57:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <7057576.1154361449942.JavaMail.jboss@colo-br-02.atl.jboss.com> Gavin do you have any news about ajax and in particular ajax4jsf??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961921#3961921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961921 From do-not-reply at jboss.com Mon Jul 31 11:57:45 2006 From: do-not-reply at jboss.com (KenRoberts) Date: Mon, 31 Jul 2006 11:57:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Configuring a DataSource for remote usage Message-ID: <13889295.1154361465021.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry if this is a sore topic. All the forum/wiki searches I've thought up to remotely connect to a data source seem to configure a data source which is remote to the app server, usable by the JVM that the app server is running in. The subject of this post gets one hit so far, and the issue it discusses is exactly what I want to accomplish. I want to set up a connection pool via the standard means, which will be accessible to servlets, beans, etc. I also want to be able to use that same pool from an applet which thinks it has a JDBC driver. There are some goals here: - Support a couple large, preexisting 2-tier applications which use their own JDBC connections - Create support for new N-tier new components - Migrate the 2-tier apps to N-tier - To follow standard practice in the newly changed/created code. - Define the data sources only once The ConfigDataSource wiki page suggests using a session bean facade instead of a data source. My questions: - Is there a JDBC proxy class already in existence, or a remote session bean facade that emulates jdbc? - If that does not work, can my application read its own configuration and programmatically create a connection pool on the app server for other apps to use? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961922#3961922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961922 From do-not-reply at jboss.com Mon Jul 31 11:59:07 2006 From: do-not-reply at jboss.com (kistler59) Date: Mon, 31 Jul 2006 11:59:07 -0400 (EDT) Subject: [jboss-user] [EJB/JBoss] - Jboss / Stateless Session EJB/ Flash Remoting / Flash Media Message-ID: <25758715.1154361547939.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We have a problem with an application we are developing and deploying to jboss 4.0.3. We have a SLSB on a jbossAS for the backend. The UI is a flash front end, that communicates with jboss via Flash Media Server and then to flash remoting (Flash client -> Flash Media Server -> Flash Remoting -> SLSB) The client makes calls to jboss by notifying flash media server, which makes a call to flash remoting, which in turn calls my ejb. So far this works about 95% The problem surfaces when the flash client is left idle for about 30 minutes and the binding with the ejb (or flash remoting) appears to become unbound and results in an exception being returned to our flash clients and no exception written to the jboss logs. It's not an application level error but it appears that some type of timeout, such as maybe flash media server losing its connection or timing out. I'm not really sure where I'm going with this other than anyone else with similar experience that could offer some advice on how to either increase this timeout (wherever it is.. i've looked everywhere) or rebind this connection... thanks -keith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961923#3961923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961923 From do-not-reply at jboss.com Mon Jul 31 12:00:05 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 12:00:05 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <10115696.1154361605660.JavaMail.jboss@colo-br-02.atl.jboss.com> Your "WMXQueueConnectionFactory" is a JCA managed connection factory, whereas XAConnectionFactory is a standard JMS connection factory. You would use WMXQueueConnectionFactory is you wanted jms transactional operations to be enlisted in any global transactions in the app server, e.g. if you wanted to send a message in the same global transaction as calling an ejb for example, or if you wanted to use UserTransaction. If you use the straightforward XAConnectionFactory you cannot use UserTransaction to demarcate JMS transaction boundaries, it will have no effect, so you will either have to use standard jms transactions (session.commit or rollback) or explicitly enlist in the global transaction by using the session's XAResource directlly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961924#3961924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961924 From do-not-reply at jboss.com Mon Jul 31 12:03:02 2006 From: do-not-reply at jboss.com (unome) Date: Mon, 31 Jul 2006 12:03:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - monitoring piece of default webapp not displaying the correc Message-ID: <21985233.1154361782055.JavaMail.jboss@colo-br-02.atl.jboss.com> I have recently started using jBPM on a project. Problem Description: The following is a snippet of the process defn I'm using: | | | ... | ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... | ... | | The ExternalServiceHandler posts a JMS TextMessage (token id - in this case, the child token which goes to stateA) onto a JBoss JMS topic. There is an MDB listening on the topic which does some processing, loads the token (using the token id) and calls signal on it. The code below shows this: | ... | ... | static JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | GraphSession graphSession = jbpmContext.getGraphSession(); | | Token token = graphSession.loadToken(tokenId); | System.out.println("Got the token : " + token.getFullName()); | | token.signal(); | ... | ... | I'm using the default webapp that comes with the starter kit to view the flow and interact with the above process. The behavior I see is that after the MDB calls token.signal(), the debug messages show that process moves to join (and assuming that task-node is marked complete using the webapp), and then moves to task-node "taskAfterJoin". But the webapp monitoring piece contradicts this by showing that control is still at stateA. Am I missing something here? If I take out the "post message to MDB and have MDB signal the token" and replace it with a one line of code "executionContext.getNode().leave(executionContext)", it works great. So I cannot understand why the webapp does not show what the debug messages are showing. Do I have to save the process instance (or token) after calling signal in the MDB? Do I need to save the process instance (or token) before posting a message in the Action Handler? Any direction, solution or thoughts on this problem is appreciated. Environment: Jboss AS: JBoss 4.0.4 GA w/ EJB3 support jBPM: jBPM 3.1.1 OS: Windows XP Copied the jbpm.sar folder (which has the jBPM jars) to the deploy directory of "all" server. Created and copied a jbpm.ear which contains the jbpm.war (default webapp) and the MDB (in a jar) to the deploy directory of "all" server. Thanks. AS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961925#3961925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961925 From do-not-reply at jboss.com Mon Jul 31 12:04:45 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 31 Jul 2006 12:04:45 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: Class path issues Message-ID: <25585174.1154361885031.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87692 for one possible solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961926#3961926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961926 From do-not-reply at jboss.com Mon Jul 31 12:05:25 2006 From: do-not-reply at jboss.com (weston.price@jboss.com) Date: Mon, 31 Jul 2006 12:05:25 -0400 (EDT) Subject: [jboss-user] [JCA/JBoss] - Re: Can't connect to global namespace datasource from servle Message-ID: <11349543.1154361925225.JavaMail.jboss@colo-br-02.atl.jboss.com> Datasource information can be found in a variety of places on our Wiki. Start here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA Specific DS deployments http://wiki.jboss.org/wiki/Wiki.jsp?page=DSdotXML View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961927#3961927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961927 From do-not-reply at jboss.com Mon Jul 31 12:07:30 2006 From: do-not-reply at jboss.com (ShadenS) Date: Mon, 31 Jul 2006 12:07:30 -0400 (EDT) Subject: [jboss-user] [JBossWS] - [WS-Security Handler] What does this error means? Message-ID: <3820862.1154362050514.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi JBoss Community ;) I've add following annotation to my ejb exposing a web service: @HandlerChain(file="file://C:/Documents and Settings/xXx/Desktop/workspace/July-EjbWs-181/config/ServerHandlers.xml", name = "SecureHandlerChain") Sure, I've inserted also ServerHandlers.xml (as example by user guide). In JBoss dos shell, I obtain the following error, when a DII client get access to web service: anonymous wrote : 17:42:43,000 WARN [WSSecurityHandler] Cannot obtain security configuration I don't understand this error :_( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961928#3961928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961928 From do-not-reply at jboss.com Mon Jul 31 12:15:40 2006 From: do-not-reply at jboss.com (shawdav1) Date: Mon, 31 Jul 2006 12:15:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - 2.2 ---> 2.4 migration Message-ID: <28625734.1154362540552.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi: What is the exact file name of the "JBoss Portal 2.2 deployment descriptor" that has to be un-deployed, please. David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961929#3961929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961929 From do-not-reply at jboss.com Mon Jul 31 12:17:46 2006 From: do-not-reply at jboss.com (ShadenS) Date: Mon, 31 Jul 2006 12:17:46 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: WS-Security Signing for EJB Message-ID: <20476287.1154362666087.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone news about this problem? Bye! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961930#3961930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961930 From do-not-reply at jboss.com Mon Jul 31 12:22:48 2006 From: do-not-reply at jboss.com (saravanag) Date: Mon, 31 Jul 2006 12:22:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Ant build.xml for JBoss 4.0.2 Message-ID: <27697337.1154362968033.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Peter I got the example View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961931#3961931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961931 From do-not-reply at jboss.com Mon Jul 31 12:26:06 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 31 Jul 2006 12:26:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: portlet title Message-ID: <12988744.1154363166706.JavaMail.jboss@colo-br-02.atl.jboss.com> One way is while in the Management Portlet, when you are placing the portlet on a page, click on the portlet and then click on the Theme option, and for Decoration Renderer choose emptyRenderer. That prevents the portlet title bar from being displayed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961932#3961932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961932 From do-not-reply at jboss.com Mon Jul 31 12:26:56 2006 From: do-not-reply at jboss.com (roy.russo@jboss.com) Date: Mon, 31 Jul 2006 12:26:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: 2.2 ---> 2.4 migration Message-ID: <15861321.1154363216697.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, that should read, "database descriptor". So whatever -ds you used for 2.2, you need to remove, as it will be connecting to the 2.4 -ds. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961933#3961933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961933 From do-not-reply at jboss.com Mon Jul 31 12:32:09 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 31 Jul 2006 12:32:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: How to dynamically create fork's transitions Message-ID: <7666524.1154363529116.JavaMail.jboss@colo-br-02.atl.jboss.com> I'd suggest just digging through jBPM's source code, tests, documentation, etc. so you feel more comfortable with jBPM if you are going to be writing your own nodes. There are examples of creating action handlers (not on forks, but in general) in the JUnit tests provided. Plus, the documentation/api gives good insights. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961934#3961934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961934 From do-not-reply at jboss.com Mon Jul 31 12:34:37 2006 From: do-not-reply at jboss.com (aron-smith) Date: Mon, 31 Jul 2006 12:34:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - I have remote working - but need a reference to a local bean Message-ID: <17284772.1154363677787.JavaMail.jboss@colo-br-02.atl.jboss.com> Accessing beans through the remote interface is working well. Within the container I want to have a bean access another bean - I think via the local interface (but I'll take what I can get). However i get a null reference back - any ideas what I am doing wrong? private static IMyoneLocal getMyone() throws ClassCastException, NamingException { return (IMyoneLocal) PortableRemoteObject.narrow( getBean(), IMyoneRemote.class); } private static Object getBean() throws NamingException { if (ctx == null) { ctx = new InitialContext(); } String beanName = "MyoneBean/local"; Object ref = ctx.lookup(beanName); return ref; } Is there anything special I need to meet the requirements of the context - seems unlikely given that I am in the container? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961935#3961935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961935 From do-not-reply at jboss.com Mon Jul 31 12:43:29 2006 From: do-not-reply at jboss.com (rrajesh) Date: Mon, 31 Jul 2006 12:43:29 -0400 (EDT) Subject: [jboss-user] [News & Announcements] - JBossSerialization 1.0.2.GA released Message-ID: <12931082.1154364209603.JavaMail.jboss@colo-br-02.atl.jboss.com> JBossSerialization 1.0.2.GA has been released on sourceforge and is available for download at the following url http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=188754&release_id=435947 Release Notes - JBoss Serialization - Version 1.0.2 GA Changes: Bug * [JBSER-77] - Can't serialize "new Class[] {Object[].class}" * [JBSER-78] - Serialize a Spring ApplicationContext Object * [JBSER-79] - Bug during serialization of the object type java.lang.Class * [JBSER-80] - Can't serialize a private inner class implementing Externalizable * [JBSER-82] - Can't deserialize "new byte[0][]" * [JBSER-83] - readResolve is being called on classReferences * [JBSER-85] - Can't serialize double[] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961936#3961936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961936 From do-not-reply at jboss.com Mon Jul 31 12:46:55 2006 From: do-not-reply at jboss.com (unome) Date: Mon, 31 Jul 2006 12:46:55 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where can I find process examples Message-ID: <28204249.1154364415844.JavaMail.jboss@colo-br-02.atl.jboss.com> The jbpm starter kit has a couple of examples you could look at View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961937#3961937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961937 From do-not-reply at jboss.com Mon Jul 31 12:49:47 2006 From: do-not-reply at jboss.com (jonabbey) Date: Mon, 31 Jul 2006 12:49:47 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: IllegalAccessError initializing ehcache.CacheManager Message-ID: <6491302.1154364587287.JavaMail.jboss@colo-br-02.atl.jboss.com> In the jbpm context (jbpm 3.1.2 from the starter kit on top of JBOSS 4.0.4 GA), here's what we did to fix things (from our internal wiki): The JBPM application included in the starters kit includes a version of ehcache, ehcache-1.1.jar, which is out of date and incompatible with the rest of the JBOSS environment. This link describes a fix to the problem, which is to replace ehcache-1.1.jar with ehcache-1.2.jar. I did this in the following manner: $ cd ${JBPM_SRC}/lib/hibernate $ cp ${DOWNLOADS}/ehcache-1.2.jar . $ svn rm ehcache-1.1.jar $ svn add ehcache-1.2.jar We also need to edit ${JBPM_SRC}/build.xml and change the reference to ehcache-1.1.jar to ehcache-1.2.jar, so that the new jar file is properly included in the jbpm.sar file that results. After this was done, I just rebuilt and re-installed the application. See below for the details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961938#3961938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961938 From do-not-reply at jboss.com Mon Jul 31 12:53:13 2006 From: do-not-reply at jboss.com (mimix) Date: Mon, 31 Jul 2006 12:53:13 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Eviction problems with JBossCache 1.4.0 Message-ID: <2819590.1154364793809.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are running some tests in JMeter (2 clustered jboss instances) and monitoring the results with JMX (JBoss 4.0.4GA), and we noticed the following behavior: jboss-cache 1.3.0 http://img120.imageshack.us/my.php?image=cachenodesandconnectionssg1.png jboss-cache 1.4.0 GA http://img259.imageshack.us/my.php?image=cachenodesandconnectionsko1.png Both are running the same tests, the only change is the version of JBoss Cache jar. It seems like eviction stopped working as soon as we upgraded the jar... how come? We are using hibernate 3.0.3cr3 (from CVS), optimistic locking, invalidation async. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961939#3961939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961939 From do-not-reply at jboss.com Mon Jul 31 12:53:50 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 12:53:50 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: conversation timeout Message-ID: <27198560.1154364830297.JavaMail.jboss@colo-br-02.atl.jboss.com> Conversation timeouts occur during requests. If you aren't making any requests to the server, they won't timeout. Put a breakpoint in org.jboss.seam.core.Manager.conversationTimeout(ExternalContext externalContext) to see it happen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961940#3961940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961940 From do-not-reply at jboss.com Mon Jul 31 12:54:40 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 12:54:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <27394064.1154364880397.JavaMail.jboss@colo-br-02.atl.jboss.com> No news, I have actually been working on other stuff. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961941#3961941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961941 From do-not-reply at jboss.com Mon Jul 31 12:55:33 2006 From: do-not-reply at jboss.com (chane) Date: Mon, 31 Jul 2006 12:55:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Could not create instance of org.apache.log4j.Level - org.ap Message-ID: <836255.1154364933828.JavaMail.jboss@colo-br-02.atl.jboss.com> Not sure where I'm hitting this particular exception; but is there an issue with using log4j. Should I be using something else? | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: conversation | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: em | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.core.ManagedPersistenceContext] destroying seam managed persistence context for persistence unit: java:/itsEntityManagerFactory | 2006-07-31 12:29:15,250 DEBUG [org.hibernate.jdbc.JDBCContext] TransactionFactory reported no active transaction; Synchronization not registered | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facesMessages | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: items | 2006-07-31 12:29:15,250 DEBUG [org.jboss.seam.contexts.Contexts] destroying: bo.fulfill.editor | 2006-07-31 12:29:15,250 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Attempting to activate; id=5c4o05h-b4fvoy-eqb10r0w-1-eqb11wuz-10 | 2006-07-31 12:29:15,250 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Reading session state from: C:\app\jboss\404GA-JEMS\server\default\tmp\sessions\FulfillmentEditor-eqb116ad-h\5c4o05h-b4fvoy-eqb10r0w-1-eqb11wuz-10.ser | 2006-07-31 12:29:15,250 DEBUG [org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager] Removing passivated state file: C:\app\jboss\404GA-JEMS\server\default\tmp\sessions\FulfillmentEditor-eqb116ad-h\5c4o05h-b4fvoy-eqb10r0w-1-eqb11wuz-10.ser | 2006-07-31 12:29:15,312 WARN [org.jboss.seam.contexts.Contexts] Could not destroy component: bo.fulfill.editor | java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of org.apache.log4j.Level - org.apache.log4j.Level | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:365) | at org.jboss.ejb3.stateful.StatefulBeanContext.getInstance(StatefulBeanContext.java:309) | at org.jboss.ejb3.AbstractPool.remove(AbstractPool.java:169) | at org.jboss.ejb3.cache.simple.SimpleStatefulCache.remove(SimpleStatefulCache.java:299) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.removeSession(StatefulRemoveInterceptor.java:126) | at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:87) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188) | at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) | at $Proxy160.destroy(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:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:16) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:35) | at org.jboss.seam.contexts.Contexts.callDestroyMethod(Contexts.java:211) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189) | at org.jboss.seam.contexts.Lifecycle.endSession(Lifecycle.java:191) | at org.jboss.seam.servlet.SeamListener.sessionDestroyed(SeamListener.java:45) | at org.apache.catalina.session.StandardSession.expire(StandardSession.java:687) | at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:579) | at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:678) | at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:663) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1284) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of org.apache.log4j.Level - org.apache.log4j.Level | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:327) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | 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:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196) | at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:411) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:81) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:639) | at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:165) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:343) | at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:342) | ... 35 more | Caused by: java.lang.InstantiationException: org.apache.log4j.Level | at java.lang.Class.newInstance0(Class.java:335) | at java.lang.Class.newInstance(Class.java:303) | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:319) | ... 90 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961942#3961942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961942 From do-not-reply at jboss.com Mon Jul 31 12:55:54 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 12:55:54 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem injecting a stateful session bean Message-ID: <6042718.1154364954871.JavaMail.jboss@colo-br-02.atl.jboss.com> Current Seam CVS gives a much more helpful exception message for these kinds of problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961943#3961943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961943 From do-not-reply at jboss.com Mon Jul 31 12:56:33 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 12:56:33 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem injecting a stateful session bean Message-ID: <6548819.1154364993451.JavaMail.jboss@colo-br-02.atl.jboss.com> But, of course, the easiest way to resolve the problem is to put a breakpoint in the line of Seam code that throws the exception. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961944#3961944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961944 From do-not-reply at jboss.com Mon Jul 31 12:58:58 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 12:58:58 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam component instantiation problem Message-ID: <23421319.1154365138290.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it in the same ejb-jar as the rest of the components? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961945#3961945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961945 From do-not-reply at jboss.com Mon Jul 31 13:00:32 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 13:00:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - @Begin(join=true) isn't making the conversation last longer Message-ID: <10381278.1154365232282.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a method in my class: | @Name("inbox") | @Scope(ScopeType.CONVERSATION) | public class InboxActionBean { | @Begin(nested=true) | | MyObject obj; | public void init(){ | if(loaded==null){ | obj = search(); | } | } | | ... | this init() method is called using page action. It works fine, the page renders with the data in MyObject. However any subsequent actions I call will cause a nullpointer because obj is null. This makes me think the conversation already ended after one request. I removed any @End annotaions and still the same.. I've got other conversations to work before but those conversations are @Begin(join=true, pageflow = "somePageFlow") I'm trying to create a conversation without using page flows. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961946#3961946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961946 From do-not-reply at jboss.com Mon Jul 31 13:00:37 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 13:00:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Could not create instance of org.apache.log4j.Level - or Message-ID: <2305598.1154365237626.JavaMail.jboss@colo-br-02.atl.jboss.com> We can't help unless you show code. But it looks like you try to serialize some log4j objects which are not serializable. Use transient? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961947#3961947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961947 From do-not-reply at jboss.com Mon Jul 31 13:03:07 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 13:03:07 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: messaging flow control related question Message-ID: <1728524.1154365387477.JavaMail.jboss@colo-br-02.atl.jboss.com> Raghu- Anyway, I would strongly recommend upgrading to RC4 when it comes out and see if it solves your problems. Thanks again for your patience. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961948#3961948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961948 From do-not-reply at jboss.com Mon Jul 31 13:25:13 2006 From: do-not-reply at jboss.com (cormierjf) Date: Mon, 31 Jul 2006 13:25:13 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Swimlane in start Message-ID: <10208381.1154366713672.JavaMail.jboss@colo-br-02.atl.jboss.com> I think the warning about the swimlane is normal. "Starting" a process instance is different if there is a task in the start node. I do not know exactly why. I think you need something like this to start the processInstance: | | if (processDef.getTaskMgmtDefinition().getStartTask() != null) { | TaskInstance startTask = processInstance.getTaskMgmtInstance().createStartTaskInstance(); | } else { | processInstance.signal(); | } | I use this code with Jbpm 3.1.1, it may be different for 3.2. JF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961951#3961951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961951 From do-not-reply at jboss.com Mon Jul 31 13:27:32 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Mon, 31 Jul 2006 13:27:32 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: problem with Starting conversations with GET requests Message-ID: <1494700.1154366852828.JavaMail.jboss@colo-br-02.atl.jboss.com> try | @In(create=true) @Out(scope=ScopeType.SESSION) | private Reguser reguser; | the create=true will instantiate Reguser when seam trys to inject it the @Out annotation will allow reguser to live across multiple requests View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961952#3961952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961952 From do-not-reply at jboss.com Mon Jul 31 13:27:37 2006 From: do-not-reply at jboss.com (manuel.gentile@itd.cnr.it) Date: Mon, 31 Jul 2006 13:27:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Progress Message-ID: <5934085.1154366857685.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok Gavin.... another question? I try many times to generate seam skeleton application from annotated bean! I can't be able to make it works!!!! Can you help me ? Eclipse IDE doens't allows annotaion configuration?? :-) Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961953#3961953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961953 From do-not-reply at jboss.com Mon Jul 31 13:28:29 2006 From: do-not-reply at jboss.com (chane) Date: Mon, 31 Jul 2006 13:28:29 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Could not create instance of org.apache.log4j.Level - or Message-ID: <18876480.1154366909348.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks - I will try your suggestion of using transient in a couple of places. If I had a remote idea of what was throwing the exception I would show it. However, not one of my classes is in the stack trace. Which means it has be to something in the conversation I am using. I do use a logging field on a lot of my entity/sfsb classes of the form: protected static Log log = LogFactory.getLog(Sale.class); This is hopefully the source of the error. Thanks again, Chris.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961954#3961954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961954 From do-not-reply at jboss.com Mon Jul 31 13:30:20 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Mon, 31 Jul 2006 13:30:20 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem testing seam using EntityManager Message-ID: <28406714.1154367020200.JavaMail.jboss@colo-br-02.atl.jboss.com> has anyone experienced this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961955#3961955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961955 From do-not-reply at jboss.com Mon Jul 31 13:34:20 2006 From: do-not-reply at jboss.com (unome) Date: Mon, 31 Jul 2006 13:34:20 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: monitoring piece of default webapp not displaying the co Message-ID: <24647423.1154367260134.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also using ehcache-1.2.jar instead of ehcache-1.1.jar that comes bundled with the jbpm starter kit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961956#3961956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961956 From do-not-reply at jboss.com Mon Jul 31 13:35:28 2006 From: do-not-reply at jboss.com (andrew.rw.robinson) Date: Mon, 31 Jul 2006 13:35:28 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Is a custom method interceptor in a POJO possible? Message-ID: <28330582.1154367328444.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an issue in which a 3rd party control is attempting to access a bean property of a conversation state bean during the decode phase. This property returns null (which the 3rd party control hates) when there is no conversation. So I thought that I would add a custom method interceptor on the get property method to check if the conversation is active and if not, immediately invoke the navigation handler (unlike the @Conversational which doesn't change the navigation for non-action methods). After developing it, it almost looks like Seam 1.0.1 doesn't support custom method-level interceptors on POJOs. Is this true? Here is my code: Bean class: @Name("editReportBean") | @Scope(ScopeType.CONVERSATION) | public class EditReportBean | { | ... | @ConversationRequired(ifNotBegunOutcome="return.report.list") | public TreeModel getAvailTreeModel() | { | return this.availTreeModel; | } Interceptor: @Target({TYPE, METHOD}) | @Retention(RUNTIME) | @Interceptors(ConversationRequiredInterceptor.class) | public @interface ConversationRequired | { | /** | * The JSF outcome if the component is invoked outside | * of the scope of its conversation | */ | String ifNotBegunOutcome(); | } The interceptor implementation: @Around({BijectionInterceptor.class, | ValidationInterceptor.class, | ConversationInterceptor.class}) | @Within({RemoveInterceptor.class}) | public class ConversationRequiredInterceptor | { | @AroundInvoke | public Object ensureActiveConversation(InvocationContext invocation) | throws Exception | { | Method method = invocation.getMethod(); | | if (!Manager.instance().isLongRunningConversation()) | { | String outcome = method.getAnnotation(ConversationRequired.class).ifNotBegunOutcome(); | FacesContext context = FacesContext.getCurrentInstance(); | context.getApplication().getNavigationHandler().handleNavigation(context, | null, outcome); | throw new AbortProcessingException(); | } | | return invocation.proceed(); | } | } The "ensureActiveConversation" method of the interceptor implementation class is never invoked. Is this possible? What else can I do to stop this (I will probably put a work around in, but would like to know if I can get custom interceptors to work on POJO methods). Thanks, ANdrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961957#3961957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961957 From do-not-reply at jboss.com Mon Jul 31 13:35:57 2006 From: do-not-reply at jboss.com (merkkila) Date: Mon, 31 Jul 2006 13:35:57 -0400 (EDT) Subject: [jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Connection pool filling up, or is it? Message-ID: <30437212.1154367357355.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss 4.0.4GA - 3 app servers clustered behind IIS 6 w/ mod_jk and session replication with TreeCache, Hibernate 3.1.3 (session per request using threadlocal to store session/servlet filter for opening and commiting of transactions). Oracle 9.2.0.4 / 10.2.0.1.0 JDBC driver After some random amount of time (1-3 days) it seems at least one, sometimes more, of the app servers lose connection to the database. 2006-07-31 05:35:18,971 ERROR org.hibernate.util.JDBCExceptionReporter No ManagedConnections available within configured blocking timeout ( 3000 ms ) When I inspect the jmx-console I see that my connection pool has reached its max. (min 2/max 75). I have read everything I can find about the dreaded "No ManagedConnections" error. I have been monitoring the pool through the jmx-console and it seems to be creating/releasing connections as it should so I don't think I am leaking any anywhere. I have turned on the logging and I never get any messages suggesting otherwise. Is it possible we are doing so much work that we actually use all the connections to the DB? What happens when you reach the max in your pool? Will it recover once load decreases? ds-file | | | prod3 | | false | 2 | 75 | 3000 | 1 | oracle.jdbc.xa.client.OracleXADataSource | jdbc:oracle:thin:@192.168.50.15:1521:ssdb | yeah | right | | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | true | | | Oracle9i | | | | | jboss:service=TransactionManager | | | | Any help would be great. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961958#3961958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961958 From do-not-reply at jboss.com Mon Jul 31 13:41:21 2006 From: do-not-reply at jboss.com (cpob) Date: Mon, 31 Jul 2006 13:41:21 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where can I find process examples Message-ID: <32319103.1154367681844.JavaMail.jboss@colo-br-02.atl.jboss.com> The JUnit tests also have xml snippets inside them that represent simple/varied process definitions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961959#3961959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961959 From do-not-reply at jboss.com Mon Jul 31 13:50:25 2006 From: do-not-reply at jboss.com (julio.vitorino) Date: Mon, 31 Jul 2006 13:50:25 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How to retrieve client IP address? Message-ID: <8244360.1154368225211.JavaMail.jboss@colo-br-02.atl.jboss.com> In you server side code, put the following code: import org.apache.axis.MessageContext; import org.apache.axis.Constants; ... ... in your webservice method, put: public void someMethod() { MessageContext context = MessageContext.getCurrentContext(); String callerIP = (String)context.getProperty(Constants.MC_REMOTE_ADDR); system.out.println("CallerIP = " + callerIP); // Your code goes here... } Bye, Julio. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961961#3961961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961961 From do-not-reply at jboss.com Mon Jul 31 13:51:02 2006 From: do-not-reply at jboss.com (ujay68) Date: Mon, 31 Jul 2006 13:51:02 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Bugs in org.jbpm.graph.node.Decision? Message-ID: <31514951.1154368262927.JavaMail.jboss@colo-br-02.atl.jboss.com> I was wondering why the following decision node doesn't work with v3.1.2: | | | #{myVar == 1} | | | | | | | When neither condition is true, the t1 transition is taken, not the 'otherwise' transition. When the second condition is true, transition t1 is taken. I believe there are a couple of flaws in Decision.java: 1. A break probably is missing after line 121 2. An assignment to transitionName is probably missing at line 126 3. The calls to getDefaultLeavingTransition() at lines 126 and 140 are probably wrong, because the decision node type is document to take the last transition as the default transition, not the first one. Or am I missing something? Regards, Jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961962#3961962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961962 From do-not-reply at jboss.com Mon Jul 31 13:51:47 2006 From: do-not-reply at jboss.com (nbarker) Date: Mon, 31 Jul 2006 13:51:47 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - ebxmlrr Message-ID: <29112202.1154368307335.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am interested in ebXML, and I see from the wiki that ebxmlrr-service.sar used to be in JBoss (JBoss-4.0.1) and is still accessible from CVS, and now it is taken out of JBoss-4.0.4. Is the ebxmlrr-service still going to be maintained? Are there any examples on how to use it as a service, can I use it from Apache Scout? If ebxmlrr is not going to be maintained, what is the future for JBoss and ebXML? I am just planning and investigating at the moment, but ebXML has been mandated. Many thanks, Norman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961963#3961963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961963 From do-not-reply at jboss.com Mon Jul 31 13:55:23 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Mon, 31 Jul 2006 13:55:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Interesting problem with seam and DataModel and hibernate Message-ID: <8883135.1154368523281.JavaMail.jboss@colo-br-02.atl.jboss.com> Here's the session bean snippet... | @Out(scope=ScopeType.SESSION) | private DataModel openPackages = new ListDataModel(); | | private String opQuery = "from PackageEntity p, OfficeEntity o where p.office.id = o.id and p.code = 'OPN' and o.id = 1"; | | @Create | @Factory("openPackages") | public void init() { | openPackages.setWrappedData(em.createQuery(opQuery).getResultList()); | openPackages.addDataModelListener(this); | openPackages.setRowIndex(0); | } | the jsf snippet | | | | | | | | | | .... more columns ... | | the exception i receive... | java.lang.NumberFormatException: For input string: "id" | at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) | at java.lang.Integer.parseInt(Integer.java:447) | at java.lang.Integer.parseInt(Integer.java:497) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:138) | at com.sun.el.parser.AstValue.getValue(AstValue.java:96) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56) | at javax.faces.component.UICommand.getValue(UICommand.java:170) | at org.apache.myfaces.renderkit.html.HtmlLinkRendererBase.encodeBegin(HtmlLinkRendererBase.java:87) | at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307) | at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:441) | at org.apache.myfaces.renderkit.RendererUtils.renderChildren(RendererUtils.java:427) | at org.apache.myfaces.renderkit.RendererUtils.renderChild(RendererUtils.java:448) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:195) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:168) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:154) | at org.apache.myfaces.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:94) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:319) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:557) | at com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | I believe I know what's wrong but I'm not sure why or how to fix it. So, if you guys will bear with me and read along I'll explain as best I can. I think the problem lies in the query which does a join and the resultant List actually consists of both entity (PackageEntity and OfficeEntity) objects retreive from the database (using hibernate). The reason I say this is because I had everything working just fine with the simple query like so from PacakgeEntity p where p.code = 'OPN' This simple query returned a list of PackageEntity objects and all was good. The new query returns a list alright, but it's not a PackageEntity list. It's an Object list. Each element in the object list then contains a list of PackageEnity and OfficeEntity objects that were created from the join (so I think). So, it's seems that I have some sort of referencing problem and I don't really now how to resolve it. Please ask if you need more information. This is hard to explain. Thanks. Eric Ray View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961964#3961964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961964 From do-not-reply at jboss.com Mon Jul 31 13:56:30 2006 From: do-not-reply at jboss.com (rsood72) Date: Mon, 31 Jul 2006 13:56:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: problem trying to deploy a simple helloworldejb.jar Message-ID: <12764702.1154368590535.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for your help..i got new insights and found new things that I need to learn . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961965#3961965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961965 From do-not-reply at jboss.com Mon Jul 31 13:58:37 2006 From: do-not-reply at jboss.com (klsateesh) Date: Mon, 31 Jul 2006 13:58:37 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam component instantiation problem Message-ID: <32201327.1154368717590.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am also having an issue with the Instantiation of the Seam Component.. I am trying the HelloWorld App in examples/remoting.. In the JBoss Server log i see the component.. | | 13:43:42,828 INFO [Scanner] scanning: /D:/Projects/DPA/Jboss4.0.4/server/default/tmp/deploy/tmp43419MySeamTest.ear-cont | ents/MySeamTest-ejb.jar | 13:43:42,828 INFO [Component] Component: helloAction, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss. | seam.example.remoting.HelloAction, JNDI: MySeamTest-war/HelloAction/local | 13:43:42,984 INFO [Initialization] done initializing Seam | | Note: i have created an EAR App (MySeamtest) in NetBeans and hence the name MySeamTest.ear.. And when i run the App it is accepting the User Name and the throwing the following Exception.. | 13:43:58,429 ERROR [ExecutionHandler] Error during remote request | org.jboss.seam.InstantiationException: Could not instantiate Seam component: helloAction | at org.jboss.seam.Component.newInstance(Component.java:735) | at org.jboss.seam.Component.newInstance(Component.java:1308) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.remoting.Call.execute(Call.java:101) | at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:92) | at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:56) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java | :664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.LocalOnlyContextFactory | [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory] | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:197) | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:28) | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37) | at org.jboss.seam.Component.instantiate(Component.java:774) | at org.jboss.seam.Component.newInstance(Component.java:731) | ... 26 more | Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) | ... 33 more | And in the Debug window i see this output | Mon Jul 31 2006 13:51:35 GMT-0400 (Eastern Daylight Time): Request packet: |
    | sdsdf
    | | | Mon Jul 31 2006 13:51:35 GMT-0400 (Eastern Daylight Time): Response packet: | I have added the following context parameter to web.xml | | org.jboss.seam.core.init.jndiPattern | MySeamTest-war/#{ejbName}/local | | Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961966#3961966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961966 From do-not-reply at jboss.com Mon Jul 31 14:05:27 2006 From: do-not-reply at jboss.com (ezequielb) Date: Mon, 31 Jul 2006 14:05:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - oneToMany returning duplicated objects. Message-ID: <31205702.1154369127901.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi to all, I have this on Employees's class /** * * @return Collection */ @OneToMany( cascade = {CascadeType.PERSIST, CascadeType.MERGE}, fetch = FetchType.LAZY, mappedBy = "owner" ) public Collection getUploadedFiles() { return uploadedFiles; } I have these on UploadedFile's class /** * * @return Employee */ @ManyToOne @JoinColumn(name = "EMPLOYEE_ID") public Employee getOwner() { return owner; } /** * * @return Collection */ @OneToMany( cascade = {CascadeType.ALL}, fetch = FetchType.LAZY, mappedBy = "uploadedFile" ) public Collection getEmployeesAccess() { return employeesAccess; } and this on UploadedFileEmployeeAccess's class /** * * @return UploadedFile */ @ManyToOne @JoinColumn(name = "UPLOADED_FILE_ID") public UploadedFile getUploadedFile() { return uploadedFile; } /** * * @return Employee */ @ManyToOne @JoinColumn(name = "EMPLOYEE_ID") public Employee getEmployee() { return employee; } for each N UploadedFileEmployeeAccess added to the UploadedFile object there is N duplicated object retrieved in Employee's getUploadedFiles() method. Does any know what could be happening? Thanks in advance. Ezequiel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961967#3961967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961967 From do-not-reply at jboss.com Mon Jul 31 14:08:01 2006 From: do-not-reply at jboss.com (klsateesh) Date: Mon, 31 Jul 2006 14:08:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam component instantiation problem Message-ID: <22409832.1154369281902.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, It seems the name should be MySeamTest/HelloAction/local instead of MySeamTest-war/HelloAction/local . I made the change and still getting the error..!! "klsateesh" wrote : Hi, | | I am also having an issue with the Instantiation of the Seam Component.. | | I am trying the HelloWorld App in examples/remoting.. | | In the JBoss Server log i see the component.. | | | | | | 13:43:42,828 INFO [Scanner] scanning: /D:/Projects/DPA/Jboss4.0.4/server/default/tmp/deploy/tmp43419MySeamTest.ear-cont | | ents/MySeamTest-ejb.jar | | 13:43:42,828 INFO [Component] Component: helloAction, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss. | | seam.example.remoting.HelloAction, JNDI: MySeamTest-war/HelloAction/local | | 13:43:42,984 INFO [Initialization] done initializing Seam | | | | | | Note: i have created an EAR App (MySeamtest) in NetBeans and hence the name MySeamTest.ear.. | | And when i run the App it is accepting the User Name and the throwing the following Exception.. | | | | | | 13:43:58,429 ERROR [ExecutionHandler] Error during remote request | | org.jboss.seam.InstantiationException: Could not instantiate Seam component: helloAction | | at org.jboss.seam.Component.newInstance(Component.java:735) | | at org.jboss.seam.Component.newInstance(Component.java:1308) | | at org.jboss.seam.Component.getInstance(Component.java:1263) | | at org.jboss.seam.Component.getInstance(Component.java:1246) | | at org.jboss.seam.remoting.Call.execute(Call.java:101) | | at org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:92) | | at org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:56) | | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java | | :664) | | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | | at java.lang.Thread.run(Thread.java:595) | | Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.LocalOnlyContextFactory | | [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory] | | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657) | | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | | at javax.naming.InitialContext.init(InitialContext.java:223) | | at javax.naming.InitialContext.(InitialContext.java:197) | | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:28) | | at org.jboss.seam.util.Naming.getInitialContext(Naming.java:37) | | at org.jboss.seam.Component.instantiate(Component.java:774) | | at org.jboss.seam.Component.newInstance(Component.java:731) | | ... 26 more | | Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.LocalOnlyContextFactory | | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) | | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) | | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | | at java.lang.Class.forName0(Native Method) | | at java.lang.Class.forName(Class.java:242) | | at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) | | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654) | | ... 33 more | | | | And in the Debug window i see this output | | | Mon Jul 31 2006 13:51:35 GMT-0400 (Eastern Daylight Time): Request packet: | |
    | | sdsdf
    | | | | | | Mon Jul 31 2006 13:51:35 GMT-0400 (Eastern Daylight Time): Response packet: | | | | I have added the following context parameter to web.xml | | | | | | org.jboss.seam.core.init.jndiPattern | | MySeamTest-war/#{ejbName}/local | | | | | | Thanks | Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961968#3961968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961968 From do-not-reply at jboss.com Mon Jul 31 14:09:51 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 14:09:51 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <12654223.1154369391962.JavaMail.jboss@colo-br-02.atl.jboss.com> actually the conversation is started, as when I go to other pages in the same conversation using in my output links the obj is still available so I know I'm in the conversation. However on the page when I do posts, just with a simple I get the following exception... Am I supposed to have some hidden field for the conversationId here? Seems like the conversation is lost when I press this button. | javax.servlet.ServletException: No conversation context active | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961969#3961969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961969 From do-not-reply at jboss.com Mon Jul 31 14:14:02 2006 From: do-not-reply at jboss.com (mimix) Date: Mon, 31 Jul 2006 14:14:02 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Eviction problems with JBossCache 1.4.0 Message-ID: <12839273.1154369642263.JavaMail.jboss@colo-br-02.atl.jboss.com> To complement the previous post, we are seeing this strange behavior of jboss-cache 1.4 in the logs every time the eviction thread wakes up: 2006-07-31 15:10:08,583 DEBUG [org.jboss.cache.interceptors.TxInterceptor] local transaction exists - registering global tx if not present for Thread[Timer-3,5,jboss] 2006-07-31 15:10:08,583 INFO [org.jboss.cache.interceptors.OptimisticNodeInterceptor] read Method _evict(/com/xyz/model/credit/Proposal/com.xyz.model.credit.Proposal#402884810cc59a9d010cc5b646e000e8) called - don't know how to handle, passing on! 2006-07-31 15:10:08,583 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Running commit phase. One phase? false 2006-07-31 15:10:08,583 DEBUG [org.jboss.cache.interceptors.OptimisticValidatorInterceptor] commiting validated changes 2006-07-31 15:10:08,583 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished local commit/rollback method for GlobalTransaction::64623 2006-07-31 15:10:08,583 DEBUG [org.jboss.cache.interceptors.TxInterceptor] Finished commit phase View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961970#3961970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961970 From do-not-reply at jboss.com Mon Jul 31 14:15:47 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 14:15:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <13725381.1154369747504.JavaMail.jboss@colo-br-02.atl.jboss.com> Another thing I don't understand is that I actually tried taking out the in my outputlinks and still the following pages were able to continue the conversation... Although this is a separate problem from the original post View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961972#3961972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961972 From do-not-reply at jboss.com Mon Jul 31 14:18:25 2006 From: do-not-reply at jboss.com (klsateesh) Date: Mon, 31 Jul 2006 14:18:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam component instantiation problem Message-ID: <27507895.1154369905256.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I Checked the JNDI MBean View and i see an entry for Hello Action.. | | Global JNDI Namespace | | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- MySeamTest (class: org.jnp.interfaces.NamingContext) | | +- HelloAction (class: org.jnp.interfaces.NamingContext) | | | +- local (proxy: $Proxy182 implements interface org.jboss.seam.example.remoting.HelloLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | pls let me know how to resolve this.. Thanks Sateesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961973#3961973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961973 From do-not-reply at jboss.com Mon Jul 31 14:18:57 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 14:18:57 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Seam component instantiation problem Message-ID: <31824799.1154369937319.JavaMail.jboss@colo-br-02.atl.jboss.com> You don't have the JBoss JNDI implementation in your classpath. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961974#3961974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961974 From do-not-reply at jboss.com Mon Jul 31 14:19:25 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 14:19:25 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <13598051.1154369965205.JavaMail.jboss@colo-br-02.atl.jboss.com> Show the rest of the stack trace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961975#3961975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961975 From do-not-reply at jboss.com Mon Jul 31 14:19:53 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 14:19:53 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Could not create instance of org.apache.log4j.Level - or Message-ID: <17409432.1154369993808.JavaMail.jboss@colo-br-02.atl.jboss.com> You probably missed "static" somewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961976#3961976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961976 From do-not-reply at jboss.com Mon Jul 31 14:21:15 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 14:21:15 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is a custom method interceptor in a POJO possible? Message-ID: <33333936.1154370075196.JavaMail.jboss@colo-br-02.atl.jboss.com> Method-level interceptors is a current todo item in JIRA. But you can do it the standard EJB3 way: ie. add an @Interceptors annotation to the method, or specify it in ejb-jar.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961977#3961977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961977 From do-not-reply at jboss.com Mon Jul 31 14:22:04 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 14:22:04 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Problem testing seam using EntityManager Message-ID: <4408898.1154370124592.JavaMail.jboss@colo-br-02.atl.jboss.com> Go back to the example applications, and do *exactly* what they do. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961978#3961978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961978 From do-not-reply at jboss.com Mon Jul 31 14:29:01 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 14:29:01 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <26675711.1154370541426.JavaMail.jboss@colo-br-02.atl.jboss.com> | 2006-07-31 11:28:16,637 ERROR [org.jboss.seam.servlet.SeamExceptionFilter] uncaught exception handled by Seam | javax.servlet.ServletException: No conversation context active | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2006-07-31 11:28:16,666 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[vnl4].[/].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: No conversation context active | at org.jboss.seam.ScopeType.getContext(ScopeType.java:88) | at org.jboss.seam.Component.newInstance(Component.java:1311) | at org.jboss.seam.Component.getInstance(Component.java:1263) | at org.jboss.seam.Component.getInstance(Component.java:1246) | at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) | at org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42) | at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:134) | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:65) | at com.sun.el.parser.AstValue.getTarget(AstValue.java:62) | at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:125) | at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230) | at com.sun.facelets.el.TagValueExpression.isReadOnly(TagValueExpression.java:82) | at com.sun.facelets.el.LegacyValueBinding.isReadOnly(LegacyValueBinding.java:82) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:68) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:41) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:78) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:41) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:78) | at org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:41) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:179) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961980#3961980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961980 From do-not-reply at jboss.com Mon Jul 31 14:29:39 2006 From: do-not-reply at jboss.com (wtff) Date: Mon, 31 Jul 2006 14:29:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Re: User Input Req for 2.6 Usability and UI enhancements Message-ID: <6964590.1154370579638.JavaMail.jboss@colo-br-02.atl.jboss.com> a nice UI enhancement would be to include all widgets /regions usually found within a portal page. For example, the current jboss portal demo pages have tabs and portlets but it is also common to have a breadcrump menu and a dynamic dropdown menu at the top region and to have a standard-but customizable approach for populating the dropdown menu and the tabs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961981#3961981 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961981 From do-not-reply at jboss.com Mon Jul 31 14:29:49 2006 From: do-not-reply at jboss.com (andrew.rw.robinson) Date: Mon, 31 Jul 2006 14:29:49 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Is a custom method interceptor in a POJO possible? Message-ID: <4539377.1154370589986.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately I am stuck in POJOs for this project at the moment and the @Interceptors doesn't seem to work with them. I think I'll use another work-around. Good to know that is a TODO item though. Thank you, Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961982#3961982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961982 From do-not-reply at jboss.com Mon Jul 31 14:30:53 2006 From: do-not-reply at jboss.com (unome) Date: Mon, 31 Jul 2006 14:30:53 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: monitoring piece of default webapp not displaying the co Message-ID: <1888699.1154370653830.JavaMail.jboss@colo-br-02.atl.jboss.com> Another interesting behavior I noticed: If the MDB "signals" before the task-node is completed, the processing goes to join but realises that it cannot complete since the other token is still active. But on completion of the task, processing does not resume at join. It says that other token (to_stateA) is still active. I'm obviously not getting something here. The reason I say this is because if the Task-node completes before StateA, processing resumes at join and goes ahead (of course the monitoring piece of the webapp does not show the correct results) Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961983#3961983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961983 From do-not-reply at jboss.com Mon Jul 31 14:35:56 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 14:35:56 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <1819955.1154370956952.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also noticing in the address bar of the browser, the conversationId often changes numbers when I do a post. However, outputlinks with stay put. Even though I'm not even sure why I use it since when I don't use it the conversation still seems to be active despite the fact that the conversationId changes on the address bar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961984#3961984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961984 From do-not-reply at jboss.com Mon Jul 31 14:36:02 2006 From: do-not-reply at jboss.com (onizukanne) Date: Mon, 31 Jul 2006 14:36:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS on CentOS - Logging Issue Message-ID: <4019266.1154370962913.JavaMail.jboss@colo-br-02.atl.jboss.com> Very many thanks for the insight j, A thorough review of the thread dump threw up the culprit and we have updated the system accordingly. Would watch it through tomorrow to monitor performance, but for the most part I believe the worst is over. Thanks again mate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961985#3961985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961985 From do-not-reply at jboss.com Mon Jul 31 14:38:14 2006 From: do-not-reply at jboss.com (ShadenS) Date: Mon, 31 Jul 2006 14:38:14 -0400 (EDT) Subject: [jboss-user] [JBossWS] - HandlerRegistry... why not ? Message-ID: <931329.1154371094412.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I understand that JBossWs Staff loves J2EE client. But, I remember that J2SE client also exists in this world. Unfortunately, I have to work with last kind of client. In your opinion, if I would to create a client standalone (example, with Swing style) that connect to a "pinco-pallino" web service (in a security way), which Saint I must call? Do I have to send also AS within client?!! O_o Ok, sorry about my outlet, but I'm going mad. Now, my question: I try to add a handler to a DII client. I obtain this error: anonymous wrote : Exception in thread "main" java.lang.UnsupportedOperationException: Components should not use the getHandlerRegistry() method. | at org.jboss.ws.jaxrpc.ServiceImpl.getHandlerRegistry(ServiceImpl.java:253) | at src.client.ClientTime.main(ClientTime.java:46) So, what could I use? My DII client: package src.client; | | import src.client.MyHandler; | | | import java.rmi.RemoteException; | import java.util.List; | | import javax.xml.rpc.Service; | import javax.xml.rpc.ServiceException; | import javax.xml.rpc.ServiceFactory; | import javax.xml.rpc.Call; | | import javax.xml.namespace.QName; | import javax.xml.rpc.ParameterMode; | | | import javax.xml.rpc.handler.HandlerInfo; | import javax.xml.rpc.handler.HandlerRegistry; | | import javax.xml.rpc.soap.SOAPFaultException; | | | | /** This is a DII Client | * 28-07-2006 | * **/ | | public class ClientTime { | | private static String endpoint = "http://pc3000:8080/July-EjbWs-181/TimeBean"; | private static String qnameService = "WhatTime"; | private static String qnamePort = "EndpointInterface"; | private static String BODY_NAMESPACE_VALUE = "http://is.time.it/"; | private static String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri"; | private static String NS_XSD = "http://www.w3.org/2001/XMLSchema"; | private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; | | | | public static void main(String[] args) { | try { | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(new QName(qnameService)); | | HandlerRegistry registry = service.getHandlerRegistry(); | | QName port = new QName(qnamePort); | | List handlerChain = registry.getHandlerChain(port); | HandlerInfo handlerInfo = new HandlerInfo(); | handlerInfo.setHandlerClass(MyHandler.class); | handlerChain.add(handlerInfo); | | //create JAX-RPC Call using JAX-RPC Service's createCall() method. | Call call = service.createCall(port); | | // Configure your Call instance with its setter methods | call.setTargetEndpointAddress(endpoint); | call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true)); | call.setProperty(Call.SOAPACTION_URI_PROPERTY, ""); | call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING); | QName QNAME_TYPE_STRING = new QName(NS_XSD, "string"); | call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "whatTimeIsIt")); | call.setReturnType(QNAME_TYPE_STRING); | | call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN); | String[] params = { "Dr. Emmet Brown " }; | | // Invoke the WS operation using the JAX-RPC Call's invoke method | String result = (String) call.invoke(params); | | System.out.println(result); | | } catch (SOAPFaultException ex) { | System.out.println("Error about Soap messages."); | ex.printStackTrace(); | } catch (RemoteException e) { | System.out.println("Errore sulla call.invoke"); | e.printStackTrace(); | } catch (ServiceException e) { | System.out.println("Errore sulla Service o createService"); | e.printStackTrace(); | } | } | | | | } | My Handler class: package src.client; | | import javax.xml.namespace.QName; | import javax.xml.rpc.handler.GenericHandler; | import javax.xml.rpc.handler.MessageContext; | import javax.xml.rpc.handler.soap.SOAPMessageContext; | import javax.xml.soap.SOAPEnvelope; | import javax.xml.soap.SOAPHeader; | import javax.xml.soap.SOAPMessage; | import javax.xml.soap.SOAPPart; | | public class MyHandler extends GenericHandler{ | public boolean handleRequest(MessageContext ctx) { | try { | SOAPMessage msg =((SOAPMessageContext)ctx).getMessage(); | SOAPPart sp = msg.getSOAPPart(); | SOAPEnvelope se = sp.getEnvelope(); | SOAPHeader header = se.getHeader(); | | header.getFirstChild(); | // Now you can process | // the header | System.out.println("Passo dentro MyHandler!"); | | } catch(Exception ex) { | // if you throw a | // RuntimeException | // here then a SOAPFault | // will be generated | } | | return true; | } | | public QName[] getHeaders() { | // TODO Auto-generated method stub | return null; | } | | } | Bye! :_( P.s. I read chapter 6... but the example are hard and they always are about j2ee client, that is deployed O_o View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961986#3961986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961986 From do-not-reply at jboss.com Mon Jul 31 14:38:55 2006 From: do-not-reply at jboss.com (Monisha) Date: Mon, 31 Jul 2006 14:38:55 -0400 (EDT) Subject: [jboss-user] [JBoss Getting Started Documentation] - serving static content in Jboss 4 onwards Message-ID: <546480.1154371135177.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was using Jboss3.2.3 until recently and the way we serverd static content was to add the path to the jboss-service.xml in the jbosswebtomcat.sar/META-INF in the tag. Migrating over to jboss 4+ looks like this tag is no longer supported. The alternate way suggested is to have the static content copied below in ROOT.war and since this is the default context, files will be accessible. Is there any way similar to the earlier 3.2.3 configuration where a path could be specified and there is no need to copy files within the appserver directory structure? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961987#3961987 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961987 From do-not-reply at jboss.com Mon Jul 31 14:58:58 2006 From: do-not-reply at jboss.com (sharmanils) Date: Mon, 31 Jul 2006 14:58:58 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Exception while running WS-Eventing sample Message-ID: <30363631.1154372338444.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting exception while running the WSEventing sample application. Basically its not able to deploy war and jar file. Path is correct. Any kind of help will be appreciated. Many Thanks in Advance Nilesh test: | [junit] Running org.jboss.test.ws.samples.wseventing.SysmonTestCase | [junit] javax.management.MBeanException | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) | [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | [junit] at sun.rmi.transport.Transport$1.run(Transport.java:153) | [junit] at java.security.AccessController.doPrivileged(Native Method) | [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | [junit] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) | [junit] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | [junit] at java.lang.Thread.run(Thread.java:595) | [junit] Caused by: org.jboss.deployment.DeploymentException: url file:/C:/Projects/WebApp/src/WSEventing/output/libs/jbossws-samples-eventing.war could not be opened, does it exist? | [junit] at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211) | [junit] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:770) | [junit] at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] ... 47 more | [junit] javax.management.MBeanException | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260) | [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) | [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | [junit] at sun.rmi.transport.Transport$1.run(Transport.java:153) | [junit] at java.security.AccessController.doPrivileged(Native Method) | [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | [junit] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) | [junit] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | [junit] at java.lang.Thread.run(Thread.java:595) | [junit] Caused by: org.jboss.deployment.DeploymentException: url file:/C:/Projects/WebApp/src/WSEventing/output/libs/jbossws-samples-eventing-client.jar could not be opened, does it exist? | [junit] at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:211) | [junit] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:770) | [junit] at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) | [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [junit] at java.lang.reflect.Method.invoke(Method.java:585) | [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | [junit] ... 47 more | [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 22.534 sec | [junit] Test org.jboss.test.ws.samples.wseventing.SysmonTestCase FAILED View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961988#3961988 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961988 From do-not-reply at jboss.com Mon Jul 31 15:02:54 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 15:02:54 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Bugs in org.jbpm.graph.node.Decision? Message-ID: <10250040.1154372574400.JavaMail.jboss@colo-br-02.atl.jboss.com> The working of decision has been the topic on this forum before e.g. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78714. Is the behaviour you see in line what is discussed there? Is that different from the docs (what version of the docs, the online ones or from the source) ? The reason I ask this is that it could be that the behaviour (how much it is unwanted) could be the 'correct/current' one. According to the online docs, a transition without a condition results to true (for the option to have the 'otherwise') It does not need to be the last one. The default transition is the first one. I'm not saying what you see is not a bug, but it is so fundamental and discussed before that I want to be sure. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961989#3961989 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961989 From do-not-reply at jboss.com Mon Jul 31 15:05:05 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 15:05:05 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Swimlane in start Message-ID: <26859707.1154372705876.JavaMail.jboss@colo-br-02.atl.jboss.com> afaik it should be called INITIATOR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961990#3961990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961990 From do-not-reply at jboss.com Mon Jul 31 15:05:22 2006 From: do-not-reply at jboss.com (c_eric_ray) Date: Mon, 31 Jul 2006 15:05:22 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Interesting problem with seam and DataModel and hibernat Message-ID: <29457340.1154372722938.JavaMail.jboss@colo-br-02.atl.jboss.com> Solved my own problem. I apologize if I've wasted your time. needed to modify my query from | from PackageEntity p, OfficeEntity o where p.office.id = o.id and p.code = 'OPN' and o.id = 1" | to this | select p from PackageEntity p, OfficeEntity o where p.office.id = o.id and p.code = 'OPN' and o.id = 1" | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961991#3961991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961991 From do-not-reply at jboss.com Mon Jul 31 15:11:52 2006 From: do-not-reply at jboss.com (pasmith) Date: Mon, 31 Jul 2006 15:11:52 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Post Again:File download dialog apprears instead of page Message-ID: <7295616.1154373112604.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are having this exact same problem. Were you able to solve this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961992#3961992 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961992 From do-not-reply at jboss.com Mon Jul 31 15:26:55 2006 From: do-not-reply at jboss.com (chane) Date: Mon, 31 Jul 2006 15:26:55 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Conversation List Message-ID: <8932874.1154374015741.JavaMail.jboss@colo-br-02.atl.jboss.com> Do I have to set a configuration parameter to get the conversationList populated in seam? I ask because I grabed the following code from the booking example (which I can deploy and works great on my machine). However, when I paste the following into my facelets xhtml, the conversation list is not generated: | | | | | | | | | | | | - | | | | | | | My facelet is the following. I have the conversationList in the same form and in it's own form. Niether form worked in my example. | | | | | Fulfillment - #{conversation.id} | | | | | | | | | | | | |
    |
    | |
    |
    | | | | Workspace | | | | | Activity | | | | | | | | | | Action | | | | |
    | | | |
    | | | | | | |
    | | | | | | | | | | | - | | | | | |
    |
    | |
    | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961994#3961994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961994 From do-not-reply at jboss.com Mon Jul 31 15:41:51 2006 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 31 Jul 2006 15:41:51 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: monitoring piece of default webapp not displaying the co Message-ID: <20339398.1154374911308.JavaMail.jboss@colo-br-02.atl.jboss.com> Could it be the mdb runs in the transaction created by jBPM? In that case the behaviour you see may be slithgly explained. You signal the stateA in it's own node-enter, wich is not advised. If you can look into this, we can go further from there. could you create a pd.xml with the classes and an mdb.jar so if needed we can try to simulate? Maybe initially post the code of the mdb and the external service action handler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961995#3961995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961995 From do-not-reply at jboss.com Mon Jul 31 15:49:11 2006 From: do-not-reply at jboss.com (chicago_pool_dude) Date: Mon, 31 Jul 2006 15:49:11 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Clearing Cache Message-ID: <32077788.1154375351903.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Everyone, I want to clear the contents of the cache, i am using removeData() from this.cache.removeData("/"+node); Treecache Class which causes java.lang.NullPointerException I am trying to clear the data from main root level. So...where would i be doing wrong. Can you suggest any good way to clear the contents to the tree As i am not sure if i am doing it right Thanks in advance Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961996#3961996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961996 From do-not-reply at jboss.com Mon Jul 31 15:49:57 2006 From: do-not-reply at jboss.com (luowp) Date: Mon, 31 Jul 2006 15:49:57 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: Where can I find process examples Message-ID: <10646793.1154375397648.JavaMail.jboss@colo-br-02.atl.jboss.com> Thx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961997#3961997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961997 From do-not-reply at jboss.com Mon Jul 31 15:50:24 2006 From: do-not-reply at jboss.com (turksheadsw) Date: Mon, 31 Jul 2006 15:50:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Problem with EJB3StandaloneBootstrap.shutdown() in ALPHA Message-ID: <5302875.1154375424430.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the same issue. I'm not an expert on the JBoss Microkernel thingie, however, I think these exceptions are basically harmless. You can replace the ugly exceptions with less ugly warnings by pasting the following into your jboss-jms-beans.xml file right after the opening tag: | | | | Now you'll see the following: | WARN 31-07 15:42:23,702 (ServiceController.java:stop:480) -Ignoring request to stop nonexistent service: jboss.mq:service=StateManager | WARN 31-07 15:42:23,702 (ServiceController.java:destroy:540) -Ignoring request to destroy nonexistent service: jboss.mq:service=StateManager | WARN 31-07 15:42:23,717 (ServiceController.java:stop:480) -Ignoring request to stop nonexistent service: jboss.mq:service=PersistenceManager | WARN 31-07 15:42:23,717 (ServiceController.java:destroy:540) -Ignoring request to destroy nonexistent service: jboss.mq:service=PersistenceManager | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961998#3961998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961998 From do-not-reply at jboss.com Mon Jul 31 15:57:25 2006 From: do-not-reply at jboss.com (kslm23) Date: Mon, 31 Jul 2006 15:57:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal] - Tomahawk tabbed pane not rendering correctly within portal Message-ID: <20561636.1154375845715.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, when i run the web app outside the portal everything shows up correctly but once i move it into the jboss portal the tabbedpane is not rendered properly - it shows as buttons and panels i am guessing it can't find the appropriate renderer. I am also seeing this exception 15:50:38,718 WARN [UIComponentBase] No Renderer found for component {Component- Path : [Class: javax.faces.component.UIViewRoot,ViewId: /tabbedPane.jsp]} (compo nent-family=javax.faces.ViewRoot, renderer-type=javax.faces.Group) If anyone has any ideas on how to fix it, please share them. I've been trying to resolve this for a looooooong time now. It must be some library within portal/lib that's messing things up. I already replaced tomahawk.jar there with the latest version (1.1.4). Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961999#3961999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961999 From do-not-reply at jboss.com Mon Jul 31 16:04:08 2006 From: do-not-reply at jboss.com (raysonliu) Date: Mon, 31 Jul 2006 16:04:08 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: comp not bound Message-ID: <9919390.1154376248915.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried this, everything is same except this time it's complaining that ejb not bound, as following: | Caught an unexpected exception! | javax.naming.NameNotFoundException: ejb not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962000#3962000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962000 From do-not-reply at jboss.com Mon Jul 31 16:07:06 2006 From: do-not-reply at jboss.com (jsimone) Date: Mon, 31 Jul 2006 16:07:06 -0400 (EDT) Subject: [jboss-user] [Management, JMX/JBoss] - Re: JBoss Mbean Dependencies - How to start scheduler servic Message-ID: <29469513.1154376426946.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the format of depends tag? .... to make this work? I have tried endless variations using just the ear file name, EARDeployer service, EARDeployment service etc. Can't seem to make it work. Thanks, Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962001#3962001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962001 From do-not-reply at jboss.com Mon Jul 31 16:07:40 2006 From: do-not-reply at jboss.com (goose-dog) Date: Mon, 31 Jul 2006 16:07:40 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: @Begin(join=true) isn't making the conversation last lon Message-ID: <14332081.1154376460738.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, the no conversation conext error is the same as described. So as long as I don't bind anything to a conversation scoped object it's fine. Although I didn't see that in the FAQ section. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81880 However I'm still boggled about why my GET requests work and still contain data from the conversation even when I don't specify a "conversationId" param in the link. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962002#3962002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962002 From do-not-reply at jboss.com Mon Jul 31 16:13:54 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 16:13:54 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: dynamic create queue Message-ID: <18219552.1154376834801.JavaMail.jboss@colo-br-02.atl.jboss.com> This explains how to call an MBean: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean The ServerPeer object name can be found by looking at the jmx-console where all the MBeans are listed (jboss.messaging:service=ServerPeer). You can also find this out by looking a the serverpeer MBean config in messaging-service.xml: | | | | | | | | | | | | | jboss.messaging:service=PersistenceManager | jboss.messaging:service=MessageStore | jboss.messaging:service=ChannelMapper | | | java:/jaas/messaging | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962003#3962003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962003 From do-not-reply at jboss.com Mon Jul 31 16:18:02 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 31 Jul 2006 16:18:02 -0400 (EDT) Subject: [jboss-user] [Beginners Corner] - Re: comp not bound Message-ID: <27127038.1154377082835.JavaMail.jboss@colo-br-02.atl.jboss.com> Try this. With the EJB deployed, bring up the jmx-console. In the "jboss" namespace click on the link named service=JNDIView. On the reuslting page, scroll down to the list() operation and click on the Invoke button. Search for your EJB on the resulting page and then use that name to look it up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962004#3962004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962004 From do-not-reply at jboss.com Mon Jul 31 16:20:55 2006 From: do-not-reply at jboss.com (joellindheimer) Date: Mon, 31 Jul 2006 16:20:55 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <5560449.1154377255721.JavaMail.jboss@colo-br-02.atl.jboss.com> ============================ Lessons Learned after a Plethora of Testing ============================ I have done a lot more testing as well as checked with Juergen Hoeller to sync up in findings within his community. Here is what I have found: 1) Using anything but the XA ConectionFactory bound specifically to ?java:/JmsXA? is problematic with JBoss 4.X server with Messaging 1.0. a. Do NOT use ?/XAConnectionFactory? as we found problems in several scenarios. b. Do NOT use any custom configured XA ConnectionFactory for the reasons Tim mentioned. 2) When using a JMS Consumer you MUST always get a new JMS Connection; do NOT pool the Connection. If you use an existing Connection the it will not get enlisted into the Global Transaction. Conclusion: If you follow these two rules you can safely use JBoss Messaging 1.0 within the context of a global transaction and get the expected behavior thereof. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962005#3962005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962005 From do-not-reply at jboss.com Mon Jul 31 16:22:16 2006 From: do-not-reply at jboss.com (angelogalvao) Date: Mon, 31 Jul 2006 16:22:16 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Master detail , conversation.... Message-ID: <31530561.1154377336525.JavaMail.jboss@colo-br-02.atl.jboss.com> That's something that i'm not understanding about seam, conversation etc... I have 2 entity beans, for example, with a OnetoMany relationship: Client and Products: Client{ .... private Set products; .... } and in my Session bean i got to methods: @Name("clientManager") @Stateful public ClientManagerBean implements ClientManager{ ... @In(required=false) private Client client; @In(required=false) private Product product; public void addClient(){ entityManager.persist(client); } public void addProductToClient(){ client.addProduct(product); // add to the set } .... } in the method addProductToClient i just put the product in the collection, but in the next submit the product it's not there anymore... I think this is the reason to the conversation state... What i dont understand, what i have to do? thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962006#3962006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962006 From do-not-reply at jboss.com Mon Jul 31 16:23:52 2006 From: do-not-reply at jboss.com (luowp) Date: Mon, 31 Jul 2006 16:23:52 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - could somebody paste a script example for fork Message-ID: <10193469.1154377432358.JavaMail.jboss@colo-br-02.atl.jboss.com> I just want to add a piece of script to customerize my fork. It need get value from a process varible a. If a==true, the fork goes to three transitions, otherwise, just goes to two transitions. I am trying to using expression in transition. a it throws exceptions. Has anybody a small piece of example script? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962007#3962007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962007 From do-not-reply at jboss.com Mon Jul 31 16:28:27 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 16:28:27 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <2796905.1154377707139.JavaMail.jboss@colo-br-02.atl.jboss.com> Joel- We are not aware of any problems with the use of the standard JMS connection factories or any JCA managed connection factories with JBoss Messaging, so what you say worries me quite a lot. Our test process tests this so I would like to know how this has slipped through the net. Can you please give me more specifics as to what you think is wrong so we can investigate further? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962008#3962008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962008 From do-not-reply at jboss.com Mon Jul 31 16:34:22 2006 From: do-not-reply at jboss.com (acxjbertr) Date: Mon, 31 Jul 2006 16:34:22 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Using WSSecurityHandlerOutbound in a DII client Message-ID: <13578677.1154378062161.JavaMail.jboss@colo-br-02.atl.jboss.com> I've got a DII client coded up and everything works as expected. However, now I am trying to test my WS-Security setup. My JBoss server (4.0.4 with JBossWS 1.0.2) requires WS-Security signatures on all incoming SOAP messages. It accurately denies my invocations if I don't sign my messages, but now I want to make it accept my messages. I have read elsewhere that I need to configure a handler to sign my outgoing messages. I have tried to do this in the code below: package com.mycompany.client.test.ws; | | import ... | | public class WSTestCase extends TestCase { | private String testDescription = null; | | // Possible Outputs | private String exceptionThrown = null; | | public void testPlanStep1() throws MalformedURLException, ServiceException { | go(getInput()); | } | | private void go(Echo request) throws ServiceException, MalformedURLException { | try { | ClientStuffEndpoint clientStuffEndpoint = getEndpoint(); | EchoResponse echoResponse = clientStuffEndpoint.echo(request); | | ClientStuffReply clientStuffReply = echoResponse.getResult(); | System.out.println(clientStuffReply.getAuditId()); | } catch (Exception e) { | e.printStackTrace(); | assertTrue(false); | } | } | | private ClientStuffEndpoint getEndpoint() throws MalformedURLException, ServiceException, InvalidRequestException, SystemUnavailableException, RemoteException { | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | ClassLoader cl = Thread.currentThread().getContextClassLoader(); | URL wsdlLocation = cl.getResource("wsdl/ClientStuff.wsdl"); | URL mappingLocation = cl.getResource("client-mapping.xml"); | QName serviceName = new QName("http://client.mycompany.com/clientstuff/1.0", "ClientStuff"); | ServiceImpl service = (ServiceImpl) factory.createService(wsdlLocation, serviceName, mappingLocation); | setupHandlerRegistry(service); | return (ClientStuffEndpoint) service.getPort(ClientStuffEndpoint.class); | } | | private Echo getInput() { | Echo echoInput = new Echo(); | ClientStuffRequest clientStuffRequest = new ClientStuffRequest(); | clientStuffRequest.setAuditId("eggie"); | echoInput.setClientStuffRequest_1(clientStuffRequest); | | return echoInput; | } | | private void setupHandlerRegistry(ServiceExt service) { | List clientHandlerChain = new ArrayList(); | HandlerInfo handler = new HandlerInfo(); | handler.setHandlerClass(WSSecurityHandlerOutbound.class); | clientHandlerChain.add(handler); | QName securityName = new QName(org.jboss.ws.wsse.WSS_SOAP_NS, "ClientStuffEndpointPort"); | service.getDynamicHandlerRegistry().setHandlerChain(securityName, clientHandlerChain); | } | } | Unfortunately my messages still aren't being signed. I was unsure about what to put on the line QName securityName = new QName(org.jboss.ws.wsse.WSS_SOAP_NS, "ClientStuffEndpointPort"); and I think this might be the cause of the problem. Can anyone advise me of the correct values here? I have tried several different values from the org.jboss.ws.wsse package. Any help would be greatly appreciated. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962009#3962009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962009 From do-not-reply at jboss.com Mon Jul 31 16:36:51 2006 From: do-not-reply at jboss.com (acxjbertr) Date: Mon, 31 Jul 2006 16:36:51 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: Using WSSecurityHandlerOutbound in a DII client Message-ID: <20549212.1154378211688.JavaMail.jboss@colo-br-02.atl.jboss.com> My references to org.jboss.ws.wsse.WSS_SOAP_NS should actually be to org.jboss.ws.wsse.Constants.WSS_SOAP_NS I apologize for any confusion. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962010#3962010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962010 From do-not-reply at jboss.com Mon Jul 31 17:05:16 2006 From: do-not-reply at jboss.com (shalnagr) Date: Mon, 31 Jul 2006 17:05:16 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Pojo (Tree Cache) locking question Message-ID: <28749324.1154379916473.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I am trying to use the org.jboss.cache.lock.* package in order to obtain (replicated) cache wide Object Locking. Using the IdentityLock class I have managed to lock (write locks) objects (annotated pojos) on a single node. For some reason the lock does not seem to prevent other nodes in the cluster , from obtaining locks to the same object. Is it because I am using the DummyTransactionManager preconfigured in the release's example XMLs I am using 1.4GA version. The ? tx.start pojo1.setField1(); pojo2.setField2() ; tx.commit() ? Way of doing things is not going to workout for me. I Really need cluster wide directlocks. Many Thanks Shal. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962011#3962011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962011 From do-not-reply at jboss.com Mon Jul 31 17:10:43 2006 From: do-not-reply at jboss.com (timfox) Date: Mon, 31 Jul 2006 17:10:43 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging] - Re: Consumed messages redelivered ? Message-ID: <20388457.1154380243958.JavaMail.jboss@colo-br-02.atl.jboss.com> If you think the connection factories aren't working correctly, probably best to follow the standard practice here and provide me with a code example, so I've got something to go on, otherwise I'm just trying to second guess what you think might be wrong. Thanks again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962012#3962012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962012 From do-not-reply at jboss.com Mon Jul 31 17:10:53 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 31 Jul 2006 17:10:53 -0400 (EDT) Subject: [jboss-user] [JBoss/Spring Integration] - Re: Is it SpringLifecycleInterceptor or just me? Message-ID: <30153839.1154380253089.JavaMail.jboss@colo-br-02.atl.jboss.com> There are two almost similar versions of jboss-spring deployer. One with old InvocationContext, @EJB and the other one with fixed (see http://jboss.org/jbossBlog/blog/bburke/2006/06/02/JBoss_EJB_3_0_Preview_RC8.txt). Check what version 4.0.4.GA has - see jboss-ejb3x.jar in ejb3.deployer. >> javax.naming.NameNotFoundException: jspring not bound This is not the cause - look before this. >> Classic bad behavior of an application server towards Spring. Server loads web part of the app first and after that - is trying to load EJBs. I tried to rectify this. Put the right order in application.xml. Or adjust deployer order. >> I noticed that in your sample application you don't use JSTL. Why is that? No reaseon. I use a lot of JSTL in our portal app with no problem. >> Well, how about this? Sorry, but yuck. Still very unflexible. I like wiring a lot of small beans. And this doesn't do that. Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962013#3962013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962013 From do-not-reply at jboss.com Mon Jul 31 17:31:05 2006 From: do-not-reply at jboss.com (ccc7919) Date: Mon, 31 Jul 2006 17:31:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - javax.naming.NameNotFoundException Message-ID: <5864741.1154381465585.JavaMail.jboss@colo-br-02.atl.jboss.com> When I try to run my EJB project using JBuilder and Jboss 4.xx, I've got the error as below; This happened in the line od code : Object objRef = initialContext.lookup(jndiName); =================================================== 17:25:25,156 ERROR [[action]] Servlet.service() for servlet action threw exception javax.naming.NameNotFoundException: rpc 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 org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:347) at rpc.services.promotion.util.PromotionUtil.lookupHome(PromotionUtil.java:38) at rpc.services.promotion.util.PromotionUtil.getLocalHome(PromotionUtil.java:59) at rpc.de.web.struts.action.BaseAction.getPromotion(BaseAction.java:69) at rpc.de.web.struts.action.signon.LoginAction.doExecute(LoginAction.java:41) at rpc.de.web.struts.action.BaseAction.execute(BaseAction.java:64) 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:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:534) ======================================================================================= I also debuged why it happened showing all bound names as below: ======================================================================================== 17:25:25,000 INFO [STDOUT] JNDI name : java:/comp/env/ejb/PromotionLocal 17:25:25,000 INFO [STDOUT] Name:ChequeDataLocal==> CLASS NAME:$Proxy96 17:25:25,000 INFO [STDOUT] Name:RegionCodeLocal==> CLASS NAME:$Proxy93 17:25:25,000 INFO [STDOUT] Name:ValidateSubscriberLocal==> CLASS NAME:$Proxy102 17:25:25,046 INFO [STDOUT] Name:PricePlanLocal==> CLASS NAME:$Proxy104 17:25:25,046 INFO [STDOUT] Name:QueueConnectionFactory==> CLASS NAME:org.jboss.naming.LinkRefPair 17:25:25,046 INFO [STDOUT] javax.naming.Context:::Name:HAPartition==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,046 INFO [STDOUT] Name:CreditAppliedLocal==> CLASS NAME:$Proxy112 17:25:25,046 INFO [STDOUT] Name:ManfDescriptionLocal==> CLASS NAME:$Proxy97 17:25:25,046 INFO [STDOUT] Name:ValidateSubplanLocal==> CLASS NAME:$Proxy105 17:25:25,046 INFO [STDOUT] Name:XAConnectionFactory==> CLASS NAME:org.jboss.mq.SpyXAConnectionFactory 17:25:25,046 INFO [STDOUT] javax.naming.Context:::Name:queue==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,046 INFO [STDOUT] Name:PhoneCodeLocal==> CLASS NAME:$Proxy107 17:25:25,046 INFO [STDOUT] Name:Treo600DataPlanLocal==> CLASS NAME:$Proxy106 17:25:25,062 INFO [STDOUT] Name:UUIDKeyGeneratorFactory==> CLASS NAME:org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory 17:25:25,062 INFO [STDOUT] Name:HiLoKeyGeneratorFactory==> CLASS NAME:org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory 17:25:25,062 INFO [STDOUT] Name:StagingBlackberryLocal==> CLASS NAME:$Proxy92 17:25:25,062 INFO [STDOUT] Name:UIL2ConnectionFactory==> CLASS NAME:javax.naming.LinkRef 17:25:25,062 INFO [STDOUT] Name:UserTransactionSessionFactory==> CLASS NAME:$Proxy52 17:25:25,062 INFO [STDOUT] Name:CouponsLocal==> CLASS NAME:$Proxy115 17:25:25,062 INFO [STDOUT] Name:UILXAConnectionFactory==> CLASS NAME:javax.naming.LinkRef 17:25:25,062 INFO [STDOUT] Name:PrecustomerLocal==> CLASS NAME:$Proxy101 17:25:25,062 INFO [STDOUT] Name:UndeliverableLocal==> CLASS NAME:$Proxy98 17:25:25,078 INFO [STDOUT] Name:CouponLocal==> CLASS NAME:$Proxy108 17:25:25,078 INFO [STDOUT] javax.naming.Context:::Name:console==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,078 INFO [STDOUT] Name:UpdateLocal==> CLASS NAME:$Proxy95 17:25:25,078 INFO [STDOUT] Name:HTTPXAConnectionFactory==> CLASS NAME:org.jboss.mq.SpyXAConnectionFactory 17:25:25,078 INFO [STDOUT] Name:ValidatorHelperLocal==> CLASS NAME:$Proxy113 17:25:25,078 INFO [STDOUT] javax.naming.Context:::Name:topic==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,078 INFO [STDOUT] Name:StagingLocal==> CLASS NAME:$Proxy110 17:25:25,078 INFO [STDOUT] Name:SequenceSessionLocal==> CLASS NAME:$Proxy114 17:25:25,078 INFO [STDOUT] Name:RogerspriceplanLocal==> CLASS NAME:$Proxy89 17:25:25,078 INFO [STDOUT] Name:RebateMailDateLocal==> CLASS NAME:$Proxy99 17:25:25,078 INFO [STDOUT] Name:ProvinceLocal==> CLASS NAME:$Proxy100 17:25:25,078 INFO [STDOUT] Name:UserTransaction==> CLASS NAME:org.jboss.tm.usertx.client.ClientUserTransaction 17:25:25,078 INFO [STDOUT] Name:HTTPConnectionFactory==> CLASS NAME:org.jboss.mq.SpyConnectionFactory 17:25:25,078 INFO [STDOUT] Name:CustomerLocal==> CLASS NAME:$Proxy103 17:25:25,078 INFO [STDOUT] Name:SequenceLocal==> CLASS NAME:$Proxy94 17:25:25,093 INFO [STDOUT] javax.naming.Context:::Name:HASessionState==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,093 INFO [STDOUT] Name:UIL2XAConnectionFactory==> CLASS NAME:javax.naming.LinkRef 17:25:25,093 INFO [STDOUT] Name:NoteLocal==> CLASS NAME:$Proxy111 17:25:25,093 INFO [STDOUT] Name:PromoCodeLocal==> CLASS NAME:$Proxy109 17:25:25,093 INFO [STDOUT] javax.naming.Context:::Name:invokers==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,093 INFO [STDOUT] Name:EventDispatcher==> CLASS NAME:org.jboss.ws.eventing.mgmt.DispatcherDelegate 17:25:25,093 INFO [STDOUT] Name:UILConnectionFactory==> CLASS NAME:javax.naming.LinkRef 17:25:25,093 INFO [STDOUT] javax.naming.Context:::Name:jmx==> CLASS NAME:org.jnp.interfaces.NamingContext 17:25:25,093 INFO [STDOUT] Name:PromotionLocal==> CLASS NAME:$Proxy116 17:25:25,093 INFO [STDOUT] Name:AccountLocal==> CLASS NAME:$Proxy90 17:25:25,109 INFO [STDOUT] Name:ConnectionFactory==> CLASS NAME:org.jboss.mq.SpyConnectionFactory 17:25:25,109 INFO [STDOUT] Name:TopicConnectionFactory==> CLASS NAME:org.jboss.naming.LinkRefPair 17:25:25,109 INFO [STDOUT] Name:StatusCodeLocal==> CLASS NAME:$Proxy91 ============================================================= View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962014#3962014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962014 From do-not-reply at jboss.com Mon Jul 31 17:39:00 2006 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 31 Jul 2006 17:39:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: javax.naming.NameNotFoundException Message-ID: <3534799.1154381940736.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the value of jndiName that was passed to lookup()? According to the stack trace: javax.naming.NameNotFoundException: rpc not bound This means that one components of the name being looked up contains the term 'rpc'. I searched through the bound names that were printed out and none of them contain 'rpc'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962015#3962015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962015 From do-not-reply at jboss.com Mon Jul 31 17:50:06 2006 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 31 Jul 2006 17:50:06 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: sar will not deploy with LoadTimeWeaving (javaagent:plug Message-ID: <20213817.1154382606760.JavaMail.jboss@colo-br-02.atl.jboss.com> This has been fixed in the subversion repository View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962017#3962017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962017 From do-not-reply at jboss.com Mon Jul 31 17:53:29 2006 From: do-not-reply at jboss.com (tsar_bomba) Date: Mon, 31 Jul 2006 17:53:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Unable to persist timer Message-ID: <2236296.1154382809192.JavaMail.jboss@colo-br-02.atl.jboss.com> It's an ongoing issue for which I've been unable to get an answer here for also. The best thing you can do is go into the HSQL database manager through the JMX console and delete all timers before re-deploying your app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962018#3962018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962018 From do-not-reply at jboss.com Mon Jul 31 18:08:24 2006 From: do-not-reply at jboss.com (Andre1001) Date: Mon, 31 Jul 2006 18:08:24 -0400 (EDT) Subject: [jboss-user] [JBoss Eclipse IDE (users)] - cannot create EJB 3.0 applications with version 2.0.0.Alpha1 Message-ID: <33207345.1154383704882.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to create a project with JBossIDE wizard, but I've got this message box: "The selected configuration (Jboss-All) does not contain the expected EJB 3 libraries. Please, install Jboss with EJB 3 enabled, or try another configuration." Is not EJB 3 supposed to be enabled in Jboss jboss-4.0.4.GA installation? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962019#3962019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962019 From do-not-reply at jboss.com Mon Jul 31 18:53:12 2006 From: do-not-reply at jboss.com (Monisha) Date: Mon, 31 Jul 2006 18:53:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss 4 static content access Message-ID: <24757111.1154386392626.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was using Jboss3.2.3 until recently and the way we served static content was to add the path to the jboss-service.xml in the jbosswebtomcat.sar/META-INF in the tag Context. Migrating over to jboss 4+ looks like this tag (Context) is no longer supported. The alternate way suggested is to have the static content copied below in ROOT.war and since this is the default context, files will be accessible. Is there any way similar to the earlier 3.2.3 configuration where a path could be specified and there is no need to copy files within the appserver directory structure? This way files external to the webserver world can be served Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962020#3962020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962020 From do-not-reply at jboss.com Mon Jul 31 20:25:19 2006 From: do-not-reply at jboss.com (sah5) Date: Mon, 31 Jul 2006 20:25:19 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Eviction Policies Message-ID: <11984328.1154391919527.JavaMail.jboss@colo-br-02.atl.jboss.com> -BUMP- I'm wondering the same thing-- I need to specify an LRUPolicy for individual children of a node-- not at the node level. Am I missing something major here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962022#3962022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962022 From do-not-reply at jboss.com Mon Jul 31 21:08:09 2006 From: do-not-reply at jboss.com (ccc7919) Date: Mon, 31 Jul 2006 21:08:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: javax.naming.NameNotFoundException Message-ID: <13122939.1154394489110.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for your auick reply. The rpc is the project name which means rpc.jar file. Actually I'm looking for ejb/PromotionLocal bound name as you see the second error message as below: ================================ 17:25:25,000 INFO [STDOUT] JNDI name : java:/comp/env/ejb/PromotionLocal ================================ rpc is just project name and jar file name but not name bound. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962023#3962023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962023 From do-not-reply at jboss.com Mon Jul 31 21:08:25 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:08:25 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: problem getting pojocache to work Message-ID: <21450797.1154394505398.JavaMail.jboss@colo-br-02.atl.jboss.com> Cool! Just to clarify, this is only needed if you are running under JBossAS as a mbean service. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962024#3962024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962024 From do-not-reply at jboss.com Mon Jul 31 21:09:32 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:09:32 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Translate the documents to Chinese Message-ID: <10790729.1154394572932.JavaMail.jboss@colo-br-02.atl.jboss.com> Why don't your send me email to ben dot wang at jboss dot com. We will take it from there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962025#3962025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962025 From do-not-reply at jboss.com Mon Jul 31 21:10:48 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 21:10:48 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: Conversation List Message-ID: <18784458.1154394648058.JavaMail.jboss@colo-br-02.atl.jboss.com> You need page descriptions defined in pages.xml. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962026#3962026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962026 From do-not-reply at jboss.com Mon Jul 31 21:11:23 2006 From: do-not-reply at jboss.com (stephenlim) Date: Mon, 31 Jul 2006 21:11:23 -0400 (EDT) Subject: [jboss-user] [JBossWS] - Re: How to retrieve client IP address? Message-ID: <17725942.1154394683256.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. The solution here is specifically for Axis web services but now in JBoss version 4.0.4, the Axis web services is replaced by JBoss web services. So the code is not applicable in here. Any other ways? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962027#3962027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962027 From do-not-reply at jboss.com Mon Jul 31 21:13:14 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:13:14 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Migrating from PojoCache 1.3 to 1.4 Message-ID: <14983029.1154394794268.JavaMail.jboss@colo-br-02.atl.jboss.com> You can check the Jira for more details. But since 1.4, we have switched to use ID based replication to optimize performance. As a result, callRemoteMethods can't be used without proper method id. User is not supposed to call that directly anyway. We have cleaned up the interface in the upcoming 2.0. Do you have an alternative? -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962028#3962028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962028 From do-not-reply at jboss.com Mon Jul 31 21:14:12 2006 From: do-not-reply at jboss.com (ssniazi) Date: Mon, 31 Jul 2006 21:14:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - seam deployment error in JBOSS 404 Message-ID: <17485122.1154394852526.JavaMail.jboss@colo-br-02.atl.jboss.com> I need som help pls. I have installed JBOSS AS 4.0.4.GA with the EJB 3.0 C:\jboss-4.0.4.GA C:\jboss-4.0.4.GA\jboss-EJB-3.0_RC8-FD as well as seam application C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA As per the docs, i have modified the modified the build.properties . Here is the content ========== tomcat.home = C:\\Tomcat5.5" jboss.home = C:\\jboss-4.0.4.GA" jbossHasMyFacesLifecycleBug = true =========== started up JBOSS ran.bat In the "examples/booking" directory, I type "ant deploy , but when i do that i get the following . Can someone help =========== C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking>ant build Buildfile: build.xml init: [echo] Build Seam on JBoss Booking Example 1.0 compile: [javac] Compiling 23 source files to C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\e xamples\booking\build\classes [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:22: illegal character: \64 [javac] @Entity [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:23: illegal character: \64 [javac] @Name("booking") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:46: illegal character: \64 [javac] @Id @GeneratedValue [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:46: illegal character: \64 [javac] @Id @GeneratedValue [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:56: illegal character: \64 [javac] @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:57: illegal character: \64 [javac] @Basic @Temporal(TemporalType.DATE) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:57: illegal character: \64 [javac] @Basic @Temporal(TemporalType.DATE) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:67: illegal character: \64 [javac] @ManyToOne @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:67: illegal character: \64 [javac] @ManyToOne @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:77: illegal character: \64 [javac] @ManyToOne @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:77: illegal character: \64 [javac] @ManyToOne @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:87: illegal character: \64 [javac] @Basic @Temporal(TemporalType.DATE) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:87: illegal character: \64 [javac] @Basic @Temporal(TemporalType.DATE) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:88: illegal character: \64 [javac] @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:98: illegal character: \64 [javac] @NotNull(message="Credit card number is required") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:99: illegal character: \64 [javac] @Length(min=16, max=16, message="Credit card number must 16 digit s long") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:100: illegal character: \64 [javac] @Pattern(regex="^\\d*$", message="Credit card number must be nume ric") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:111: illegal character: \64 [javac] @Transient [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:139: illegal character: \64 [javac] @NotNull(message="Credit card name is required") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:140: illegal character: \64 [javac] @Length(min=3, max=70, message="Credit card name is required") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Booking.java:175: expected [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingList.java:6: illegal character: \64 [javac] @Local [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:4: expected [javac] import static javax.ejb.TransactionAttributeType.REQUIRES_NEW; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:4: '.' expected [javac] import static javax.ejb.TransactionAttributeType.REQUIRES_NEW; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:5: expected [javac] import static org.jboss.seam.ScopeType.SESSION; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:5: '.' expected [javac] import static org.jboss.seam.ScopeType.SESSION; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:29: illegal character: \64 [javac] @Stateful [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:30: illegal character: \64 [javac] @Scope(SESSION) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:31: illegal character: \64 [javac] @Name("bookingList") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:32: illegal character: \64 [javac] @LoggedIn [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:33: illegal character: \64 [javac] @TransactionAttribute(REQUIRES_NEW) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:37: illegal character: \64 [javac] @PersistenceContext [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:38: expected [javac] private EntityManager em; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:40: illegal character: \64 [javac] @In [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:41: expected [javac] private User user; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:43: illegal character: \64 [javac] @DataModel [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:44: expected [javac] private List bookings; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:45: illegal character: \64 [javac] @DataModelSelection [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:46: illegal character: \64 [javac] @Out(required=false) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:47: expected [javac] private Booking booking; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:49: illegal character: \64 [javac] @Logger private Log log; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:49: expected [javac] @Logger private Log log; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:51: illegal character: \64 [javac] @Factory [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:52: illegal character: \64 [javac] @Observer("bookingConfirmed") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: '{' expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:64: illegal start of type [javac] if (cancelled!=null) em.remove( cancelled ); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:64: expected [javac] if (cancelled!=null) em.remove( cancelled ); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:31: illegal character: \64 [javac] @Name("bookingList") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:32: illegal character: \64 [javac] @LoggedIn [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:33: illegal character: \64 [javac] @TransactionAttribute(REQUIRES_NEW) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:37: illegal character: \64 [javac] @PersistenceContext [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:38: expected [javac] private EntityManager em; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:40: illegal character: \64 [javac] @In [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:41: expected [javac] private User user; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:43: illegal character: \64 [javac] @DataModel [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:44: expected [javac] private List bookings; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:45: illegal character: \64 [javac] @DataModelSelection [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:46: illegal character: \64 [javac] @Out(required=false) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:47: expected [javac] private Booking booking; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:49: illegal character: \64 [javac] @Logger private Log log; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:49: expected [javac] @Logger private Log log; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:51: illegal character: \64 [javac] @Factory [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:52: illegal character: \64 [javac] @Observer("bookingConfirmed") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:63: '{' expected [javac] Booking cancelled = em.find(Booking.class, booking.getId()); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:64: illegal start of type [javac] if (cancelled!=null) em.remove( cancelled ); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:64: expected [javac] if (cancelled!=null) em.remove( cancelled ); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:65: invalid method declaration; ret urn type required [javac] getBookings(); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:66: expected [javac] FacesMessages.instance().add("Booking cancelled for confirmati on number #{booking.id}"); [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:67: illegal start of type [javac] return "main"; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:67: expected [javac] return "main"; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:70: illegal character: \64 [javac] @Destroy @Remove [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:70: illegal character: \64 [javac] @Destroy @Remove [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\BookingListAction.java:72: expected [javac] [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePassword.java:6: illegal character: \64 [javac] @Local [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:4: expected [javac] import static org.jboss.seam.ScopeType.EVENT; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:4: '.' expected [javac] import static org.jboss.seam.ScopeType.EVENT; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:18: illegal character: \64 [javac] @Stateful [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:19: illegal character: \64 [javac] @Scope(EVENT) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:20: illegal character: \64 [javac] @Name("changePassword") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:21: illegal character: \64 [javac] @LoggedIn [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:25: illegal character: \64 [javac] @In @Out [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:25: illegal character: \64 [javac] @In @Out [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:26: expected [javac] private User user; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:28: illegal character: \64 [javac] @PersistenceContext [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:29: expected [javac] private EntityManager em; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:71: illegal character: \64 [javac] @Destroy @Remove [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:71: illegal character: \64 [javac] @Destroy @Remove [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\ChangePasswordAction.java:73: expected [javac] } [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:14: illegal character: \64 [javac] @Entity [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:15: illegal character: \64 [javac] @Name("hotel") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:26: illegal character: \64 [javac] @Id @GeneratedValue [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:26: illegal character: \64 [javac] @Id @GeneratedValue [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:36: illegal character: \64 [javac] @Length(max=50) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:36: illegal character: \64 [javac] @Length(max=50) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:46: illegal character: \64 [javac] @Length(max=100) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:46: illegal character: \64 [javac] @Length(max=100) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:56: illegal character: \64 [javac] @Length(max=40) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:56: illegal character: \64 [javac] @Length(max=40) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:66: illegal character: \64 [javac] @Length(min=4, max=6) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:66: illegal character: \64 [javac] @Length(min=4, max=6) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:76: illegal character: \64 [javac] @Length(min=2, max=10) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:76: illegal character: \64 [javac] @Length(min=2, max=10) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:86: illegal character: \64 [javac] @Length(min=2, max=40) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:86: illegal character: \64 [javac] @Length(min=2, max=40) @NotNull [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\Hotel.java:101: expected [javac] } [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBooking.java:6: illegal character: \64 [javac] @Local [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:4: expected [javac] import static javax.persistence.PersistenceContextType.EXTENDED; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:4: '.' expected [javac] import static javax.persistence.PersistenceContextType.EXTENDED; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:25: illegal character: \64 [javac] @Stateful [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:26: illegal character: \64 [javac] @Name("hotelBooking") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:27: illegal character: \64 [javac] @Conversational(ifNotBegunOutcome="main") [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:28: illegal character: \64 [javac] @LoggedIn [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:32: illegal character: \64 [javac] @PersistenceContext(type=EXTENDED) [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:33: expected [javac] private EntityManager em; [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:35: illegal character: \64 [javac] @In(required=false) @Out [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:35: illegal character: \64 [javac] @In(required=false) @Out [javac] ^ [javac] C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking\src\org\jboss \seam\example\booking\HotelBookingAction.java:36: expected [javac] private Hotel hotel; [javac] ^ [javac] 100 errors [javac] 10 warnings BUILD FAILED C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\build.xml:310: Compile failed; see the com piler error output for details. Total time: 28 seconds C:\jboss-4.0.4.GA\jboss-seam-1.0.1.GA\examples\booking> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962029#3962029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962029 From do-not-reply at jboss.com Mon Jul 31 21:14:35 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:14:35 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Clearing Cache Message-ID: <15046368.1154394875361.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you tried remove("/")? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962030#3962030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962030 From do-not-reply at jboss.com Mon Jul 31 21:17:12 2006 From: do-not-reply at jboss.com (ssniazi) Date: Mon, 31 Jul 2006 21:17:12 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam deployment error in JBOSS 404 Message-ID: <21856036.1154395032986.JavaMail.jboss@colo-br-02.atl.jboss.com> modified build.properties file ============================ tomcat.home = C:\\Tomcat5.5 jboss.home = C:\\jboss-4.0.4.GA jbossHasMyFacesLifecycleBug = true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962031#3962031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962031 From do-not-reply at jboss.com Mon Jul 31 21:17:18 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:17:18 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Pojo (Tree Cache) locking question Message-ID: <12797928.1154395038240.JavaMail.jboss@colo-br-02.atl.jboss.com> JBoss Cache is not using the distributed locking semantics. So I don't think there is an easy to botain distributed locking. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962032#3962032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962032 From do-not-reply at jboss.com Mon Jul 31 21:19:12 2006 From: do-not-reply at jboss.com (ben.wang@jboss.com) Date: Mon, 31 Jul 2006 21:19:12 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Eviction Policies Message-ID: <30811434.1154395152532.JavaMail.jboss@colo-br-02.atl.jboss.com> We will officially support a total max element (instead of nodes) eviction policy in the upcoming 2.0. Alpha is slated for later this month. So stay tuned. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962033#3962033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962033 From do-not-reply at jboss.com Mon Jul 31 21:27:42 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 21:27:42 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam deployment error in JBOSS 404 Message-ID: <25831343.1154395662193.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to compile using Java 5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962034#3962034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962034 From usha_avirneni at yahoo.co.in Mon Jul 31 21:29:56 2006 From: usha_avirneni at yahoo.co.in (usharani avirneni) Date: Mon, 31 Jul 2006 18:29:56 -0700 (PDT) Subject: [jboss-user] unsuscribe Message-ID: <20060801012956.25309.qmail@web8513.mail.in.yahoo.com> --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20060731/36989dc2/attachment.html From do-not-reply at jboss.com Mon Jul 31 22:04:59 2006 From: do-not-reply at jboss.com (ssniazi) Date: Mon, 31 Jul 2006 22:04:59 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam deployment error in JBOSS 404 Message-ID: <726375.1154397899734.JavaMail.jboss@colo-br-02.atl.jboss.com> can atleast someone pls tell me what are the typical steps required to deploy this bokking apps ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962035#3962035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962035 From do-not-reply at jboss.com Mon Jul 31 22:06:23 2006 From: do-not-reply at jboss.com (ssniazi) Date: Mon, 31 Jul 2006 22:06:23 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam deployment error in JBOSS 404 Message-ID: <2179779.1154397983739.JavaMail.jboss@colo-br-02.atl.jboss.com> my java home is set to C:\Program Files\Java\jre1.5.0_04 so it is java 5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962036#3962036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962036 From do-not-reply at jboss.com Mon Jul 31 22:09:46 2006 From: do-not-reply at jboss.com (Stormy) Date: Mon, 31 Jul 2006 22:09:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Re: Accessing EJB3 from an Applet... Message-ID: <4885860.1154398186615.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having the same problem. My application works great when it's a full standalone client, but when changing it to an applet, the jndi always returns a javax.naming.reference object instead of returning a bean like it normaly should. wauwau0977, I tried what you said, but it does nothing. My policy is already set to grant all (which helped with other problems by the way), and the RMISecurityManager did nothing on the client. However, I'm running on the same JVM as JBoss, could this be the problem ? Any help is appreciated ;) Tanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962037#3962037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962037 From do-not-reply at jboss.com Mon Jul 31 22:24:49 2006 From: do-not-reply at jboss.com (kverumuri) Date: Mon, 31 Jul 2006 22:24:49 -0400 (EDT) Subject: [jboss-user] [JBossWS] - jboss-4.0.2 and jbossws Message-ID: <12854619.1154399089178.JavaMail.jboss@colo-br-02.atl.jboss.com> Deploying jbossws.sar to jboss4.0.2 is failing with the exception Any ideas??? ---- org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ws.integration.jboss.DeployerInterceptorJSE, msg=org/jboss/ws/integration/jboss/DeployerInterceptorJSEMBean; - nested throwable: (java.lang.ClassNotFoundException: Unexpected error during load of: org.jboss.ws.integration.jboss.DeployerInterceptorJSE, msg=org/jboss/ws/integration/jboss/DeployerInterceptorJSEMBean) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143) at org.jboss.system.ServiceController.install(ServiceController.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: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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962038#3962038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962038 From do-not-reply at jboss.com Mon Jul 31 22:28:41 2006 From: do-not-reply at jboss.com (ddunkin) Date: Mon, 31 Jul 2006 22:28:41 -0400 (EDT) Subject: [jboss-user] [JBoss AOP] - Re: Applying security aspects using metadata-aop.xml Message-ID: <16401961.1154399321726.JavaMail.jboss@colo-br-02.atl.jboss.com> The advisor.resolveAnnotation(SecurityDomain.class) call is being made in the jboss-aop AuthenticationInterceptorFactory class, not in my code. If that is only intended to work with bytecode compiled annotations, that fact should probably be mentioned in the documentation. After reading the docs I was under the impression you could use the annotation compiler to compile to xml and everything would work the same. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962039#3962039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962039 From do-not-reply at jboss.com Mon Jul 31 22:40:47 2006 From: do-not-reply at jboss.com (gavin.king@jboss.com) Date: Mon, 31 Jul 2006 22:40:47 -0400 (EDT) Subject: [jboss-user] [JBoss Seam] - Re: seam deployment error in JBOSS 404 Message-ID: <17630906.1154400047805.JavaMail.jboss@colo-br-02.atl.jboss.com> Nevertheless, you are using not compiling using Java 5 syntax. javac is choking on the annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962040#3962040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962040 From do-not-reply at jboss.com Mon Jul 31 23:09:30 2006 From: do-not-reply at jboss.com (jack70_chen) Date: Mon, 31 Jul 2006 23:09:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - help on multiple persistence context Message-ID: <13683968.1154401770425.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an application that use multiple datasources (at runtime, for the same entities, the application will decide which datasource to use depending some end user info). Is it possible for me to use EJB 3 to dynamically set the persistence context? Can you please tell me how? Can I still use container managed persistence context? thanks for your help, Jack View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962041#3962041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962041 From do-not-reply at jboss.com Mon Jul 31 23:13:07 2006 From: do-not-reply at jboss.com (joy_wind) Date: Mon, 31 Jul 2006 23:13:07 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Why nobody use the jbosscache mailistlist Message-ID: <7853493.1154401987062.JavaMail.jboss@colo-br-02.atl.jboss.com> I subscribered the jbosscache mailing list,just fund out the I'm the only man in it! ;-) I like post to mailing list,but seemed I have to post on this forum instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962042#3962042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962042 From do-not-reply at jboss.com Mon Jul 31 23:22:54 2006 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 31 Jul 2006 23:22:54 -0400 (EDT) Subject: [jboss-user] [JBossCache] - Re: Migrating from PojoCache 1.3 to 1.4 Message-ID: <9093258.1154402574742.JavaMail.jboss@colo-br-02.atl.jboss.com> Ilan, Try creating an instance of org.jgroups.blocks.MethodCall and passing it to this overloaded version of callRemoteMethods: public List callRemoteMethods(List mbrs, MethodCall method_call, | boolean synchronous, boolean exclude_self, long timeout) | throws Exception I think that will take care of your issue; let me know if it doesn't. When you mentioned the problem you were having with 1.4.0.CR2 I did some stuff to allow this kind of thing to work, but it seems that if you use the version of callRemoteMethods that you're using it bypasses what I did. As Ben said, callRemoteMethods() will be taken out of the client API in 2.0. It's possible something like it may be accessible as an extension point, but that's not guaranteed, or even likely. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962043#3962043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962043 From do-not-reply at jboss.com Mon Jul 31 23:26:41 2006 From: do-not-reply at jboss.com (vichandoko) Date: Mon, 31 Jul 2006 23:26:41 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - NullPointerException at TagHandlerPool when accessing JSP Message-ID: <25807520.1154402801514.JavaMail.jboss@colo-br-02.atl.jboss.com> 11:11:56,531 WARN [FormAuthenticator] Unexpected error forwarding to login page java.lang.NullPointerException at org.apache.jasper.runtime.TagHandlerPool.get(TagHandlerPool.java:108) After deployment of a war, when i try to access a JSP page, the above error occur. Any idea what is the cause? What configuration should i set? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962044#3962044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962044 From do-not-reply at jboss.com Mon Jul 31 23:31:19 2006 From: do-not-reply at jboss.com (georges.ravel) Date: Mon, 31 Jul 2006 23:31:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Charavter Encoding Problem Message-ID: <24241234.1154403079720.JavaMail.jboss@colo-br-02.atl.jboss.com> I have JBoss 4.03 SP1 installed on a Solaris machine (English version of OS). My web service client sends signed (xml UTF-8) requests to the server. When the messages contain characters with accent marks, the server can not validate the signature correctly. When JBoss is running on French version OS, no such problems. I will appreciate if anybody can tell me if this is a known issue or there a config work to do on JBoss or my web service app should handle this issue? Thanks GR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962045#3962045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962045 From do-not-reply at jboss.com Mon Jul 31 23:35:15 2006 From: do-not-reply at jboss.com (mmcgovern@oz) Date: Mon, 31 Jul 2006 23:35:15 -0400 (EDT) Subject: [jboss-user] [EJB 3.0] - Callback methods for Embeddable Message-ID: <11099484.1154403315967.JavaMail.jboss@colo-br-02.atl.jboss.com> Should callback methods such as @PostLoad be invoked for @Embeddable classes? It appears not. Specifically they are being used in a @CollectionOfElements. I was expecting this to work as, for my requirements, these classes required the same post load adjustments as 'real' entities. Is the spec not clear on this or is this a bug? Are there alternatives to the post load for embeddable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962046#3962046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962046 From do-not-reply at jboss.com Mon Jul 31 23:39:28 2006 From: do-not-reply at jboss.com (sbalmos) Date: Mon, 31 Jul 2006 23:39:28 -0400 (EDT) Subject: [jboss-user] [JBossWS] - enums and/or inner classes Message-ID: <1493560.1154403568125.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all (again), Looking at some of the prior posts about this, and some of the resultant fix reports, can I confirm that 1.5-style enums won't be supported until 1.0.4 still? Also, is there any restriction on usage of inner classes as method signature types in a SOAP method? Maybe needing to make the inner class static? I'm attempting to write a method that returns Map.Entry[], but the WSDL generator gives the following: | 2006-07-31 23:18:16,231 ERROR [org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] [domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-att-invalid-value]::Message=s4s-att-invalid-value: Invalid attribute value for 'type' in element 'element'. Recorded reason: cvc-datatype-valid.1.2.1: 'ns3:Map$Entry' is not a valid value for 'QName'. | Any insight appreciated, as always. Thanks! --Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962047#3962047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962047 From do-not-reply at jboss.com Mon Jul 31 23:41:09 2006 From: do-not-reply at jboss.com (unome) Date: Mon, 31 Jul 2006 23:41:09 -0400 (EDT) Subject: [jboss-user] [JBoss jBPM] - Re: could somebody paste a script example for fork Message-ID: <19645250.1154403669020.JavaMail.jboss@colo-br-02.atl.jboss.com> You probably need a decision node with conditional transitions. | | | | | | | | |