[JBoss jBPM] - Re: Attaching files
by david_ling
Hi,
I think you need to develop the createUploadFile tag and package it as part of the jbpm4jsf-14.jar
First you need the source code for org.jbpm.jsf.core.CoreLibrary.java and add the following line in there addTagHandler("createUploadFile", CreateUploadFileHandler.class);. Then create org.jbpm.jsf.core.handler.CreateUploadFileHandler.java as which calls org.jbpm.jsf.core.action.CreateUploadFileActionListener.java
You can base your implementation on the Jbpm team's code, they are pretty straight forward.
Make sure you return a List<UploadFileDAO> - with only one object in it, where UploadFileDAO.java is just a trivial Data Access Object that only contains the attributes I mentioned, such as piID, fileVar and fileName, a constructor and a bunch of getters/setters.
Hope that helps
David
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152840#4152840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152840
17 years, 11 months
[Clustering/JBoss] - Re: Access to jnp://localhost:1100 is denied on IPv6 dual st
by ishai
It's actually execution time exception with the preference to IPv4 stack
javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1100 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server 127.0.0.1:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 127.0.0.1:1100 [Root exception is java.net.ConnectException: Connection refused: connect]]]]
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:716)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
Binding issues were happening with preference to IPv6 stack and are no longer an issue
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152808#4152808
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152808
17 years, 11 months