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;
|
|
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
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
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',
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
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
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
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
"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
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
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
"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
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
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
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
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=
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
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
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
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.
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
___
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
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
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,
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
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
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
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 :
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
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
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
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
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
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()
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
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
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
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
Hello,
I am using the new tag.
I have this facelets component:
|
|
|
|
| Permission Name
|
|
|
|
|
|
|
|
|
|...more stuff
|
which is included from another facele
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
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
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
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
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.
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
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
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
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
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
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
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&
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
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)
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
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.
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
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
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
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
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
| @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
201 - 261 of 261 matches
Mail list logo