[JBoss Seam] - Problem when I deploy the numberguess example ...
by fquimbay
Greetings ...
When I deploy the numberguess example from the examples' path:
| C:\cd jboss-seam-1.2.1.GA\examples\numberguess
| C:\ant
|
I saw this error on muy jboss-4.2.0:
| 08:23:05,718 INFO [[/seam-numberguess]] WARNING: Component _id0 just got an automatic id, because there was no id assigned yet. If this component was created dynamically (i.e. not by a JSP tag) you should assign it an explicit static id or assign it the id you get from the createUniqueId from the current UIViewRoot component right after creation!
| 08:23:05,718 ERROR [UIComponentTagBase] Component javax.faces.component.UIViewRoot is no ValueHolder, cannot set value.
| 08:23:05,718 ERROR [UIComponentTagBase] Component javax.faces.component.UIViewRoot is no ValueHolder, cannot set value.
| 08:23:05,718 ERROR [[jsp]] El Servlet.service() para servlet jsp lanzó una excepción
| java.lang.IllegalArgumentException: Component _id0 is no ActionSource
| at org.jboss.seam.ui.tag.UIComponentTagBase.setActionProperty(UIComponentTagBase.java:313)
| ...
| ...
| 08:23:05,734 ERROR [ExceptionFilter] uncaught exception
| javax.servlet.ServletException: java.lang.IllegalArgumentException: Component _id0 is no ActionSource
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
| ...
| ...
|
Any idea ... thx, for your help ...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074427#4074427
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074427
18Â years, 11Â months
[JBoss Messaging] - Re: JBM and JAAS Client authentication
by timfox
"btsibr" wrote : I think the only issue is that it isn't possible to propagate the client credentials from the JAAS client login to the standard ConnectionFactory. This would be a feature request.
|
Please feel free to add a feature request in JIRA.
(BTW this feature is not supported by JBoss MQ either.)
anonymous wrote :
| However, it's still a puzzle why I was allowed to send to the destination without providing credentials, but was unable to read from it. This is the only potential 'bug'.
|
Can you provide a test case that demonstrates the bug?
anonymous wrote :
| My mention of the CallerIdentityLoginModule is a separate configuration issue related to the use of the JmxXA connection factory from EJBs/MDBs. Although, for MDBs it would be nice if it was possible to use the @RunAs role without having to provide a username and password (without a username and password I get an exception). In our certificate based system, we don't use passwords anywhere. Of course this is more of a feature request than a bug.
|
This is MDB/app server security, not JBM security.
You could try posting on their forum and ask if you can add a JIRA feature request, but we don't handle these kind of issues.
anonymous wrote :
| Incidentally, is there a schedule for 1.4.0CR2 or GA? I'm experiencing the issue where improperly disconnected sessions eventually cause the server to hang up because the bundled version of remoting doesn't have the callback timeout.
It will be released when we have cleared the issues.
You can help if you want, we are a very small team, and always in need of help.
I can assign you some JIRA tasks if you want?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074421#4074421
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074421
18Â years, 11Â months
[JBoss Seam] - EL-exceptions in email render from async class
by Frippe
I have an asynchronus method sending emails, but I can't get any values to work due to EL-exceptions.
My class:
| @Name("emailProcessor")
| @AutoCreate
| public class EmailProcessor {
|
| @Asynchronous
| @Transactional
| public QuartzTriggerHandle scheduleSend(@Expiration Date endDate, Company company) {
| for(Person p : company.getPersons()){
| try {
| renderer.render("/mails/reminder.xhtml");
| log.debug("Email sent successfully");
| }
| catch (Exception e) {
| log.debug("Email sending failed: " + e.getMessage());
| e.printStackTrace();
| }
|
|
| }
|
| }
|
| }
|
And my XHTML-file:
<m:message xmlns="http://www.w3.org/1999/xhtml"
| xmlns:m="http://jboss.com/products/seam/mail"
| xmlns:h="http://java.sun.com/jsf/html">
|
| <m:from name="PÃ¥minnelsemailet" address="admin at two.se" />
| <m:to name="{p.fullName}">{p.email}</m:to>
| <m:subject>Glöm inte. . .</m:subject>
|
| <m:body>
| <p><h:outputText value="Hej {p.name}"/>,<br/>
| Glöm inte att ...
| </p>
| </m:body>
|
| </m:message>
If I cut out the EL-expressions, the mails are sent successfully.
I'm not quite sure how to outject the persons to be able to send the mails, anyone got an idea?
I probably get an RTFM on this one, but I got stuck on this...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074418#4074418
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074418
18Â years, 11Â months
[Remoting] - Re: Config for EJB3 over servlet-invoker with compression
by MarcReis
Hi Ron,
thanks the help!
The error messages from the marshaller and the InvokerLocator where due to the missconfiguration in my Jul 7 posting. With the config as under Jul 23 they wont appear. Sorry I did not make that clear.
As to the compression. I removed the dataType element in the configuration. But unfourtunatly this does no difference to the compression.
I have loged the remoting with TRACE level to see what happens when I invoke:
2007-08-15 14:18:59,848 TRACE org.jboss.remoting.ServerInvoker] org.jboss.remoting.transport.servlet.ServletServerInvoker@1270107 successfully dispatched invocation, returning org.jboss.aop.joinpoint.InvocationResponse@d5cc1f from subsystem 'AOP' to client 4sgm2f-1u5hp7-f5dshz0z-1-f5dsiry7-4g
| 2007-08-15 14:18:59,848 TRACE [org.jboss.remoting.serialization.impl.java.JavaSerializationManager] Creating ObjectOutputStream
| 2007-08-15 14:18:59,876 TRACE [org.jboss.remoting.transport.servlet.web.ServerInvokerServlet] processRequest, ContentLength: 1039
| 2007-08-15 14:18:59,876 TRACE [org.jboss.remoting.transport.servlet.web.ServerInvokerServlet] processRequest, ContentType: application/octet-stream
| 2007-08-15 14:18:59,877 TRACE [org.jboss.remoting.serialization.impl.java.JavaSerializationManager] Creating ObjectInputStreamWithClassLoader
| 2007-08-15 14:18:59,877 TRACE [org.jboss.remoting.ServerInvoker] org.jboss.remoting.transport.servlet.ServletServerInvoker@1270107 received [advisedMethod=null, unadvisedMethod=null, metadata=[metaData={DISPATCHER={OID=[type=AS_ISvalue=jboss.j2ee:ear=th.ear,jar=lm-ejb.jar,name=UserBean,service=EJB3,element=ProxyFactory]}, REMOTING={SUBSYSTEM=[type=AS_ISvalue=AOP], INVOKER_LOCATOR=[type=AS_ISvalue=InvokerLocator [servlet://o06.company.com:8080/servlet-invoker/ServerInvokerServlet]]}}], targetObject=null, arguments=null]
| 2007-08-15 14:18:59,878 TRACE [org.jboss.remoting.ServerInvoker] org.jboss.remoting.transport.servlet.ServletServerInvoker@1270107 dispatching InvocationRequest[133f619, AOP, [advisedMethod=null, unadvisedMethod=null, metadata=[metaData={DISPATCHER={OID=[type=AS_ISvalue=jboss.j2ee:ear=th.ear,jar=lm-ejb.jar,name=UserBean,service=EJB3,element=ProxyFactory]}, REMOTING={SUBSYSTEM=[type=AS_ISvalue=AOP], INVOKER_LOCATOR=[type=AS_ISvalue=InvokerLocator [servlet://o06.company.com:8080/servlet-invoker/ServerInvokerServlet]]}}], targetObject=null, arguments=null]] from client 4sgm2f-1u5hp7-f5dshz0z-1-f5dsirzi-4i to subsystem 'AOP'
| 2007-08-15 14:18:59,879 TRACE [org.jboss.remoting.ServerInvoker] org.jboss.remoting.transport.servlet.ServletServerInvoker@1270107 successfully dispatched invocation, returning org.jboss.aop.joinpoint.InvocationResponse@61ef35 from subsystem 'AOP' to client 4sgm2f-1u5hp7-f5dshz0z-1-f5dsirzi-4i
| 2007-08-15 14:18:59,879 TRACE [org.jboss.remoting.serialization.impl.java.JavaSerializationManager] Creating ObjectOutputStream
| 2007-08-15 14:19:40,209 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mi, 15 Aug 2007 14:19:40>
|
Sincerely
Marc
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074413#4074413
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074413
18Â years, 11Â months