Its hard to know what causes that. What is #{fileSystemManager}? where is it in
your deployed archive?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111888#4111888
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111888
Hi Pete,
As this may be true, I'm still having troubles with UseJBossWebLoader=false and
JSF, eg when using RichFaces' Tree and adviseNodeOpened, throwing this
exception:
| 06:11:09,568 ERROR [STDERR] Dec 10, 2007 6:11:09 AM
com.sun.facelets.FaceletViewHandler handleRenderException
| SEVE
useJBossWebLoader is a "hack" to force everything onto the same classloader.
Why do you need it? The main reason was RichFaces but that now has split out an
API.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110572#4110572
Reply to the post :
http://www.jb
We've ran into this problem as well. Setting UseJBossWebLoader=false won't
completely fix the problem either, you'll need to make sure you're not
specifying the a loader repository in jboss-web.xml either.
We ran into this problem with Seam+Trinidad, and what happens is that Seam's
FaceletsRen
We aren't planning to spend time making this work with UseJBossWebLoader=true.
What is your case? Let us know what jars you have where, and post relevant
code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057160#4057160
Reply to the post :
http://www.jb
I confirm it is the UseJBossWebLoader set to true that make the email fails. I
have to set to true coz I'm using rich faces drag and drop and it needs to
import the DropEvent class (org.ajax4jsf.dnd.event.DropEvent).
You suggested to put anything in the WAR, but how can I do with my case?
Is th
Sorry, dependencies on RichFaces I meant to say.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056501#4056501
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056501
___
jboss-
Yes. Be more careful about how you package your classes and don't put anything
which has dependencies in your EAR class loader, but instead on the web
classloader. Facelets functions can help a lot here.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056499
do you know if there is solution in the mean time?
[ i hope to combine richfaces tree and drag and drop with seam mail ]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056492#4056492
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
do you know if there is solution in the mean time?
[ i hope to combine richfaces tree and drag and drop with seam mail ]
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056490#4056490
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
I've opened a JIRA issue for this problem:
http://jira.jboss.org/jira/browse/RF-264
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053272#4053272
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053272
__
I have additional information (for my particular case):
Our web application uses the Richfaces tree widget
http://labs.jboss.com/file-access/default/members/jbossrichfaces/freezone/docs/devguide/index.html
In implementing the necessary data structure support, I encountered a class
loading proble
The JIRA entry is closed - but this problem persists. Is anyone making any
progress?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049924#4049924
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049924
_
Hi,
I didn't noticed this topic and I started a new one (sorry). I used seam-gen
and the developer guide informations and it give me the same error!
I'm using the latest version of Seam and JBoss AS.
here my topic:
http://jboss.org/index.html?module=bb&op=viewtopic&t=108791
Demetrio
View the
I send you a mail to the address, that is given in your profile.
Are you finished with download?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037639#4037639
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037639
Thanks a lot! I load straight up, it will take one hour approximately. I will
send a link per email with description, it is okay?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037608#4037608
Reply to the post :
http://www.jboss.com/index.html?module=bb&o
Just put it up for download somewhere (e.g. the wiki)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037600#4037600
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037600
___
j
Can i mail the tired project to you, without libs?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037598#4037598
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037598
___
jbos
I can't reproduce this problem. I'll need you to create a test case to show
this. Make it run against Seam 1.2.1.GA and a clean install of AS 4.0.5 via
JEMS
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037593#4037593
Reply to the post :
http://www.jboss
No,
code:
Session:
import kk.rentform.session.mailprocessor.AsynchronousMailProcessor;
|
| @Name("regist")
| @Scope(ScopeType.CONVERSATION)
| @Stateless
| public class Regist implements RegistInterface{
| @In
| private Usr usr;
|
| @PersistenceContext
|
Is this using the mail example?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037580#4037580
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037580
___
jboss-user mailing list
Hello, i get the same exception:
| 16:40:42,818 ERROR [STDERR] java.lang.IllegalStateException: No Factories
configured for this Application. This happens if the faces-initialization does
not work at all - make sure that you properly include all configuration
settings necessary for a basic fa
AFAICS this has nothing to do with Seam email support. so please start a new
topic
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030507#4030507
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030507
___
i also get same error when using jsf with jboss
| 2007-03-21 17:42:50,281 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/PowerPortlet].[Faces
Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| java.lang.NullPointerException
| at
javax.fac
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
Brad, is this working for you now?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025934#4025934
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025934
___
jboss-user mailing l
In fact
http://jira.jboss.com/jira/browse/JBSEAM-950
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023413#4023413
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023413
___
j
Brad, just to keep you updated: I'm still working on the testcase - I should
manage to get it all finished tomorrow, so the next time my laptop meets the
internet after that there should be a testcase at least :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=
Sorry, I got quite a long way last night sorting out the example (which shows
it) but didn't quite get there, hopefully tonight or if not, sometime on
Thursday I'll have a testcase.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023077#4023077
Reply to the p
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
___
The WACL should *always* be used as jsf-facelets.jar is in WEB-INF/lib.
We don't think its facelets that is the problem, but probably JBoss AS.
Anyway, I now have a reasonably simple working testcase of this going wrong (I
just need to tidy it up a bit and make it easier to run) - hopefully i'l
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
anonymous wrote : And, I found that even if the classloader inside
FaceletsRenderer is the WACL then the UCL may be used to initialise facelets.
Oops, no, thats not right...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022164#4022164
Reply to the post :
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 special war thing).
So, if you get th
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
"bsmithjj" wrote : Pete,
|
| Here is a report on the classloader situation just before I invoke my SLSB
that sends email:
Sorry, I meant on entry to the method called by JSF (i.e. is something changing
your classloader between JSF calling the action method and you calling the
MailSenderBea
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
Brad, I've managed to replicate your problem doing this:
Thread.currentThread().setContextClassLoader(facesContext.getClass().getClassLoader());
inside FaceletsRenderer.render() (in the mail example facesContext is using the
UCL).
I'm not sure under what circumstances the context's classloader
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,
And
* If you place everything in the ear myfaces blows up when rendering email
* Placing the relevant taglibs where both classloaders can get them is a
workaround
I *think* that the FaceletsRenderer needs to make sure its using the correct
classloader?
View the original post :
http://www.jbos
So, to sumamrise the problem as I understand it:
* the FaceletsRenderer calls out to facelets to render the page (making no
alteration to the classloader used)
* Normally the classloader used is the WebappClassLoader (it is in the examples
always afaics) HOWEVER sometimes it ends up being the JB
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/
This is very useful information :) I'm hoping to work on this at some point
this weekend.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021208#4021208
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021208
___
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
|
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
Just to check, you're calling Renderer.instance().render(template) from a
method that has been called "directly" from JSF not via a JBPM action (or some
other indirect method e.g. Events) - i.e. the render is by the method called
from JSF or by a method it calls etc.
I know there are issues cal
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
Also, I'll see if I can replicate the problem by restructuring the mail example
along the ear layout you've described above. If you could post your
application.xml that would help with this :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021054#4021054
Re
The only reason I ask for a seam-gen based project is that it comes with a
build.xml/structure I'm familiar with hence reducing the complexity for me.
I'm not going to ask you to send your whole project through as it would takes
days to understand it. I'm pretty sure (as are you I think) the pr
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?
As I've said before, this problem is subtle and so to be able to help any
further I need a simple example (ideally built on seam-gen) showing the
problem. Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020812#4020812
Reply to the post :
http://www.j
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
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
Also, specifically, I would make sure you have facelets and myfaces-impl not in
the ear root but either in jsf-libs or WEB-INF/lib
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017643#4017643
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
I agree its classloading related. As I said, I can take a look, but i'm not
convinced I would have any more luck than you!
So, this is how I lay it out:
1) Use the default JBoss (4.0.5.GA) install (so myfaces in jsf-libs)
2) Put everything I can, especially the jars that provide UI (so jsf-face
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
No, I've only tested with the version that Seam is currently including (1.1.12).
If you've worked through my above suggestions, please put a simple example that
shows the problem in JIRA and I'll work through it.
Btw, sorry about being terse yesterday ;)
View the original post :
http://www.jbo
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
Hmm. I have to say I haven't seen this before.
Can you get the mail example working?
I would suggest following it's layout - jboss-seam-mail.jar and
jboss-seam-ui.jar, jsf-facelets.jar in WEB-INF/lib rather than the ear (and
really myfaces-api/impl as well)
Otherwise, I would suggest wrappi
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
myfaces or ri? portal or normal?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016549#4016549
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016549
___
jboss-user mailing lis
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
What environment are you in?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016521#4016521
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016521
___
jboss-user mailing list
jb
63 matches
Mail list logo