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

2007-01-25 Thread bsmithjj
Code: | @Name("mailReaderStarter") | @Scope(ScopeType.APPLICATION) // required for the @Startup to work | @Startup(depends={"mailReader"}) | @Install( | dependencies = {"mailReader"} | ) | public class MailReaderStarter { | | @Logger | private Log log; | |

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

2007-01-25 Thread bsmithjj
Hello, I am trying to do the following: On startup of my application, create an EJB Timer (javax.ejb.Timer) using the EJB TimerService (javax.ejb.TimerService). The timer bean that I am trying to install is a stateless session bean. I initially tried to use @PostConstruct on a method that woul

[jboss-user] [JBoss Portal] - Re: Can't use myfaces tomahawk inputSuggestedAjax control in

2007-01-10 Thread bsmithjj
You can use JSF or you can use JSR168 portlets with JSP's, however using JSF + JBoss Portal will present some fun challenges. Read here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98395 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000117#4000

[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-09 Thread bsmithjj
anonymous wrote : Note that EL references to a component *always* act like create=true. ie. if the context variable is null, Seam instantiates the component using a JNDI lookup. Yes - I was going to throw this into the discussion - that on the one hand, my EL references are working 'magically',

[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-09 Thread bsmithjj
For me - the disconnect is the instantiate or create concept - since I am typically asking the container to provide a reference to a bean looked up via JNDI, I don't consider my application to be instantiating or creating session beans; I thought the container takes care of creation / instantia

[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-09 Thread bsmithjj
Kukeltje - you must have ESP anonymous wrote : 15.2. Annotations for bijection | | The next two annotations control bijection. These attributes occur on component instance variables or property accessor methods. | | @In | | @In | | Specifies that a component attribute

[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-09 Thread bsmithjj
how confusing! First, I'm told to set create=true, next, someone says that I don't need to set create=true, finally, I am not sure the last reply tells me anything I didn't know. I (think I) understand pretty well what is going on with @In and @Out, I've built a few apps already with Seam and

[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-07 Thread bsmithjj
Norman, Adding create=true as a param to the @In annotation seems to make the EJB injection work - so thanks. However...I have a bit of ranting on this ;-) I looked pretty carefully through the Seam documentation and I couldn't find anything (anything OBVIOUS) that explains that for the @In to

[jboss-user] [JBoss Seam] - Re: Seam and Portal Future

2007-01-07 Thread bsmithjj
"perwik" wrote : I've followed the development of Seam for about a year now, but it's only recently that I've started to build something with it. I see a need for splitting my project into modules (call them portlets if you like). | | The problem with these modules is that, as far as I under

[jboss-user] [JBoss Seam] - Re: Seam portlet with Facelet support

2007-01-06 Thread bsmithjj
You should review the discussion here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98395 While you can certainly 'do a big project' using Seam or using JBoss Portal, you may find that portlet bridging and issues with stable deployment descriptors and certain API's result in a less-t

[jboss-user] [JBoss Seam] - Seam 1.1.0 - Injecting EJB's - Not Working

2007-01-06 Thread bsmithjj
My question is 'why doesn't this work?' - here is the background information... First, I have a SLSB - userEditor: | @Stateless | @Name("userEditor") | public class UserEditorBean implements UserEditor { | | @Logger | private Log log; | | @PersistenceContext(unitNam

[jboss-user] [JBoss Seam] - Re: Seam and Portal Future

2007-01-05 Thread bsmithjj
"swestbom" wrote : What is missing from seam applications is independent state maintenance for the various portlets on the page. We have many applications that we want to bring together under one site. These sites are all intranet based so the weight isn't as much of an issue (this can be amel

[jboss-user] [JBoss Seam] - Re: Seam and Portal Future

2007-01-05 Thread bsmithjj
Just a bit more on this discussion - mainly in response to the following: "[EMAIL PROTECTED]" wrote : Portal does solve some big issues. jboss.org runs on portal, and I couldn't imagine trying to do something with that scope by building up all the components in Seam. There are too many moving

[jboss-user] [JBoss Seam] - Re: Seam and Portal Future

2007-01-04 Thread bsmithjj
Here's another slant on this topic and your statement: anonymous wrote : hopefully that seam and portal will be a good match in the future I did a fair amount of work with JBoss Portal about a year and a half ago. This last year, I've mainly worked with Seam + Facelets and JSF. I've recently

[jboss-user] [JBoss Seam] - Re: Where are the XSD's ? (Seam 1.1.0 GA)

2007-01-04 Thread bsmithjj
hmm... http://jboss.com/products/seam/core-1.1.xsd is working now, but before I got the 404 error thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997958#3997958 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [JBoss Seam] - Where are the XSD's ? (Seam 1.1.0 GA)

2007-01-04 Thread bsmithjj
Hello, In reviewing the examples, I've come across this in components.xml: | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation=

[jboss-user] [JBoss Seam] - Re: Outject/Inject across a regular HTML link

2007-01-03 Thread bsmithjj
Your entity probably needs to be scoped to conversational or session scope in order for it to 'last' between requests. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997716#3997716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode

[jboss-user] [JBoss Portal] - Re: Portal Layout XML - *-layouts.xml

2006-12-29 Thread bsmithjj
unfortunately, the portal DTD doesn't match the documentation ... Which is correct? documentation or DTD? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996869#3996869 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=399

[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4.1.CR2 Released

2006-12-29 Thread bsmithjj
The portal_2_0.dtd supplied with the source code does not match the documentation. The documentation shows the root element to be . The DTD states that the root element is . Which is correct? I am trying to figure out which version of JBoss Portal to use (if any) to start a new portal projec

[jboss-user] [JBoss Portal] - PageNavigationInterceptor (2.6 DR1) - NullPointerException

2006-12-28 Thread bsmithjj
Hello, I added a simple portal (.war) to my jboss-portal 2.6 DR1 installation - when I visit the portal page, I get: | 15:29:13,714 ERROR [PortalServlet] Unexpected exception | java.lang.NullPointerException | at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.

[jboss-user] [JBoss Portal] - Re: Portal Layout XML - *-layouts.xml

2006-12-28 Thread bsmithjj
I managed to find this: jboss-portal-2.6.0-DR1-src/core/src/resources/dtd/portal-layouts_2_0.dtd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996694#3996694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996694 ___

[jboss-user] [JBoss Portal] - Portal Layout XML - *-layouts.xml

2006-12-28 Thread bsmithjj
Hello, There is no DTD or XSD available for portal-layouts.xml, right? I saw mention of portal-layouts.dtd in file LayoutDeployment.java but no sign of this file anywhere. FWIW, it would be 'nice' in the documentation to define all possible tag names, attributes, and their meanings in additio

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2006-12-26 Thread bsmithjj
Julien, Thanks for the update on the security API's, the documentation, and the guarantee to freeze the portal API's in this layer for the 2.X series. I will take a look at these and see if I can make progress with your documentation and example. Thanks again, Brad Smith View the original po

[jboss-user] [JBoss Portal] - JBoss Portal Security - You're losing your way...

2006-12-24 Thread bsmithjj
As I look into this more, look at the source code for 2.6, the wiki link you supplied, etc. I really am beginning to think that in some ways, you're losing your way with the security layer of JBoss Portal. All I want to do is customize the login for the dang thing for my environment. Instead,

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2006-12-19 Thread bsmithjj
so what you're saying is 1. Yes - the security API's are in flux 2. When 2.6 is released, instead of updating the documentation, you will prefer to update your wiki I am not sure why I would a.) use 2.4 release of portal and b.) be interested in support for it - as we know, 2.4.X is the

[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2006-12-19 Thread bsmithjj
The link to the wiki is not good enough. Here is a link to the 2.2 docs on the JACC security http://docs.jboss.com/jbportal/v2.2/reference-guide/en/html_single/#security in JBoss Portal. We are evaluating a few open source portals. We're concerned that there is a lot of change going on in th

[jboss-user] [JBoss Portal] - http://jira.jboss.com/jira/browse/JBPORTAL-459 You should re

2006-12-18 Thread bsmithjj
I can't find the documentation for "JACC Security integration documentation" in any of: userGuide referenceGuide quickstartuser distributed with jboss portal 2.4.0 - where is it hiding please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994809#3994809

[jboss-user] [JBoss Seam] - Re: Integration of webobjects in jboss portal

2006-12-06 Thread bsmithjj
you might try asking this on the JBoss Portal forum. Also, you may want to define what you mean by 'integration of webobjects into a portlet' - on the portlet forum that is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991657#3991657 Reply to the post :

[jboss-user] [JBoss Seam] - Re: CR1 -> CR2 Problem: PropertyNotFoundException: Property

2006-12-01 Thread bsmithjj
I just moved up to Seam 1.1.0.CR2 - my SeamTest(s) are having the same problem: | 08:30:54,975 ERROR org.jboss.seam.interceptors.ExceptionInterceptor.(handle:370) - redirecting to debug page | javax.ejb.EJBException: javax.el.PropertyNotFoundException: Property 'jboss' is not found on type

[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-15 Thread bsmithjj
I haven't been able to try a CVS build since your post asking me to try it but I wanted to provide some more data around the problem. - first adding a no-arg constructor to LogImpl didn't help (but again, I haven't tried the request CVS stuff yet) - second, let me explain the execution context

[jboss-user] [JBoss Seam] - Re: @Log and NullPointerException

2006-11-14 Thread bsmithjj
right now it occurs in a method marked @Observer, but I will try to create a test case that reproduces this using the event-listener @Observer functionality. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985906#3985906 Reply to the post : http://ww

[jboss-user] [JBoss Seam] - @Log and NullPointerException

2006-11-14 Thread bsmithjj
I have a class, | @Name("applicationSelectorData") | @Scope(ScopeType.CONVERSATION) | @Conversational(ifNotBegunOutcome = "home") | public class ApplicationSelectorData implements Serializable { | | @Logger | private Log log; | | @Out(required=false) | privat

[jboss-user] [JBoss Seam] - Re: @CreateProcess and SeamTest - help w. NullPointerExcepti

2006-11-06 Thread bsmithjj
Once again - that's it! Thanks! Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983421#3983421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983421 ___ jboss-user

[jboss-user] [JBoss Seam] - @CreateProcess and SeamTest - help w. NullPointerException

2006-11-03 Thread bsmithjj
I am trying to test the creation of a new jBPM ProcessInstance. My SFSB's method is: | @CreateProcess(definition = "RequestNewAccess") | public String sendRequest() { | log.info("sendRequest() : accessRequest -> " + this.accessRequest); | log.info("sendRequest()

[jboss-user] [JBoss Seam] - Re: jBPM and @Unwrap question

2006-11-03 Thread bsmithjj
This worked! Thanks! Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983090#3983090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983090 ___ jboss-user mailing lis

[jboss-user] [JBoss Seam] - Re: jBPM and @Unwrap question

2006-11-03 Thread bsmithjj
Oops - @Name("initjBPMActor") should be @Name("actor") - but that still doesn't work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983006#3983006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983006

[jboss-user] [JBoss Seam] - jBPM and @Unwrap question

2006-11-03 Thread bsmithjj
Hello, I am trying to come up with a pattern for initializing the Seam Actor for jBPM in my system. There is no login action in my system - we're authenticating using a custom Tomcat Valve (integration with an enterprise SSO system). So I tried to use the @Unwrap approach here: | @Name("i

[jboss-user] [JBoss Seam] - Re: some help with please...

2006-10-30 Thread bsmithjj
setting required to true worked - thanks for the help. Brad Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981813#3981813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981813

[jboss-user] [JBoss Seam] - some help with please...

2006-10-27 Thread bsmithjj
Hello, I am using the new tag. I have this facelets component: | | | | | Permission Name | | | | | | | | | |...more stuff | which is included from another facele

[jboss-user] [JBoss Seam] - Re: Classloader error with seam jboss-seam-1.1-CVS20061016.j

2006-10-20 Thread bsmithjj
just tried the 10.20.2006 build - seems like there are some issues with it: | 14:51:48,764 INFO [FacesConfigurator] Reading config jar:file:/C:/jboss-4.0.4.EJB.3RC8/server/default/tmp/deploy/tmp51245access-control-1.0.ear-contents/jboss-seam-1.1-CVS20061020.jar!/META-INF/faces | -config.xml

[jboss-user] [JBoss Seam] - Re: Having Problems w. jBPM - jBPM 3.1.2, EJB 3.0, Seam 1.0.

2006-10-19 Thread bsmithjj
I followed your tip and 'fixed' my XML to match the DVD store jbpm.cfg.xml for the 'service name="persistence"' part. It seems that I can now create new jBPM process instances in a method marked @CreateProcess. Thanks very much for helping with this. Brad Smith View the original post : http

[jboss-user] [JBoss Seam] - Having Problems w. jBPM - jBPM 3.1.2, EJB 3.0, Seam 1.0.1 an

2006-10-18 Thread bsmithjj
I am getting the following transaction in an app in which I am trying to use jBPM and EJB 3.0: | 15:14:26,010 ERROR [ExceptionInterceptor] redirecting to debug page | java.lang.IllegalStateException: jBPM transaction management is enabled, disable in jbpm.cfg.xml | at org.jboss.s

[jboss-user] [JBoss Seam] - Re: When does Bijection Occur?

2006-10-18 Thread bsmithjj
maybe I should ask... When can I expect that Seam has performed @Injection? Does it not work for JSF Converters? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979122#3979122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Seam] - When does Bijection Occur?

2006-10-17 Thread bsmithjj
Hello, I am developing a view that has two select-many lists. One is initially empty, the other contains data. The user will select items from the data and move them to the empty select list to make choices. This has proved to be a little more challenging than I initially anticipated in JSF.

[jboss-user] [JBoss Seam] - Re: SFSB - NotSerializableException

2006-10-13 Thread bsmithjj
I think part of the problem was in how I was using MyFaces. First, there is the version of MyFaces that's shipped with JBoss' tomcat sar; in my application, I am using MyFaces 1.1.4 and I believe that's a higher version than what is supplied with JBoss (4.0.4 EJBRC8 - from JEMs). I was initi

[jboss-user] [JBoss Seam] - Re: SFSB - NotSerializableException

2006-10-13 Thread bsmithjj
I'll need to wait for the nightly build to be available on http://cruisecontrol.jboss.com/cc/artifacts/jboss-seam-builds to try your changes. Anyway, I did try removing the tomahawk filter and that didn't help. Thanks, Brad Smith View the original post : http://www.jboss.com/index.html?modu

[jboss-user] [JBoss Seam] - Re: SFSB - NotSerializableException

2006-10-12 Thread bsmithjj
We are using the tomahawk (1.1.3) components in this application (with myfaces 1.1.4), however, there are no explicit usages of a tomahawk component on the page associated with this problem. Another note, there are a couple of 's on the page that are bound to methods in the AccessRequestManager

[jboss-user] [JBoss Seam] - SFSB - NotSerializableException

2006-10-12 Thread bsmithjj
Hello, I am using the 2006.1011 nightly build of Seam. I am getting the following exception in the server: SEVERE: Error Rendering View[/user_access_request.xhtml] | javax.faces.FacesException: java.io.NotSerializableException: com.evergreen.accesscontrol.AccessRequestManager$$EnhancerByCGLI

[jboss-user] [JBoss Seam] - Re: Seam suggestion -> change Scope and ScopeType annotation

2006-08-29 Thread bsmithjj
anonymous wrote : I think of a context as a closure over a scope. yikes! But that's not what I'm getting at - mainly, it's about simplifying the number of terms used to express the same thing. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968140#3968140 R

[jboss-user] [JBoss Seam] - Re: SeamTest - It's not @In-jecting bean attributes

2006-08-16 Thread bsmithjj
Never mind - I have solved this problem - I needed to add ejb-jar.xml with the Seam interceptor to my persistence unit. BTW - it seems like the xml given in the samples does not conform to the EJB 3 xsd... http://java.sun.com/xml/ns/j2ee/ejb-jar_3_0.xsd - Instead of @In-jecting my EntityManag

[jboss-user] [JBoss Seam] - Re: SeamTest - It's not @In-jecting bean attributes

2006-08-16 Thread bsmithjj
it's not an issue of using getters or setters - annotating either the fields or the getters/setters works fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965567#3965567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Seam] - SeamTest - It's not @In-jecting bean attributes

2006-08-16 Thread bsmithjj
Hello, I have a Stateless Session Bean - here is it's interface and the implementation: | @Local | @Remote | public interface UserEditor { | | public String createUser(); | | public String deleteUser(); | | public String updateUser(); | | public String l

[jboss-user] [JBoss Seam] - Seam suggestion -> change Scope and ScopeType annotation

2006-08-16 Thread bsmithjj
I find myself constantly trying to maintain a mental mapping of sorts when it comes to Seam vocabulary. For example, the terms Context and Scope essentially are the same 'thing' in the documentation. In fact, the (terse) javadocs for Scope say: anonymous wrote : Specifies the scope (context)

[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?

2006-07-19 Thread bsmithjj
One other thing... my biggest pain points were the figuring out the initial configuration of the pieces to make my Seam app. After I had a working configuration and build, it was extremely easy to add in additional features to my app. Regards View the original post : http://www.jboss.com/ind

[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?

2006-07-19 Thread bsmithjj
I managed to successfully create a Maven 2 archetype for a Seam App. My app style was EJB3 entities, Hibernate SessionFactory (as entity manager), Facelets, and pure POJO's for application actions. Thus, my layout would work for an app that is packaged as a .war and based on a similar approach.

[jboss-user] [JBoss Seam] - Re: Question on SeamServletFilter and IllegalStateException

2006-07-12 Thread bsmithjj
Faces Servlet? good guess! I had this in my web.xml | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | | Faces Servlet | *.seam | | | | Faces Servlet | *.ajax | | I got rid of the *.ajax mapping and the

[jboss-user] [JBoss Seam] - Question on SeamServletFilter and IllegalStateExceptions

2006-07-11 Thread bsmithjj
I am using SeamServletFilter to handle ajax requests in my app (*.ajax). I have noticed that when I invoke a view using the *.seam extension (which is handled by SeamExceptionFilter and SeamRedirectFilter everything 'behaves' just fine. On the other hand, when I make same request to the serv

[jboss-user] [JBoss Seam] - Re: Facelets error or Seam error?

2006-07-11 Thread bsmithjj
uh...yes :( remove it I presume? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957085#3957085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957085 ___ jboss-u

[jboss-user] [JBoss Seam] - Re: Facelets error or Seam error?

2006-07-11 Thread bsmithjj
removing the commented-out markup worked - thanks! I think I have bumped into this before with commented-out markup in Facelets. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957086#3957086 Reply to the post : http://www.jboss.com/index.html?module=bb&op=po

[jboss-user] [JBoss Seam] - Facelets error or Seam error?

2006-07-11 Thread bsmithjj
Hello, I have a page that contains a Seam link: | | When I load the page via calls to /main.seam (and/or main.ajax), this link renders just find. However, if I make an ajax-style call to my Seam app (yes, I am using the org.jboss.seam.servlet.SeamServletFilter to handle request

[jboss-user] [JBoss Seam] - Re: Facelets error or Seam error?

2006-07-11 Thread bsmithjj
| @Name("linkEditor") | @Scope(ScopeType.CONVERSATION) | public class LinkEditor implements Serializable { | | public String deleteLink() { | log.info("deleteLink() - linkId="+linkId); | if (linkId != null) { | Transaction tx = appssoDB.beginTransac

<    1   2   3