[JBoss Seam] - Re: need to specify the whole package name with org.jboss.se
by trouby
Better,
Looks like there's an issue with the xml components file of seam's jar file.
Following is the stack trace,
| [#|2007-02-23T06:22:57.413+0200|SEVERE|sun-appserver-ee9.1|javax.enterprise.system.container.web|_ThreadID=10;_ThreadName=main;_RequestID=06c4caa0-8019-44cf-8f5f-3c165cf6b171;|WebModule[/jboss-seam-glassfish]PWC1275: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
| java.lang.RuntimeException: error while reading file:/opt/glassfish/domains/domain1/applications/j2ee-apps/jboss-seam-glassfish/jboss-seam_jar/META-INF/components.xml
| at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:112)
| at org.jboss.seam.init.Initialization.<init>(Initialization.java:83)
| at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
| at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4414)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:5069)
| at com.sun.enterprise.web.WebModule.start(WebModule.java:299)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:960)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:944)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
| at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1549)
| at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1192)
| at com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1117)
| at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
| at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:208)
| at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
| at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
| at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
| at com.sun.enterprise.server.PEMain.run(PEMain.java:326)
| at com.sun.enterprise.server.PEMain.main(PEMain.java:260)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
| Caused by: org.dom4j.DocumentException: jboss.com Nested exception: jboss.com
| at org.dom4j.io.SAXReader.read(SAXReader.java:353)
| at org.dom4j.io.SAXReader.read(SAXReader.java:264)
| at org.jboss.seam.util.XML.getRootElement(XML.java:16)
| at org.jboss.seam.init.Initialization.initComponentsFromXmlDocuments(Initialization.java:108)
| ... 23 more
| |#]
|
|
Many thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023156#4023156
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023156
19Â years, 1Â month
[JBoss Seam] - Re: Multiple Window/Tabs isolated conversations
by svadu
"h.cahyadi" wrote : Are you sure that we must put the scope into "conversation"? bacause in the booking demo I saw the the scope is SESSION and it can perform multiple windows transaction
|
| anonymous wrote :
| | Why not just use the paging built into Query objects?
| |
|
| what do you mean by that, could you explain me?
|
| Thanx
| -haric-
I think I may be understand what's the confusion here. In the examples the result lists are stored in session (on my opinion) for simplicity (or demo) purposes.
I have not actually tried to keep result lists isolated (in conversation scope) but my guess would be is that you can a long-running conversation upon first search request (and then perform @Begin(join=true) for each pagination) but this all would work only provided that you have started search queries in separate windows/tabs (otherwise you may get situation similar to the current one).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023149#4023149
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023149
19Â years, 1Â month
[JBoss Seam] - Re: Is it possible to send mail from asynchronous method
by apushadow
I'm getting this same stacktrace (NPE in FaceletsRenderer). I'm trying to use Quartz to send an email at a scheduled time. The method kicks-off when it should, but the rendering fails:
| java.lang.NullPointerException
| at org.jboss.seam.ui.facelet.FaceletsRenderer.wrapResponseWriter(FaceletsRenderer.java:95)
| at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:52)
| at org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:38)
| at com.akimeka.lunchvote.EmailerImpl.sendEmail(EmailerImpl.java:38)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| at java.lang.reflect.Method.invoke(Unknown Source)
| ...
|
Line 38 of EmailerImpl is "renderer.render(templateFileName)".
Any idea when JBSEAM-892 will be resolved? Or does anyone know of any other library that takes care of sending emails that will work in its own thread?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023148#4023148
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023148
19Â years, 1Â month