Hi,
I'm currently using quartz as a scheduler in a seam 2.0B application.
It works fine with its default configuration (I think the quartz.properties in
the quartz jar file itself).
Now I need to change the configuration in order to change some parameter
(misfireThreshold) and to use the JobSto
Hi,
I migrated an application (using facelets an myFaces and deployed as EAR)
working with seam 1.1.x to seam 2.0B.
In order to get it working after exploding to JBoss 4.2.1GA, I had now to move
the lib directory from myApplication.ear/myApplication.war/WEB-INF to
myApplication.ear directly; o
Sorry, actually I was very generic: I am using a custom tag-library (working on
previous seam version).
I had the error during home page loading: I checked the class
"com/sun/facelets/tag/AbstractTagLibrary" is present in jsf-facelets.jar unde
WEB-INF/lib.
This is the lib code and stack trace
The project was originally generated by seam-gen and it is deployed using
JBoss-IDE 2.0B.
When I run build.xml/explode it deploys JsfEcoLibrary under
/deploy/myApplication.ear/myApplication.jar/WEB-INF/lib with all the other jars.
View the original post :
http://www.jboss.com/index.html?module
Sorry, I made a mistake, the deploy dir is, of course, :
"deploy/myApplication.ear/myApplication.war/WEB-INF/lib"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073277#4073277
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
So, just to summarize, the canonical deploy (in the war file) does not work.
Instead it works if the libs are manually moved directly under the dir "lib" of
the ear file.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073283#4073283
Reply to the post :
http
OK.
This is the tree created by build.xml explode tag : it gets the exception I
reported previously:
C:\JBOSS\JBOSS-4.2.1.GA\SERVER\DEFAULT\DEPLOY\SCHEDULER.EAR
| | antlr-2.7.6.jar
| | antlr-|.0b7.jar
| | drools-compiler-4.0.0.MR2.jar
| | drools-core-4.0.0.MR2.jar
| | janino-
Ok, just a little update:
- I configured the JBoss run script adding the following statement to the JVM
parameters:-Dorg.quartz.properties="C:/jboss/jboss-4.2.1.GA/server/default/deploy/scheduler.ear/scheduler.war/WEB-INF/classes/db_quartz.properties"
The db_quartz.properties looks like that:
org
Just to be sure I create again the tables for quartz using the sql script of
the ver. 1.5.2, but I got no-change.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073465#4073465
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
Just a question: does anyone experimented any problems with class loading from
applications jars (event not concerning the custom tags), maybe coused by the
order on component initialization?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073466#4073466
Repl
Many Thanks for your reply, Pete.
Just to be sure I've understood:
- I created a project named "schedule" with seam-gen
- I loaded the project in JBossIDE
- I created my classes and tag libs under the source folders of the project.
Now, I deployed for test using the explode tag of the build.xml c
Ok, I modified the build.xml & it works now.
Many thanks, pete.
Since I'm a bit confused about the sequence & the relationships among the
classloaders used in a JBoss EE application (server, ear, war, ...), I will try
to scan the JBoss (or maybe the J2EE) docs about this.
Is anyone able to sug
I try to explain the situation in words as first, since the code would be too
long.
I have a Statfull bean that is an abstract class (AB1).
I have:
- a Normal statless bean (SL1)
- a Statfull bean (SFa) that inherits from AB1 and Inject the local interface
of SL1.
- a Statfull bean (SFb) that i
SECOND PART (it was too long):
| at
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
| ... 44 more
| Caused by: java.lang.NullPointerException
| at it.em.test.ConcreteFirstBean.method3F(ConcreteFirstBean.java:40)
Hi,
let's consider the following case ;
@Stateful
| @Name("firstRole")
| @Role(name="secondRole", scope=ScopeType.CONVERSATION)
| @Interceptors(SeamInterceptor.class)
| @Startup(depends={"otherBean"})
| public class MyBean{
| ...
| }
Does the "@Startup" annotation allow a way to s
Missing or useless? (I would think missing, but...)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075895#4075895
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075895
___
jbo
Thanks for the answers.
Currently I am using Quartz "In Memory" recreating all the Jobs at the server
restart reading the configuration from some application's tables: of course my
custom tables, accessed by JPA, are very similar to those used by Quartz itself.
When it will be possibile in SEAM
The use cases are all the posibble intersections between the use cases of the
two features:
- SEAM allows beans having more roles, possibly in different scopes (of course
this is useful)
- SEAM allows beans beeing instanciated in a scope at startup (this is useful
too)
Why (if not for technica
I'm making a control set program for an intranet scheduler.
The program allows to create a task definition (i.e. a name, a group, a Java
class, a description, parameter definition with possibly default, required
flag, ...), one or more Jobs for each definition (i.e. with different cron
scheduli
I.e. using two distinct (but amost equals) EJBs each with a single name (no
roles)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076107#4076107
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076107
___
It sounds right.
Thanks Michael.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076639#4076639
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076639
___
jboss-user mailing li
I created a raw sample in Jira:
http://jira.jboss.org/jira/browse/JBSEAM-1869
I am not sure about how it is "SEAM oriented" (i.e. I use some custom EJB
instead that the SEAM framework) but I hope it icould be a starting point to
discuss about a scheduler interface in SEAM.
View the original p
anonymous wrote : Without knowing the details, I would have thought there were
neater ways of doing this than making this extension to Seam. What solution did
you use in the end?
Pete, if you referred to JSF recursive structures using backing EJBs, of course
it presents some major problems (the
anonymous wrote : Without knowing the details, I would have thought there were
neater ways of doing this than making this extension to Seam. What solution did
you use in the end?
Pete, if you referred to JSF recursive structures using backing EJBs, of course
it presents some major problems (the
Since I've some trouble in extracting a significant frame of code, I'll try to
put the question in general terms:
During the same SEAM request to an action (an EJB method), I build a set of
entities navigating relations from other entities returned by different
queries, expecting the same entit
Ok Andy, first of all many thanks for your reply.
What you wrote is very interesting, but I am not sure about a point: I
understand I can get two objects for the same entity during the same request
due to some implicit flush before a query (I think this behaviour is controlled
by hints), but wo
26 matches
Mail list logo