[JBoss Eclipse IDE (users)] - create a simple EJB 3.0 application
by weiming
I just wonder how to create an EJB3 application on eclipse. I have installed JBoss 4.0.4, Eclipse 3.2, JBoss Eclipse IDE 1.6 GA with patch.
I tried to use eclipse embeded EJB 3.0 framework, so I clicked File->New->Project. In the Wizard, I chose EJB 3.0 ->EJB 3.0 Project, and clicked Next. I input "Calculator" as project name, then clicked "create a JBoss configration" in Select a JBoss configuration section. Because I installed JBoss 4.0.4 in D:\JBOSS_HOME, I createed a new configration under JBoss 4.0.x, and choose D:\JBOSS_HOME\4.0.4 as Home Directory. As I created a folder "myapp" based on "default" in JBoss deploy folder, I chose myapp as Server Configuration (actually, it doesn't matter if I chose default or myapp). Notice, I set jdk1.5.0._07 as Runtime JRE in JDK tag, becase tools.jar in its lib folder . Everything seems going well so far. However, when I click Finish in Select a JBoss configuration window, an EJB3 Tools-Error popped up: "The selected configuration (New_configration) does not contain the expected EJB3 libraries. Please install JBoss with EJB3 enabled or try another configuration".
Can anyone tell me how to fix this error please?
Regards
Weiming Chen
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977460#3977460
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977460
19 years, 7 months
[JBoss Seam] - Re: Postback/form resubmission detection
by alpheratz-jb
Sigh. Nothing is ever easy, eh!
I get:
===
javax.servlet.ServletException: could not instantiate ClassValidator
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
...
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
18:22:05,562 INFO [SeamExceptionFilter] killing transaction
18:22:05,562 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
java.lang.IllegalArgumentException: could not instantiate ClassValidator
at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:265)
at org.hibernate.validator.ClassValidator.createMemberValidator(ClassValidator.java:233)
at org.hibernate.validator.ClassValidator.initValidator(ClassValidator.java:176)
...
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key validator.length
at java.util.ResourceBundle.getObject(Unknown Source)
at java.util.ResourceBundle.getString(Unknown Source)
at org.hibernate.validator.ClassValidator.replace(ClassValidator.java:518)
at org.hibernate.validator.ClassValidator.createValidator(ClassValidator.java:260)
... 46 more
===
I saw this:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928305
Is this still an issue...should I go to the shiny new version in CVS (planning to give it a try anyhow...)
Cheers,
Alph
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977459#3977459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977459
19 years, 7 months
[JBoss jBPM] - Re: Task Nodes - conditionally create tasks?
by Olivier_Debels
anonymous wrote : There's no way to tie a task instance to a task node. It's only through the task def that there's a link between task/tasknode.
AFAIK you don't need the link task/tasknode. You can just have a task def tied to the process definition and create task instances in the task node (using event handlers f.e.). You can actually create task instances in any node.
anonymous wrote : but it's important we have the task/tasknode relationship
Why?
anonymous wrote : We could just have NO tasks created at node entry, and manually create a task instance ourselves, but allowing the tasks to be created conditionally seems more elegant
You can also create the tasks defined in the task node (mandatory ones), and create the ones defined at process definition level optionally.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977455#3977455
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977455
19 years, 7 months