[jboss-user] [JBossCache] - Re: PojoCache 2.0 Release Date
Ok... no pb. Thanks for your response View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977137#3977137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ManagedEntity class has gone
anonymous wrote : baz> Why not use the original Seam release. Because every second reply in this forum contains words "check CVS for a new corrected version" :) anonymous wrote : Gavin> org.jboss.seam.framework.EntityHome That's what I wanted to hear! Thanks! Is EntityHome finished enough to start using it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977138#3977138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances problem
I guess you have enabled debugging in both jboss servers with -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n in jboss.conf This may be a problem, I have just had busy port 8787 and jboss [single] could not be started with the same unclear error diagnostics. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977139#3977139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Shared JAR files ?
Hi, I have one application like this and I put all web used jars in deploy\jbossweb-tomcat55.sar\jsf-libs and I make small changes in conf/web.xml to use them. Of course I style have the warning about SeamListener is not unique (Very stupid check using static variables). Maybe the people who write seam listener don't know nothing about jboss class loader and real J2EE applications. If is running in tomcat not mean is Ok for jboss. Cristi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977141#3977141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - needing help for News Portal
Dear Users I want to create a news portal for a university with JAVA. please let me know is JBOSS Portal is practical in this field or if you know a better portal for this situation please offer me. thanks for your kind attention View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977143#3977143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Assigning an Actor for SEAM-jBPM integration
Make sure loginToSeam is declared on the (local) interface. Why did that need to change? Well #{todoList.currentUser} ~= todoList.getCurrentUser() - which is method (property) you don't have whilst #{currentUser} references the variable referenced by the @Out (which is therefore intialised by the @Factory method) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977145#3977145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: How to, SSO across multiple application opened on multipl
Thanks sohil, I will look at the product as mentioned... i was able to configure the Jboss out of the box sso and it works fine.. Now I am looking at how to access user credentials from web layer for authorisation and pass the same across to ejb layer so that the ejb layer can perform some business functions depending on credentials... Any pointers will be greatly appreciated.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977146#3977146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
I suspect that 'user' is null when you attempt to write to it. Use your debugger to check. If so you'll need to think about desgining the application so that user isn't null at that point ;) e.g. (I think this should work :) @In(create=true) | @Out | private User user; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977148#3977148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JbossWS fails when using wsdlLocation and generated WSDL
I believe you need to deploy the jaxrpc-mapping.xml that maps between java and wsdl. Without this mapping it cannot find where to locate your datatype View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977149#3977149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Securing POJO Web Service
I found the way to do this. I had to implement "ServiceLifecycle" interface for my Web Service and provide implementation for init and destroy method. private ServletEndpointContext mServletEndpointContext = null; private ServletContext mServletContext = null; public void init(Object context) { System.out.println("Init Called"); mServletEndpointContext = (ServletEndpointContext) context; mServletContext = mServletEndpointContext.getServletContext(); } /** * */ public void destroy() { System.out.println("Destroy Called"); mServletEndpointContext = null; mServletContext = null; } You can get the user prinicipal from ServletEndpointContext . Cheers, Sanjay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977150#3977150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - wsdlLocation and jaxrpc-mapping.xml
We are building some webservices using JBOSS-WS. We have pre-existing wsdl files which we specify using wsdlLocation attribute on @WebService annotation. e.g @WebService(wsdlLocation="META-INF/wsdl/hello.wsdl") However on deployment of the webservice we see the following error messages 17:18:15,832 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http: //stockroom.services.isis.fxa.com.au/jaws}hello 17:18:15,832 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http: //stockroom.services.isis.fxa.com.au/jaws}helloResponse 17:18:15,848 WARN [SchemaBindingBuilder] Type definition not found in schema: { http://stockroom.services.isis.fxa.com.au/jaws}Sys21StockroomDTO 17:18:15,848 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http: //stockroom.services.isis.fxa.com.au/jaws}Sys21StockroomDTO If we do not specify a wsdlLocation and let the deployer generate the WSDL the error messages disappear, suggesting that the deployer creates a mapping at runtime. Should one have to deploy jaxrpc-mapping.xml files when deploying webservices that use a pre-existing WSDL ? Is there an annotation or attribute that we can specify in our Java file to point to a jaxrpc-mapping.xml file ? Does jaxrpc-mapping.xml get used when deploying a web service that has a wsdlLocation attribute specified. Thanks for any help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977152#3977152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal SVN Repository
Same error ? Can you check that the variable is defined in thirdparty/libraries.ent View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977153#3977153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - URL Classloading in Jboss
Hi, I have a jar file which i am trying to load from outside the application context, which i am trying to load using URL Classloader, i am getting an exception if i try to cast to my application specific object, it's throwing ClassCastException. One strange thing is when load the class without any URLClassloader, like using Class.forName, by placing the class in the deploy folder then it's working fine, can you please suggest some solution incase if you have come across the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977155#3977155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JDBCCacheLoader not working with POJOCache
Hi, I have configured JDBCCacheLoader with POJOCache , but the CacheLoader is not persisting the cache in the database. My Jboss Cache version is 1.4. And I am using MySQL as database. The configuration code is as follows: true / 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=longblob cache.jdbc.parent.column=parent cache.jdbc.driver=com.mysql.jdbc.Driver cache.jdbc.url=jdbc:mysql://localhost:3306/tg_schema cache.jdbc.user=root cache.jdbc.password=passw0rd# false true true false The cacheable objects are serializable. The code for building the cache is : private PojoCache pojoCache; pojoCache.putObject(fqn,cacheObj); I am able to build the cache but CacheLoader is not persisting it in the database. I am not getting any clue as whree could things go wrong. P.S. Instead of PojoCache's putObject if I use TreeCache's put method. i.e. pojoCache.put(fqn,regionName ,cacheObj); then the persistence happens. Does this mean that org.jboss.cache.aop.PojoCache does not support CacheLoaders. Please help. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977156#3977156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates
"bfo81" wrote : | | Maybe I had almost a pure monolog in this thread, but possibly it will be helpful for someone (and I can hardly believe I am the only one who will ever have this problem...) I've also encountered the same problem. Thanks for pointing me in the right direction! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977157#3977157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Where place my jar ?
I want to use extenal librairies between different portlets and i want to add it to portal. Is it right if i put this in \server\default\deploy\jboss-portal.sar\lib Is the the best place ? Thx in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977159#3977159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How create at the reading of the processdefinition the assig
Hello, For now I create a process assigning by swimlane my task to specific poeple. Now I want to create a new instance of that the swimlane assignment and the assigment to poeple is create my reading of the process definition (like the webapp of the quyick start of JBPM). Somebody can help me to resolve my problem? Or can explain where and how can I do that. thank you very much antitrust1982 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977160#3977160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Layout page as JSF page
I am still unable to run the JSF layouts. Looking at the code of LayoutDispatcher, I doubt if the Jboss portal can support JSF layouts Can anyone please confirm this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977161#3977161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to reference a POJO EJB3 objects in scheduler-servic
Thanks for your reply, Fakeer. Prior to post my S.O.S here, I had checked with JNDI view on the JMX Console, being aware of the syntaxical changes in JNDI reference in JBOSS4. In fact, I am using the same default JNDI name for invoking the same session bean from a client class without having problem. In the meantime, I tried to let the scheduler depend on other evident MBEANs, and had no problem. As a practical alternative , I let the scheduler depend on the persistance unit associated to the deployment unit as here below and confirmed that it works.persistence.units:.,unitName=someUnitName I understand that the dependency assignment normaly waits for a MBEAN, So, now, I am asking to myself if POJO EJB3 classes cannot be refered to as MBEAN. Anyway, thanks a lot for your suggestion, and your any further idea about here above will be welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977162#3977162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Theme No Selection Leads to Null Pointer Selection
thanks Roy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977163#3977163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Ejb 3.0 with struts
hello friend , i am new in ejb 3.0, thats why i want to know the step by step procedure of creating an enterprize application project in ejb 3.0 using struts with eclipse 5.0 editor.can any one help me? THANKS in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977164#3977164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Ejb 3.0 with struts
"sonuxponse" wrote : hello friend , i am new in ejb 3.0, thats why i want to know the step by step procedure of creating an enterprize application project in ejb 3.0 using struts with eclipse 5.0 editor.can any one help me? | | sonu | THANKS in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977165#3977165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - in what file to add <... ?
I'm trying to use the Lucene annotations @Indexed, @Keyword, @Text to annotate my EJB3 entity beans for indexing. I need to add; ... To an xml file but I don't know where to put it? I'm running the EJB3's in standalone/embedded mode while testing. many thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977166#3977166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JSF portlet using Oracle ADF Faces
Hi, I am trying to execute a JSF portlet using Oracle ADF faces. The portlet definition is as follows. | MyJsfPortlet | org.apache.myfaces.portlet.MyFacesGenericPortlet | | default-view | /home.jsp | | |Jsf Portlet | | | text/html | VIEW | | I am getting an exception like this. java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest | at oracle.adfinternal.view.faces.agent.AgentFactoryImpl.createAgent(AgentFactoryImpl.java:48) | at oracle.adfinternal.view.faces.context.AdfFacesContextImpl.getAgent(AdfFacesContextImpl.java:445) | at oracle.adfinternal.view.faces.agent.AgentUtil.getAgent(AgentUtil.java:73) | at oracle.adfinternal.view.faces.renderkit.core.CoreAdfRenderingContext.(CoreAdfRenderingContext.java:58) | at oracle.adfinternal.view.faces.renderkit.CoreRenderKit.encodeBegin(CoreRenderKit.java:271) | at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:149) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266) | 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:143) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | .. Can anyone help me in resolving this exception... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977167#3977167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Disabling HttpSession persistence-jBoss 4.0.1sp1
Version: jboss-4.0.1sp1 I am trying to turn off http session persistence for all applications deployed on JBoss by placing a context.xml under deploy\jbossweb-tomcat50.sar as per this post: http://wiki.jboss.org/wiki/Wiki.jsp?page=DisableSessionPersistence But this doesn't seem to work. However, if I place this under WEB-INF for the target web application it works fine. But this would mean that we package this context.xml for each and every application. Instead I want http session persistence turned off at the server level. Interestingly, I observed that if I placed this context.xml under deploy\jbossweb-tomcat50.sar\ROOT.war\WEB-INF then http session persistence gets turned off at the server level. What is the recommended way to turn off http session persistence as default at the server level for all applications in jboss-4.0.1sp1? And is it safe to place the context.xml under deploy\jbossweb-tomcat50.sar\ROOT.war\WEB-INF ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977168#3977168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Lucene indexing + Entity beans
I'm trying to use the Lucene annotations @Indexed, @Keyword, @Text to annotate my EJB3 entity beans for indexing. I need to add; ... To an xml file but I don't know where to put it? I'm running the EJB3's in standalone/embedded mode while testing. many thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977169#3977169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: Disabling HttpSession persistence-jBoss 4.0.1sp1
Opps.. forgot to attach my context.xml | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977171#3977171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Problem with inherited fields using the load-time instrument
Hi I am using PojoCache version 1.4.0 "Jalapeno". I run with java JDK 5.0. The Object I insert into the Cache is of class: "User". "User" is a sub-class of class"Person". Class Person has 2 fields "FirstName" and "LastName". For preparing the objects to instrumentation I use the Annotation method (possible with JDK 5.0). For the weaving stage, I have tried both the compile-time and load-time methods. The compile-time method worked fine and all fields (including inherited "FirstName" and "LastName" fields) were passed to other members in the cluster. However, when I tried using the load-time weaving, I encountered the following problem: All attributes from class "User" have been sent successfully to other members in the cluster but inherited fields ("FirstName" and "LastName") were not sent. To make sure, I checked this using ethereal. My checks confirmed this. I have seen updates sent to the cluster on all fields of "User" and no inherited "Person" fields. Does anyone know what can cause this problem? is this a known bug? I would appreciate any information on the subject. Thanks Noga Btw, i tried all possible Annotations combination on classes "User" and "Person". no combination changed the situation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977172#3977172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How can I create seam context etc in httpservlet
Hi, I am using Seam framework. Now i have to implement a servlet which will get a XML data file as a request. I have to import data within that file. How can i get/create seam contexts (hibernate session, logged user etc) within that servlet. Right now i am using HttpServlet. Regards, Umar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977174#3977174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with conditions in transactions
The searchfunctionality of the forum can help you. There has been lots of discussion on this subject... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977176#3977176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: DB2 and
It looks like findByPrimaryKey doesn't use the row locking template for whatever reason. All other finders do. Tested with 4.0.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977179#3977179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in jboss calculator example
i manage to isolate the problem when i'm trying to run my jsp jboss says 18:06:37,901 ERROR [STDERR] javax.naming.NameNotFoundException: EJB3Trail not bound 18:06:37,903 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 18:06:37,904 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 18:06:37,905 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 18:06:37,907 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:267) 18:06:37,908 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) 18:06:37,909 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) 18:06:37,911 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351) 18:06:37,912 ERROR [STDERR] at org.apache.jsp.my_002dapps.C_jsp._jspService(C_jsp.java:67) 18:06:37,913 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) 18:06:37,915 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 18:06:37,916 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) 18:06:37,917 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) 18:06:37,919 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) 18:06:37,920 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 18:06:37,921 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:06:37,921 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 18:06:37,922 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 18:06:37,923 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 18:06:37,924 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) 18:06:37,924 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 18:06:37,926 ERROR [STDERR] at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) 18:06:37,926 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) 18:06:37,927 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) 18:06:37,928 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245) 18:06:37,929 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50) 18:06:37,929 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156) 18:06:37,929 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 18:06:37,931 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152) 18:06:37,932 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 18:06:37,932 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:06:37,932 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 18:06:37,933 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 18:06:37,935 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 18:06:37,935 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) 18:06:37,935 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 18:06:37,936 ERROR [STDERR] at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) 18:06:37,936 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) 18:06:37,936 ERROR [STDERR] at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217) 18:06:37,938 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197) 18:06:37,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50) 18:06:37,939 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156) 18:06:37,939 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method) 18:06:37,940 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152) 18:06:37,940 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 18:06:37,940 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContext
[jboss-user] [JBoss AOP] - Re: Wherefore art thou, DOCTYPE?
Hello, We have changed our infrastructure slightly over the past months, so the old location is unavailable. You can now find it at: http://labs.jboss.com/portal/jbossaop/dtd/jboss-aop_1_0.dtd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977180#3977180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problems with deploying on the jbpm-server (Starterskit)
I downloaded the JBPM Eclipse called JBossIDE-2.0.0.Beta1-Bundle-win32 and the jbpm-starters-kit-3.1.2. So far so good. The JBPM Eclipse version works fine. Through the getting started guide i created the example proces flow and deployed it on the jbpm-server included in the jbpm-starters-kit-3.1.2. After that i started the webclient and executed the proces flow. It works fine. But then... I created a simple flow, a start-state, node and end-state. The node calls an self written actionhandler which implements the ActionHandler() class. In the self written handler i connect to oracle database and execute a package procedure. Within eclipse there is a testcase class, when executing this one everthing works fine. A connection is made and the package procedure is executed. After execution the procesflow steps to end-state and finishes the flow. Everthing works properly. But now, i deploy it to the jbpm-server (starterskit). I can initialize the process button after the start-state node is finished it crashes with the following error. javax.servlet.ServletException: Error calling action method of component with id taskform:transitionButton 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: Error calling action method of component with id taskform:transitionButton 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:271) org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) javax.faces.webapp.FacesServlet.service(FacesServlet.java:94) 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) What is going here, can anyone help me out. What i'll do nothing seems to help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977182#3977182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation
"flawlor" wrote : In addition to the changes to the tree structure (src/process is just process) the process definitions no longer have a .par extention. There is also no longer any "Deploy Process Archive" option. | | How do you deploy a process defintion? In my eclipse, i got some view selectable under my process window (diagram, swimlanes, deployment..) click deployment and you will see how to deploy, if you dont have "deploy process archive" option just like me. "kukeltje" wrote : Yes it is, look at cvs (see http://www.jboss.com/products/jbpm/downloads) | | Im trying create a project from cvs on eclipse, which module i had to choose please? ty View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977183#3977183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: findByPrimaryKey and locking
anonymous wrote : All jboss does if row-locking is true is just adds FOR UPDATE (or another sb-specific template) to SELECT. Everything else is db/driver's responsibility. It doesn't add FOR UPDATE to findByPrimaryKey()... even though it doesn't use DISTINCT. It looks like findByPrimaryKey() doesn't use the row locking template, which ist bad IMO. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977184#3977184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - sessions and forks
I'm using a fork in my process definition, but i want to persist in the DB the sibling tokens of the fork. The problem is, the way that i'm implementing this funcionality, i've | HibernateException Illegal attempt to associate a collection with two open sessions | error. The cause of the error is the following line inside SpawningMultipleTransitions: | JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | The way i'm doing is: processdefinition.xml | ... | | | | | | | | | | | | |... | The problem is, when i enter the fork, i've already a JbpmContext session opened. How can use the session opened before enter the SpawningMultipleTransitions inside this class, or how should i close the opened session before open a new one inside the SpawningMultipleTransitions? I hope i've made myself clear. Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977185#3977185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sessions and forks
Here is the SpawningMultipleTransitions | | public class SpawningMultipleTransitions extends Node implements Parsable, ActionHandler { | | | private final Logger log = Logger.getLogger(getClass().getName()); | | | public void execute(ExecutionContext executionContext) { | Token token = executionContext.getToken(); | | // Get process instance | Long pid = (Long) executionContext.getVariable("processInstanceId"); | JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext(); | ProcessInstance processInstance = jbpmContext.loadProcessInstance(pid); | //- | | // phase one: collect all the transitionNames | List forkedTokens = new ArrayList(); | | // by default, the fork spawns a token for each leaving transition | Collection transitionNames = token.getNode().getLeavingTransitionsMap().keySet(); | //- | // | | // phase two: create forked tokens for the collected transition names | Iterator iter = transitionNames.iterator(); | while (iter.hasNext()) { | String transitionName = (String) iter.next(); | forkedTokens.add(createForkedToken(token, transitionName)); | } | //--- | | // phase three: launch child tokens from the fork over the given transitions | iter = forkedTokens.iterator(); | while( iter.hasNext() ) { | | ForkedToken forkedToken = (ForkedToken) iter.next(); | Token childToken = forkedToken.token; | String leavingTransitionName = forkedToken.leavingTransitionName; | | ExecutionContext childExecutionContext = new ExecutionContext(childToken); | if (leavingTransitionName!=null) { | childToken.getNode().leave(childExecutionContext, leavingTransitionName); | jbpmContext.save(processInstance); | jbpmContext.save(token); | log.info("BEM-INFO: Process instance saved with id: " + processInstance.getId());//TODO:2DEL | | } else { | childToken.getNode().leave(childExecutionContext); | } | } | //- | | jbpmContext.close(); | } | | protected ForkedToken createForkedToken(Token parent, String transitionName) { | // instantiate the new token | Token childToken = new Token(parent, getTokenName(parent, transitionName)); | | // create a forked token | ForkedToken forkedToken = new ForkedToken(childToken, transitionName); | | return forkedToken; | } | | protected String getTokenName(Token parent, String transitionName) { | String tokenName = null; | if ( transitionName != null ) { | if ( ! parent.hasChild( transitionName ) ) { | tokenName = transitionName; | } else { | int i = 2; | tokenName = transitionName + Integer.toString( i ); | while ( parent.hasChild( tokenName ) ) { | i++; | tokenName = transitionName + Integer.toString( i ); | } | } | } else { // no transition name | int size = ( parent.getChildren()!=null ? parent.getChildren().size()+1 : 1 ); | tokenName = Integer.toString(size); | } | return tokenName; | } | | static class ForkedToken { | Token token = null; | String leavingTransitionName = null; | public ForkedToken(Token token, String leavingTransitionName) { | this.token = token; | this.leavingTransitionName = leavingTransitionName; | } | } | } | Here is the method that is executed before enter SpawningMultipleTransitions | public Map nextState(String transition, Long processInstanceId){ | | beginSessionTransaction(); // inicializar JB
[jboss-user] [Installation, Configuration & Deployment] - Linux Jboss File Layout
Hi I am helping the Gentoo Java Community by creating a jboss package. At present I am attempting to figure out a file layout that will conform to the requirements of gentoo and jboss. Now the default file system layout for the jboss packages has separate data directories for the different profiles (all, default, minimal). What would be the consequences of combining these directories to into one using links to /var/cache/jboss-4? Would their be any reasons why this would be a bad idea? I personally believe that 1) Ppl will not switch profiles much, even on dev computers 2) Sharing the data dir will not pose a security risk thanks for any advice Alistair View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977188#3977188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in jboss calculator example
Hi, in the trailblazer html it seems the interface from the trailblazer lacks the "@javax.ejb.Local" annotation: @Local public interface Calculator { ... } So the server does not bind the ejb to a jndi name and if your deployment does not contain any other bean no context "EJB3Trail" will be created. Hope this guess is right ;-) Wolfgang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977189#3977189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sessions and forks
I've another question that is: 2 - How can i retrieve the sibling tokens of the fork persisted in the DB? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977190#3977190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction problem after upgrade
Thanks, I removed the @Begin and @End annotations but no joy. The stack trace is much the same. The exception is thrown when calling org.jboss.seam.core.ManagedJbpmContext.getJbpmContext(). I inserted breakpoints in org.jboss.seam.interceptors.TransactionInterceptor but found that the exception is being thrown after the interceptor has finished doing it's work. I modified Seam and annotated ManagedJbpmContext.getJbpmContext() with @Transactional to see what would happen and found that the behaviour was the same. Admitedly, I'm at the limits of my (v. limited) understanding here. As far as I can tell the task is being ended; I'm just getting this annoying exception. Here is the full stack trace: | java.lang.IllegalStateException: JbpmContext may only be used inside a transaction | at org.jboss.seam.core.ManagedJbpmContext.getJbpmContext(ManagedJbpmContext.java:71) | 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.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82) | at org.jboss.seam.Component.callComponentMethod(Component.java:1612) | at org.jboss.seam.Component.unwrap(Component.java:1633) | at org.jboss.seam.Component.getInstance(Component.java:1465) | at org.jboss.seam.Component.getInstance(Component.java:1433) | at org.jboss.seam.Component.getInstance(Component.java:1415) | at org.jboss.seam.core.ManagedJbpmContext.instance(ManagedJbpmContext.java:112) | at org.jboss.seam.core.ProcessInstance.getProcessInstance(ProcessInstance.java:42) | at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$fdc4d28.CGLIB$getProcessInstance$0() | at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$fdc4d28$$FastClassByCGLIB$$8ec14899.invoke() | at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) | at org.jboss.seam.interceptors.JavaBeanInterceptor$3.proceed(JavaBeanInterceptor.java:187) | at org.jboss.seam.ejb.SeamInterceptor.invokeInContexts(SeamInterceptor.java:220) | at org.jboss.seam.ejb.SeamInterceptor.invoke(SeamInterceptor.java:186) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:173) | at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:158) | at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:62) | at org.jboss.seam.core.ProcessInstance$$EnhancerByCGLIB$$fdc4d28.getProcessInstance() | at sun.reflect.GeneratedMethodAccessor171.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:17) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82) | at org.jboss.seam.Component.callComponentMethod(Component.java:1612) | at org.jboss.seam.Component.unwrap(Component.java:1633) | at org.jboss.seam.Component.getInstance(Component.java:1465) | at org.jboss.seam.Component.getInstance(Component.java:1433) | at org.jboss.seam.Component.getInstance(Component.java:1415) | at org.jboss.seam.core.ProcessInstance.instance(ProcessInstance.java:58) | at org.jboss.seam.contexts.BusinessProcessContext.getProcessInstance(BusinessProcessContext.java:210) | at org.jboss.seam.contexts.BusinessProcessContext.getContextInstance(BusinessProcessContext.java:197) | at org.jboss.seam.contexts.BusinessProcessContext.getNamesFromContext(BusinessProcessContext.java:103) | at org.jboss.seam.contexts.BusinessProcessContext.getNames(BusinessProcessContext.java:92) | at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:181) | at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:362) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:272) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:108) | 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(ApplicationFi
[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide
I have this error with Eclipse 3.2, Jboss 4.0.4GA, the newest version of Seam and seam-gen: 11:45:08,510 ERROR [MainDeployer] Could not initialise deployment: file:/home/lah/jboss-4.0.4.GA/server/default/deploy/sample.ear org.jboss.deployment.DeploymentException: Failed to find module file: jboss-seam.jar What is wrong here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977192#3977192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Linux Jboss File Layout
The consequence is you can't run 2 jboss instances on different configurations simulaneously. Each instance needs its own data/log/tmp dirs. In general, whatever is under a configuration JBOSS_HOME/server/xxx must not be shared across instances. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977193#3977193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: what action does it do?
Hey i too want the same info, could anybody tell how it works or point out where the docs are available for this. Thanks in advance Venky View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977195#3977195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem execute actions on jboss
Hello! I have some problems with exectue Actions on a jboss server. I ve made a little test definition with a start-state, a state and an end-state. The state should execute an action. In junit, the workflow runs without any problem. But when i deploy it on a jboss, jbpm doesn t execute the action. When i ask the processinstance for its node name, i can see, that the workflow runs form one state to another. But without executing the action. I ve tried serveral kinds of action ( befor-signal, after-signal...) but without any change. Can someone tell me, what i ve made wrong? ( once again a stupid error i ve produced?? ) I use jbpm 3.1.1. and the jboss 4.0.3.sp1 my processdefinition | http://jbpm.org/3/jpdl"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jbpm.org/3/jpdl http://jbpm.org/xsd/jpdl-3.0.xsd"; | name="processActivity"> | | | | | | | | | | | | my simple action handler: | package de.uniSiegen.crm.server.workflow.action; | | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | | public class TestActivity implements ActionHandler { | | public void execute(ExecutionContext arg0) throws Exception { | | System.out.println(" in the test activity!"); | } | | } I would be very grateful for any help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977196#3977196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with conditions in transactions
Thanks for your reply, I've search before starting this topic, and i've found nothing about this problem. I've found a lot of topics talking about the possibility of adding conditions to transactions or talking about another problems or talking about topics too elaborated for a newbie user, but i've found nothing about a condition that is ignored. Maybe i'm trying a bad search, but i don't think that's the problem. I would be very pleased if you could tell me the topic or just tell me what the problem with my process definitio is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977197#3977197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with decrementing dates
This is my solution: Component: | | @Name("defaultTimeZone") | @Scope(ScopeType.APPLICATION) | @Intercept(NEVER) | public class DefaultTimeZone { | /** | * @return default TimeZone | */ | @Unwrap | public TimeZone getDefaultTimeZone() { | return TimeZone.getDefault(); | } | } | Page: | | | It is easy to change for example to userTimeZone where timeZone is extracted from database or something like this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977198#3977198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Can I initiate BPEL process from PL/SQL?
Hi, everybody, My boss wants to call BPEL process from stored procedure at the Oracle istance? Is it possible? Radmir View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977199#3977199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
One appendix: I forgot to mention, that there is no error or anything produced from jboss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977200#3977200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
petemuir, I did it so but nothing changed. I put @In and @Out. if the user was null it would threw a NullPointerException but there is no exception and even no warning. I put some log in the action method but it seems it never reach to that code and during the jsf request cycle, response gets failed. any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977201#3977201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: PermGen leak when passing detached entities over remote
I got the same problem... PermGen in EJB3 client aplication by remote interface. The application is as sample as it can be: -get remote interface of stateless EJB3 (by JNDI) - ask 1000 times to get a Collection of 10 EntityBeans. After 255 there is OutOfMemory: PermGen. JVM options changes nothing (eventualy more PermSpace => longer run). The reason looks like the Javassist create lazyinitializer classes for every EntityBean retrived from the server. So: When I debug on server-side, I got before sending Entity to client: I got: myEntity[0].id=143534 myEntity[0].flow= 13434 ... myEntity[0].user=... myEntity[0].stage=... And every remote call the class names (name)_$..._javassist_(index) got the same indexes (7,15,17) on server side (end every entity in returned collections of entities) But when I debug on client site - after return from remote call - the indexes of all returned entities are different (Each next increments index). So after first call I got: myEntity[0].id=143534 myEntity[0].flow=... ... myEntity[0].user=... myEntity[0].stage=... ... myEntity[1].id=143534 myEntity[1].flow= ... myEntity[1].user=... myEntity[1].stage=... ... After secund call: myEntity[0].id=143534 myEntity[0].flow=... ... myEntity[0].user=... myEntity[0].stage=... ... myEntity[1].id=143534 myEntity[1].flow= ... myEntity[1].user=... myEntity[1].stage=... ... And so on... ... and permGen after 260 iterations... I have not idea, how to deal with that... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977202#3977202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: PermGen leak when passing detached entities over remote
I have added it to JIRA: http://jira.jboss.com/jira/browse/EJBTHREE-736 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977203#3977203 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How do I output a HTML comment in the head-tag via header-co
In jboss-portlet.xml, the tag holds all tags that needs to be injected into the portals head tag. This can for example be CSS or JavaScript tags. But in my situation I also need to output the following HTML comment (i.e. ): | | The comment in the XML is of cause interpreted as an XML comment and is just ignored and therefore not outputted. Is there a way to escape the comment to that the XML reader just forwards it to the HTML? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977204#3977204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: sessions and forks
I think that i'm reinventing the wheel when i use SpawningMultipleTransitions class, because, jbpm when enters a fork it executes org.jbpm.graph.node.Fork class. The SpawningMultipleTransitions is based on Fork class. So, the only question that i must do is: 2 - How can i retrieve the sibling tokens of the fork persisted in the DB? This post have the intention of inform to forget my doubts about SpawningMultipleTransitions and only concern with the question of this post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977205#3977205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JbpmContext: when to create new vs. get current
It would be great if somebody could answer this question ^ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977208#3977208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Fresh install throws startup error
I downloaded the installer zip file and unzipped into a local directory ( c:\app\jboss404). I checked for jboss-remoting.jar and it is not located in the specified directory. There is a version of the jar in c:\app\jboss404\client however. Perhaps I have selected incorrect options during the install process. Should I reinstall from scratch and specify some paticular option or can I copy the jar from /client to /server/default/lib. Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977206#3977206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
"mnrz" wrote : if the user was null it would threw a NullPointerException If you say so. The action method wasn't called as the error occured in the apply request values phase not the invoke application phase. Did you try an Exception breakpoint for ConverterException to see why it was thrown? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977209#3977209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem in a simple seam application
Oh my god, I meant no exception throws. I put try/catch but no exception throws. sorry for my poor english. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977212#3977212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - ClassNotFoundException: couldn't load delegation class
Firstly I must apologise as there appears to be 7 other threads that look at similar issues - but I was unable to resolve the problem. I have a process definition inside my webapp and can succesfully parse the XML to load it inside a servlet. However the process references an assignment handler, and when it comes to calling createStartTaskInstance() I get the error: couldn't load delegation class 'rats.handler.PreviousAssignmentHandler' | java.lang.ClassNotFoundException: class 'rats.handler.PreviousAssignmentHandler' could not be found by the process classloader The compiled class file is in the correct location inside WEB-INF/classes/... when I create the war - so from the other threads it would appear that I have my jars in the wrong places. I have experimented moving around the various hibernate, ehcache and jbpm jars/sars between the server lib, the sar and the war ... all to no avail. Can anyone give me an idea of what jars etc I need to put where? Also, if the same jar is in more than one location (eg inside server lib and inside war) does this create a problem? I have not customised anything from the defaults, so it is more likely to be not having configured something rather than the result of me trying to do something tricky. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977213#3977213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Double HttpRequest Problem
Hi Peter, using TCPMON I can see that the server receives twice all the client requests. The first immediately and the second after few seconds. It is very strange, because the HTML code is quite simple and with other AppServers like Websphere the problem doesn't exists. So I think about some possible configuration problem with JBOSS. if you have any ideas.. tnx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977214#3977214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade
Not sure what you aretrying to do but did you try surrounding it with CDATA ? | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977216#3977216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
are you sure System.out.println(...); prints something using jBoss server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977217#3977217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Lost datasource
I wish I had an answer for you. I was experiencing this problem on my dev box. When we configured our test environment we did not experience any issues so it has something to do with the configuration of the datasource. Wish I could be of more help but I myself don't know what went right. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977219#3977219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Postback/form resubmission detection
It Just Works. It sure does! MANY thanks...it is coming together for me now! My (poor longsuffering) wife just heard me exclaim "Gavin, you genious!" I LIKE this feature (now I understand it, of course...) This is exactly what I mean by "simple solution" and "a high-level note". When I evaluate a framework, I am looking for "added value", or more "bang for buck." This feature just did it for me ;-) I have been looking at apache shale (didn't seem enough of a "leap forward"); spring (I just LOVE the way that people are saying that EJB2.x descriptors are too complex, and then wading into spring's morasses of XML configuration; easier testability is nice, though) and SeamSeam "felt right" to me, in terms of making proper use of the latest and greatest, but I couldn't see my way through. So: many thanks. This is Good Work. Alph. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977220#3977220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Example Code
Hello there, i´m a beginner on rules and BREs and still trying to understand the Drools examples. In my attempt to implement my own example adapted from the "golf" example I encountered a problem. Here is my example: There are 3 Girls, each has a name, a lastname, a fad and gets some pocket-money. The task is, to find a solution for following facts and rules: girl-names: Marion, Susi, Uschi lastnames: Müller, Bauer, Weber fads: records, sweets, dresses money: 6?, 7?, 8? 1) Marion loves Sweets. She gets less money than the Girl with the lastname Weber. 2) Susi gets 7?. 3) Uschi doesn´t spent her money on records. Uschi and the girl with the lastname Bauer get another amount than 6?. the information about the girls works exactly like the "Golf" example. g1:Girl($marionsName:name=="Marion", ) g2:Girl($susisName:name=="Susi", ) g3:Girl($uschisName:name=="Uschi", ) My Problem is, how to bring the information in "that the girl with the lastname Bauer gets another amount than 6?". my first idea was to add something like Girl(lastname == "Bauer", money!=6) but this does not want to do, what I want it to. As far, as I understand it, this only selects the matching facts from the working memory. How can I tell the system, that I don´t want to find new Girls, but only add some additional information to the girls, which are already found? Is there something like a "union" function in Drools? Thanks for your help. P.S. excuse the errors in my english, I´m german ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977221#3977221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Example Code
Hello there, i´m a beginner on rules and BREs and still trying to understand the Drools examples. In my attempt to implement my own example adapted from the "golf" example I encountered a problem. Here is my example: There are 3 Girls, each has a name, a lastname, a fad and gets some pocket-money. The task is, to find a solution for following facts and rules: girl-names: Marion, Susi, Uschi lastnames: Müller, Bauer, Weber fads: records, sweets, dresses money: 6?, 7?, 8? 1) Marion loves Sweets. She gets less money than the Girl with the lastname Weber. 2) Susi gets 7?. 3) Uschi doesn´t spent her money on records. Uschi and the girl with the lastname Bauer get another amount than 6?. the information about the girls works exactly like the "Golf" example. g1:Girl($marionsName:name=="Marion", ) g2:Girl($susisName:name=="Susi", ) g3:Girl($uschisName:name=="Uschi", ) My Problem is, how to bring the information in "that the girl with the lastname Bauer gets another amount than 6?". my first idea was to add something like Girl(lastname == "Bauer", money!=6) but this does not want to do, what I want it to. As far, as I understand it, this only selects the matching facts from the working memory. How can I tell the system, that I don´t want to find new Girls, but only add some additional information to the girls, which are already found? Is there something like a "union" function in Drools? Thanks for your help. P.S. excuse the errors in my english, I´m german ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977222#3977222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Help with Logout
This is correct behaviour - the user has not requested the home page so declarative security will not kick in and they will be forwarded wherever your web app dictates, whether logged in or not. As soon as they try to access anything they ARE requesting a secured resource and declarative security DOES kick in. HTH Ivor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977223#3977223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide
"karakal" wrote : | 11:45:08,510 ERROR [MainDeployer] Could not initialise deployment: file:/home/lah/jboss-4.0.4.GA/server/default/deploy/sample.ear | org.jboss.deployment.DeploymentException: Failed to find module file: jboss-seam.jar | I got the same error. There is no jboss-seam.jar included in sample.ear, but in the project I see it in sample/lib and sample's build.xml should include it in the ear. BTW, in the screenshots after running seam-gen for the scaffold project, the generated build.properties is shown in eclipse. Where do I find it? My sample's build.properties looks as before, with just the jboss.home set. Thank you for a hint! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977224#3977224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - New Portlet
Hi, Is it possible to create a portlet that pointing to an existing URL? for example, I want to creat a portlet that have to be hold rediffmail.com. Can anyone suggest me a solution for this? Thanks on advance. Sreejith- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977228#3977228 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem execute actions on jboss
I have also tried an log4j info output. but there is also nothing to see on jboss ( the log4j is ok, i can see other info outputs...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977229#3977229 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade
"[EMAIL PROTECTED]" wrote : Not sure what you aretrying to do but did you try surrounding it with CDATA ? Yes... In that case it is not injected to the head tag at all. I tried two ways, both of which did not work: | | // foobar | | and as you suggested: | | What I am trying to achive is to insert what is called "conditional comments", but the problem is basically to insert any HTML comment at all. For more info on conditional comments see: http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp http://virtuelvis.com/archives/2004/02/css-ie-only View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977231#3977231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade
Btw... This is the complete jboss-portlet.xml file: | | | ProductionUnitPortlet | true | | | | // foobar | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977232#3977232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Creating a blank project via seam-gen
Hello, have exactly the same problem. Works fine last week, but now... Pleas help Thanks Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977227#3977227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet
SeamServletFilter ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977233#3977233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
I believe I'm still seeing this, albeit not at startup. I'm still getting very long hang times in Eclipse and when I look at the thread dumps, I am seeing: "Worker-17" prio=6 tid=0x3a205b20 nid=0x5d0 runnable [0x3b43f000..0x3b43fa68] | at java.util.zip.ZipFile.open(Native Method) | at java.util.zip.ZipFile.(ZipFile.java:203) | at java.util.jar.JarFile.(JarFile.java:132) | at java.util.jar.JarFile.(JarFile.java:97) | at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.sup | ports(ArchiveModuleFactory.java:65) | at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.acc | eptAddition(ArchiveModuleFactory.java:33) | at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory$1.vis | it(JBossModuleFactory.java:88) So, I'm assuming this thread is the cause of my issue. This issue is devestating to the usability of Eclipse. Can you guys add a setting within JBoss IDE somewhere that I can turn off this scanning of the files? Even if it means turning off some feature - I'm willing to lose a piece of capability within JBoss IDE if I can workaround this issue. Note that I'm using JBoss IDE 2.0.0.beta1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977234#3977234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-Eventing - sending notification
Something is unclear to me after reading the user guide: 1. Notification payload: The example shows the payload creation via parsing some xml string - is there a better way to do it? 2. The notification endpoint definition: It should be described by some wsdl? Should the notification endpoint wsdl and the event source wsdl share the same data type definition of the payload? Should the notification enpoint port definition be same as the event source port definition? Thank you, artem View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977235#3977235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
Mazz: Can you show a bit longer of a stack trace? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977236#3977236 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Managed Connection Pool Issue
Sivashanmugam, any luck in fixing this problem? I am facing similar problem when migrating to JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977237#3977237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade
In your case the code is ignored because the xml descriptor is parsed in a standard way (i.e. ignoring comments). BUT: You can do it via code. In the portlet's doView() etc. you can inject any HTML you want. Look for the ContentRewritePortlet in the portlet examples (in core). | response.setProperty("HEADER_CONTENT", ""); | You can even wsrp rewrite the content to get namespacing: | res.setProperty("WSRP_REWRITE", "true"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977239#3977239 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
To add additional tasks during runtime, you'd have to create new task definitions. These tasks are already defined and created, we just don't want instances automatically started for every task def when the task node enters. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977241#3977241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: Online forum
you might want to check out jboss forums at http://www.jboss.com/index.html?module=bb&op=viewforum&f=247 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977242#3977242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Eventing and subscription expiration time
done. http://jira.jboss.org/jira/browse/JBWS-1290 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977245#3977245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Access ejb 3.0 exposed web service using https
It seems that jbossws-1.0.3 fixed this: @PortComponent settings seems to be correctly mapped to and entries in the generated web.xml. I have another problem anyway: how can I control the entry in the generated jboss-web.xml? I didn't find any useful annotation about it. Besides, I would prefer to control this by an xml file since I'm using stuff like this ${it.myorg.mycustomer.host} in order to get staging simple. Also, I would prefer to avoid building a web app for this because: 1) I would have to sync the site's web.xml everytime I add/remove an exposed bean; 2) I'm not shure that jbossws is able to "detect" the fact I'm deploing a war for my WSes, so I guess I would get two publications: one under the ${jboss.bind.address} virtual host, and the other under the wanted one (${it.myorg.mycustomer.host}). Regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977247#3977247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
"Worker-17" prio=6 tid=0x3a205b20 nid=0x5d0 runnable [0x3b43f000..0x3b43fa68] at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:203) at java.util.jar.JarFile.(JarFile.java:132) at java.util.jar.JarFile.(JarFile.java:97) at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.supports(ArchiveModuleFactory.java:65) at org.jboss.ide.eclipse.as.core.module.factory.ArchiveModuleFactory.acceptAddition(ArchiveModuleFactory.java:33) at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory$1.visit(JBossModuleFactory.java:88) at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:105) at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:57) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:67) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:103) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:87) at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory.cacheModules(JBossModuleFactory.java:86) at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory.contains(JBossModuleFactory.java:203) at org.jboss.ide.eclipse.as.core.module.factory.JBossModuleFactory.resourceEvent(JBossModuleFactory.java:187) at org.jboss.ide.eclipse.as.core.model.ModuleModel.resourceChanged(ModuleModel.java:313) at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:280) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:274) at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:148) at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:256) at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:958) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:45) 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=3977246#3977246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Runtime specification of viewId in Redirect ?
Hi, I am making use of the @Redirect tag as below: @ApplicationException(rollback=true) | @Redirect(viewId = "/secure/structure/management/adminHome.xhtml") | public class NAPException extends Exception implements Serializable { This works well. However, ideally I would like to configure the viewId at runtime to direct to a specfic page (depending on what the user was doing and where the exception got thrown).. eg. @Name("napException") | @ApplicationException(rollback=true) | @Redirect(viewId = "#{napException.viewId}") | public class NAPException extends Exception implements Serializable { | @Out(required=false) | private String viewId; | public NAPException(String message) { | super(message); | } | | public NAPException(String viewId, String message) { | super(message); | this.viewId=viewId; | } | | public String getViewId() { | return viewId; | } | | | public void setViewId(String viewId) { | this.viewId = viewId; | } | } and invoked through: throw new NAPException("/secure/structure/management/adminHome.xhtm",e); Unfortunately the above does not work, Is there a way I can specify the target viewId ? Thanks Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977248#3977248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE causing Eclipse to pause and do alot of disk IO
Compared the trace to head... the line numbers don't match at all nor does the trace even line up. I guess the fix didnt make the beta1 release and will be in beta2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977252#3977252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet
No, SeamServletFilter is intended to create an process Ajax calls. I've implemented a Filter which does some things, and uses Seam components. Inside my Filter class I have the following method which gets called in every request. protected void inicarSeam(ServletRequest request, ServletResponse response) { HttpSession session = ((HttpServletRequest) request).getSession(true); Lifecycle.setPhaseId(PhaseId.INVOKE_APPLICATION); Lifecycle.setServletRequest(request); Lifecycle.beginRequest(servletContext, session, request); Manager.instance().restoreConversation(request.getParameterMap()); Lifecycle.resumeConversation(session); Manager.instance().handleConversationPropagation( request.getParameterMap()); } And in my doFilter() method: String userName = httpRequest.getUserPrincipal().getName(); inicarSeam(request, response); Usuario usuario = (Usuario) Component.getInstance(Usuario.class, false); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977255#3977255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I create seam context etc in httpservlet
No, SeamServletFilter is intended to create an process Ajax calls. I've implemented a Filter which does some things, and uses Seam components. Inside my Filter class I have the following method which gets called in every request. protected void inicarSeam(ServletRequest request, ServletResponse response) { HttpSession session = ((HttpServletRequest) request).getSession(true); Lifecycle.setPhaseId(PhaseId.INVOKE_APPLICATION); Lifecycle.setServletRequest(request); Lifecycle.beginRequest(servletContext, session, request); Manager.instance().restoreConversation(request.getParameterMap()); Lifecycle.resumeConversation(session); Manager.instance().handleConversationPropagation( request.getParameterMap()); } And in my doFilter() method: String userName = httpRequest.getUserPrincipal().getName(); inicarSeam(request, response); // Si llego acá es porque el contenedor nos autenticó Usuario usuario = (Usuario) Component.getInstance(Usuario.class, false); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977254#3977254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - CMR fileds available after raw SQL delete of related records
Hi I have problem with Conteiner Managed Relation. Environment: JBoss 4.0.4.GA, JDK 1.5.0_07 on WindowsXP + SP2, SQL SERVER 2000 I have two EJBs A and B with container managed bidirectional relation (one ? many). I am using direct SQL to delete the records for B related with one of A?s instances. Later when I call a.getBs(), returned collection is not empty, even if the entities are removed. If I get B?s home interface and make b.findByA(PK) the returned collection is empty. It seems that the relation is not updated. Here is a simple snippet. //This is in Entity A. | | public boolean hasInstances() | { | | Collection coll = null; | try | { | BHomeLocal processHome = ? //perform lookup here | coll = processHome.findByAid(getId()); | } | catch (NamingException e) | { | e.printStackTrace(); | } | catch (FinderException e) | { | e.printStackTrace(); | } | //Note coll is empty. No B entities found | | Collection bCollection = getBs(); //CMR of A | return (!bCollection.isEmpty()); | //Note that it returns false, and bCollection contains the ids of the //removed B instancess | } If anyone can help to tell is it bug or I am doing wrong that I am using direct SQL to delete records. 10x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977257#3977257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Node instead of Fork
In my application, when i do token.getNode().getClass().getName(), i get | org.jbpm.graph.def.Node$$EnhancerByCGLIB$$590b667 | instead of | org.jbpm.graph.def.Fork | What is EnhancerByCGLIB, and why i get Node, instead of Fork? Thanks, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977258#3977258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Installer for 4.0.5GA ?
When will the installer for 4.0.5GA be available? On Oct 16 (as indicated by the roadmap) or perhaps earlier? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977260#3977260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Installer for 4.0.5GA ?
Together with the release on the 16th, if not later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977262#3977262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Fresh install throws startup error
I once again downloaded the jboss-4.0.4.GA.zip file from the download site, and looked at and it contains the jboss-remoting.jar file in the server/all/lib and server/default/lib directories. anonymous wrote : Should I reinstall from scratch and specify some paticular option or can I copy the jar from /client to /server/default/lib. | Uh, there are no installation options available when unzipping a zip file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977264#3977264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Double HttpRequest Problem
Sorry, but I don't know why TCPMON would show duplicate transmissions, other than network issues that might cause the server to request a retransmit, or JavaScript in the HTML that does a periodic refresh request. I have never noticed duplicate requests in any of my servlets from plain HTML. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977265#3977265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Eclipse Getting Started Guide
Hi! Because the sticky thread about the Getting-Started Guide doesn't pop to the front ... Could someone please give me a hint where i am wrong if jboss-seam.jar is not included in the samle.ear / blank.ear after publishing? Please see the Getting-Started-Guide thread! Thanks a lot!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977267#3977267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: New Portlet
Is the iframe portlet what you are looking for? You can download it from the Portlet Swap web site. It lets you embed the contents of a web page in a portlet window. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977266#3977266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - EJB & java web start application security issue
Hello! I made java application which performs access to EJB(3.0) remote component. To have classes dynamicly loaded from server I put: | URL policyResource = Main.class.getResource ("/client.policy"); | System.setProperty("java.security.policy",policyResource.toString ()); | System.setSecurityManager (new RMISecurityManager ()); | Thread.currentThread ().setContextClassLoader (RMIClassLoader.getClassLoader ("http://127.0.0.1:8083/";)); | I grant all permisions to client and application works fine. When I run it from a web start I got: | (some AWT stuff) | Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) | at java.security.AccessControlContext.checkPermission(Unknown Source) | at java.security.AccessController.checkPermission(Unknown Source) | at java.lang.SecurityManager.checkPermission(Unknown Source) | at java.lang.SecurityManager.checkMemberAccess(Unknown Source) | at java.lang.Class.checkMemberAccess(Unknown Source) | at java.lang.Class.getDeclaredMethods(Unknown Source) | at org.jboss.aop.util.MethodHashing.getInterfaceHashes(MethodHashing.java:150) | at org.jboss.aop.util.MethodHashing.calculateHash(MethodHashing.java:219) | at org.jboss.ejb3.ProxyUtils.(ProxyUtils.java:65) | ... 44 more | Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError | at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:79) | at $Proxy0.findData(Unknown Source) | at fetching.EJBRowSetDataFetcher.refreshData(EJBRowSetDataFetcher.java:63) | I signed all jars and put following: | | | | In jnlp file. What may be the cause? Sorry if it is wrong forum, but I found it the closest to exception message. regards Michal View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977268#3977268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - What happened to Microcontainer 2.0.0.M1 - a progress report
Since the release of 1.0.2 has been a while I wanted to explain why the 2.0.0 release hasn't happened (yet) and a bit about what it contains. 2.0.0 adds AOP to the Microcontainer 2.0.0 is finished (has been since about March), the remaining tasks are 1) AOP 2.0 to use the org.jboss.metadata metadata repository rather than the original org.jboss.repository implementation 2) Complete the org.jboss.metadata implementation. It is basically done, but the integration hooks like AOP are not there. 3) Some tidyup of parts of the api to remove redundant stuff that was adding during 2.0.0 development and then replaced as well as extending some api like ControllerContextAware to the entire lifecycle not just registration. 4) Productization work - I need to sit down and write some examples about some of the new features. (4) is the main reason why there hasn't been a release. There would be little point producing a release without explaining some of these new features (a few simple tasters are at the end of this). The other reason is that a lot of this work is being done for JBoss5 what we also call the "Microcontainer project" but it actually has little to do with the basic IOC container beyond using it. In fact, if you download the current JBoss5 code from trunk, it uses the Microcontainer instead the JMX MicroKernel (well actually the JMX MicroKernel still exists as a facade over the Microcontainer). So basically, the JBoss Microcontainer 2.0.0 schedule has been incorporated with the JBoss5 schedule. Betas and release candidates will be alongside the AS releases. As promised Simple tasters: 1) AOP integration - instance level AOP You can "annotate" an MC bean such that only for that POJO instance something special happens. e.g. make a particular instance a webservice (even though the original class didn't have the anotations). | |@javax.jws.Webservice | etc. | 2) AOP integration - "aspectized" dependencies Suppose you wanted to apply transaction demarcation (REQUIRED, NOT_SUPPORTED, etc.) to some pojos. This requires an interceptor but the interceptor also requires a dependency (the transaction manager). This dependency is an implementation detail that shouldn't have to be made on every bean. Instead, the AOP/MC integration automatically works out the dependency for you. You can simply annotate the bean which will 1) Introduce the interceptor 2) Add the dependency that the interceptor must be started which transitively needs some other service (the TM in this case). e.g. (this is pseudo, i.e. the names are not real) transaction-demarcation-beans.xml | | | | | | | | | | | | | Now it will apply this interceptor to the following class | @TxDemarcation(Demarcation.REQUIRED) | public class MyPOJO {} | Or if the class didn't have the annotation, you can add it at deployment | | @org.jboss.tm.TxDemarcation(org.jboss.tm.Demarcation.REQUIRED) | | Of course a real implementation would probably use the EJB3 annotations and the jboss-aspects project's interceptors. NOTE: The bean is guaranteed to start only after the interceptor is ready and that only when the transaction manager is ready. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977269#3977269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Migration from JBoss-3.2.4 to Jboss-4.0.3
Hello, I am porting my application from the older version of JBoss-3.2.4 to JBoss-4.0.3 . I have put the EAR file in the deploy directory of default configuration but then i am getting a WARNING message WARN [MainDeployer] Found non-jar deployer for UserCreation.jar: MBeanProxyExt[jboss.ejb:service=EJBDeployer] WARN [MainDeployer] Found non-jar deployer for ClientManagement.jar: MBeanProxyExt[jboss.ejb:service=EJBDeployer] Can anyone please let me know why these messages being displayed. Thanks in advance, Subramaniam V View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977270#3977270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user