[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
"[EMAIL PROTECTED]" wrote : (1) Why not use the jbpmContext component, instead of creating your own context? | (2) Since you create the processInstance, you must associate it with the Seam contexts, by doing BusinessProcess.instance().setProcessId(...). | | I think if you do both of those,

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
"[EMAIL PROTECTED]" wrote : Of course, if you created it yourself via some other mechanism, *you* will have to associate it will the conversation using BusinessProcess.instance().setProcessId( processInstance.getId() ). | | Seam isn't magic. Seam only knows about processes it creates or retr

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
In our application, a user may create a 1-N entities we call AccessRequests. In the SFSB method which is invoked by the user on submit, we create a loop to create each AccessRequest and create a ProcessInstance with that AccessRequest's id as a process variable. In this particular use case, w

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
Another EJB (yes a seam component) has created the process instance - then, based on certain business conditions, the process gets signaled through the tasks until we arrive at this particular state (node). On entry into the state, this ActionHandler fires (I posted the XML for this state node

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
Oops! My bad on the logger - I blindly accepted IDEA's suggestion to import commons logging. Anyway, what the heck is in scope when this fires? I thought that the ProcessInstance for which this ActionHandler is firing should be so, I injected ProcessInstance and apparently it's not... |

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
This trial didn't go so well | | | | | | | | | | | @Local | public interface AutoProvisioner { | | String provisionAccess(); | | } | | @Stateless | @Name("autoProvisioner") | public class Au

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
"[EMAIL PROTECTED]" wrote : anonymous wrote : It would be ideal if jBPM Handlers (ActionHandler, DecisionHandler, etc.) could be first class Seam components and have Seam intercept execute() invokations and @Inject/@Outject resources. | | What I'm saying is that any Seam component can be an

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
"[EMAIL PROTECTED]" wrote : anonymous wrote : No, it's not a Seam component (no @Name(...)) annotation - does that work? I mean if I put @Name on my custom ActionHandlers, DecisionHandlers, will Seam inject resources into them on invokation of the execute(ExecutionContext executionContext) metho

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
Oh yeah - thanks for the TaskSelector sample above - I think we can use one or more of those too! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029903#4029903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029903

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
anonymous wrote : Was this ActionHandler a Seam component? Again, I don't understand the scenario, nor why Seam was trying to close transactions that don't exist. Sounds very strange to me. No, it's not a Seam component (no @Name(...)) annotation - does that work? I mean if I put @Name on my

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
anonymous wrote : our internal collective inexperience with JBoss I mean anonymous wrote : jBPM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029866#4029866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029866

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
"[EMAIL PROTECTED]" wrote : If you want the jBPM+Seam integration to improve, then you have to tell us exactly *what* limitations you are running into. I currently have only 9 open business process related issues in JIRA, most of which are definitely extremely minor, and only one of which came f

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
anonymous wrote : But you're still happily using Seam with jBPM? Happy? Honestly, I think the Seam + jBPM hype in the early days of Seam (winter-spring 2006) was a bit over hyped and I don't think it receives enough attention by the Seam team. I think part of the problem is a lot of the feat

[jboss-user] [JBoss Seam] - Re: Seam jBPM: use annotation or pages.xml to get next task?

2007-03-20 Thread bsmithjj
We've used jBPM and Seam a lot. It turns out the integration works great for the simplest cases, however, for issues like anonymous wrote : | So: one cannot somehow use annotations or some configuration to specify what to do when a specific task is signaled by the actor, right? You'll proba

[jboss-user] [JBoss Seam] - Re: s:SelectDate not popup

2007-03-16 Thread bsmithjj
Hello, I'm still having trouble getting the to work with night builds of Seam (later than the 1.2.0 patch). As I reread postings like this and the JIRA issues I have tried to file repeatedly over this, I want to make the following request to the Seam developers - first, let's look at this: "

[jboss-user] [JBoss Seam] - Re: Email Listening MDB Accessing Seam Components

2007-03-15 Thread bsmithjj
Seam doesn't work with EJB Times (@Timeout methods) so yes, you need to use the EJB3 annotations like @Resource to inject your timer-bean dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028592#4028592 Reply to the post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Problem with Seam Email - in Loop + Transaction

2007-03-13 Thread bsmithjj
anonymous wrote : This is definitely the recommended approach - faster and easier. I don't agree that looping inside the mail component is easier - I'm not sure why it would be faster ? In my EJB method, in the context of my loop, I am performing an LDAP lookup, some persistence operations,

[jboss-user] [JBoss Seam] - Re: Problem with Seam Email - in Loop + Transaction

2007-03-13 Thread bsmithjj
do you think something like this? | try | { | StringWriter stringWriter = new StringWriter(); | wrapResponseWriter(facesContext, stringWriter); | | renderFacelet(facesContext, faceletForURL(resourceURL(viewId))); | |

[jboss-user] [JBoss Seam] - Re: Problem with Seam Email - in Loop + Transaction

2007-03-13 Thread bsmithjj
Hi Pete, Putting a loop inside the facelets isn't going to be the best approach for me - especially if you plan on putting in the Renderer workaround. Do you know of some way to flush or clear whats in the Renderer's output programmatically? Thanks, Brad Smith View the original post : http

[jboss-user] [JBoss Seam] - Problem with Seam Email - in Loop + Transaction

2007-03-13 Thread bsmithjj
Hello, I'm running into some new issues with the Seam Email Renderer. These issues emerge when 2 or more emails are sent in a single transaction. one issue: | #{mailConfiguration.testEmail} | when used this way, it appears that facelets (or something) caches what goes inside the tags

[jboss-user] [JBoss Seam] - Re: Wrong TLD on selectdate ?

2007-03-12 Thread bsmithjj
another issue with selectDate I am using the latest nightly build and selectDate is not working: | Warning: Expected ':' but found 'seam-date'. Declaration dropped. | Source File: http://ntinternetdev.evergreeninsite.com:8080/access/work_queue.seam?actionMethod=work_queue.xhtml%3AworkQueue

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-03-12 Thread bsmithjj
Pete, Sorry about the late response - anyway, so far, so good - your change to the classloader appears to have solved the problem. I haven't hit all my use cases yet, but the ones I have (about 50%) are working now. If you recall our discussion about where the jars go, I've now successfully

[jboss-user] [JBoss Seam] - Re: org.jboss.seam.core.Pages - parsing exception?

2007-03-12 Thread bsmithjj
It looks like Seam is trying to validate a document via an Internet-based lookup - is it going to be required that your deployment environment have access to the Internet in order to avoid this exception at startup? Once I set '-Dhttp.proxyHost=...' in the run.bat for my jboss to a legit value

[jboss-user] [JBoss jBPM] - Re: How to cancel a Timer dynamically?

2007-03-09 Thread bsmithjj
Is this not possible? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026709#4026709 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026709 ___ jboss-user mailing list jboss-use

[jboss-user] [JBoss Seam] - org.jboss.seam.core.Pages - parsing exception?

2007-03-09 Thread bsmithjj
I am using Seam 1.2.0.CVS.20070306 (from nightly builds) and I consistently get this error on startup of my application and first page load: | 10:28:31,601 ERROR org.jboss.seam.jsf.SeamPhaseListener - uncaught exception | java.lang.RuntimeException: org.dom4j.DocumentException: Error on line

[jboss-user] [JBoss Seam] - Re: Hot redeployment

2007-03-07 Thread bsmithjj
by merely asking/stating the question I am telling you ;-) Anyway - I wish the Embeddable EJB3 and the Microcontainer pieces would maintain a better development and release velocity. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025976#4025976 Reply to the

[jboss-user] [JBoss Seam] - Re: Seam Email in an .EAR - more woes...

2007-03-07 Thread bsmithjj
I am using 1.1.6 - is this available in the latest nightly build? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025970#4025970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025970 _

[jboss-user] [JBoss Seam] - Re: Hot redeployment

2007-03-07 Thread bsmithjj
doesn't something like this encourage us not to use EJB3 for our backing components? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025962#4025962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025962 _

[jboss-user] [JBoss Seam] - Seam Email in an .EAR - more woes...

2007-03-07 Thread bsmithjj
Hello, We already have a long running discussion on the Seam Email component and issues with classloading in an EAR deployment. I have what may be a new problem with the way Seam Email works. Basically, I have an EJB timer that wakes up - it does some processing and then attempts to use the

[jboss-user] [JBoss jBPM] - Re: How to cancel a Timer dynamically?

2007-03-05 Thread bsmithjj
I've tried many variants of deleting the timer using the API's. I've also tried creating a hibernate query directly and deleting the timer. What I am finding is that I successfully delete the timer, but some other component in jBPM is saving a new copy of the timer on flush of the session. Ho

[jboss-user] [JBoss Seam] - Re: Error javascript in

2007-03-02 Thread bsmithjj
No - I haven't installed the 'Seam Resource Servlet' I can't see anything in the 1.2 Docs, "Chapter 24. Seam JSF controls" that says I should. Are you saying I need to install this by asking if I have? If it needs to be installed to use the Seam JSF tags then that's a bug in the docs - the doc

[jboss-user] [JBoss Seam] - Re: Error javascript in

2007-03-01 Thread bsmithjj
yep - In Seam 1.2.0, the javascript appears to be broken (in firefox anyway) for . | Error: __selectDate is not defined | Source File: http://ntinternetdev.evergreeninsite.com:8080/access/work_queue.seam?actionMethod=work_queue.xhtml%3AworkQueueManager.select&conversationId=7&conversationIs

[jboss-user] [JBoss Seam] - Re: Seam Security Question - Tomcat Valve

2007-03-01 Thread bsmithjj
I create issue http://jira.jboss.com/jira/browse/JBSEAM-967. Note that what I'm really asking at the moment, is for away to establish an Identity that uses the HttpServletRequest to obtain the Principal, and check roles. Thanks, Brad Smith View the original post : http://www.jboss.com/index.h

[jboss-user] [JBoss Seam] - Seam Security Question - Tomcat Valve

2007-03-01 Thread bsmithjj
Hello, We have written a custom Tomcat valve-realm implementation that integrates our JBoss servers with a CAS-SSO system. Our valve-realm implementation supplies the Principal to the HttpServletRequest and handles invocations of isUserInRole(String role) on the HttpServletRequest. This elimi

[jboss-user] [JBoss Seam] - Re: Seam Remoting Dependency?

2007-02-28 Thread bsmithjj
Ah yes - I do - a holdover from early experiments in the project. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023956#4023956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023956

[jboss-user] [JBoss jBPM] - Re: How to cancel a Timer dynamically?

2007-02-28 Thread bsmithjj
I should have it... I am attempting to do this in execute() method of an ActionHandler. Currently I put the following in (taken from the jBPM source code): | SchedulerService schedulerService = (SchedulerService)Services.getCurrentService( | Services.SERVICENAME_SCHEDULER | );

[jboss-user] [JBoss Seam] - Seam Remoting Dependency?

2007-02-28 Thread bsmithjj
Hello, I just tried to upgrade my project to Seam 1.2.0 (PATCH) - I got this: | 15:08:23,705 INFO org.jboss.deployment.EARDeployer - Init J2EE application: file:/C:/jboss-4.0.4.EJB.3RC8/server/default/deploy/access-control-1.0.ear | 15:08:40,658 ERROR org.jboss.deployment.MainDeployer - C

[jboss-user] [JBoss jBPM] - How to cancel a Timer dynamically?

2007-02-28 Thread bsmithjj
Hello, How do I, in the public void execute(ExecutionContext exeCtx) method of an ActionHandler, locate a timer and cancel it? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023902#4023902 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user

2007-02-28 Thread bsmithjj
Ed, We may have worked together - I haven't worked in Nashua, but I have worked with many developers from Nashua over the years in Boston and some of the the other surrounding towns. What are some projects you think we might have been on together? On the jBPM stuff - I see now why you disagre

[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user

2007-02-28 Thread bsmithjj
Ed, anonymous wrote : Were you looking for a single call that combined these two lists? Yes - After scanning the documentation (no luck on this subject), and trying the various getTask*() method calls via several lengthy deployments, and then searching these forums, I finally figured out that

[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user

2007-02-28 Thread bsmithjj
It looks like you are - I'll keep your response in mind when we're thinking about our which JBoss products we buy support for. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023620#4023620 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user

2007-02-28 Thread bsmithjj
kukeltje - are you a committer on this project? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023619#4023619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023619 ___ jboss-u

[jboss-user] [JBoss jBPM] - Help getting all tasks for a user

2007-02-27 Thread bsmithjj
Hello, I am trying to get all the tasks for a user. By all tasks, I mean any task for which the user is: a.) the actual actor b.) a pooled actor Is there a method in the API's that supports this? for example, | jbpmContext.setActorId(someId); | List tasks = jbpmContext.getEVERYTASK(

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-27 Thread bsmithjj
have you managed to gain any new insight into this? Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023068#4023068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023068 ___

[jboss-user] [JBoss Seam] - Re: Seam + jBPM + jBPM-timers

2007-02-26 Thread bsmithjj
Aw heck! Thanks! :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022694#4022694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022694 ___ jboss-user mailing list jboss-us

[jboss-user] [JBoss Seam] - Seam + jBPM + jBPM-timers

2007-02-26 Thread bsmithjj
I am having some trouble with jBPM timers and Seam. I have a basic jBPM timer stubbed up to call a method in a SLSB - here is the XML that binds the timer to a node: | | | | | | customValue | access-control-1.0/WorkFlowManagerBean/local |

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-26 Thread bsmithjj
anonymous wrote : So, I've run into this (in anger) as well now. | | 1) Facelets scans the classpath for .taglib.xml files inside of META-INF, and loads them if it finds them (thats what all the load implicit stuff you see is). | | 2) The UCL doesn't scan WEB-INF/lib (as this is a spec

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-25 Thread bsmithjj
These methods are not called by JSF - rather, they are the points at which I invoke my MailSenderBean.sendEmailMessage() method. In both (all) cases, I put some objects in event scope (for rendering) and invoke sendEmailMessage(). Here's the code for one invokation: | // contextual

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-24 Thread bsmithjj
Pete, Here is a report on the classloader situation just before I invoke my SLSB that sends email: | 15:15:36,972 INFO [WorkItemManagerBean] | Just before asking my SLSB to send email using Seam Renderer... | 15:15:36,972 INFO [WorkItemManagerBean] me -> com.evergreen.accesscontrol.imp

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-24 Thread bsmithjj
anonymous wrote : I *think* that the FaceletsRenderer needs to make sure its using the correct classloader? -- yes - that's what it seems like to me, I was thinking of putting another hack into Facelets to try and force it to use the classloader obtained from the ServletContext Thanks,

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
One last bit of info... A colleague of mine suggested putting the taglibs (seam-email, seam-ui, facelets, etc...) in both the ear and the war - a hack he had to do with weblogic in the past. I tried this, now email is working! Thanks, Brad Smith View the original post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
I have more data - I hacked Facelets 1.1.2 to spit out some ClassLoader info. What I found is that in one case, when calling Renderer.render(myTemplate), the Classloader is the EAR's classloader. In the other case, the classloader is the war's classloader. not working - ear's classloader |

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
sample Render calls... This method is in a SFSB - user clicks a link in UI: (this one works!) | public String dsaProvision() { | | TaskInstance task = jbpmContext.getTaskInstance(taskId.longValue()); | | // Update the decision | Contexts.getEventContext

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-23 Thread bsmithjj
I'll try to find some time this weekend to create something similar - it isn't going to be easy. In each method call, there is typically some persistence work, some jBPM work, followed by an attempt to send the email. It will be tricky to provide a sample that does all that Thanks, Brad Smith

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-22 Thread bsmithjj
I'm not sure how to give you a simple example of this. I'm definitely not going to mess with seam-gen (don't see how it's relevant to this). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020815#4020815 Reply to the post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-22 Thread bsmithjj
I'm back with my Seam email issue - the saga gets weirder cuz in one case, the seam email component works, in a different case (should be identical execution context), the seam email component does not work. In this first case, the seam email component is not working - Facelets complains ab

[jboss-user] [EJB 3.0] - Re: Is this project dead?

2007-02-21 Thread bsmithjj
Is BEA gaining ground ? passing JBoss? http://commerce.bea.com/showproduct.jsp?family=WLS&major=10Tech&minor=-1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020232#4020232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [EJB 3.0] - Is this project dead?

2007-02-16 Thread bsmithjj
It appears that Seam, which promotes heavily the use of EJB3, is moving much faster than any of the EJB3 stuff - the embeddable, etc... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017902#4017902 Reply to the post : http://www.jboss.com/index.html?module=b

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-16 Thread bsmithjj
If I move myfaces to jsf-lib or the .war, then an old problem reemerges in the UI: | java.lang.ClassNotFoundException: No ClassLoaders found for: com.evergreen.accesscontrol.RealmManager | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-16 Thread bsmithjj
I've tried two variants 1.) put the seam-mail.jar and dependencies in the .war as you have done in the example. 2.) put the same set of jars in the .ear I'm convinced that the issue I'm running into is related to class loading. Reviewing the .ear created by your seam-email example, I'm guessi

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-15 Thread bsmithjj
continued email problems | 16:07:56,796 ERROR [STDERR] Feb 15, 2007 4:07:56 PM com.sun.facelets.compiler.Compiler initialize | SEVERE: Missing Built-in Tag Libraries! Make sure they are included within the META-INF directory of Facelets' Jar | I made sure my jars (Seam-mail, seam-ui, fa

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-14 Thread bsmithjj
Sorry I was too brief in my earlier reply. Here is some info about the server: | bash-2.05b$ pwd | /c/jboss-4.0.4.EJB.3RC8/server/default/deploy/jbossweb-tomcat55.sar | bash-2.05b$ ls -l jsf-libs/ | total 1249 | -rwxrwxrwx 1 Administrators 118669 May 15 2006 commons-beanuti

[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB's activated too early

2007-02-14 Thread bsmithjj
is this forum dead? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016543#4016543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016543 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-14 Thread bsmithjj
jboss 4.0.4 EJBRC8 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016522#4016522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016522 ___ jboss-user mailing list jboss-user@l

[jboss-user] [JBoss Seam] - Seam Email - IllegalStateException: No Factories configured.

2007-02-14 Thread bsmithjj
Hello, I am trying to build up an email template - as shown here: | http://www.w3.org/1999/xhtml"; | xmlns:m="http://jboss.com/products/seam/mail"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://

[jboss-user] [JBoss Seam] - Re: Seam Email and Embeddedable EJB3 for testing

2007-02-12 Thread bsmithjj
I made sure facelets is in my testing classpath. Now it looks like MockRenderKit doesn't want to play along... | 12:13:08,170 ERROR com.evergreen.accesscontrol.impl.MailSenderBean.(error:119) - java.lang.UnsupportedOperationException | | java.lang.UnsupportedOperationException |

[jboss-user] [JBoss Seam] - Re: Need some help with Seam Email

2007-02-12 Thread bsmithjj
thanks for both replies - originally my IDE offered up jndi-name as an attribute and I selected it. One other item you might want to fix is the Seam 1.1.6 docs use the following attribute name: | 16.2.1.1. JNDI lookup in JBoss AS | | The JBossAS deploy/mail-service.xml configures a Java

[jboss-user] [JBoss Seam] - Seam Email and Embeddedable EJB3 for testing

2007-02-12 Thread bsmithjj
hello, I've been trying to run a SeamTest that sends email using the Seam 1.1.6 email and the Alpha9 Embeddable EJB3 container. I get the following exception each time it tries to render: | test_sendSeamEmailMessage Time elapsed: 0.422 sec <<< FAILURE! | javax.ejb.EJBException: org.jbos

[jboss-user] [JBoss Seam] - Re: Need some help with Seam Email

2007-02-12 Thread bsmithjj
could you explain the differences? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014982#4014982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014982 ___ jboss-user m

[jboss-user] [JBoss Seam] - Re: Need some help with Seam Email

2007-02-11 Thread bsmithjj
ok - I got it working. the problem was here: | | I had to change this to: | | maybe session-jndi-name should be removed from the mail XSD in favor of component's jndi-name? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014731#4014731 Repl

[jboss-user] [JBoss Seam] - Re: Need some help with Seam Email

2007-02-11 Thread bsmithjj
Some more data from the deploy trace: | 19:30:04,234 INFO [ServletContextListener] Welcome to Seam 1.1.6.GA | 19:30:04,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: org.jboss.seam.core | 19:30:04,265 INFO [Initialization

[jboss-user] [JBoss Seam] - Need some help with Seam Email

2007-02-11 Thread bsmithjj
In my components.xml, I have the following: | | and in fact, there is a javax.mail.Session bound to this name in JNDI (here's a partial dump from the JMX Console in JBoss: | java: Namespace | | +- jaas (class: javax.naming.Context) | | +- HsqlDbRealm (class: org.jboss.

[jboss-user] [JBoss Seam] - Re: problem getting JMS xsd

2007-02-11 Thread bsmithjj
I found all the XSD's in the night build from CVS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014536#4014536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4014536 ___ jbos

[jboss-user] [JBoss Seam] - problem getting JMS xsd

2007-02-11 Thread bsmithjj
at the time of this posting, the following URL, http://jboss.com/products/seam/jms-1.1.xsd takes me to http://jboss.com/errors/404 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4014532#4014532 Reply to the post : http://www.jboss.com/index.html?module=bb&

[jboss-user] [JBoss Seam] - Re: Seam Mail - in an .EAR

2007-02-09 Thread bsmithjj
awesome! I will try it out. Thanks! Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013901#4013901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013901 ___ jboss-

[jboss-user] [JBoss Seam] - Seam Mail - in an .EAR

2007-02-09 Thread bsmithjj
Hello, I am beginning to dig into the Seam Email functionality. It looks like the sample you've provided assumes a .war type deployment. Are there any suggestions for how to do the following: >From an EJB, use the renderer with a facelets template that is deployed in the >.war? Or, should I

[jboss-user] [JBoss Seam] - Re: Design Diagram/Document for Seam projects?

2007-02-08 Thread bsmithjj
Most of those diagrams that show lots of little blocks with words like DAO, servlets, etc. say very little to someone outside of your working group because they assume we share a common vocabulary and belief system about the constituents of an application written in Java. Even worse are those

[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-02-08 Thread bsmithjj
Gavin, Your last comment was helpful... anonymous wrote : | I guess this makes sense ... in an MDB, the transaction is committed *after* the Seam contexts have been destroyed. This is not the same lifecycle as in a web request. I added a @TransactionAttribute to my SLSB and that fixed the p

[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-02-08 Thread bsmithjj
ok - will add to JIRA. Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013162#4013162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013162 ___ jboss-user m

[jboss-user] [JBoss Seam] - Re: Help with MDB + Seam + jBPM - transaction issue?

2007-02-08 Thread bsmithjj
I am using 1.1.6. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013136#4013136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013136 ___ jboss-user mailing list jboss

[jboss-user] [JBoss Seam] - Help with MDB + Seam + jBPM - transaction issue?

2007-02-08 Thread bsmithjj
Hello, I have an MDB that invokes a SLSB method - the method does some persistence work and signals a jBPM ProcessInstance. I am consistently getting an exception related to transactions from jBPM. Here are the classes being used: The MDB: | @MessageDriven(activationConfig = { | @Activat

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
anonymous wrote : definitely a case of wrong usage? Last summer at JBoss world, when you first presented this, I was under the impression that you were offering @Logger as an annotation based replacement for the usual commons logging stuff: | | private Log log = LogFactory.getLog(MyClass.

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
I'll stick with commons logging for logging. But one idea occurs to me, you might want to change: | | @Logger | private Log log; | | to | | @Printer | private Printf printf | | since it sounds like your true goal is to emulate printf with the @Logger stuff. (have

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
don't understand my objection? That's simple to understand I've been using Log4j or commons logging to log messages for years. I started using the @Logger Log log with Seam and used it the same way I've been logging for years - everything's been fine until I a.) first tried the 1.1.5 rele

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
Thanks for making the fix - I'll try it out when the next CVS bundle appears on the nightly builds server. I disagree with your suggestion about how I should log a message. As far as I'm concerned, when I ask a logger to log a message, whether it's a single string, concatenation of strings, an

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
after @Naming my MDB's as Seam components: | 2007-02-07 11:40:03,215 ERROR [org.jboss.jms.asf.StdServerSession] session failed to run; setting rollback only | java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web appli

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-07 Thread bsmithjj
| log.info("findUserByUserid() : found users -> " + evergreenUsers); | here is the whole method: | public String findUserByUserid() { | log.info("findUserByUserid() : anumber = " + evergreenUser.getAnumber()); | log.info("findUserByUserid() : lastqry = " + lastQu

[jboss-user] [Messaging, JMS & JBossMQ] - MDB's activated too early

2007-02-07 Thread bsmithjj
Hello, I have an EJB3-Seam application that uses's an MDB. A problem I am having is that as EJB deployer (I think) is activating or putting my MDB's into the Method-Ready Pool before my EAR is completely deployed. Is there a setting to control this? I am attempting to use Seam annotations

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
doh! Thanks! ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012516#4012516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012516 ___ jboss-user mailing list jboss-user@li

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
other item, @Logger doesn't ever seem to work for MDB's. | @MessageDriven( | activationConfig = { | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
One thing I have realized digging into this issue more is that the EJB Deployer is immediately deploying my EJB jar. The MDB gets started immediately thereafter. If messages are on the Q the MDB is listening to, then it starts trying to consume them I think that maybe the Seam infrastructu

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
BTW - we generally do scan the docs, examples, this forum, and a bit of Googling before we post questions here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012452#4012452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [JBoss Seam] - Re: MDB's and EJB Timers

2007-02-07 Thread bsmithjj
that's not really an answer to my question. http://docs.jboss.com/seam/1.1.1.GA/reference/en/html_single/#d0e2525 says the same thing but our experience is that @In does not get honored for the onMessage() calls by the container. So my question(s) still stand. We've actually tried this stu

[jboss-user] [JBoss Seam] - MDB's and EJB Timers

2007-02-07 Thread bsmithjj
Hello, Is it possible to have Seam intercept the onMessage(...) invokations of an MDB and honor the @In, @Logger annotations? Also, same question for session beans with @Timeout methods - is it possible to have Seam do the same for methods marked @Timeout? Thanks, Brad Smith View the original

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5 (still)

2007-02-07 Thread bsmithjj
I have found an additional problem with Seam 1.1.6(?) in CVS before you do a release... I downloaded the CVS.20070206 bundle from the Nightly builds directory. When I deployed my application using the CVS.20070206 I am still having problems with the same page, same setup described previously.

[jboss-user] [JBoss Seam] - Re: NotSerializableException:ThreadLocal when using PAGE s

2007-02-01 Thread bsmithjj
March 20? dang! how about 1.1.6 on Feb. 6? ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009457#4009457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009457 ___ jboss

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-01 Thread bsmithjj
Thanks for the pointer - I saw this same problem with 1.1.1 but I just fell back to 1.1.0 also. It would be nice to make another release with this fix in short order (please?). Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009459#400945

[jboss-user] [JBoss Seam] - Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-01 Thread bsmithjj
Hello, I have an EAR Deployment that uses the following API's: * Seam 1.1.0 (would like to use 1.1.5) * MyFaces 1.1.4 (no - ICEFaces is not ) * Tomahawk 1.1.3 (an option for this project) * Facelets 1.1.11 The MyFaces jars are package at the EAR level. The project contains an EJB jar

[jboss-user] [JBoss Seam] - Re: @Startup help...

2007-01-26 Thread bsmithjj
this is a helpful suggestion - thanks. Unfortunately - I'll probably going live with Seam 1.1.0 so I am reluctant to work with a nightly build right now. I still would like to hear any suggestions for building EJB Timer solutions in a Seam-EJB3 app - with ideas for kickstarting the timers on st

[jboss-user] [JBoss Seam] - Re: @Startup help...

2007-01-25 Thread bsmithjj
Huh? I designated an APPLICATION scoped bean as the startup object - I have the startup object get a handle to a stateless bean and invoke a method which subsequently creates timer object. Going back to the start of this thread...I am trying to start an EJB Timer on startup of the application

<    1   2   3   >