[JBoss Seam] - ca anybody help?
by my_aro
i have clearly followed http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamProject to configure on my eclipse workspace... and tried it twice.. but i still got same error:
org.jboss.deployment.DeploymentException: Failed to find module file: el-api.jar
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:257)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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 org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
07:54:43,484 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo@f65f6722 { url=file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/jboss-seam-booking.ear }
deployer: org.jboss.deployment.EARDeployer@136a43c
status: null
state: FAILED
watch: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/jboss-seam-booking.ear
altDD: null
lastDeployed: 1168991683468
lastModified: 1168991683375
mbeans:
it seems that el-api.jar is not within the ear file... how can i solve this? help please...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002522#4002522
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002522
19 years, 3 months
[JBoss Seam] - Re: Starting a converstaion and then it ain't there any more
by seamNoobie
Thanks for your reply.
That was the "register" bean and yes I have now as you are right it didnt need it.
However it still fails on the below thread (create) which is conversational.
However, as you can see above, getting rid of partial submit on the fields has got me round the problem (which may be my config for using icefaces with Seam).
| @Begin
| public String startCreate() {
| /*
| * We get here from the Menu option Users->Create.
| * Simply display the screen.
| */
| log.info(">startCreate");
| log.info("Starting Registration conversation.");
| if (conversation != null) {
| log.info("Conversation. (" + conversation.getId() + ")");
| }
| log.info("<startCreate");
| return "userCreate";
| }
|
| public String checkDetails() {
| log.info(">checkDetails");
| log.info("processing User Details " + user.toString());
|
| log.info("checking if User already exists for username " + user.getUsername());
| List matchedUsers = em.createQuery(
| "from User u where u.username = :username").setParameter(
| "username", user.getUsername()).getResultList();
| boolean usernameExists = (matchedUsers.size() != 0);
| log.info(" exists =>" + usernameExists);
|
| if (usernameExists) {
| // facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN,
| // "username", "user_create_username_exists"); -- DOES NOT WORK IN SEAM
| facesMessages.addFromResourceBundle("submitAttempt", "user_create_username_exists");
| }
| log.info("<checkDetails");
| return "userCreateConfirm";
| }
|
| public String revise() {
| log.info(">revise");
| log.info("<revise");
| return "userCreate";
| }
|
| @End
| public String create() {
| log.info(">create");
| user.setCreationDate(new Date());
| em.persist(user);
| facesMessages.addFromResourceBundle("user_create_successful");
| log.info("<create");
| return "success";
| }
|
| @End
| public String cancel() {
| log.info(">cancel");
| log.info("<cancel");
| return "mainMenu";
| }
|
| @Remove
| @Destroy
| public void destroy() {
| log.info(">destory");
| log.info("<destory");
| }
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002498#4002498
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002498
19 years, 3 months
[JBoss Seam] - Re: Starting a converstaion and then it ain't there any more
by seamNoobie
http://www.icefaces.org/JForum/posts/list/0/3412.page#15957
I have been tracking a bug for days now in Seam where I have had sessions just disappearing when I submitted the form.
I found, by trial and error, that if I paused after I entered each field and clicked outside each field that I had partialSubmit on then I didn't get the problems when I submitted the form (this also led to less exception in Phase 6 etc.).
I looked again at your examples of forms using the partial submit and believe you shielded yourself from the problem, probably accidently, by only enabling a submit button when the fields were all valid (so I HAD to wait for all fields to be validated before allowing the submit button to enable - and in fact ensured the user clicked outside the last field to get it to partiallysubmit).
Perhaps this is a red herring but, so far, since turning off partial submit on all my fields I don't get the problem.
I could have my configuration wrong of course (I hope - as partialSubmit on field entry was neat).
I still can use the components (Menu, Sortable/paged List, Tree) etc.
I can supply a MyEclipse project for you to play with.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002492#4002492
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002492
19 years, 3 months