[jboss-user] [JBoss Seam] - Re: Force method to be run before page redirect (no pages.xm
Using interceptor didn`t help :| | @Interceptor | public class QuestionRemovedInterceptor { | | @AroundInvoke | public Object aroundInvoke(InvocationContext invocation) throws Exception { | Contexts.removeFromAllContexts(questionCategoryList); | return invocation.proceed(); | } | } | | @Target(ElementType.TYPE) | @Retention(RetentionPolicy.RUNTIME) | @Interceptors(QuestionRemovedInterceptor.class) | public @interface QuestionRemoved {} | Logs look almost allright (doubled reciving questionCategoryList, but this is because the questionCategoryController is stateless) | 09:00:15,046 INFO [QuestionCategoryManagerBean] Reciving QuestionCategory list | 09:00:15,118 INFO [QuestionCategoryManagerBean] Reciving QuestionCategory list | 09:00:15,312 INFO [QuestionManagerBean] Removing question [afgdfgsdfg] | 09:00:15,362 INFO [QuestionCategoryManagerBean] Reciving QuestionCategory list | 09:00:15,429 INFO [QuestionCategoryManagerBean] Reciving QuestionCategory list | I`ve also tryed to change annotation type to method | @Target(ElementType.METHOD) | @Retention(RetentionPolicy.RUNTIME) | @Interceptors(QuestionRemovedInterceptor.class) | public @interface QuestionRemoved {} | and than use it on removeQuestion | @QuestionRemoved | public void removeQuestion(Question question) { | if(question.getQuestionType().getId().equals(questionTypeManager.getQuestionTypeByName(propertiesManager.get(questiontype.input)).getId())) { | questionManager.removeQuestion(question); | } else { | answerManager.removeAnswers(question.getAnswers()); | questionManager.removeQuestion(question); | } | } | But that didn`t work either. Any other ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123941#4123941 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
Please somebody explain me how organize downloading big files from filesystem, with Jboss Seam. Is that real? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123942#4123942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
The default memory settings from JBoss is likely not enough for a production application anyway. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123944#4123944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
What version of Seam are you running? Are there any errors in the log from not being able to create the persitence units? In 2.0 the link should be something like a deployed Foo-ds.xml with a | jndi-nameFooDatasource/jndi-name | a persistence.xml with | jta-data-sourcejava:/FooDatasource/jta-data-source | property name=jboss.entity.manager.factory.jndi.name value=java:/FooEntityManagerFactory / | and in components.xml | persistence:managed-persistence-context name=entityManager auto-create=true persistence-unit-jndi-name=java:/FooEntityManagerFactory / | Which should give you auto-created SMPC available with just | @In private EntityManager entityManager; | (and injection into all controllers etc. that use the entityManager name) you seem to have some sort of managed-persistence-context in components.xml, although under another namespace? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123946#4123946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - mail node issue
Hi I have written the following code: ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( | process-definition + | start-state name='start' + | transition to='mailnode1' name='to_mailnode'/transition + | /start-state + | mail-node name='mailnode1' to='email address' + | subjecta/subject + | textThis is regarding/text + | transition to='end' name='to_end'/transition + | /mail-node + | end-state name='end'/end-state + | /process-definition); | | | ProcessInstance processInstance = new ProcessInstance(processDefinition); However, the above code gives a warning on parsing: 13:23:38,166 WARN [JpdlXmlReader] process xml warning: transition to='mailnode1 ' on node 'start' cannot be resolved On signalling the start node, I get the runtime exception: org.jbpm.JbpmException: transition 'to_mailnode' doesn't have destination. check your processdefinition.xml Please let me know what is going wrong. Thanks, Debnath View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123945#4123945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
To be honest I'm glad you opened up the discussion regarding h:selectOneMenu ... I'm trying to do something like this h:selectOneMenu id=idCurs value=#{cursHome.instance.idcurs} | s:selectItems value=#{cursList.resultList} label=#{curs.nume} | var=curs | noSelectionLabel=Alege un curs | / | s:convertEntity / | a:support event=onblur reRender=idcursDecoration bypassUpdates=true/ | /h:selectOneMenu I have StudentHome the student ( generated with seam generate entities), and I want it to return the id of a selected item in the option list. I already did the override on equals and hashCode and read the wiki and other posts on the matter but I don't fully understand how the hole thing is supposed to work. It gets the list from the cursList.resultList. Then when I select an item .. he does what exactly ? he sets the value of var to whatever I say in the h:selectOneMenu ? or where I would like for it to set the value of the current edited studentHome.instance.idcurs to the value of idcurs from the selected item in the list.. something like binding the label value to curs.nume and the value to curs.idcurs Any suggestions or other ways of accomplishing this ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123949#4123949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Maven2 example application for Seam2
We've come to similar conclusion (regarding source of the problem): http://jira.jboss.com/jira/browse/JBSEAM-2371 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123950#4123950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Attachments with SOAP
Hi, I am kind of new to Web Services and this is what i am using right now : JBOSS AS 4.0.4.GA, JBoss WS 1.2 and jdk 1.5.12. I am trying to get SOAP with attachments working. I saw one MTOP example that comes with JBOSS WS 1.2 and was trying to do the same. I am taking DataHandler as one of the inputs to my method, i am not providing anything in configuration file to WSTools while building the application JAR. so API looks like: public void transferFile(String msg, WrappedBean handle) { } Can somebody please tell me why is this not working and whether anything else needs to be done or some other alternative to get Attachments working with SOAP ? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123951#4123951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Performance issue accessing process variables
Hi all, I run into a performance problem here. My app creates an inbox-like task list. To populate that list with relevant information I retrieve the process variables assoc'd with each of the tasks. Unfortunately this lookup takes around 40ms per task (cummulated time of all the required queries, on Sybase in WLS 8.1 setting). The time needed to display a list of 700 entries is inacceptable for our users. I have never played with hibernate. So I still use the config that came with jBPM. Any hibernate options I can explore or best pratices on code level? All pointers welcome! Johan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123947#4123947 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Attachments with SOAP
Hi i forgot to specify bean i am using, Wrapped Bean looks like: public class WrappedBean { private String name = null; private DataHandler legacyData = null; // getters and setters for name and legacyData } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123952#4123952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
Also note that what you want to has nothing to do with Seam. It's just a normal servlet that is supposed to stream a file from the filesystem to an HTTP client. There should be hundreds of examples of this on the net. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123956#4123956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jbossws-2.0.3 released
As of this post I am happy to announce that jbossws-2.0.3.GA is released. This is a fully certified JAX-WS web services implementation. It runs on jboss-5.0.0, jboss-4.2.2, jboss-4.2.1, jboss-4.0.5 JAXWS brings to web services what EJB3 brings to EJB. With its greatly simplified programming model and functional enhancements it is designed to take the place of previous JAX-RPC web service implementations. The binaries, including the samples can be obtained here: * http://labs.jboss.com/jbossws/downloads/ Installation instructions can be found here: * http://jbws.dyndns.org/mediawiki/index.php/Main_Page To get started please have a look at the Quick Start and User Guide: * http://jbws.dyndns.org/mediawiki/index.php/Quick_Start * http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide If you don't know it already, you'll be surprised how easy it is to do Web Services. I'd like to thank the team and the many contributors for all the hard work to make this release possible. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123958#4123958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Hmmm, if you have a list of entities, why don't you just bind the selected one to the home.instance? the dropdown with entityconverter + smpc is a handy way of taking a list of entities and having the selected entity inserted into another component. Instead of having to write object - selectitem - object conversions yourself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123955#4123955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Requirements for JBWS-1813 ?
Yes, it did require changes to the container integration code that resides with the AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123953#4123953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
| String id = request.getParameter(fileId); | file = new File(c:/arch/ + id); | You realize that this is a big security hole? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123954#4123954 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Sharing persistence between different jar files in ear ?
Hi, imagine that you have an ear project containing one business/db jar, one gui-layer jar and a gui-war. The business jar contains business operations and database access. But from the gui jar you dont want to use the business jar for standard operations such as entityManager.persist(object), it will just be delegating between layers and that feels not very optimized. So from the gui jar you might want to have a direct handle to the entityManager to do basic operations like save/load/update/find. So, how to share the same persistence between the two jars in best way? One possible solution is of course to have two persistence.xml in each jar-file, but is there a better way? I have tried to just put the persistence.xml in the ear\META-INF but that doesn't seem to be the right way, or maybe I missed something? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123957#4123957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws-2.0.3 released
What's new in jbossws-2.0.3.GA -- Bug * [JBWS-1217] - WSDLtoJava Namespace to package mapping does not support multiple namespaces * [JBWS-1324] - JMS Endpoint - Message delivery starts before endpoint is ready. * [JBWS-1762] - web.xml modified to web.xml.org - Subsequent runs fail * [JBWS-1813] - context-root in jboss.xml is ignored * [JBWS-1819] - wsrunclient script(s) differ and do not always function. * [JBWS-1841] - WebServiceRef injection from DD doesn't work * [JBWS-1873] - WSDL to Java - Incorrect case of generated type for anonymous type. * [JBWS-1876] - Wrong Content-Type in SOAP 1.2 messages * [JBWS-1879] - @BindingType is read from SEI instead of endpoint implementation * [JBWS-1881] - WSDL To Java - All generated types have first character upper case, extends clause in base types do not take this into account. * [JBWS-1906] - Stack overflow exception when reading bad wsdl files * [JBWS-1924] - Verify installation script for jboss-4.2.1.GA * [JBWS-1937] - Document/Literal addressing endpoint fails when retreiving Outbound Action * [JBWS-1939] - URL port information of soap:address is different from import schemaLocation URL Feature Request * [JBWS-1257] - Add configuration for token references * [JBWS-1850] - Documentation support for Java-WSDL * [JBWS-1874] - Allow configuration of secret key wrap algorithm * [JBWS-1880] - WS-Addressing with endpoints using soap 1.2 * [JBWS-1897] - Enable/disable logging on every endpoint * [JBWS-1898] - Statistics/logs about clients calling endpoints * [JBWS-1899] - Fine grained management of statistics recording * [JBWS-1904] - Explicitly set the namespace of a WebFault * [JBWS-1911] - Support the JMS transport with JAX-WS * [JBWS-1950] - Show collected records as html table in jmx-console View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123959#4123959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Warnings with 1.4.1Beta1
Using JBossMessaging 1.4.1Beta1, JGroups 2.6.1 and JBossAS 4.2.2 I get these warnings at startup. Are they serious? 2008-01-28 10:36:22,034 WARN [org.jgroups.protocols.UDP] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,034 WARN [org.jgroups.protocols.UDP] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,044 WARN [org.jgroups.protocols.UDP] Attribute use_outgoing_packet_handler has been deprecated and is ignored | 2008-01-28 10:36:22,044 WARN [org.jgroups.protocols.PING] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,044 WARN [org.jgroups.protocols.PING] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,054 WARN [org.jgroups.protocols.MERGE2] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,054 WARN [org.jgroups.protocols.MERGE2] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,054 WARN [org.jgroups.protocols.FD_SOCK] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,054 WARN [org.jgroups.protocols.FD_SOCK] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,064 WARN [org.jgroups.protocols.FD] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,064 WARN [org.jgroups.protocols.FD] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,064 WARN [org.jgroups.protocols.VERIFY_SUSPECT] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,064 WARN [org.jgroups.protocols.VERIFY_SUSPECT] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,074 WARN [org.jgroups.protocols.pbcast.NAKACK] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,074 WARN [org.jgroups.protocols.pbcast.NAKACK] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,084 WARN [org.jgroups.protocols.pbcast.NAKACK] max_xmit_size was deprecated in 2.6 and will be ignored | 2008-01-28 10:36:22,094 WARN [org.jgroups.protocols.UNICAST] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,094 WARN [org.jgroups.protocols.UNICAST] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,104 WARN [org.jgroups.protocols.pbcast.STABLE] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,104 WARN [org.jgroups.protocols.pbcast.STABLE] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.pbcast.GMS] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.pbcast.GMS] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.pbcast.GMS] join_retry_timeout has been deprecated and its value will be ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.pbcast.GMS] use_flush has been deprecated and its value will be ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.pbcast.GMS] flush_timeout has been deprecated and its value will be ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.FRAG2] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,134 WARN [org.jgroups.protocols.FRAG2] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,144 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,144 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,144 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] use_flush has been deprecated and its value will be ignored | 2008-01-28 10:36:22,144 WARN [org.jgroups.protocols.pbcast.STATE_TRANSFER] flush_timeout has been deprecated and its value will be ignored | 2008-01-28 10:36:22,154 WARN [org.jgroups.protocols.pbcast.FLUSH] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,154 WARN [org.jgroups.protocols.pbcast.FLUSH] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,214 WARN [org.jgroups.protocols.pbcast.FLUSH] auto_flush_conf has been deprecated and its value will be ignored | 2008-01-28 10:36:22,254 WARN [org.jgroups.protocols.TCP] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,254 WARN [org.jgroups.protocols.TCP] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,264 WARN [org.jgroups.protocols.TCP] Attribute use_outgoing_packet_handler has been deprecated and is ignored | 2008-01-28 10:36:22,274 WARN [org.jgroups.protocols.MERGE2] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,274 WARN [org.jgroups.protocols.MERGE2] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,274 WARN [org.jgroups.protocols.FD_SOCK] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,274 WARN [org.jgroups.protocols.FD_SOCK] up_thread was deprecated and is ignored | 2008-01-28 10:36:22,284 WARN [org.jgroups.protocols.VERIFY_SUSPECT] down_thread was deprecated and is ignored | 2008-01-28 10:36:22,284 WARN
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Can u be a bit more explicit please ? I only need it to set studentHome.instance.idcurs to the correct value from the dropdown. Maybe if u do a quick example :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123968#4123968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Jboss mbean server (vs) JVM Platform mbean server
Answer is no. Think of it like this: by doing -Djboss.platform.mbeanserver, the only thing that changes is a couple of JVM mbeans appearing under the java.lang... JMX domain, along the jboss ones. That's all. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123969#4123969 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean
EricJava wrote : Waitaminute, looking at the JBoss Seam book (an official JBoss publication), by Michael Yuan and Thomas Heute, on page 320: | | anonymous wrote : However, Seam POJO components are stateful and have a conversational scope by default. | | When you say request scoped maybe you mean temporary conversation scoped? No, I mean request scoped. The book is wrong and I am right ;) anonymous wrote : By default, JavaBeans are bound to the event context which is not the same as the request, or the conversation, or the temporary conversation. Event is stateless. No. The Event scope is the length of the request. I'm quite bad at using the words Request an Event interchangeably for that scope. Event is NOT stateless like an @Stateless EJB3, the scope of the state is the request. anonymous wrote : msystems wrote: | Must be an error ! Seam POJO's are default EVENT (request) scoped and not conversation or temp. conversation scoped. | | | Indeed: | | http://docs.jboss.org/seam/2.0.1.CR2/reference/en/html/concepts.html | | Quote: | By default, JavaBeans are bound to the event context. | | | which is not the same as the request, or the conversation, or the temporary conversation. Event is stateless. | | Reading on in the doc: | | Quote: | However, they do not provide the functionality of a session bean (declarative transaction demarcation, declarative security , efficient clustered state replication, EJB 3.0 persistence, timeout methods, etc). | | | Is this correct? If I'm using a POJO and I put a @Restrict on it, that @Restrict is ignored? If that's the case, I probably can't use POJOs at all in my application, because nearly every operation is restricted. Thats talking about EJB3 declarative security, not Seam Security. Seam security works equally well on EJB3s or Seam POJOs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123975#4123975 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Detect client disconnection
Hi, Nobody has a long treatment in a stateless session bean and who wishes to stop if the customer closes the page jsp? Charles View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123974#4123974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Logout from a WebService application
Hi, We have a Flex Client which communicates via WebServices. I wrote a custom LoginModule which performs the authentication. This works well without problems. But how to logout the user? The LoginModule has a logout() method but how should this be called? Do we need a WebService with a logout() method which delegates to the LoginModule? How to access the LoginModule in this case? The good thing with the LoginModule is, that it is transparent to the WebServices and Business-Logic but if we need an explicit logout() method this transparency is removed. Is there a preferred design for this? All examples I found are based on a standard Web-Application with Servlets which does not apply in this case. Regards, Markus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123965#4123965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
Of course this is a security hole but, I did that only for example and tryed for working. I found one example but it doesn't work because some of Seam Filter or AJAX4J Filter trying buffer that stream. When I try without Seam, everything is OK. Maybe it sounds like lamers words, maybe I'm crazy but I can't found where is my problem. I use Jboss SEAM + RichFaces + EJB3. If you have that example please post it to me, and I try to understand where is my problem, and never ask about that again. Thank you! :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123963#4123963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss Seam problem with download file big file
So why are you using the Seam filter for that request? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123971#4123971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Warnings with 1.4.1Beta1
JBoss Messaging 1.40/1.4.1 is tested against JGroups 2.4.1.SP3 which is the version of JG in the AS 4.2/4.3 We simply don't know if it will work with other versions of JG since it's not a supported/tested configuration. For AS 5, version JG 2.6 is used, so for this we will upgrade our dependency to match the AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123972#4123972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Warnings with 1.4.1Beta1
Several stack config settings have been deprecated in 2.6, which is why JGroups is producing those warnings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123973#4123973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How to read users/roles from a database?
Hi, I;ve managed to create a loginModule with hardcoded users, although it works i want to be able to read the users and roles from a database but i'm not sure how to proceed. I've read the tutorials but it doesnt work for me. my loginconfig: DOCTYPE policy PUBLIC -//JBoss//DTD JBOSS Security Config 3.0//EN http://www.jboss.org/j2ee/dtd/security_config.dtd; application-policy name=testDB login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required module-option name=dsJndiNamejava:/MyDatabaseDS/module-option module-option name=principalsQuery select passwd from Users username where username=?/module-option module-option name=rolesQuery select userRoles, 'Roles' from UserRoles where username=?/module-option /login-module /application-policy jbossservice: ?xml version=1.0 encoding=UTF-8? !DOCTYPE server PUBLIC -//JBoss//DTD MBean Service 4.0//EN http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd; META-INF/login-config.xml depends optional-attribute-name=LoginConfigService jboss.security:service=XMLLoginConfig depends optional-attribute-name=SecurityManagerService jboss.security:service=JaasSecurityManager does anyone know how to read users from a database using jboss 4.2.x ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123988#4123988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Cancel application loading in @Startup component
What does gracefully cancel involve? IIRC, throw an exception in the @Create, it will propagate up the stack and cause the deployment to fail. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123980#4123980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload and immediate attribute
s:fileUpload doesn't support immediate=true, file a feature request in JIRA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123984#4123984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NoClassDefFoundException in seam-gen generated code !!!
Post the application.xml and the output of ls -R on the exploded ear. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123983#4123983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exceptions ending conversations
If you can upload an example with complete reproduction steps it will make it easier for us to look at. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123985#4123985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax polling of a conversation Bean
Alter the concurrent request timeout in components.xml. You can't have concurrent requests to convesation scoped components. Its currently not possible to set the concurrent request timeout on a finer grain than this :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123987#4123987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple Domains
You should be able to get the domain name in use using FacesContext.getCurrentInstance().getExternalContext().get... You can then use this to know which site the user is visiting for your login. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123989#4123989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction recovery
After an exception occurs in the persistence layer, the transaction is unusable. You need a new transaction at this point. You should pre validate your data probably. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123991#4123991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets ui:include bean param became null in s:link tag
Known issue: http://jira.jboss.com/jira/browse/JBSEAM-666 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123992#4123992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Well, if you bind the entity to studenthome.instance then the id should also be automagically populated, no? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123998#4123998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - How can a .Net client know if there is any JBoss server avai
Hello everybody, I am not sure if this is the right place for this question. I have a .Net client that calls to EJBs deployed in a JBoss4.0.5GA server via iiop. Now, the client has to know the server ip address server for looking for the EJBs. Are there any way to find all available JBoss servers from .Net client? With a UDP multicast call, for example. Thanks in advance Javier View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123997#4123997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to get out of pageflow conversation?
Return an outcome that is outside the pageflow. Seam will pick it up and use it before the default navigation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123977#4123977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Unable to close jbpmContext - help !
Dear all, I have a web application which is front-end for a JBPM process. When a Task Node is reached, an assignment handler is fired. This simply persist some information on the DataBase to keep track of the assignment. The problem is that, when JbpmContext is closed() an exception is raised. org.jbpm.JbpmException: problem closing services {persistence=org.jbp | m.persistence.JbpmPersistenceException: hibernate commit failed} this is the code of the AssignmentHandler public class SimpleAssignmentHandler implements AssignmentHandler { | private static final long serialVersionUID = 1L; | public void assign(Assignable assignable, ExecutionContext executionContext) throws Exception { | | assignable.setActorId(username); | | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext ctx = jbpmConfiguration.createJbpmContext(); | | Session session = ctx.getSession(); | Query query = session.createQuery(from Test); | | Test test = (Test)(query.list().get(0)); | | session.beginTransaction(); | | test.setName(name); | test.setSurname(surname); | | session.getTransaction().commit(); | session.close(); | | ctx.close(); // Exception is raised here | } | } I'm using JBPM 3.2 deployed on JBoss 4.2.0. Any ideas ? thanks a lot Francesco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123979#4123979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security: How to override messages
yes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123978#4123978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: mail node issue
Hi, I have copied your processdefinition.xml and wrote junit to parse it. I didnot get any parse error or exception. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124002#4124002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unable to close jbpmContext - help !
Hi Francesco Recomended way of using jbpmContext is to put it inside try{}finally{} block. try{ //Do Stuff }finally{ //Close context } I gues you donot need to demarcate transaction boundry here. jbpmContext.close() would commit and close the session as well. Shout if it doesn't work View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124008#4124008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JBoss Cache GUI Demo
Please see my blog about the new JBoss Cache GUI demo application - a Swing-based application that demonstrates the formation of clusters, replication of data and gravitation of state from buddy backups. http://jbosscache.blogspot.com/2008/01/gui-demo-for-jboss-cache.html Cheers Manik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124003#4124003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - failed setting transient state - in a Tree Cache Cluster
Hi, I have a Tree Cache working in cluster. I wrote a Stand alone client which will create a new Tree Cache Instance which joins the cluster and gets the data through replication. When I start it, its able to find out other instances. But during state transfer it fails and there is no data in the new instance. |2008 1æ28|01:44:21.230|ERROR|UpHandler (STATE_TRANSFER)|org.jboss.cache.TreeCache|ClassLoader) (?:?)|failed setting transient state java.io.EOFException: Attempt to read primitive data, but no data block is active. at java.io.ObjectInputStream.readNextBlock(byte) (/usr/lib/libgcj.so.5.0.0) at java.io.ObjectInputStream.readNextBlock() (/usr/lib/libgcj.so.5.0.0) at java.io.ObjectInputStream.read() (/usr/lib/libgcj.so.5.0.0) at java.io.DataInputStream.readBoolean() (/usr/lib/libgcj.so.5.0.0) at java.io.ObjectInputStream.readBoolean() (/usr/lib/libgcj.so.5.0.0) at org.jboss.cache.loader.NodeData.readExternal(java.io.ObjectInput) (Unknown Source) at java.io.ObjectInputStream.readObject() (/usr/lib/libgcj.so.5.0.0) at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(org.jboss.cache.DataNode) (Unknown Source) at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source) at org.jboss.cache.TreeCache._setState(byte[], org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source) at org.jboss.cache.TreeCache.access$000(org.jboss.cache.TreeCache, byte[], org.jboss.cache.DataNode, java.lang.ClassLoader) (Unknown Source) at org.jboss.cache.TreeCache$MessageListenerAdaptor.setState(byte[]) (Unknown Source) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(org.jgroups.Event) (Unknown Source) at org.jgroups.blocks.RequestCorrelator.receive(org.jgroups.Event) (Unknown Source) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(org.jgroups.Event) (Unknown Source) at org.jgroups.JChannel.up(org.jgroups.Event) (Unknown Source) at org.jgroups.stack.ProtocolStack.up(org.jgroups.Event) (Unknown Source) at org.jgroups.stack.ProtocolStack.receiveUpEvent(org.jgroups.Event) (Unknown Source) at org.jgroups.stack.Protocol.passUp(org.jgroups.Event) (Unknown Source) at org.jgroups.protocols.pbcast.STATE_TRANSFER.handleStateRsp(org.jgroups.protocols.pbcast.STATE_TRANSFER$StateHeader, byte[]) (Unknown Source) at org.jgroups.protocols.pbcast.STATE_TRANSFER.up(org.jgroups.Event) (Unknown Source) at org.jgroups.stack.UpHandler.run() (Unknown Source) at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0) at GC_start_routine (/usr/lib/libgcj.so.5.0.0) at __clone (/lib/tls/libc-2.3.4.so) Configuration: TransactionManagerLookupClass = com.hp.tpf.common.TPFCoSTxManagerLookup NodeLockingScheme = PESSIMISTIC IsolationLevel = READ_COMMITTED CacheMode = REPL_ASYNC UseInterceptorMbeans = true UseReplQueue = false ReplQueueInterval = 0 ReplQueueMaxElements = 0 ClusterName = Prov-Set6 UDP mcast_addr=224.1.2.3 mcast_port=46600 ip_ttl=64 ip_mcast=true mcast_send_buf_size=15 mcast_recv_buf_size=8 ucast_send_buf_size=15 ucast_recv_buf_size=8 loopback=false bind_addr=192.168.100.97/ PING timeout=2000 num_initial_members=3 up_thread=false down_thread=false/ MERGE2 min_interval=1 max_interval=2/ FD shun=true up_thread=true down_thread=true / FD_SOCK/ VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false/ pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 max_xmit_size=8192 up_thread=false down_thread=false discard_delivered_msgs=true/ UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 down_thread=false/ pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false/ FRAG frag_size=8192 down_thread=false up_thread=false/ pbcast.GMS join_timeout=5000 join_retry_timeout=2000 shun=true print_local_addr=true/ pbcast.STATE_TRANSFER up_thread=true down_thread=true/ FetchInMemoryState = true InitialStateRetrievalTimeout= 5 SyncReplTimeout = 10 LockAcquisitionTimeout= 15000 EvictionPolicyClass = Please help me in fixing this issue. Thanks and Regards Nandhini View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124001#4124001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124001 ___ jboss-user mailing list jboss-user@lists.jboss.org
[jboss-user] [JBoss Seam] - Re: FacesContext is null in Identity.initCredentialsFromCook
When invoked by a JSF Action, FacesContext.getCurrentInstance() returns a valid instance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123999#4123999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek
This sounds really promising, however I have some concerns, that probably come from the not thorough enough understanding I have at the moment. It seems to me that with webbeans business logic and wiev related logic get mixed up in the session/backing beans. That also makes developing a remote/rmi client more difficult. The idea of sctrict separation between layers that the EE 5 specification has seems to be lost this way. I really would appreciate if you could address these issues in an installment! Thanks: PSz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124013#4124013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Web Beans Sneak Peek
Well, if it follows the ideaology of Seam (as I have understood it does), there is nothing stopping you from writing service locators returning abstract facade-factories etc... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124014#4124014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
http://docs.jboss.com/seam/latest/reference/en/html_single/ The rest is left as an exercise for the reader ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124028#4124028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: 2.0 GA tools bug on eclipse with jboss 4.2.2 : error add
thanks mark is that at next point release or next major release? At present I havent moved onto jboss as 5, as server support is limited to basic server. is jboss tools next release to include jboss 5 as well as 4.2. Cant remeber seeing a timetable/roadmap for tools View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124030#4124030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124030 ___ 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 read users/roles from a database?
nevermind, i manged to get it working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124029#4124029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered environment with non persistent messages ?
Hello, I didn't say that it doesn't support clustering of non-persistent messages. It is possible to cluster them but the message can be lost! kemp40 said that this is unacceptable to him... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124025#4124025 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Application Problem
Okay. I give up. Could somebody kindly give me the URL of the correct zip file (jbossj2ee-src.zip or whatever) that contains the JBoss-4.x-specific build files for Duke's Bank? The documentation links to a download page with a large number of links, none of which seems to be the right one. The gettingstarted.zip file which seemed like the obvious one to get does not contain anything useful for this purpose, as far as I can tell. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124020#4124020 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exceptions ending conversations
Yes Pete. Uploded in JIRA: http://jira.jboss.org/jira/browse/JBSEAM-2524 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124019#4124019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: code completion not working
yes Max, it's jboss tools editor. Here are the steps that I made: 1- download and unzip: eclipse-jee-europa-fall2-win32.zip JBossTools-2.0.0.GA-ALL-Win32.zip 2- With Seam 2.0.0.GA I created a new project using the command: seam new-project 3- Open the project with eclipse and turn on the Seam Support of the project (Project Properties Seam Settings) 4- Create a entity on the configured package. 5- Open with JBoss Tools HTML Editor any xhtml and try to see (content assist) the entity or attributes on the value of a h:outputtext. The step 5 fail: Content Assist not available at the current location, I can't see my entitys and sessions beans, but I can see jsf and seam native components. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124021#4124021 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
I have no ideea how to do that binding thing. I did manage to reverse engineer the database from my entities and it generated something pretty cool :D, but I would like to be able to do that binding thing u talked about :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124022#4124022 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: at browser, cannot load jboss using http://ip address:80
Hello Jaikiran, I use -b option as you said. now all is ok. thank for your help. thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124024#4124024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustered environment with non persistent messages ?
The point with non persistent messages, is they are not persisted, == they do not survive failure. Users use non persistent messages when they want higher performance but they can cope with message loss. If we had to persist non persistent messages too, that would kind of defeat the purpose for their existence! :) E.g. a stock ticker application would probably use non persistent messages, since market data goes out of date very quickly (sub second) and later messages can supercede earlier messages so you don't care if you lose messages. If we didn't have non persistent messages and only had persistent messages then we would be losing performance for applications that don't need the reliability It would be silly if we persisted non persistent messages too - since they wouldn't be non persistent any more. The JMS spec is quite clear on this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124026#4124026 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Beginner: Bind SelectOneMenu to @onetoone entity object
Thanks, I can live with that :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124038#4124038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception
Let's continue this discussion in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=128665 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124047#4124047 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EjbcaDS not bound exception when starting JBoss
anonymous wrote : javax.naming.NameNotFoundException: EjbcaDS not bound Have you deployed your -ds.xml (the EjbcaDS datasource) by placing it in the deploy folder? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124044#4124044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in Param.validateConvertedValue
Okay, I think I've figured out why this NPE only happens sometimes. The .page.xml file in this case binds a simple expression to the parameter value. For example: | param name=windowType value=#{windowType}/ | This value is intended to be passed down through the Facelets templates and turn off nav bars, etc. With this kind of expression, ValidatingResolver.getInvalidValues() returns null because of the condition in the if statement: | @Override | public void setValue(ELContext context, Object base, Object property, Object value) | throws NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException | { | if (base!=null property!=null ) // == This is false, so invalidValues is never set. | { | context.setPropertyResolved(true); | invalidValues = getValidator(base).getPotentialInvalidValues( property.toString(), value ); | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124041#4124041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: 2.0 GA tools bug on eclipse with jboss 4.2.2 : error add
the fix is targeted to 2.1.0. The next release is 2.0.1, so it will not be in our very next release, but rather the one after that. Hope that helps =] For now, a workaround (crappy, I know) is to shut down the server, republish (clicking the publish icon), and restarting it. But, that kinda defeats the purpose of incremental deployment in the first place ;) It's being worked on. I promise =D View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124033#4124033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: mail node issue
Hi I have run the following test case and used the jbpm-starters-kit-3.1.4. Under this environment it shows the parse warning as mentioned in my post. The test case is: package com.jbpm.tutorial.mailtest; | | import junit.framework.TestCase; | import org.jbpm.graph.def.ProcessDefinition; | import org.jbpm.graph.exe.ProcessInstance; | | public class MailTest extends TestCase { | public void setUp() | { | | } | | public void testMail() | { | ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( | process-definition + | start-state name='start' + | transition to='mailnode1' name='to_mailnode'/transition + | /start-state + | mail-node name='mailnode1' to='[EMAIL PROTECTED]' + | subjecta/subject + | textThis is regarding/text + | transition to='end' name='to_end'/transition + | /mail-node + | end-state name='end'/end-state + | /process-definition); | | | ProcessInstance processInstance = new ProcessInstance(processDefinition); | assertEquals(false, processInstance == null); | } | } The warning is : 17:30:11,218 [main] WARN JpdlXmlReader : process xml warning: transition to='mailnode1' on node 'start' cannot be resolved If you kave any ideas, please let me know. Debnath View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124031#4124031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0.SP3 JMSX properties bug
Thanks for the report. :) We'll get in fixed in the next release http://jira.jboss.org/jira/browse/JBMESSAGING-1224 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124039#4124039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invoke action on ENTER with h:commandLink
Correction: As the docs say, it does not work on *:commandLink. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124084#4124084 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124084 ___ 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: Sharing persistence between different jar files in ear ?
i'm also looking for a solution ;) hope somebody can help us out.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124076#4124076 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistence in EJB3
Hi, I updated my mysql-ds.xml to ?xml version=1.0 encoding=UTF-8? !-- $Id: mysql-ds.xml 41016 2006-02-07 14:23:00Z acoliver $ -- !-- Datasource config for MySQL using 3.0.9 available from: http://www.mysql.com/downloads/api-jdbc-stable.html -- local-tx-datasource jndi-nameMySqlDS/jndi-name connection-urljdbc:mysql://localhost:3306/dreamPlay/connection-url driver-classcom.mysql.jdbc.Driver/driver-class user-namedreamplay/user-name dreamplay min-pool-size2/min-pool-size max-pool-size10/max-pool-size exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name !-- should only be used on drivers after 3.22.1 with ping support valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-class-name -- !-- sql to call when connection is created new-connection-sqlsome arbitrary sql/new-connection-sql -- !-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql -- !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- type-mappingmySQL/type-mapping /local-tx-datasource and now I got the following error 09:28:44,153 INFO [AnnotationBinder] Binding entity from annotated class: com.dreamplay.dpds.dao.AdImageDAO 09:28:44,153 INFO [EntityBinder] Bind entity com.dreamplay.dpds.dao.AdImageDAO on table ADIMAGE 09:28:44,153 INFO [AnnotationBinder] Binding entity from annotated class: com.dreamplay.dpds.dao.UserDAO 09:28:44,153 INFO [EntityBinder] Bind entity com.dreamplay.dpds.dao.UserDAO on table USER 09:28:44,153 INFO [NamingHelper] JNDI InitialContext properties:{} 09:28:44,637 INFO [DatasourceConnectionProvider] Using datasource: java:/MySqlDS 09:28:44,637 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: com.mysql.jdbc.Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.mysql.jdbc.Driver)) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103) at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:66) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713) at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) at com.dreamplay.dpds.ejb.LogonMsgBean.LogonUser(LogonMsgBean.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at
[jboss-user] [JBoss Seam] - Re: Multiple Domains
Thank you for your reply. Follow up question: Can I access FacesContext.getCurrentInstance().getExternalContext() within a drule security rule? Thanks, Eli View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124064#4124064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EjbcaDS not bound exception when starting JBoss
Also, though not related to this exception, JBoss is not yet fully qualified to run with JDK 1.6. I would recommend switching to JDK 1.5. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124046#4124046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Hi everybody need of big help...
..Hi am so ashamed am a 100..naa 99% newbie with programming and it's just that i don't know were to begin with jboss cause the company am working with is trying to convince or more like has convinced 2 to 3 banks to move to jboss middleware but they wnat to nknow more about it all i know is that its free and it's an application server if not that's all and all the docs i got from red hat does'nt seem to enter (like hibernate!!or metamatrix i don't seem to get it after reading it..)i was wondering do u guys know were i should start from to be able to undersatnd jboss??i've got about 2 weeks to be able to understant if not my boss is paying two other people to go study jboss with red hat...(sad..) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124059#4124059 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax polling of a conversation Bean
Hi Francois Have you looked into RichFaces? They have a poll component which is very easy to use. Not sure your problem is solved by this, just an fyi :) Docs here: http://labs.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html_single/index.html Live demo here: http://livedemo.exadel.com/richfaces-demo/richfaces/poll.jsf Cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124050#4124050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistence in EJB3
I did as you had suggested bu I get the following error when I deploy the jar file 10:48:41,965 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.0.GA/server/default/deploy/DPDS-Server.jar 10:48:42,418 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: persistence.units:jar=DPDS-Server.jar,unitName=DPDS State: NOTYETINSTALLED I Depend On: jboss.jca:name=MySqlDS,service=DataSourceBinding --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jca:name=MySqlDS,service=DataSourceBinding State: NOTYETINSTALLED Depends On Me: persistence.units:jar=DPDS-Server.jar,unitName=DPDS What am I doing wrong now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124104#4124104 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: InstanceNotFoundException in jboss.security:service=Jaas
Hi Claudemir, I have exactly the same issue http://jboss.org/index.html?module=bbop=viewtopict=128691 Have you found a solution to your issue? Thanks a lot Benoit[/url] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124103#4124103 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124103 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to define global variables for process in xml
Hi! How to add variables in process-definition.xml to whole process (to make it as global variable which will be visible in any node)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124086#4124086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Application Isolation in JBoss4.2.2 Messaging instance
Can somebody tell me how do I mention the application isolation in JBoss4.2.2 Messaging instance? I have tried doing the following in Jboss-service.xml which is packed part of the sar file. loader-repositoryistay.classloader:loader=CoreServices_istay2.ear/loader-repository During deploying, JBoss prompt a message saying only root level config can mention the loader respository hence ingnoring the setting done. My need is to deply two ear of same application pointing to two different queues.Application deployment goes fine but my client request is processed by the ear which is not suppose to do. How do I handle this class loader issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124097#4124097 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - hardcoded parameter value
what's the best way to send a hardcoded value (String literal) from the page to a seam component without using submit method parameter? would it be a input type=hidden ..? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124070#4124070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Invoke action on ENTER with h:commandLink
How to invoke an action specified in h:commandLink when user presses ENTER button in text a field (enclosed in the same form). This works right with h:commandButton but doesn't with link. I know there is a s:defaultAction tag for s:link and s:button but it doesn't work for h:* tags. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124068#4124068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with simple example of @ManyToMany
Any ideas? Should I put it to JIRA as a bug or I'm doing something wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124100#4124100 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Assigment task
Hello!! I've try websale process definition and I could see that thougth a task is assignated to a determinated person when you're in the web console you can access to this task login like a different person. Could someone tell me how I could restrict the access to this task? Thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124108#4124108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Get feedback from the process of scanning classpath
As long as Seam scans classpath in order to build list of components I'm wondering whether it's possible to get involved into the process instead of introducing third one (in addition to EJB and Seam). Ideally I'd like to get feedback for each class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124099#4124099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Clear/reset render parameters or re-initialise all portl
Hi, in the JSR-168, the portlets of a portal are not supposed to know what the other portlets are doing... so, this cannot be done with the jboss portal (or any) that is compliant with jsr 168. well, you can go further than the jsr. looking at the api of jboss portal may be a way. but looks to me quite tricky... as you must be sure not to disturb the whole mechanism, and it may be a problem when you upgrade etc... you can do it with some communication between portlets of a portal : IPC (Inter Portlet Communication). with this, you modify things only at the portlet level : you don't modify the inner engine... IPC is planned for version 2 of the jsr. some things have been done yet in jboss portal and in some add on libraries. so, the way I would do that : - set some IPC (Inter Portlet Communication) between the selector portlet and the portlets that need to reset their state and render the new state. - in the action phase of the portlet, send a message to the involved portlets, so they re-initialize their state - in their render phase, the catch the message, and reset the parameter (that is where you are out of the jsr : this kind of thing should be done only in the action phase of the portlet... ) - then they will render, with the new state definition. - also, think to clear the cache - be aware that with ajax feature, the whole page rendering is not triggered, that is some portlet rendering is not triggered (with JB Portal 2.6 and pages/portlets with ajax feature...like the dashboard, etc...) about the IPC : You need IPC by message, and not by triggering an event. You need to dispatch the signal to several portlets, so message can do that, and as far as I remember, event cannot (only one portlet for destination). I don't know how far the JB Portal is now about IPC. look at the samples (version 2.6 recommended...). for what was in the very begining of it with 2.4, it was some IPC by events. look at the Michelle Osmond feature and library : http://mus.purplecloud.net/portlets/thesis/ipc.php I use it... it is a very good help for IPC (both theory and library). It is better to implement your own storage mechanism of messages, but you can still start with the things she provide... (and later make your own strong feature for production reliability). look for the posts on this forum about that. for the cache : It is necessary to keep some cache feature : would be bad for performance to get rid of it in the portlet descriptor. so, you have to implement a way to clear the cache of all the portlets. I have not done it yet (stand by for this feature in my portal), but I had seen how to do it... it can be done... and not so complicated. you must override the cache management JMX service with yours, and add your feature (clear all portlet cache when asked by the selector). may be you do that as a contribution to the jboss portal ? ask Thomas Heute for advice for that (or may be developper forum). I would appreciate... less to do for me... idem : look for the posts on this forum on how to manage the cache of portlets. ajax features : idem, the ajax features may add some complication if you want all the portlet to be re-rendered with the new state... don't know exactly how to manage that... it will depend on your portal and portlets... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124107#4124107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invoke action on ENTER with h:commandLink
It should work ONLY with h:commandButton/Link, because s:link/button does ANYWAY NOT submit the form. The documentation says that you need to nest it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124080#4124080 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Avoid service to start at startup
OK! I've create a very simple test project similar to ExampleHelloWorldService: The Management Interface: | package com.demo; | | public interface HelloWorldServiceMBean extends ServiceMBean{ |public void perform(Date now, long remainingRepetitions); | } | The Service Implementation: | package com.demo.mbean; | | public class HelloWorldService extends ServiceMBeanSupport implements HelloWorldServiceMBean{ | |public void perform( Date now, long remainingRepetitions ){ | log.info( [perform]: + now.toString() ); |} | } | The deployment descriptor (jboss-service.xml): | server |mbean code=org.jboss.varia.scheduler.ScheduleManager | name=jboss:service=ScheduleManagerDemoattribute name=StartAtStartupfalse/attribute |/mbean | |mbean code=com.demo.mbean.HelloWorldService | name=com.demo:service=HelloWorldService |/mbean | |mbean code=org.jboss.varia.scheduler.SingleScheduleProvider | name=jboss:service=HAImportScheduleProviderDemo | | dependsjboss:service=ScheduleManagerDemo/depends | dependscom.demo:service=HelloWorldService/depends | | attribute name=ScheduleManagerNamejboss:service=ScheduleManagerDemo/attribute | attribute name=TargetNamecom.demo:service=HelloWorldService/attribute | attribute name=TargetMethodperform( DATE, REPETITIONS )/attribute | attribute name=DateFormat / | attribute name=StartDateNOW/attribute | attribute name=Period2000/attribute | attribute name=Repetitions-1/attribute |/mbean | /server | And everything deployed in a sar file with the following structure: hello-world.sar | hello-world.sar/META-INF/jboss-service.xml | hello-world.sar/com/demo/HelloWorldService.class | hello-world.sar/com/demo/HelloWorldServiceMBean.class | Despite the element StartAtStartup of ScheduleManager is set to false, the service trigger anyway. Is this a bug or did I missing? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124078#4124078 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in Param.validateConvertedValue
I was able to fix this by initializing the 'invalidValues' field to a zero length array inside Validators.ValidatingResolver's constructor. I added it to my application, overriding the existing Seam component: | package com.foo.seam; | | import org.hibernate.validator.ClassValidator; | import org.hibernate.validator.InvalidValue; | import org.jboss.seam.Component; | import org.jboss.seam.Instance; | import org.jboss.seam.ScopeType; | import org.jboss.seam.core.SeamResourceBundle; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.intercept.BypassInterceptors; | import org.jboss.seam.contexts.Contexts; | import org.jboss.seam.el.EL; | | import javax.el.ELContext; | import javax.el.ELException; | import javax.el.ELResolver; | import javax.el.PropertyNotFoundException; | import javax.el.PropertyNotWritableException; | import javax.el.ValueExpression; | import java.beans.FeatureDescriptor; | import java.util.Iterator; | import java.util.Locale; | import java.util.Map; | import java.util.concurrent.ConcurrentHashMap; | | /** | * Caches instances of Hibernate Validator ClassValidator | * | * @author Gavin King | * @author Josh - patched up the inner class. | */ | @Name(org.jboss.seam.core.validators) | @BypassInterceptors | @Scope(ScopeType.APPLICATION) | public class Validators extends org.jboss.seam.core.Validators | { | |/** | * Validate that the given value can be assigned to the property given by the value | * expression. | * | * @param valueExpression a value expression, referring to a property | * @param elContext the ELContext in which to evaluate the expression | * @param value a value to be assigned to the property | * @return a set of potential InvalidValues, from Hibernate Validator | */ |public InvalidValue[] validate(ValueExpression valueExpression, ELContext elContext, Object value) |{ | ValidatingResolver validatingResolver = new ValidatingResolver( elContext.getELResolver() ); | ELContext decoratedContext = EL.createELContext(elContext, validatingResolver); | valueExpression.setValue(decoratedContext, value); | return validatingResolver.getInvalidValues(); |} | |class ValidatingResolver extends ELResolver |{ | private ELResolver delegate; | private InvalidValue[] invalidValues; | | public ValidatingResolver(ELResolver delegate) | { | this.delegate = delegate; | invalidValues = new InvalidValue[0]; // == Initialize array. | } | | public InvalidValue[] getInvalidValues() | { | return invalidValues; | } | | @Override | public Class? getCommonPropertyType(ELContext context, Object value) | { | return delegate.getCommonPropertyType(context, value); | } | | @Override | public IteratorFeatureDescriptor getFeatureDescriptors(ELContext context, Object value) | { | return delegate.getFeatureDescriptors(context, value); | } | | @Override | public Class? getType(ELContext context, Object x, Object y) | throws NullPointerException, PropertyNotFoundException, ELException | { | return delegate.getType(context, x, y); | } | | @Override | public Object getValue(ELContext context, Object base, Object property) | throws NullPointerException, PropertyNotFoundException, ELException | { | return delegate.getValue(context, base, property); | } | | @Override | public boolean isReadOnly(ELContext context, Object base, Object property) | throws NullPointerException, PropertyNotFoundException, ELException | { | return delegate.isReadOnly(context, base, property); | } | | @Override | public void setValue(ELContext context, Object base, Object property, Object value) | throws NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException | { | if (base!=null property!=null ) | { | context.setPropertyResolved(true); | invalidValues = getValidator(base).getPotentialInvalidValues( property.toString(), value ); | } | } |} | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124073#4124073 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SFSB vs. JavaBean
EricJava wrote : However, Seam POJO components are stateful and have a conversational scope by default. Yes, the book is wrong here. This is one of quite a few revisions for the Second Edition. A preview is coming soon. Stay tuned! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124069#4124069 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Flushing the credential cache == InstanceNotFoundException
Hi We're using the DatabaseServerLoginModule but for all intent, when my user decides to change its password, I would like to flush the cache. We're using JBoss-4.0.5-GA I'm trying to follow the code on: http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials Unfortunately, I know very little about MBeans and I seem to get an InstanceNotFoundException everytime on this call: MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0); Why? The full code is as follows: | private void flushCache(String loginId) { | String domain = jmx-console; | Principal user = new SimplePrincipal(loginId); | ObjectName jaasMgr; | try { | jaasMgr = new ObjectName(jboss.security:service=JaasSecurityManager); | Object[] params = { domain, user }; | String[] signature = { java.lang.String, Principal.class.getName() }; | MBeanServer server = (MBeanServer) MBeanServerFactory.findMBeanServer(null).get(0); | server.invoke(jaasMgr, flushAuthenticationCache, params, signature); | } catch (MalformedObjectNameException e) { | log.error(Cannot flush, e); | } catch (NullPointerException e) { | log.error(Cannot flush, e); | } catch (InstanceNotFoundException e) { | log.error(Cannot flush, e); | } catch (MBeanException e) { | log.error(Cannot flush, e); | } catch (ReflectionException e) { | log.error(Cannot flush, e); | } | } | My login-config.xml is | application-policy name=atrium-security | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required | module-option name=unauthenticatedIdentitymisterx/module-option | module-option name=dsJndiNamejava:/AtriumDS/module-option | module-option name=principalsQuery | select PASSWORDMD5 from safemarginuser where LOGINID=? and STATE='ACT' and FAILEDLOGIN 10 | /module-option | module-option name=rolesQuery | select ROLE, 'Roles' from loginrole A, safemarginuser B where B.ID=A.USER_ID and A.CLIENT_ID=B.CLIENT_ID and B.LOGINID=? | /module-option | module-option name=hashAlgorithmMD5/module-option | module-option name=hashEncodingbase64/module-option | /login-module | /authentication | /application-policy | My jboss-service.xml (in server/default/conf) is, as far as I can tell, the original one: |!-- JAAS security manager and realm mapping -- |mbean code=org.jboss.security.plugins.JaasSecurityManagerService | name=jboss.security:service=JaasSecurityManager | !-- A flag which indicates whether the SecurityAssociation server mode | is set on service creation. This is true by default since the | SecurityAssociation should be thread local for multi-threaded server | operation. | -- | attribute name=ServerModetrue/attribute | attribute name=SecurityManagerClassNameorg.jboss.security.plugins.JaasSecurityManager/attribute | attribute name=DefaultUnauthenticatedPrincipalanonymous/attribute | !-- DefaultCacheTimeout: Specifies the default timed cache policy timeout | in seconds. | If you want to disable caching of security credentials, set this to 0 to | force authentication to occur every time. This has no affect if the | AuthenticationCacheJndiName has been changed from the default value. | -- | attribute name=DefaultCacheTimeout1800/attribute | !-- DefaultCacheResolution: Specifies the default timed cache policy | resolution in seconds. This controls the interval at which the cache | current timestamp is updated and should be less than the DefaultCacheTimeout | in order for the timeout to be meaningful. This has no affect if the | AuthenticationCacheJndiName has been changed from the default value. | -- | attribute name=DefaultCacheResolution60/attribute |/mbean | The caller of flushCache is a POJO but running from a Stateless Session Bean. Is there a classloader issue? I am obviously doing something wrong, any pointer/solution/suggestion would be very welcomed! Thanks! Benoit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124095#4124095 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124095 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Assigment task
STFF, and the Jira *known issue* ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124114#4124114 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - javax.xml.ws.WebServiceException: Unable to create Provider:
Hi, I've been trying to create a stub for Stock quote web service and am having trouble with that. It says 21:40:54,812 ERROR [[action]] Servlet.service() for servlet action threw exception javax.xml.ws.WebServiceException: Unable to create Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl I'm using JBoss App server 4.2 version under eclipse 3.3.1 I used jwsdp2.0 for StockQuote web service. The following is the generated code: package net.webservicex; import java.net.MalformedURLException; import java.net.URL; import javax.xml.namespace.QName; import javax.xml.ws.Service; import javax.xml.ws.WebEndpoint; import javax.xml.ws.WebServiceClient; import net.webservicex.StockQuote; import net.webservicex.StockQuoteSoap; /** * This class was generated by the JAXWS SI. * JAX-WS RI 2.0-b26-ea3 * Generated source version: 2.0 * */ @WebServiceClient(name = StockQuote, targetNamespace = http://www.webserviceX.NET/;, wsdlLocation = http://www.webservicex.net/stockquote.asmx?WSDL;) public class StockQuote extends Service { private final static URL WSDL_LOCATION; private final static QName STOCKQUOTE = new QName(http://www.webserviceX.NET/;, StockQuote); private final static QName STOCKQUOTESOAP = new QName(http://www.webserviceX.NET/;, StockQuoteSoap); static { URL url = null; try { url = new URL(http://www.webservicex.net/stockquote.asmx?WSDL;); } catch (MalformedURLException e) { e.printStackTrace(); } WSDL_LOCATION = url; } public StockQuote(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public StockQuote() { super(WSDL_LOCATION, STOCKQUOTE); } /** * * @return * returns StockQuoteSoap */ @WebEndpoint(name = StockQuoteSoap) public StockQuoteSoap getStockQuoteSoap() { return (StockQuoteSoap)super.getPort(STOCKQUOTESOAP, StockQuoteSoap.class); } } I'm calling the service the following way: StockQuote service = new StockQuote(); StockQuoteSoap port = service.getStockQuoteSoap(); String quote = port.getQuote(STT); I'm getting the following error in the first line of the above code itself: 21:40:54,812 WARN [RequestProcessor] Unhandled Exception thrown: class javax.xml.ws.WebServiceException 21:40:54,812 ERROR [[action]] Servlet.service() for servlet action threw exception javax.xml.ws.WebServiceException: Unable to create Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl at javax.xml.ws.spi.Provider.provider(Provider.java:83) at javax.xml.ws.Service.(Service.java:58) at net.webservicex.StockQuote.(StockQuote.java:44) at com.struts.action.FiboGenAction.execute(FiboGenAction.java:81) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) I really appreciate any help you could provide in this. Basically, I want framework to get stock quote for any given ticker. Can someone please help me? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124094#4124094 Reply to the post :
[jboss-user] [JBoss Seam] - Re: Testing with Seam managed Hibernate sessions
No help amigos? :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124056#4124056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: old RichFaces bug: MethodNotFoundException back?
Did some more work on this: When (in the bean), I use this function: | public Boolean adviseFileSystemTreeNodeOpened(UITree tree) | { | Inode inode = ((FileSystemTreeNode)tree.getRowData()).getInode(); | if (this.getSelectedSpaceMember()!=null) { |return inode.hasAsChild(this.getSelectedSpaceMember().getInode()); | } | | return null; | } | The compiler complains about the fact that tree.getRowData() is not specified in richfaces.api (but in richfaces.impl), which may be the reason why we can't split impl and api. Note that I'm using rich:recursiveTreeNodesAdaptor, so I'm forced to use getRowData() instead of getTreeNode() (which is in richfaces.api). Any comments plz? b. ps: jira-link: http://jira.jboss.org/jira/browse/RF-1713 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124131#4124131 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in Param.validateConvertedValue
Should I file this as a bug? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124129#4124129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Exception the close jbpm context.
Hello guys, When I use only one signal, the process works normally. It has all the three nodes. If I use two signals followed the following error occurs: | 14:07:06,937 ERROR [JDBCTransaction] exception calling user Synchronization | org.hibernate.QueryParameterException: could not locate named parameter [processInstance] | at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:75) | at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:81) | at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:413) | at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:383) | at org.jbpm.db.JobSession$DeleteJobsSynchronization.beforeCompletion(JobSession.java:191) | at org.hibernate.transaction.JDBCTransaction.notifyLocalSynchsBeforeTransactionCompletion(JDBCTransaction.java:228) | at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:109) | at org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:256) | at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:214) | at org.jbpm.svc.Services.close(Services.java:225) | at org.jbpm.JbpmContext.close(JbpmContext.java:139) | The code: | | ... | try{ | GraphSession graphSession = jbpmContext.getGraphSession(); | ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(analise-lancamentos-em-aberto); | | if (processDefinition == null) { | processDefinition = ProcessDefinition.parseXmlResource(com/human/crm/jbpm/process/lancamento/processdefinition.xml); | jbpmContext.deployProcessDefinition(processDefinition); | } | | | final ListLancamento lancamentosEmAberto = getLancamentoDAO().listLancamentosEmAberto(); | for (Lancamento lancamentoEmAberto : lancamentosEmAberto) { | String key = String.valueOf(lancamentoEmAberto.getId()); | ProcessInstance processInstance = graphSession.getProcessInstance(processDefinition, key); | if (processInstance == null) { | processInstance = processDefinition.createProcessInstance(); | processInstance.setKey(key); | } | | Token token = processInstance.getRootToken(); | token.signal(); | token.signal(); | | jbpmContext.save(processInstance); | | | } | | jbpmConfiguration.close(); | } catch (Exception ex) { | log.error(, ex); | } finally { | jbpmContext.close(); | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124110#4124110 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - connect jboss to db2 on IMS (mainframe)
I am looking for some documentation on how to configure a datasource to connect to db2 on IMS from Jboss 4.2.2 on linux. Is this possible? If there is info already posted, pls let me know as there seems to be no applicable information. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124123#4124123 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Exception the close jbpm context.
Indeed I would something like: | while (!token.hasEnded()){ | token.signal(); | } | To go walking by nodes to the end of the process. Ronald, What is the best way to do this? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124141#4124141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam + Informix
I am trying to generate a project through the gen-seam 2.0 using the INFORMIX database, but the what kind of database are you using? field does not have the INFORMIX as an option. Is there a way that I can use this database? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124155#4124155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: code completion not working
does your entity have a seam component annotation or not ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124148#4124148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Hi everybody need of big help...
please atleast tell me where to startthx for your answers in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124143#4124143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Fork with no states in branches Throws exception
Hi, I have a process which has a fork with two branches . In each branch I have a decision nodes based on the condition if true it will create a tasknode or else will transit to JOIN node. The problem is whenever the condition is false as soon as it goes to join it throws exception staleobjectstateException and does not execute the other branch. I read that this is a known bug and there is a unofficial patch for this If somebody has any fix for this please let me know Thanks Chandra View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124125#4124125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Packaging EAR with multiple WARs
How should EARs with multiple WARs be packaged? How'bout if they share the same JAR? my-application.ear/ | jboss-seam.jar | lib/ | jboss-el.jar | META-INF/ | MANIFEST.MF | application.xml | | a.war/ | META-INF/ | MANIFEST.MF | WEB-INF/ | web.xml | components.xml | faces-config.xml | lib/ | jsf-facelets.jar | jboss-seam-ui.jar | login.jsp | register.jsp | ... | | b.war/ | META-INF/ | MANIFEST.MF | WEB-INF/ | web.xml | components.xml | faces-config.xml | lib/ | jsf-facelets.jar | jboss-seam-ui.jar | login.jsp | register.jsp | ... | | aandb.jar/ | META-INF/ | MANIFEST.MF | persistence.xml | seam.properties | org/ | jboss/ | myapplication/ | Do the jsf-facelets.jar jboss-seam-ui.jar files have to be packaged in WEB-INF/lib ? Could they instead be put in the root of the EAR (to avoid duplication) .ear/lib ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4124135#4124135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4124135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user