[jboss-user] [JBoss Seam] - HibernateEntityHome vs EntityHome
Hello, Are there any difference between these two? For example: I have generated, with seam-gen, a short app containing one Entityclass called person.. Here is the generated code for the Home object: @Name("personHome") | public class PersonHome extends EntityHome{ | @RequestParameter | Long personId; | | @Override | public Object getId(){ | if (personId==null) { | return super.getId(); | } else { | return personId; | } | } | | @Override @Begin | public void create() { | super.create(); | } | } Now i wanted to use HibernateEntityHome. The generated files were included in a working app with a hibernatesession. Then i modified the sources to match the new environment. The only intended change to the above file was to change EntityHome to HibernateEntityHome. But this results in an exception. (Session is null) After an non intended change the class read like so: @Name("personHome") | public class PersonHome extends HibernateEntityHome{ | @RequestParameter | Long personId; | | @In(create = true) private Session bazDatabase; | @Override | public Session getSession(){return bazDatabase; } | | @Override | public Object getId(){ | if (personId==null) { | return super.getId(); | } else { | return personId; | } | } | | @Override @Begin | public void create() { | super.create(); | } | } 1. Why is the entity manager implicit and the hibernatesession is not? 2. Why must i specify create="true"? I have set auto-creat="true" on the database 3. Is it possible to make the session implicit? 4. how? Ciao Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012885#4012885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Want to get All leaving Transition
Hi All JBMP Gurus, I'm very new to JBMP, infact just 8-9 days old. My problem is I'm not able to get the all leaving transition of any node. I have a process definition like below. After reaching at state 'one' I tried to get the all leaving transition just by calling processInstance.getRootToken().getNode().getLeavingTransions(). But I'm getting null. I went through the doc provided by JBPM and I guess according to this I should get a list of all transition starting from this node. I also tried to find something useful according to my standard on this forum but failed to get one. Seeks somebody help. Thanks in advance With Regards Umesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012886#4012886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - LdapExtLoginModule && PartialResultException
I try to use LdapExtLoginModue to authenticate over a windows active directory. For some of my users I have a very strange exception: [url]Exception in thread "main" javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213) 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 javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at Main.main(Main.java:41) Caused by: javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=fr,dc=mycompany,dc=net' at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2763) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171) at org.jboss.security.auth.spi.LdapExtLoginModule.rolesSearch(LdapExtLoginModule.java:421) at org.jboss.security.auth.spi.LdapExtLoginModule.createLdapInitContext(LdapExtLoginModule.java:348) at org.jboss.security.auth.spi.LdapExtLoginModule.validatePassword(LdapExtLoginModule.java:229) at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:210) ... 11 more[/url] When the login module tries to get the role of the authenticated user, the roleSearch method failed. I go through this method with a debugger. ctxt.search return a NamingEnumeration that contains 1 element, a while iterate over the enumeration. Exception is thrown in the while when the hasMore method is invoked for the second time. I have patch the code to replace hasMore with hasMoreElements. That fiw my problem. Finally I replace in searchRole and bindDNAuthentication methods the hasMore() by hasMoreElements(). I'm not able to understand why hasMore method throws an exception for some of my config and not for others. Is that a bug in the LdapExtLoginModule ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012887#4012887 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: There is no LocalTxConnectionManager.class?
May be I should move this question to JBossTransactions or TransactionManager forum? Greetings View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012888#4012888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: beginners question: how to end path of execution
Hello ! thanks for the reply, but no that doesn't work ! i've tried it. for now i use this workaround : on each node i set the default transition to an end-state. actionHandler View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012890#4012890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to trace failed entityManager injection?
I know it seems trivial but I can not see where the problem is, please someone View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012892#4012892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: beginners question: how to end path of execution
xml posting didn't work ... second try: | | | | myActionHandler | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012893#4012893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem in logout
All your information was so helpful. I just solved my problem by renaming my portal as default and naming the original default with another name. Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012898#4012898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Who uses EntityHome objects?
Finally i got it. | | | | | This means that the value of the accountId parameter will be set to the Id of accountHome. This part was not obvious to me.:-( And The value of the accountHome id will be remembered in the parameter. This comes out very clearly from the docs. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012901#4012901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: User Experiences with IceFaces & How important are compo
I'm a little late, but in my application I've massive problems with ice:dataTable and @Factory, @DataTable and @DataTableSelection. The workaround you once mentioned with Tomahawk (see Wiki) doesn't work anymore. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012906#4012906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Showing a secured page when user is logged in
To solve a similar problem I created my own login module that checks that the user exists in LDAP first. If this is so and the user doesn't exist in the portal DB, it creates it (with same username and password), using the user and roles module that you can get from JNDI. It also creates roles if needed. You can maybe use variations of this idea to solve LDAP-Portal integration problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012907#4012907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - LdapExtLoginModule && multiple DC
My active directory is made of multiple DC, tree looks like: | dc=mycompany || dc=rd | |--- dc=it || dc=QA | In my jaas config, I've tried to set the URL to ldap://mycompany and the baseCtxDN="dc=mycompany". I do not try to connect with a user in a sub DC. To make it works, I need to provide the complete URL and the complete baseCtxDN. This parameters are options of the login module, they can not be dynamically change at runtime. How do you solve this problem of multiple DC ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012911#4012911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: FlushMode.MANUAL being ignored???
Emmanuel's reply from the HEM forum. "emmanuel" wrote : Probably because I haven't implemented that yet :-) | Check JIRA and add one if it's not there. Put version 3.2.2 as a target. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012914#4012914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seamspace example does not deploy
Hello, from the forum i have the assumption that the seamspace example is working. I have not succeeded in deploying it. Wether for seam1.1.5GA not for the CVS Verrsion from todays morning. The last attempt gives this : java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern or use @JndiName: profile 10:05:55,078 INFO [STDOUT] 10:05:55,078 INFO [ServletContextListener] Welcome to Seam 1.1.6.GA | 10:05:55,125 INFO [STDOUT] 10:05:55,125 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework | 10:05:55,140 INFO [STDOUT] 10:05:55,125 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms | 10:05:55,140 INFO [STDOUT] 10:05:55,140 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools | 10:05:55,140 INFO [STDOUT] 10:05:55,140 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme | 10:05:55,156 INFO [STDOUT] 10:05:55,156 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space.jar | 10:05:55,156 INFO [STDOUT] 10:05:55,156 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss- | seam-ui.jar | 10:05:55,171 INFO [STDOUT] 10:05:55,171 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/seam-s | pace.jar | 10:05:55,187 INFO [STDOUT] 10:05:55,187 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar | 10:05:55,203 INFO [STDOUT] 10:05:55,203 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss- | seam.jar | 10:05:55,218 INFO [STDOUT] 10:05:55,218 INFO [Initialization] Namespace: http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools | 10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme | 10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms | 10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] Namespace: http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framework | 10:05:55,250 INFO [STDOUT] 10:05:55,250 INFO [Initialization] reading /WEB-INF/components.xml | 10:05:55,453 INFO [STDOUT] 10:05:55,453 INFO [Initialization] reading jar:file:/E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar!/META-INF/ | components.xml | 10:05:55,531 INFO [STDOUT] 10:05:55,531 INFO [Initialization] reading jar:file:/E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB- | INF/lib/jboss-seam.jar!/META-INF/components.xml | 10:05:55,546 INFO [STDOUT] 10:05:55,546 INFO [Initialization] reading properties from: /seam.properties | 10:05:55,562 INFO [STDOUT] 10:05:55,562 INFO [Initialization] reading properties from: /jndi.properties | 10:05:55,578 INFO [STDOUT] 10:05:55,578 INFO [Initialization] initializing Seam | 10:05:55,578 INFO [STDOUT] 10:05:55,578 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/seam-space.jar | 10:05:55,718 INFO [STDOUT] 10:05:55,718 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss- | seam-ui.jar | 10:05:55,921 INFO [STDOUT] 10:05:55,921 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/seam-s | pace.jar | 10:05:55,953 INFO [STDOUT] 10:05:55,953 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/tmp/deploy/tmp30628seam-space.ear-contents/jboss-seam.jar | 10:05:57,125 INFO [STDOUT] 10:05:57,125 INFO [Scanner] scanning: /E:/IDE/jboss-4.0.5.GA-special/server/default/./tmp/deploy/tmp30628seam-space.ear-contents/seam-space-exp.war/WEB-INF/lib/jboss- | seam.jar | 10:05:58,031 INFO [STDOUT] 10:05:58,031 INFO [Initialization] two components with same name, higher precedence wins: org.jboss.seam.multipartConfig | 10:05:58,062 INFO [STDOUT] 10:05:58,062 INFO [Initialization]
[jboss-user] [JNDI/Naming/Network] - javax.naming.NamingException: Error instantiating web-app JN
Hi, I am getting following error while running a container manager persistance bean javax.naming.NamingException: Error instantiating web-app JNDI-context: No location specified and no suitable instance of the type 'dept.Dept' found for the ejb-ref DeptBean Can anybody tell me where i am going wrong. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012918#4012918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-issues sample
I am trying out the workspace example (example/issues). seam 1.1.5GA/CVS on Jboss 4.0.5.GA The "browse project" function in the switch bar keeps giving me an exception error: javax.servlet.ServletException: Cannot get value for expression '#{projectList.rowCount==0}' org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) and when I am logged in and tries to "select project" under create issues I get this: javax.servlet.ServletException: Could not get property value of component _idJsp1:_idJsp29:0:_idJsp41 org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:61) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) Anybody else running into this problem? Or is it just me? Best Regards, Sam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012924#4012924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Sharing libs
Hi all, Sorry for this newbie question, but I'd like to share an helper archive (.jar) and some classes between the web (.war) and the ejb (.jar) archives inside an ear file. What is the best practice? F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012925#4012925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.1.6
Seam 1.1.6 features several important bugfixes and new features for Seam/Security, including "remember me" functionality, integration of JCaptcha, support for automatic redirects to and from the login page when authorization checks fail and a minor API redesign. Seam's exception handling facility was totally redesigned, to be much more robust and work better with Seam/Security. Also, the seam-gen tool now integrates Seam/Security. This work was all based upon the huge volume of user feedback we received since the 1.1.5 release. Seam's email templates now support attachments, and the PDF and email libraries have been integrated so that a PDF document may be rendered and sent as an attachment in an email just by using a simple facelets include. This release also fixes a serious bug affecting clustered Seam deployments that was introduced in 1.1.5 and enhances the file upload control. Thanks to the guys for working all weekend to get this release out fast. Get it here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=484764 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012927#4012927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sharing libs
Hi, put the helper-jar in the ear and fill the Classpath-element in META-INF of the war and ejb-jar with this entry. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012928#4012928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Please package the dtd and xsd files in the next seam releas
Hello, it seems a good idea for me, when all the .dtd and .xsd files could be packaged in the release. Ciao, Carsten BTW: This file http://jboss.com/products/seam/framework-1.1.xsd still contains the eqbql typo. I have also commented the corresponding JIRA entry but without changing state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012929#4012929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: deploy jboss seam application on oc4j server
I have also tried to deploy application glassfish to OC4J but fail. It throws following error: anonymous wrote : [2007?2?8? ??05:20:48] Application Deployer for jboss-seam-glassfish STARTS. | [2007?2?8? ??05:20:48] Copy the archive to C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear | [2007?2?8? ??05:20:48] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear begins... | [2007?2?8? ??05:20:48] Unpacking jboss-seam-glassfish.ear | [2007?2?8? ??05:20:49] Done unpacking jboss-seam-glassfish.ear | [2007?2?8? ??05:20:49] Unpacking jboss-seam-glassfish.war | [2007?2?8? ??05:20:50] Done unpacking jboss-seam-glassfish.war | [2007?2?8? ??05:20:50] Initialize C:\oracle\ora92\j2ee\home\applications\jboss-seam-glassfish.ear ends... | [2007?2?8? ??05:20:50] Starting application : jboss-seam-glassfish | [2007?2?8? ??05:20:50] Initializing ClassLoader(s) | [2007?2?8? ??05:20:51] Initializing EJB container | [2007?2?8? ??05:20:51] Loading connector(s) | [2007?2?8? ??05:20:51] Starting up resource adapters | [2007?2?8? ??05:20:51] Processing EJB module: jboss-seam-glassfish.jar | [2007?2?8? ??05:20:52] application : jboss-seam-glassfish is in failed state | [2007 ?2?8? ??05:20:52] Operation failed with error: [jboss-seam-glassfish:jboss-seam-glassfish] - No or lifecycle callbacks were specified for interceptor org.jboss.seam.ejb.SeamInterceptor. | I didn't change anything in this EAR. Anything need i further configure. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012931#4012931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please package the dtd and xsd files in the next seam re
Actually they are there, in the src dir and in the jar. But we definitely need a better packaging. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012932#4012932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sharing libs
Thank you. Another pretty basic question, but my servlets lookup ejbs through jndi, so I need interfaces of my ejbs to be known at the web container level. Is it automatic ? Or i need to package interfaces in a jar and put it in the WEB-INF/lib of my .war ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012934#4012934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal vs its competitors
JBoss Portal 2.6 has D'n'D anonymous wrote : As I understood it Alfresco can either run stand-alone using e.g. JBoss AS or integrate with JBoss Portal using JSR-168 portlets. Is there more to the integration with JBoss Portal than portlets, e.g. to act as a replacement JCR repository for JBoss Portal? Yes you got it right, you can either run it standalone (the common way) on JBoss AS *or* use the provided portlets to use in any JSR-168 portal; JBoss Portal, liferay... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012933#4012933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: bijection value causing JSF Error. Misuse, or misunders
Use @Role on the entity bean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012936#4012936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: bijection value causing JSF Error. Misuse, or misunders
I think you've kinda got it a bit backward. Basically Seam has a big map of components that are available. These components are defined either in components.xml with or more usually with the @Name annotation. For accessing pure components these are the only names that are available for you to use in EL and for injection via @In. So you can't put #{searchRecord.xxx} in an EL expression because there is no component called searchRecord. Similarly @In looks for components by using the field/method name unless it is specified explicitly by @In( value="" ). To get your example to work you have to leave the name as profileRecord in the .xhtml or use some method of creating a profileRecord alias. Putting would probably have the effect you are after. It sounds like you might be trying to achieve something similar to what I am at the moment. I'm trying to create a searchTemplate.xhtml facelet template that wraps all the common layout and action hooks of a standard search screen (parameters, grid, search button, rows returned display, pagination buttons etc). Then I'll use the template in a real view page and just populate the parameter grid and data grid definition. On the model side I want to implement all the common logic and magic in a reusable component and allow overriding with custom logic per page (custom validation, grid population etc). So I want do have component per search screen but then access the current search screen in my search template with #{searchBean}. If anyone has any experience doing this I'd be interested to hear about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012937#4012937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please package the dtd and xsd files in the next seam re
Hello Gavin, i have found the dtds now. But i haven't found the xsd, eg. framework-1.1.xsd, for the namespace declaration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012939#4012939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.6.GA
Note that Seam 1.1.6 is not completely backward-compatible with 1.1.5. Obviously I regret making breaking changes in a point release, but in this case it was the right thing to do. Migration guide: == (1) exceptions.xml and events.xml have been deprecated - exception mappings should go in pages.xml, and event listeners should go in components.xml (2) Exception handlers @Render and are no longer supported (3) Exception handler messages should be defined in a tag (4) The signature of the Seam/Security authenticate method changed, please see the documentation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012941#4012941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please package the dtd and xsd files in the next seam re
Yeah, this was a bug in my build script. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012950#4012950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal vs its competitors
Thomas, anonymous wrote : JBoss Portal 2.6 has D'n'D I've seen that, but it is not yet released... If I may ask, when is 2.6 expected? Would you care to elaborate on why JBoss is the prefered choice? anonymous wrote : | Yes you got it right, you can either run it standalone (the common way) on JBoss AS *or* use the provided portlets to use in any JSR-168 portal; JBoss Portal, liferay... | Does users and roles exist in the application server, so that they can be used by e.g. Alfresco and JBoss Portal or does a standalone Alfresco install mean different user management? How about the JCR repository for JBoss Portal - is it exchangeable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012951#4012951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: FlushMode.MANUAL being ignored???
JIRA issues created. http://opensource.atlassian.com/projects/hibernate/browse/EJB-267 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012952#4012952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seamspace example does not deploy
I have retried the example, with the now new code in the cvs. (I asume that this code base is identical with the release of seam 1.1.6) The problem has not gone away. 11:27:38,453 INFO [STDOUT] 11:27:38,453 ERROR [[/seam-space]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener java.lang.IllegalArgumentException: You must specify org.jboss.seam.core.init.jndiPattern or use @JndiName: profile at org.jboss.seam.Component.getJndiName(Component.java:346) at org.jboss.seam.Component.(Component.java:222) at org.jboss.seam.Component.(Component.java:207) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012954#4012954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: jboss.messaging:service=PostOffice
The script of creating the schema succeeded the issue was after the restart. when i restart the JBoss I got that error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012955#4012955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-issues sample
Its a bug in the example. Fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012956#4012956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam & Maven2
Hello, I wanted to let you know that I just published support for JBoss Seam 1.1.6.GA. Petr Ferschmann View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012961#4012961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam & Maven2
"fabricio.lemos" wrote : I decided to try it out on an existing project. | | I removed all my dependencies and added jboss.seam.profiles:seam-facelets one. Maven downloaded a lot of jars, but it seems that there is not, among them, a (transitive) dependency for javax.ejb package. At first I thought that you can add dependency directly on javax.ejb. But I think you are right. The profile should at least specify which version seam works with. So I just added new two profiles: seam-ejb (depends on seam-jpa). seam-jpa So you need to add two profiles: seam-ejb + seam-facelets I hope it helped. Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012969#4012969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - using digest authentication
Hi, I'm learning JBoss and I'm trying to use digest authentication for my web application. I did this: 1) application.war/WEB-INF/web.xml: Default JSP Security Constraints Portlet Directory /jsp/* GET POST admin NONE DIGEST MyApplication admin 2)application.war/WEB-INF/jboss-webxml: java:/jaas/pentaho admin martagroup marta 3)server/default/conf/login-config.xml props/digest-users.properties props/digest-roles.properties MD5 rfc2617 false true true org.jboss.security.auth.spi.RFC2617Digest 4)conf/props/digest-roles.properties marta=admin 5)conf/props/digest-users.properties marta=231484604fc44289526e4420998828a7 digested string was created as: java -cp jbosssx.jar org.jboss.security.auth.spi.RFC2617Digest marta "My Application" marta It doesn't work at all, my application load without any authentication. What I did wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012968#4012968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Mail -Error trying to send multiple mails
Sorry for the delay in getting back on this. Renderer.render ISN'T resetting the tree each time it is called (within the same action method), so, each time you call it elements are added to existing tree. I'll need to talk to Norman about this. Anyway, there is, IMO a neater way to do this, which does work :) @Stateful | @Scope(ScopeType.CONVERSATION) | @Name("users") | public class UsersBean implements com.rmemoria.mdrtb.seam.UsersLocal { | | public void sendNewPassword() | { | List lst = ItemSelectHelper.createItemsList(userList, true); | ... | Contexts.getEventContext().set("selectedUsers", lst); | sendMail("/mail/newpassword.xhtml"); | ... | } http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:s="http://jboss.com/products/seam/taglib"; | xmlns:m="http://jboss.com/products/seam/mail"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core";> | | | |#{user.email} |MDR-TB System - #{subject} |... | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012970#4012970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JBoss with porty forwardng problem
Hi All, I am working on a Java webstart application with JMS. The application scenario is a little bit differnt than a normal application. My JBoss is running on a Local machine(IP: 192.168.1.2) inside the Lan, and the java webstart clients outside the network has to communicate with this server through the gateway server(IP: 203.200.112.125) of the network. This gateway server will forward all requests to the JBoss which runs on the local machine. From the local network this application works well, but when I try to access the application using http://203.200.112.125/appname from an external network, I am able to download the webstart and start the program, but when I try to access the deployed bean for login or any kind of business activity , it gives me a lot of Exceptions. The stack trace is as follows... javax.naming.CommunicationException. Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.2; nested exception is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:568) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.klc.locator.ServiceLocator.getHome(ServiceLocator.java:56) at com.klc.klwebspy.ServerManager.(ServerManager.java:26) at com.klc.klwebspy.ServerManager.getInstance(ServerManager.java:39) at com.klc.klnetcenter.database.postgres.KLNetCenterDB.create(KLNetCenterDB.java:310) at com.klc.klnetcenter.database.postgres.KLNetCenterDB.checkDatabase(KLNetCenterDB.java:92) at com.klc.klnetcenter.KLNetcenter.initialization(KLNetcenter.java:65) at com.klc.klnetcenter.KLNetcenter.(KLNetcenter.java:23) at com.klc.klnetcenter.KLNetcenter.main(KLNetcenter.java:35) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.(Socket.java:291) at java.net.Socket.(Socket.java:119) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) ... 15 more java.lang.NullPointerException at com.klc.klwebspy.ServerManager.executeRequest(ServerManager.java:46) at com.klc.klnetcenter.database.postgres.KLNetCenterDB.create(KLNetCenterDB.java:310) at com.klc.klnetcenter.database.postgres.KLNetCenterDB.checkDatabase(KLNetCenterDB.java:92) at com.klc.klnetcenter.KLNetcenter.initialization(KLNetcenter.java:65) at com.klc.klnetcenter.KLNetcenter.(KLNetcenter.java:23) at com.klc.klnetcenter.KLNetcenter.main(KLNetcenter.java:35) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012971#4012971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen error
The schema is called PBTEST and contains more than 40 tables and I've also set the default_schema property via Seam setup (to avoid generating against system tables). I've just tried it against 1.1.6.GA and generation still fails, with the same problem. Is there anyway I can tell seam-gen which specific tables to generate against to discover which table its failing on? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012972#4012972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.6.GA
Hello, I have just prepared Seam 1.1.6.GA Maven integration - http://software.softeu.cz/seam/. I have to update seam-gen like maven plugin to reflect changes in SeamGen. Petr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012973#4012973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss with porty forwardng problem
..continued Thanks in advance Jagadeesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012974#4012974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.6.GA
"fers" wrote : Hello, | | I have just prepared Seam 1.1.6.GA Maven integration - http://software.softeu.cz/seam/. I have to update seam-gen like maven plugin to reflect changes in SeamGen. | | Petr Look slike you're getting the 'slashdot' effect :) I can't load the page. Anyway, do you have dependencies configured for ajax4jsf as well? If yes do you use ibiblio repository? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012977#4012977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.6.GA
"svadu" wrote : Look slike you're getting the 'slashdot' effect :) I can't load the page. | It is working for me now. Can you ping the server? "svadu" wrote : | Anyway, do you have dependencies configured for ajax4jsf as well? If yes do you use ibiblio repository? I use ibiblio repository (repo1.maven.org) for everything I can find there. For this package I also prepared (and it was successfully deployed to maven repo) ajax4jsf package. I plan to publish the whole thing (Seam+Archetypes+...) to repo1 but I need to be sure everything is working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012978#4012978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: using digest authentication
There was mistake in: java:/jaas/pentaho I've change it to: java:/jaas/application and it still doesn't work View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012979#4012979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets (Source) Tags problems with seam validation
Thanks for the response! My project is based entirely in facelets templating :( Peter, it would be great to see some wiki work around View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012983#4012983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: READ THIS FIRST
Hi, Sorry! I think the qiestion I posted is not conveying the exact senario and problem. When I try to contact the application , I am getting exceeption from the following line properties.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); properties.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces"); // properties.put(Context.PROVIDER_URL, "203.200.142.140"); properties.put(Context.PROVIDER_URL,"jnp://"+KLNetcenterData.SERVER_IP+":1099"); InitialContext ctx = new InitialContext(properties); log.info("Looking up Topic"); queue = (Topic) ctx.lookup("topic/testDurableTopic"); which means , when I call contect.lookup I am getting the exception as follows. javax.naming.CommunicationException. Root exception is java.rmi.ConnectException: Connection refused to host: 192.168.1.2; nested exception is: java.net.ConnectException: Connection timed out: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:101) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:606) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:568) at javax.naming.InitialContext.lookup(InitialContext.java:347) at com.klc.klnetcenter.jms.SendClient.(SendClient.java:40) at com.klc.klnetcenter.KLNetcenterData.(KLNetcenterData.java:42) at com.klc.klnetcenter.KLNetcenterData.getInstance(KLNetcenterData.java:53) at com.klc.klnetcenter.KLNetcenterFrame.(KLNetcenterFrame.java:101) at com.klc.klnetcenter.KLNetcenterFrame.getInstance(KLNetcenterFrame.java:183) at com.klc.klnetcenter.KLNetcenter.(KLNetcenter.java:24) at com.klc.klnetcenter.KLNetcenter.main(KLNetcenter.java:35) Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.(Socket.java:291) at java.net.Socket.(Socket.java:119) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:562) ... 14 more Just becouse of this reason I posted problem here.. please help me Thanks Jagadeesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012984#4012984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Updating JBoss 4.0.5.GA to use the latest Hibernate Jars
Hi, I am using JBoss 4.0.5 which I installed using the ejb3 profile of jems-installer-1.2.0.GA.jar. I have then replaced the bundled hibernate 3.2.0.GA jar files jboss-4.0.5.GA\server\default\lib\hibernate3.jar jboss-4.0.5.GA\server\default\lib\hibernate-annotations.jar jboss-4.0.5.GA\server\default\lib\hibernate-entitymanager.jar with the latest versions downloaded from http://www.hibernate.org/6.html Hibernate 3.2.2.GA Hibernate Annotation 3.2.1.GA Hibernate Entity Manager 3.2.1.GA Is it ok updating the jars like this in JBoss? Is there anything else I need to do? Many Thanks, James View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012990#4012990 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Error with WSTools / JDK 1.4
hi all, i have a project that uses wstools to generate wsdl files etc for my EJB exposed as webservices. I am using jboss-4.0.5GA, and was using jdk 1.5 now, for various reasons i had to move back to JDK 1.4, and now when i run wstools (via maven) with following ant task | | | | | | | | | | | | | | | | | | | | | | --> | | | | | | | | i receive the following exception : | [ERROR] FATAL ERROR | [INFO] | [INFO] org/jboss/ws/tools/ant/wstools (Unsupported major.minor version 49.0) | [INFO] | [INFO] Trace | java.lang.UnsupportedClassVersionError: org/jboss/ws/tools/ant/wstools (Unsuppor | ted major.minor version 49.0) | at java.lang.ClassLoader.defineClass0(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:539) | at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl | assLoader2.java:76) | at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader | .java:1090) | at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa | der.java:1154) | at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:110 | 7) | at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:977 | ) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:219) | at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:457) | | at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:183) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA | ntMojo.java:99) | at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:82) | | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi | nManager.java:412) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa | ultLifecycleExecutor.java:534) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi | fecycle(DefaultLifecycleExecutor.java:475) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau | ltLifecycleExecutor.java:454) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan | dleFailures(DefaultLifecycleExecutor.java:306) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen | ts(DefaultLifecycleExecutor.java:273) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:140) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | | at org.codehaus.classworlds.Launcher.main(Launcher.java:375) | Anyone could tell me how can i make it work with jdk 1.4? thanks in advance and regards Marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012992#4012992 Reply to the post : http://www.jbo
[jboss-user] [JBoss Portal] - How can I hide a portlet?
Hello people. I'm working with AS 4.0.5GA and Jboss Portal 2.4. I have a page with many portlets and one of them, has some links. When a click a link, i want to hide some portlets and show otherones, and i don't known how cad i do that :(. For example, i have the CMS Directory Portelt, and when i click a element of the CMS Directory, i want to hide all the others portlets and show only the CMS Directory and the CMS Portlet with the page given by the link. I like do that with AJAX if possible, if not, if you known anyway, pleased tell me :). Thanks in advance and sorry about my english. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012995#4012995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Sharing libs
Hi, you could use the following packaging: - bean classes and bean resources in YOUR_EJB.jar - home and component interfaces in YOUR_EJB_client.jar Then you can put the client.jar into your ear, add the reference to the manifest.mf of your web-application (or give it to any other client you wish) and you can be sure, that anyone using your ejb does only need to know the client interfaces. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012996#4012996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - EJB lookup on standalone tomcat to remote jboss
hi, I have a WS endpoint deployed on a standalone tomcat V5.5.9 server. The ws endpoint was generated from a wsdl file using jaxws (jwsdp2.0). In this ws endpoint I try to lookup a session bean (EJB3.0) which is deployed on a remote JBoss V4.0.5 (on a different machine). In my tomcat war I have all jaxws libraries which are needed for the ws endpoint plus jbossall_client.jar which is needed for the EJB lookup. The libraires deployed are the following: from jaxws: activation.jar,jaxb-api.jar,jaxb-impl.jar,jaxb1-impl.jar,jaxws-api.jar,jaxws-rt.jar,jsr173_api.jar,jsr181-api.jar,jsr250-api.jar,resolver.jar,saaj-api.jar,saaj-impl.jar,sjsxp.jar from Jboss: jbossall-client.jar When trying to do the lookup I get the following exception: tomcat log: java.lang.NoSuchMethodError: javax.xml.soap.MessageFactory.newInstance(Ljava/lang/String;)Ljavax/xml/soap/MessageFactory and SAAJ0537: Invalid Content-Type. Could be an error message instead of a SOAP message Couldn't create SOAP message due to exception: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response? I think there is a collision with the javax.xml.soap.MessageFactory classes in the jaxws libs and jbossall-client.jar. Are there any other jboss client libs which I can use in order to perform the EJB lookup? Any help? Thanks skymic View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012999#4012999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Sending XML doc as String parameter into WebService
I have implemented JBossWS for EJB 2.1 on JBoss 4.0.5GA, and a simple Session Bean with a SOAP interface like the following boolean inputMessage(String xmlMessage); I thought I could get the XML sent as a simple String, but the SOAP server fails because it tries to validate the incoming String as an XML and fail to find metadata for the namespace + type in the inner String/Xml. ANy way to avoid the JBossWS Service in trying to interpret this and simply transfer the XML as a String? ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://myapp.webservices}SapConnectionEndpointPort does not contain operation meta data for: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013004#4013004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5
Thank you very much for your help. I made the listener and I think the error is raised in this point: 2007-02-08 12:22:23,744 INFO [STDOUT] Aromentooo: 2007-02-08 12:22:23,744 INFO [STDOUT] Name: org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 INFO [STDOUT] Value: ConversationEntries([]) 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying business process context 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.persistenceContexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.persistenceContexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.facesMessages 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.facesMessages 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.conversation 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.conversation 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: entityManager 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.entityManager 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.ManagedPersistenceContext] destroying seam managed persistence context for persistence unit: java:/cerssvdEntityManagerFactory 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.CONVERSATION 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing session context 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.EVENT 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: icesoft_javascript_request_key_7698193 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.icesoft.faces.removeSeamContexts 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facelets.Encoding 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: msg 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: loginUser 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.loginUser 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: servletkey 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.EVENT 2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request 2007-02-08 12:22:23,764 DEBUG [com.icesoft.faces.env.ServletEnvironmentRequest] Acegi Security not detected. 2007-02-08 12:22:23,774 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 2007-02-08 12:22:23,774 DEBUG [org.jboss.seam.servlet.SeamExceptionFilter] ended request 2007-02-08 12:22:23,824 ERROR [org.jboss.web.tomcat.tc5.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: h7IT2+A6DGtkY+7MwiSH1Q**.node1 lastAccessedTime: 1170937335112 version: 1 lastOutdated: 0] java.io.NotSerializableException: org.apache.catalina.ses
[jboss-user] [JBossWS] - [JBossWS 1.0.4/wstool] JAX-RPC does not allow collection typ
Hi, I run wstool to generate the wsdl and mapping file. A web service method returns a Serializable object which contain relationship with other objects: List getX() void setXxxx(List l) wstool fail to map the object graph. Is there is any way to bypass this limitation ? Tks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013013#4013013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Own Pagination Component
Hi, I need to create my own pagination component. But I don`t how to start it. Could anyone give me the first steps? The model layer is ready, my doubt is how can create the component and pass the parameters to my query. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013012#4013012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: StatefulBean destroyed without Session expiring !!
thnx heaps ;0) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013017#4013017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Own Pagination Component
Take a look at the way the Seam Application Framework does pagination. Out of interest how does it not meet your requirements? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013023#4013023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Updating JBoss 4.0.5.GA to use the latest Hibernate Jars
Hi, Don't forget to replace the files (hibernate-annotations, hibernate3-client) in the client directory Thanks, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013027#4013027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Hook onto Transaction Manager
My company has code we need to run at the beginning and end of each database transaction in order to set and unset context variables in the database session. Is there a way to hook onto the beginning and end of each transaction? Perhaps using interceptors? Or can we override the default transaction manager? I've looked around and those are the ideas I've come up with, but I'm not sure if either is possible, and have yet to find an example of someone doing it. Any help would be greatly appreciated. Thanks! -Brett Birschbach View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013029#4013029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Conversational ifNotBegunOutcome
I think this should be removed/changed in Seam manual as ifNotBegunOutcome is deprecated? anonymous wrote : | @Conversational(ifNotBegunOutcome="error") | Specifies that a conversation scope component is conversational, meaning that no method of the component | can be called unless a long-running conversation started by this component is active (unless the method | would begin a new long-running conversation). | Br, Juha View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013030#4013030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit
You must initialize the context environment. The following code works with JBoss AS 4 (EJB2.1 module is deployed): package accessejb; import a.AccessibleSessionRemote; import a.AccessibleSessionRemoteHome; import java.util.Hashtable; import javax.naming.InitialContext; import javax.rmi.PortableRemoteObject; public class Main { public static void main(String[] args) throws Exception { AccessibleSessionRemote asr = lookupAccessibleSessionBean(); String msg = asr.hello("World"); System.out.println(msg); } private static AccessibleSessionRemote lookupAccessibleSessionBean() throws Exception { Object remote = getContext().lookup("AccessibleSessionBean"); AccessibleSessionRemoteHome rv = (AccessibleSessionRemoteHome) PortableRemoteObject.narrow(remote, AccessibleSessionRemoteHome.class); return rv.create(); } private static InitialContext getContext() throws Exception { Hashtable env = new Hashtable(); env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); env.put("java.naming.provider.url", "jnp://localhost:1099"); return new InitialContext(env); } } Remote interface: a.AccessibleSessionRemote Home interface: a.AccessibleSessionRemoteHome The home interface is bound to 'AccessibleSessionBean' name. Following libraries must be on the classpath: /client/jboss-j2ee.jar /client/jbossall-client.jar /server/default/lib/jnpserver.jar /lib/jboss-common.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013032#4013032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5
No, unfortunately I can't :( I suggest you take this to the Seam forum, as they'll have the needed understanding of what's being placed in the session and why. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013034#4013034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit
[should have been in the previous reply] /client/jboss-j2ee.jar /client/jbossall-client.jar /server/default/lib/jnpserver.jar /lib/jboss-common.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013035#4013035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - Re: NameNotFoundException: DefaultDS not bound - Entity Unit
[server]/client/jboss-j2ee.jar [server]/client/jbossall-client.jar [server]/server/default/lib/jnpserver.jar [server]/lib/jboss-common.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013036#4013036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: Error when close Consumer
I have figured out the reason.Simply speaking ,the reason is when the consomer closing,the queue it depended has be stopped. to work around it,simply add a "depends" entry in my mbean define descriptor(the jboss-service.xml),making the jms consumer mbean depend on the queue. then at server shutdown these mbean will be stopped in a right order. great! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013039#4013039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Deploying WebService from JDeveloper 10.1.3.2 to JBoss 4.0.5
Hi I'm new to JBoss and JDeveloper, and I need to deploy a WebService made in JDeveloper to JBoss. How do I accomplish this? I have tried to just deploy the webservice to JBoss using the same deployment descriptor as I used for Oracle Application Server, but I get the following error when JBoss tries to deploy it: 14:59:15,531 ERROR [MainDeployer] Could not create deployment: file:/C:/Program | Files/jboss/JB_4.0.5.GA/server/default/tmp/deploy/tmp12036WebServices.ear-conten | ts/WebServices.war | java.lang.NullPointerException | at java.net.URI$Parser.parse(URI.java:3010) | at java.net.URI.(URI.java:578) | at org.jboss.ws.deployment.AbstractMetaDataBuilder.getUriScheme(Abstract | MetaDataBuilder.java:277) | at org.jboss.ws.deployment.AbstractMetaDataBuilder.replaceAddressLocatio | n(AbstractMetaDataBuilder.java:166) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR | 109ServerMetaDataBuilder.java:210) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin | tDeployer.java:78) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt | erceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deployer | InterceptorJSE.java:74) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. | create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce | ptor.java:91) | 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 $Proxy46.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept | or.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM | BeanOperationInterceptor.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 $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen | tScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS | canner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. | doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A | bstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS | upport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB | eanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.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(ServiceControl | ler.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417)
[jboss-user] [JBoss Seam] - Problem seam in clustering( conversationEntries??)
Hi, can you help me about this problem?? I'm trying to deploy a seam application(using also jsf with icefaces) on jboss 4.0.5 GA with EJB3-Clustered configuration. I think that the deploy goes fine but when I try to access to index of my application, I see this error: 11:00:58,768 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jstl-core.taglib.xml 11:00:58,808 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/jboss -seam-ui.jar!/META-INF/seam.taglib.xml 11:00:58,838 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-comps.jar!/META-INF/facelet/icefaces.taglib.xml 11:00:58,919 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-core.taglib.xml 11:00:58,969 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-ui.taglib.xml 11:00:58,989 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jstl-fn.taglib.xml 11:00:59,019 ERROR [STDERR] 07-Feb-2007 11:00:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa ces-facelets.jar!/META-INF/jsf-html.taglib.xml 11:01:01,773 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: NhCr1Y33cNsWaawV84WOEg**. node1 lastAccessedTime: 1170846057627 version: 1 lastOutdated: 0] java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java :1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14 74) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav a:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) After I did a bit of debug to see what attribute in session could cause this error. The log is: 2007-02-08 12:22:23,744 INFO [STDOUT] Aromentooo: 2007-02-08 12:22:23,744 INFO [STDOUT] Name: org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 INFO [STDOUT] Value: ConversationEntries([]) 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationEntries 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying business process context 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.persistenceContexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.persistenceContexts 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.facesMessages 2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.facesMessages 2007-02-08 12:
[jboss-user] [JBossCache] - Re: Problem externalizeSession Jboss 4.0.5
Thank you very much. I'll try on Seam Forum. You're vary kind. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013042#4013042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: There is no LocalTxConnectionManager.class?
Use a -ds.xml then you don't have to worry about implementation changes between releases. http://wiki.jboss.org/wiki/Wiki.jsp?page=DSdotXML View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013043#4013043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Fetching the status of the processes
I am trying to invoke a webservice deployed in JBoss JBPM. Is there any way i could find the status of the process. I want to know if the process is Completed of Faulted, and if faulted can i know in which activity of the BPEL Flow has the fault occured. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013044#4013044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen error
For what it's worth, I'm getting the same error (property.value.typeName is undefined, at the same line of view/list.xhtml.ftl), against Oracle 10.2. I had warnings about my index organized tables above it and had assumed that was the problem, maybe not... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013045#4013045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Expression language enhancements
You only need one of them ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013048#4013048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Hook onto Transaction Manager
Hi Brett, if your beans can be Statefull Session Beans then you can implement SessionSynchronization interface: package javax.ejb; public interface javax.ejb.SessionSynchronization { public abstract void afterBegin( ) throws RemoteException; public abstract void beforeCompletion( ) throws RemoteException; public abstract void afterCompletion(boolean committed) throws RemoteException; } When a method of the SessionSynchronization bean is invoked outside of a transaction scope, the method executes in the Method-Ready state. However, when a method is invoked within a transaction scope (or creates a new transaction), the EJB moves into the Transactional Method-Ready state. When a transactional method is invoked on a SessionSynchronization bean, the stateful bean becomes part of the transaction, causing the afterBegin( ) callback method defined in the SessionSynchronization interface to be invoked. This method should take care of reading any data from the database and storing the data in the bean's instance fields. The afterBegin( ) method is called before the EJB object delegates the business-method invocation to the EJB instance. When the afterBegin( ) callback method completes, the business method originally invoked by the client is executed on the EJB instance. Any subsequent business methods invoked within the same transaction will be delegated directly to the EJB instance. Once a stateful session bean is a part of a transactionwhether it implements SessionSynchronization or notit cannot be accessed by any other transactional context. This is true regardless of whether the client tries to access the EJB with a different context or the EJB's own method creates a new context. If, for example, a method with a transaction attribute of RequiresNew is invoked, the new transactional context causes an error to be thrown. Since the NotSupported and Never attributes specify a different transactional context (no context), invoking a method with these attributes also causes an error. A stateful session bean cannot be removed while it is involved in a transaction. This means that invoking an @Remove annotated method while the SessionSynchronization bean is in the middle of a transaction will cause an error to be thrown. At some point, the transaction in which the SessionSynchronization bean has been enrolled will come to an end. If the transaction is committed, the SessionSynchronization bean will be notified through its beforeCompletion( ) method. At this time, the EJB should write its cached data to the database. If the transaction is rolled back, the beforeCompletion( ) method will not be invoked, avoiding the pointless effort of writing changes that won't be committed to the database. The afterCompletion( ) method is always invoked, whether the transaction ended successfully with a commit or unsuccessfully with a rollback. If the transaction was a successwhich means that beforeCompletion( ) was invokedthe committed parameter of the afterCompletion( ) method will be true. If the transaction was unsuccessful, then the committed parameter will be false. It may be desirable to reset the stateful session bean's instance variables to some initial state if the afterCompletion( ) method indicates that the transaction was rolled back. Bye Dalibor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013049#4013049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen error
It also appears to be schema-dependent - I just tried it with the same setup but a much simpler schema with only two tables and 6 fields, and didn't get the error... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013052#4013052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use ice:dataTable and @DataModel?
I'm wondering if there's anybody using ice:dataTable, @DataModel and @DataModelSelectionIndex without any problems. Imagine you have a list rendered by an ice:dataTable. One column consists of h:commandLinks. The action method gathers information about the selected item and returns an outcome that tells JSF to show a page where the selected item is displayed more detailed. Just like a list of users. You click on a username and on the next page you see his address or something. The problem is that the @DataModelSelection(Index) is injected with the default value. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013059#4013059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - change background-validation-minutes to seconds
Hi, I have a problem with my jca connector. I want Jboss to validate connections in intervals of seconds (30 sec for example) but the property called background-validation-minutes only allows to specify minutes, so the minimal value is 1 minute. Anyone knows how to specify this property in seconds? Thanks a lot Bortx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013060#4013060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Help with MDB + Seam + jBPM - transaction issue?
Hello, I have an MDB that invokes a SLSB method - the method does some persistence work and signals a jBPM ProcessInstance. I am consistently getting an exception related to transactions from jBPM. Here are the classes being used: The MDB: | @MessageDriven(activationConfig = { | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "java:/SonicJMS/Queues/AccessControl/Receive"), | @ActivationConfigProperty(propertyName = "providerAdapterJNDI", propertyValue = "java:/SonicJMSProvider"), | @ActivationConfigProperty(propertyName = "useDLQ", propertyValue = "false") | } | ) | @Name("accessControlReceiveMDB") | public class AccessControlReceiveMDB implements MessageListener { | | private Log log = LogFactory.getLog(AccessControlReceiveMDB.class); | | @EJB(beanName = "ProvisionSuccessBean") | private ProvisionSuccess successfulResponse; | | @EJB(beanName = "ProvisionFailureBean") | private ProvisionFailure failedResponse; | | @Resource | MessageDrivenContext context; | | //@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) | public void onMessage(javax.jms.Message message) { | log.info("AccessControlReceiveMDB : onMessage()"); | log.info(message); | try { | // Grab Message Type from header. | MessageTypes messageType = null; | try { | messageType = MessageTypes.valueOf(message | .getStringProperty(MessageHeaderKeys.MessageType | .toString())); | } catch (Exception e) { | messageType = MessageTypes.UnknownMessageType; | } | | Long processId = null; | | switch (messageType) { | case ProvisionSuccess: | // Grab process id from header. | try { | processId = Long.valueOf(message.getStringProperty(MessageHeaderKeys.ProcessId.toString())); | log.info("processId -> "+processId); | Contexts.getEventContext().set("processId",processId); | if (successfulResponse == null) { | log.error("successResponse bean is null."); | } | successfulResponse.confirmProvisioning(); | } catch (Exception e) { | log.error(e,e); | log.error( | "\nMissing Process ID in message header for message " | + message.getJMSMessageID() | +".\nMessage will be consumed but no processing will occur.\n" | ); | } | break; | | case ProvisionFailure: | // Grab process id from header. | try { | processId = Long.valueOf(message.getStringProperty(MessageHeaderKeys.ProcessId.toString())); | } catch (Exception e) { | throw new Exception("Missing Process Id in Message Header. " + e); | } | | failedResponse.confirmProvisioning( | processId, | message.getStringProperty(MessageHeaderKeys.ProvisionException.toString()) | ); | break; | | case ActiveUserList: | break; | | case ActiveUserListCSV: | break; | | case UnknownMessageType: | log.info("Discarding message of type '"+messageType+"' - unknown message type."); | break; | | } | } catch (JMSException jmse) { | log.error("Allowed MessageTypes -> " + Arrays.asList(MessageTypes.values())); | log.error(jmse, jmse); | context.setRollbackOnly(); | } catch (Exception e) { | log.error(e, e); | context.setRollbackOnly(); | } | } | } | The SLSB: | @Stateless | @Name("provisionSuccess") | public class ProvisionSuccessBean implements ProvisionSuccess { | | //@Logger | //protected Log log; | private Log log = LogFactory.getLog(ProvisionSuccessBean.class); | | @PersistenceContext(unitName = "accessControlDatabase") | protected EntityManager em; | | @In(create = true) | private JbpmContext jbpmContext; | | public String confirmProvisioning(Long processId) { | log.info("confirmProvisioning: "
[jboss-user] [JBoss jBPM] - Re: Error testing Hello World BPEL on JBoss 4.0.5
I was getting something similar and needed to point my runtime classpath at jboss/client jars. |[java] javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersionUID = -4977622166779282521] | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588) | [java] at javax.naming.InitialContext.lookup(InitialContext.java:351) | [java] at client.EjbClient.main(EjbClient.java:37) | [java] Caused by: java.io.InvalidClassException: org.jboss.remoting.InvokerLocator; local class incompatible: stream classdesc serialVersionUID = -2909329895029296248, local class serialVersionUID = -4977622166779282521 | [java] at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546) | [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552) | [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) | SO Here was the fix to make sure the jboss/client/*.jar is in classpath first. This was a snippet of the ant task for running my client. | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013062#4013062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JBoss Cache 1.4.1.SP1 Released
JBoss Cache 1.4.1.SP1 "Cayenne" has been released. JBoss Cache 1.4.1.SP1 "Cayenne" has just been released. This is a bug fix release, see the changelog for details. Download these releases here Documentation available here Release notes for 1.4.1.SP1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013063#4013063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Expression language enhancements
Yeah... Thanks Gavin.. Stupid me ;-P But another question... Can I just pass some-entity.id as parameter to jsf action? Like action="#{someBean.doSomething(entity.id)}" or Must the parameter be something special like "DataModelSelection" or Entity? Br, Juha View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013064#4013064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to get the jbpm context ?
"[EMAIL PROTECTED]" wrote : | | I am converting the jbpm websales to jportal portlet. | | Hi, I am doing the same thing. I am insterested in the questions asked here in this thread before. Namely, ActorId in portlet session or JbpmContext? More generally, I know the portlet context is an extension of servlet context. but what is their relation to the jbpmContext if the jbpm Webapp is deployed as a portlet? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013068#4013068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Problem in installation JBoss-4.0.5GA
What JVM are you using? The '-server' option tells the java.exe to use the 'server' variant of the jvm.dll, as opposed to the 'client' variant. The JRE for Windows includes only the client variant of the JVM, you would have to download and install a JDK to get the 'server' variant. I suggest version 5.0_11. When you install it, do not install to 'Program Files', even though that is the default, Java apps tend to not like spaces in directory names. After you have it installed, set JAVA_HOME to where it is installed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013071#4013071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013071 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Problem in Jboss Configuration in Fedora Core4
What are the contents of your /etc/hosts file? Is LinuxServer declared? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013072#4013072 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - temporarily changing the users theme?
Is it possible to change the users theme temporarily, i.e. just for its current session? As far as I can see, I can extend the MaximizingStrategyImpl and change the layoutURI by: strategyResponse.setLayoutURI(layoutURI); | but this doesn't change the theme... Thanks for any hints in advance. Burkhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013082#4013082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Foreign Keys and changing Seam Gen templates
Hi, I'm using Seam Gen to generate the CRUD pages for my application using Seam 1.1.5, however one thing that I find odd with the generated pages is that if you have a foreign key, the generated pages do not allow you to enter it in a normal fashion. For example: If you have one table COUNTRY with a primary key of COUNTRYCODE and another table PERSON with a foreign key of COUNTRYCODE, the generated pages make you enter in a COUNTRY and then the PERSONs associated with that country. When entering in PERSON you cannot select a country. In reality you would enter in a COUNTRY and then be able to select a country when entering the PERSON. I've tried to modify the Seam Template edit.xhtml.ftl and change the line: <#if !c2h.isCollection(property) && !c2h.isManyToOne(property) && property.columnSpan==1> to remove the restriction on "isManytoOne", however this results in an error: property.value.typeName is undefined. It cannot be assigned to propertyType I don't know the Seam gen package and Freemarker well enough to jump into it. Can anybody suggest how to modify the template so that all fields in the table are displayed? Even better would be having some means of automating the lookup? eg using ice:selectInputText or similar? Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013087#4013087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013087 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.1.6 Security with ICEFaces
Also, to make use of the security EL functions, SeamFaceletViewHandler must be used. So, it is possible to use SeamSecurity with ICEFaces (and com.icesoft.faces.facelets.D2DSeamFaceletViewHandler instead of SeamFaceletViewHandler)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013088#4013088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectOneMenu and processValidation
I'm using a selectOneMenu with a custom converter, feeded by a f:selectItems which returns selectItems containing my custom objects. It seems that the jsf lifecycle stops at the processValidation phase, without upating my model, event if my page does not define any validator : | 16:43:57,593 TRACE [LifecycleImpl] entering processValidations in org.apache.myfaces.lifecycle.LifecycleImpl | 16:43:57,734 DEBUG [LifecycleImpl] exiting from lifecycle.execute in processValidations because getRenderResponse is true from one of the after listeners | 16:43:57,734 TRACE [LifecycleImpl] entering renderResponse in org.apache.myfaces.lifecycle.LifecycleImpl No exception is thrown and i can't undertand what prevents the validation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013090#4013090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NPE in SeamSecurity (getCookieValue(Selector.java:59))
I have simple test: new FacesRequest() { | | @Override | protected void updateModelValues() throws Exception { | setValue("#{identity.username}", "admin"); | setValue("#{identity.password}", "admin"); | } | | @Override | protected void invokeApplication() { | invokeMethod("#{identity.login}"); | } | | @Override | protected void renderResponse() { | | assert getValue("#{identity.loggedIn}").equals(true); } | | }.run(); FAILED: testUserLogin | java.lang.NullPointerException | at org.jboss.seam.core.Selector.getCookieValue(Selector.java:59) | at org.jboss.seam.security.Identity.initCredentialsFromCookie(Identity.java:91) | at org.jboss.seam.security.Identity.create(Identity.java:85) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:18) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102) | at org.jboss.seam.Component.callComponentMethod(Component.java:1835) | at org.jboss.seam.Component.callCreateMethod(Component.java:1783) | at org.jboss.seam.Component.newInstance(Component.java:1772) | at org.jboss.seam.Component.getInstance(Component.java:1669) | at org.jboss.seam.Component.getInstance(Component.java:1636) | at org.jboss.seam.Namespace.get(Namespace.java:42) | at javax.el.MapELResolver.getValue(MapELResolver.java:157) | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:135) | at com.sun.el.parser.AstValue.getValue(AstValue.java:117) | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192) | at org.jboss.seam.util.UnifiedELValueBinding.getValue(UnifiedELValueBinding.java:34) | at org.jboss.seam.core.Expressions$1.getValue(Expressions.java:53) | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1710) | at org.jboss.seam.Component.getInstance(Component.java:1659) | at org.jboss.seam.Component.getInstance(Component.java:1636) | at org.jboss.seam.Component.getInstance(Component.java:1630) | at org.jboss.seam.mock.SeamTest.getInstance(SeamTest.java:112) | at pl.alternativ.med.admin.LoginTest.access$1(LoginTest.java:1) | at pl.alternativ.med.admin.LoginTest$5.invokeApplication(LoginTest.java:95) | at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:478) | at pl.alternativ.med.admin.LoginTest.testUserLogin(LoginTest.java:99) | ... Removed 25 stack frames What is wrong with my test? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013093#4013093 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam releases via RSS?
Is there any way to get notifications of JBoss-Seam releases via RSS (preferably) or at least email? I know I can get email of every post, but I just release notifications if possible. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013098#4013098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in SeamSecurity (getCookieValue(Selector.java:59))
I'm pretty sure it's because MockExternalContext doesn't handle cookies. I submitted a patch to enable it to do so. http://jira.jboss.com/jira/browse/JBSEAM-795 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013100#4013100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Concurrent task acquisition (how?)
Me again... Hmmm, is my question so stupid? If so, I gladly settle for a "look at thread nr XXX ..." type of reply :) Just shoot How are other people handling this then? With carefully crafted assignment handlers? As you can see I'm desperately in need of some jBPM wisdom here ;) Best regards, Johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013106#4013106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013106 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen error
Sorry, I forgot: this is the error that occurs when you have composite keys in your schema since seam-gen does not yet support this. I'll take a look at implementing composite key support today. I keep forgetting about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013107#4013107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in SeamSecurity (getCookieValue(Selector.java:59))
Yes, I will get this fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013108#4013108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam releases via RSS?
Sourceforge has mail notifications on file uploads. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013109#4013109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013109 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Error with WSTools / JDK 1.4
Hi, the error message "Unsupported major.minor version 49.0" indicated that you are running code that was compiled with java1.5 in a java1.4 jvm. I assume that if you compile your Jboss again with java1.4 it should work. Regards Charly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013112#4013112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Error with WSTools / JDK 1.4
Hi Charly, i see.. i have downloaded jboss 4.0.5, probably it was built using java5... thanx and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013114#4013114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unable to locate current JTA transaction
Ok, doing pretty well now but when I try to signal a transition to an end state I get the following: See JIRA ISSUE http://jira.jboss.com/jira/browse/JBPM-836 | ===EXCEPTION SEEN=== | 13:04:56,785 ERROR [ProcessInstanceBean$SignalTokenListener] Action threw an exception: ejb local timer lookup problem | | ===CODE FIXES FOR EXCEPTION== | RCS file: /cvsroot/jbpm/jbpm.3/enterprise/src/main/java/org/jbpm/scheduler/ejbtimer/EjbSchedulerService.java,v | retrieving revision 1.1 | diff -r1.1 EjbSchedulerService.java | 31c31,36 | < LocalTimerServiceHome localTimerServiceHome = (LocalTimerServiceHome) initial.lookup("java:comp/env/ejb/LocalTimerServiceBean"); | --- | > | > | > //RSC wrong name used | > //LocalTimerServiceHome localTimerServiceHome = (LocalTimerServiceHome) initial.lookup("java:comp/env/ejb/LocalTimerServiceBean"); | > //See also change to jboss.xml to include TimerServiceBean or this fix wont work either. | > LocalTimerServiceHome localTimerServiceHome = (LocalTimerServiceHome) initial.lookup("TimerServiceBean"); | | | | RCS file: /cvsroot/jbpm/jbpm.3/enterprise/src/main/resources/jar/META-INF/jboss.xml,v | retrieving revision 1.2 | diff -r1.2 jboss.xml | 12a13,20 | > | > | > TimerServiceBean | > ejb/TimerServiceBean | > TimerServiceBean | > | > | > | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013115#4013115 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to trace failed entityManager injection?
I'm very ashamed, it's all about the create property @In(create=true) EntityManager entityManager ; Wish I could delete the track of my late night foolness :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013123#4013123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Unable to locate current JTA transaction
Ok, at this point things are running pretty well. I have deployed the cvs trunk build jbpm.3 (3.2.beta2)'s jbpm-enterprise.ear to jboss4.0.5ga with ejb3 and messaging. I am able to create start and transition through process;s. Keep in mind the reason for this posting. We have isTransactionEnabled set to false and isCurrentSessionEnabled set to false. So here I almost have it working with Transactions turned OFF. When a process transitions to an end state however and the clean up of the process instance begins, I get the following exception: | 16:26:00,719 ERROR [STDERR] org.hibernate.TransactionException: Could not register synchronization | at org.hibernate.transaction.CMTTransaction.registerSynchronization(CMTTransaction.java:159) | at org.jbpm.db.JobSession.deleteJobsForProcessInstance(JobSession.java:214) | at org.jbpm.scheduler.ejbtimer.EjbSchedulerService.deleteTimersByProcessInstance(EjbSchedulerService.java:165) | at org.jbpm.graph.exe.ProcessInstance.end(ProcessInstance.java:276) | So back to the original question, HOW DO I PROPERLY CONFIGURE USE OF EITHER JTA OR CMT TRANSACTIONS? I've managed to make it hobble along with the transactions turned off (I think) but what I really want is to properly configure transactions PLEASE HELP! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013125#4013125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user