[jboss-user] [JBoss jBPM] - Re: ERROR: ... CGLIB Enhancement failed ...
By looking at the stack trace I think you need the cglib jar in your classpath. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019758#4019758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error: BPEL and processdefinition.xml
Thanks Alex, the endorsed jwsdp lib wasn't installed correctly. Thanks a lot. Paolo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019759#4019759 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019759 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Server Configuration for none database
Hi all, I'd like to know the server configuration which it is no rdbms, use only session bean and MDB, probably JMS use filestore. I don't use BMP or CMP function. How to make like this configuration ? best regards, hiro okashita View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019762#4019762 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: what is concurrent-request-timeout
To the first question Seam serialises access to a conversation to stop concurrent requests (usually AJAX) interfering which each other. The timeout is how long a request will wait for the conversation to be unlocked by the conversation currently using it. It the timeout expires the request will not reacquire the conversation and just create a temporary one instead. Making the timeout smaller increases the chance of a request timing out while waiting for the conversation but it reduces the time it will block for. Making the timeout bigger makes it less likely that the request will time out while waiting but may block for longer waiting. Depends on your situation whether avoiding request blocks or avoiding missing the conversation is more important to you. HTH. Mike. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019766#4019766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: user administration
Hello, The predefined users are located in the jbpm_id_user table. The documentation provides a manual how to manage users in the hypersonic database. http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted insert into jbpm_id_user values (5, 'U', 'Bill Buyer', '[EMAIL PROTECTED]', 'mypassword'); I hope this answer could help you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019772#4019772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How can I get a realm under a different security domain?
Hi, I have an requirement for a login process not supported by FORM authentication and JAAS out of the box. I need to have two roles within an app - one which enables access to a 2nd stage logon and one which allows access to protected resources. With this use case I've created two login modules to process the login. The first login module is used as normal form authentication and works fine. However I would like to mimic some of the same behaviour in a custom valve to process authentication. As I have two login modules I have them assigned against separate application policies. The second policy is not immediately available to the webapp as I believe the jboss-web.xml file allows a single security domain. I've managed to get the LoginContext to lookup and find the login to process it manually. However there is of course some additional function that JBoss provides through the realm with form-based authentication which I require in order for a user to correctly logon to the system. Sorry for this long rambling post but if any of the JBoss developers have some hints on what I should be looking at that would be most useful. Cheers, Stephen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019784#4019784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ERROR: ... CGLIB Enhancement failed ...
Found the problem! I had already checked that I had cglib in my classpath before but I made a double check now and it turns out my IDE had mixed up the classpath for some reason including an older version of cglib earlier in the classpath, still don't know where that comes from but anyhow it works now after rearranging it a bit. Cheers! /Andreas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019792#4019792 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Choosing JBPM?
So if I understand correctly, there's no such API that would help me to access the runtime evolution of a bpel scenario. One solution you're proposing is to look into the bpel process log file or DB, which does not seem very convenient ... I thought there would be some facilities provided to access the bpel engine at runtime and thus get 'live' information on a running bpel process and use it to refresh a web interface. Is that correct? Thanx in advance, --dario View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019798#4019798 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Intresting Problem in deploying SAR file in jboss
Hello, Refer this link. http://blog.platinumsolutions.com/node/85 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019801#4019801 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019801 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @UniqueConstraint has no Effect in MQSQL
Hi, I definde an entitybean with a uniqueConstraint like this | @Table | (name=usergroup, |uniqueConstraints = [EMAIL PROTECTED](columnNames={mandantID, name})} | ) | public class BenutzerGruppe implements Serializable | { private long mSid; | private long mMandantID; | private String mName; I cannot see any effect in the database and it is possible to insert entities which violates the constraint. I´m using MySQL 5.0.24a Do I have to do anything more than using the annotaion in the entitybeandefinition? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019802#4019802 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Help: BPEL: Invoke external web service
Hello, I'm working with jbpm.bpel-1.1-beta2 and jBoss 4.04 GA. I want to write a simple bpel process with a invocation to a external web service like this [url]http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso [/url] Does anyone know how? should I include a partner link definition in the wsdl file? should I remove the binding and service definitions? In the user guide there are examples but nothing about external web services. Thanks, Agus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019803#4019803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues?
Hi, I'm experiencing the same problems. Tested the Web Service in Netbeans, got the same output on my JBoss 4.0.5. Have you found anything of value yet? Kind regards, Reinhard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019807#4019807 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019807 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Splitting a big portlet
My suggestion is that you use a webframework like JSF. It will help you organize your application in terms of views and controllers. If you write a big portlet it will be a big mess :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019808#4019808 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019808 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues?
What's this? | Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windo | ws-bmp | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019815#4019815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019815 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Spring AOP Problem
Hi jblas, please post your spring config file (the aop:config stuff) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019819#4019819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Exception: Closed JbpmContext in different order
Hi, I'am testing web application example in jbpm-3.1 package. I downloaded it, deployed, ... it worked, ... I have done some changes (I think they are not big changes), and now, when I push Save or Save and Close buttons it fails and this is the log: | | 11:29:19,655 DEBUG [JbpmContext] creating JbpmContext | 11:29:19,655 DEBUG [DbPersistenceServiceFactory] creating persistence service | 11:29:19,655 DEBUG [DbPersistenceService] creating hibernate session | 11:29:19,655 DEBUG [DbPersistenceService] beginning hibernate transaction | 11:29:19,655 DEBUG [JbpmContext] closing JbpmContext | 11:29:19,655 DEBUG [Services] closing service 'persistence': [EMAIL PROTECTED] | 11:29:19,655 DEBUG [DbPersistenceService] committing hibernate transaction | 11:29:19,655 DEBUG [DbPersistenceService] closing hibernate session | 11:29:19,655 DEBUG [Services] closing service 'authentication': [EMAIL PROTECTED] | 11:29:19,655 ERROR [[FacesServlet]] Servlet.service() for servlet FacesServlet threw exception | org.jbpm.JbpmException: closed JbpmContext in different order then they were created... check your try-finally's around JbpmContexts blocks | at org.jbpm.JbpmContext.popThisContextFromTheStack(JbpmContext.java:503) | at org.jbpm.JbpmContext.close(JbpmContext.java:140) | at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:85) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:38) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:534) | 11:29:23,077 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 11:29:23,249 DEBUG [StaticNotifier] woke up | 11:29:23,592 DEBUG [JbpmContext] creating JbpmContext | 11:29:27,327 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[message, scheduler, logging, persistence, authentication]' | 11:29:27,327 DEBUG [JbpmContext] creating JbpmContext | 11:29:27,327 DEBUG [DbPersistenceServiceFactory] creating persistence service | 11:29:27,327 DEBUG [DbPersistenceService] creating hibernate session | 11:29:27,327 DEBUG [DbPersistenceService] beginning hibernate transaction | 11:29:27,327 DEBUG [JbpmContext] closing JbpmContext | 11:29:27,327 DEBUG [Services] closing service 'persistence': [EMAIL PROTECTED] | 11:29:27,327 DEBUG [DbPersistenceService] committing hibernate transaction | 11:29:27,327 DEBUG [DbPersistenceService] closing hibernate session | 11:29:27,327 DEBUG [Services] closing service 'message': [EMAIL PROTECTED] | 11:29:27,327 DEBUG [CommandExecutorThread] waiting for more messages | 11:29:27,327 DEBUG [StaticNotifier] going to wait for (CMD_EXECUTOR, [EMAIL PROTECTED]) | 11:29:27,327 DEBUG [DbPersistenceServiceFactory] creating persistence service | 11:29:27,327 DEBUG [DbPersistenceService] creating hibernate session
[jboss-user] [JBoss Seam] - LocaleSelector
The suggested way to allow the user to set the locale manually has no effect in my application. I use the following code from chapter 13.1 of the reference documentation: h:selectOneMenu value=#{localeSelector.localeString} | f:selectItems value=#{localeSelector.supportedLocales}/ | /h:selectOneMenu | h:commandButton action=#{localeSelector.select} value=#{messages['ChangeLanguage']}/ After clicking the command button nothing happens. Any suggestions? Thank you in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019828#4019828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations
The different logging was due to the restricted eclipse console log buffer. After setting Component again to error the result is: *** C:\TEMP\ajax.txtWed Feb 21 11:32:58 2007 | --- C:\TEMP\ajaxnon2.txtWed Feb 21 11:43:37 2007 | *** | *** 209 | ! DEBUG org.jboss.seam.core.Manager: Storing conversation state: 9 | --- 209 | ! DEBUG org.jboss.seam.core.Manager: Storing conversation state: 6 | *** | *** 233 | - DEBUG org.jboss.seam.contexts.Contexts: destroying: com.exade.vcp.Filter.done | --- 232 | *** | *** 241 | - DEBUG org.jboss.seam.contexts.Contexts: destroying: com.exade.vcp.Filter.ResponseWrapper | --- 239 | *** | *** 255,257 | - DEBUG org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter: Finished request processing total time 594ms for uri: /baz/faces/pages/showExperiment.xhtml | - DEBUG org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter: Filter start request processing at 21.02.07 10:34 for uri: /baz/faces/managePages/experiment/createAnalysis.xhtml | - DEBUG org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter: Filter request output to XML | --- 252 | *** | *** 268,272 | ! DEBUG org.jboss.seam.core.Events: Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage | ! DEBUG org.jboss.seam.core.Events: Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage | ! DEBUG org.jboss.seam.core.Events: Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage | ! DEBUG org.jboss.seam.core.Manager: No stored conversation, or concurrent call to the stored conversation | ! DEBUG org.jboss.seam.jsf.AbstractSeamPhaseListener: After restoring conversation context: ConversationContext(10) | --- 263,265 | ! DEBUG org.jboss.seam.core.Manager: Found conversation id in request parameter: 6 | ! DEBUG org.jboss.seam.core.Manager: Restoring conversation with id: 6 | ! DEBUG org.jboss.seam.jsf.AbstractSeamPhaseListener: After restoring conversation context: ConversationContext(6) | *** Why could the conversation not be found when using ajax? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019831#4019831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - -Error installing to Instantiated: name=jms-rar-DeploymentIn
Hello, when i'm trying to run a JUnitTest in Embeddable RC9 i get the following exception: | INFO 21-02 11:47:21,015 (Log4JLogger.java:info:94) - | INFO 21-02 11:47:21,093 (Log4JLogger.java:info:94) Bootstrapping Embedded JBoss --- | DEBUG 21-02 11:47:21,718 (KernelFactory.java:assembleNewKernel:86) -Starting JBoss Kernel construction... | DEBUG 21-02 11:47:22,062 (KernelFactory.java:assembleNewKernel:112) -Completed JBoss Kernel construction. Duration: 344 milliseconds | WARN 21-02 11:47:23,921 (BeanSchemaBinding.java:init:233) -You should use the 2.0 version of the Microcontainer xml. xmlns='urn:jboss:bean-deployer:2.0' | DEBUG 21-02 11:47:24,125 (BeanXMLDeployer.java:deploy:91) -Parsing file:/C:/_SERVER/jboss-EJB-3.0_Embeddable_ALPHA_9/conf/embedded-jboss-beans.xml took 1672 milliseconds | DEBUG 21-02 11:47:25,171 (UserTransactionImpl.java:start:61) -new UserTx: [EMAIL PROTECTED] | INFO 21-02 11:47:25,703 (LocalTxDataSource.java:bindConnectionFactory:117) -Bound datasource to JNDI name 'java:/DefaultDS' | DEBUG 21-02 11:47:25,703 (BeanXMLDeployer.java:deploy:98) -Deploying file:/C:/_SERVER/jboss-EJB-3.0_Embeddable_ALPHA_9/conf/embedded-jboss-beans.xml took 3250 milliseconds | DEBUG 21-02 11:47:27,140 (BeanXMLDeployer.java:deploy:91) -Parsing file:/C:/_SERVER/jboss-EJB-3.0_Embeddable_ALPHA_9/conf/jboss-jms-beans.xml took 94 milliseconds | DEBUG 21-02 11:47:27,734 (ServiceMBeanSupport.java:jbossInternalCreate:256) -Creating JDBC2PersistenceManager | DEBUG 21-02 11:47:27,750 (ServiceMBeanSupport.java:jbossInternalCreate:269) -Created JDBC2PersistenceManager | DEBUG 21-02 11:47:27,765 (ServiceMBeanSupport.java:jbossInternalStart:285) -Starting JDBC2PersistenceManager | DEBUG 21-02 11:47:27,765 (PersistenceManager.java:startService:1765) -Creating Schema | DEBUG 21-02 11:47:27,812 (IdleRemover.java:internalRegisterPool:89) -internalRegisterPool: registering pool with interval 10 old interval: 9223372036854775807 | DEBUG 21-02 11:47:27,828 (IdleRemover.java:internalRegisterPool:100) -internalRegisterPool: about to notify thread: old next: 1172054897828, new next: 1172054897828 | DEBUG 21-02 11:47:31,515 (PersistenceManager.java:startService:1768) -Resolving uncommited TXS | DEBUG 21-02 11:47:31,562 (ServiceMBeanSupport.java:jbossInternalStart:301) -Started JDBC2PersistenceManager | ERROR 21-02 11:47:31,656 (AbstractController.java:incrementState:440) -Error installing to Instantiated: name=jms-rar-DeploymentInfo state=Described | java.lang.NullPointerException | at org.jboss.deployment.DeploymentInfo.init(DeploymentInfo.java:201) | at org.jboss.ejb3.embedded.resource.Ejb3DeploymentInfo.init(Ejb3DeploymentInfo.java:53) | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:136) | at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:103) | at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:75) | at org.jboss.kernel.plugins.dependency.InstantiateAction.installAction(InstantiateAction.java:52) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:100) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177) | at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:291) | at
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException in remote EJB3.0 lookup from tomcat w
Hi all, I have some additional information. when lookup the same remote EJB from a junit test (different VM from JBoss VM) everthing works fine. Here the looked up class is $Proxy1. The narrow after the lookup including classcat wroks fine. The lookedup class in my tomcat webapp is: javax.naming.Reference The narrow failes with : Caused by: java.lang.ClassCastException: javax.naming.Reference at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:212) Any help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019857#4019857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [News Announcements] - JBoss Messaging 1.2.0.CR1 Released
JBoss Messaging 1.2.0.CR1 has been released and it is available for download on jboss.org (http://labs.jboss.com/portal/jbossmessaging/downloads) and sourceforge (http://sourceforge.net/project/showfiles.php?group_id=22866package_id=157261). 1.2.0.CR1 is functionally equivalent with Beta2, the only notable addition being the JBoss Remoting bisocket transport, which replaces the unidirectional socket as default Messaging transport. This new transport eliminates the need for a ServerSocket on the client side. I would like to use this opportunity to thank Ron Sigal from the Remoting team, for the effort he put into integrating and testing the bisocket layer. Aside from that, the rest of the changes are mostly bug fixes. The complete list of fixes introduced by this release is available here: http://jira.jboss.org/jira/secure/ReleaseNote.jspa?version=12310920styleName=HtmlprojectId=12310061. We will be waiting for community feedback for a while before releasing the GA, which is scheduled for the end of this month (Feb 28). The Messaging road map is available here: http://jira.jboss.org/jira/browse/JBMESSAGING?report=com.atlassian.jira.plugin.system.project:roadmap-panel. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019858#4019858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - relationship does not prevent from deleting referenced entit
I thougtht, that the definition of a unidirectional relationship without cascading delet would prevent the Entities from deletion Example: unidirectional many-to-many relationship between user and usergroup. users know their usergroups, usergroups do not know their users It shold not be possible to delete a usergroup which is in an relationship to a (or many) user I coded like this, what have I done wrong? Thanks Micho @Entity | public class Usergroup implements Serializable | { private long mSid; | private String mName; | | public BenutzerGruppe() | { super(); } | | @Id @GeneratedValue(strategy=GenerationType.AUTO) | public long getSid() | { return mSid; } | | public void setSid(long sid) | { mSid = sid; } | | public String getName() | { return mName; } | | public void setName(String pName) | { this.mName = pName; } | } | @Entity | public class User implements Serializable | { private long mSid; | private String mName; | private ListUsergroup mUsergrouplist; | | public User() | { super(); } | | public String getName() | { return mName; } | | public void setName(String pName) | { mName = pName;} | | @Id @GeneratedValue(strategy=GenerationType.AUTO) | public long getSid() | { return mSid; } | | public void setSid(long pSid) | { mSid = pSid; } | | @ManyToMany | ( targetEntity = Usergroup.class ) | public ListUsergroup getUsergrouplist() | { return mUsergrouplist; } | | public void setUsergrouplist(ListUsergroup pUsergrouplist) | { mBenutzerGruppeListe = pBenutzerGruppeListe; } | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019859#4019859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [News Announcements] - Re: JBoss Messaging 1.2.0.CR1 Released
Congratulations to the team! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019860#4019860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: catching exceptions + stack trace
Maybe my terminology is incorrect. What I see in the logs is this: | 11:35:59,848 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | 11:36:12,167 ERROR [SeamPhaseListener] uncaught exception | org.jboss.seam.security.NotLoggedInException: Error evaluating expression [#{identity.loggedIn}] - User not logged in | at org.jboss.seam.security.Identity.checkRestriction(Identity.java:169) | at org.jboss.seam.pages.Page.enter(Page.java:186) | at org.jboss.seam.core.Pages.enterPage(Pages.java:239) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:242) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:193) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:57) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:613) | Whereas I was hoping that this would be caught and not shown in the logs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019862#4019862 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JAXB error when using different derived types in the same co
I have what seems to be a correct piece of SOAP being sent to JBossWS 1.0.4 that causes a binding exception. This only occurs when I send 2 different sub-class/derived types in the same container type. Sending each type independently (or several instances of the same type) works fine. In my example I have a Transaction type that contains an unbound number of Atoms, where Atom is an abstract type. There are 2 derivative of Atom, AtomType1 and AtomType2 which each extend Atom and add an additional sub-element element unique to the specialised type. (You can assume the namespaces/jax-rpc mapping is correct as when used independently from each other, the derived types bind fine.) My Types... | complexType abstract=true name=Atom | sequence | element name=atom_id type=nonNegativeInteger / | element name=name nillable=true type=string / | /sequence | /complexType | | complexType name=Transaction | sequence | element maxOccurs=unbounded name=atom type=myns:Atom / | /sequence | /complexType | | | complexType name=AtomType1 | complexContent | extension base=myns:Atom | sequence |element name=atom_type_1_value type=unsignedLong / | /sequence | /extension | /complexContent | /complexType | | complexType name=AtomType2 | complexContent | extension base=myns:Atom | sequence |element name=atom_type_2_value type=unsignedLong / | /sequence | /extension | /complexContent | /complexType First example which is processed fine, and proves the type is bound correctly. Single Atom in the Transaction ?xml version=1.0 encoding=UTF-8? | env:Envelope | xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xmlns:enc=http://schemas.xmlsoap.org/soap/encoding/; | xmlns:ns0=http://mynamespace; | |env:Body | ns0:update | Transaction_1 | | atom xmlns:ans1=http://mynamespace; xsi:type=ans1:AtomType2 |atom_id1/atom_id |namemyName2/name |atom_type_2_value2/atom_type_2_value | /atom | | /Transaction_1 | /ns0:update |/env:Body | /env:Envelope The next Transaction contains 2 different Atom derived types, and fails processing with this exception Error: anonymous wrote : org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Requested element atom_type_2_value is not allowed in this position in the sequence. A model group with minOccurs=1 that doesn't contain this element must follow. ?xml version=1.0 encoding=UTF-8? | env:Envelope | xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xmlns:enc=http://schemas.xmlsoap.org/soap/encoding/; | xmlns:ns0=http://mynamespace; | |env:Body | ns0:update | Transaction_1 | | atom xmlns:ans1=http://mynamespace; xsi:type=ans1:AtomType1 |atom_id1/atom_id |namemyName/name |atom_type_1_value2/atom_type_1_value | /atom | | atom xmlns:ans1=http://mynamespace; xsi:type=ans1:AtomType2 |atom_id2/atom_id |namemyName2/name |atom_type_2_value2/atom_type_2_value | /atom | | /Transaction_1 | /ns0:update |/env:Body | /env:Envelope Just for a test, I switched the order of the Atoms in the transaction and note that the binding exception is now accredited to the other derived type Error: anonymous wrote : org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Requested element atom_type_1_value is not allowed in this position in the sequence. A model group with minOccurs=1 that doesn't contain this
[jboss-user] [EJB 3.0] - Re: One PersistenceUnit, multiple DataSources
So, I think I figured out a solution that works for me. In my persistence.xml in my original application EAR, I removed the jar-references and instead added this; | mapping-filepersistence-mapping-file.xml/mapping-file | Then, in the persistence.jar within the EAR, I added the persistence-mapping-file.xml containing this; | ?xml version=1.0 encoding=UTF-8 ? | entity-mappings xmlns=http://java.sun.com/xml/ns/persistence/orm; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd; | version=1.0 | | packagemyproject.entities/package | | entity class=myproject.entities.FooEntity name=FooEntity / | entity class=myproject.entities.BarEntity name=BarEntity / | | /entity-mappings | Then I just refer to the same file within the persistence.xmls I deploy in my webapp-EARs and that works more or less as I want. Does seem like a bit non-standard use of the mapping-file from what I could gather from reading some forums and stuff - but hey, it works. And it's good enough. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019868#4019868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deployment problem
Why are you parsing your hibernate config file ? jbpmConfiguration = JbpmConfiguration.parseResource(hibernate.cfg); It has nothing to do with the JBPMConfiguration file. Try jbpmConfiguration = JbpmConfiguration.parseResource(jbpm.cfg.xml); Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019869#4019869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations
New information my non ajax4jsf app produces this kind of URLs | http://localhost:8080/baz/faces/pages/main.xhtml?cid=3 | whereas the ajax4jsf aware app produces this: | http://localhost:8080/baz/faces/pages/main.xhtml | The requestparameter is not attached. in my components.xml there is this kind of information: core:manager conversation-timeout=12 | concurrent-request-timeout=500 | conversation-id-parameter=cid | conversation-is-long-running-parameter=clr/ | Any Ideas what is going wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019875#4019875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
You should look at build/ide/intellij/idea60/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019877#4019877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Server Configuration for none database
The server itself has an embedded database, but you're not required to use it. So just create your application without using any DataSources or other database related resources, and Bob's your uncle. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019882#4019882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues?
Theory : JAI (Java Advanced API) toolkit issues? Reason: I uninstalled my JAI installation and my web services are now working. Quite strange. -Reinhard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019883#4019883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues?
Correction (Java Advance Image API) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019884#4019884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: catching exceptions + stack trace
I also get both NotLoggedInException and AuthorizationException in the logs if I only handle them with in pages.xml. If I use the login-required=true mechanism, at last the NotLoggedInException goes away. I've read somewhere that this is currently expected behavior. Not sure that's going to make people happy long term :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019885#4019885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations
I have used quote instead of code so the xml is somewhat corrupted. The correct way to configure ajax4jsf is: filter | display-nameAjax4jsf Filter/display-name | filter-nameajax4jsf/filter-name | filter-classorg.ajax4jsf.Filter/filter-class | init-param |param-nameforceparser/param-name |param-valuefalse/param-value | /init-param | /filter | filter-mapping | filter-nameajax4jsf/filter-name |url-pattern/faces/*/url-pattern | /filter-mapping | context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value | /context-param | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019894#4019894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @UniqueConstraint has no Effect in MQSQL
jboss-4.0.4.GA_1 is used View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019895#4019895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: relationship does not prevent from deleting referenced e
jboss-4.0.4.GA_1 is used View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019896#4019896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LocaleSelector
I suppose that you have configured your supported locales in faces-config.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019897#4019897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations
baz wrote : Documentation issue:-( | The newest doc for ajax4jsf says: | anonymous wrote : 2. Add the following content into th WEB-INF/web.xml file of the existing application: | | | | | | display-nameAjax4jsf Filter/display-name | | filter-nameajax4jsf/filter-name | | filter-classorg.ajax4jsf.Filter/filter-class | | | | filter-mapping | | filter-nameajax4jsf/filter-name | | servlet-nameFaces Servlet/servlet-name | | REQUEST | | FORWARD | | INCLUDE | | /filter-mapping | Whereas i have to use | anonymous wrote : | |display-nameAjax4jsf Filter/display-name | |filter-nameajax4jsf/filter-name | |filter-classorg.ajax4jsf.Filter/filter-class | | | |filter-mapping | | filter-nameajax4jsf/filter-name | | url-pattern/faces/*/url-pattern | |/filter-mapping | I will post this result to the ajax4jsf mailing list It is not a documentation issue. filter-mapping | filter-nameajax4jsf/filter-name | servlet-nameFaces Servlet/servlet-name | dispatcherREQUEST/dispatcher | dispatcherFORWARD/dispatcher | dispatcherINCLUDE/dispatcher | /filter-mapping works fine as long as you have Faces Servlet configured properly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019898#4019898 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
build.iml seems to be missing - so says Idea when trying to load the project. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019899#4019899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JNDI look up of remote interface is not working
Hi All, I have googled this problem a lot but coudnt able to find answer of this. Any assistance would be appreciated because i m just stuck up here,,, I m using jboss4.0.4CR2 on linux When, I m calling remote interface of a stateless session bean then its giving me the following error. javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled)] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at mailTest.main(mailTest.java:25) | Caused by: java.lang.ClassNotFoundException: org.jboss.ejb3.JBossProxy (no security manager: RMI class loader disabled) | at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:531) | at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628) | at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294) | at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238) | at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1494) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1457) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) | at java.rmi.MarshalledObject.get(MarshalledObject.java:135) | at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652) | ... 3 more | My Client code looks like this | try { | | HashtableString,String environment = new HashtableString,String(); | environment.put(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | environment.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); | environment.put(Context.PROVIDER_URL, jnp://10.0.0.10:1099); // remote machine IP | InitialContext context = new InitialContext(environment); | Object obj = context.lookup(EmailSessionBean/remote); | //EmailFacade home = (EmailFacade)PortableRemoteObject.narrow(obj, EmailFacade.class); | | System.out.println(lookup done successfully); | | } | catch (Exception e) { | System.out.println(exception caught); | e.printStackTrace(); | } When i invoke list on jndi view its giving me the following | +- EmailSessionBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy113 implements interface com.sumit.email.ejb.interfaces.session.EmailFacade,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- com.sumit.ejb.ifaces.CalculatorPOJO (class: java.lang.Object) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy34 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor[link - jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- com.sumit.ejb.ifaces.CalculatorPOJOPRODUCER_FACTORY (proxy: $Proxy97 implements interface org.jboss.ejb3.ProxyFactory) | +- UserTransactionSessionFactory (proxy: $Proxy35 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | +- UILXAConnectionFactory[link - XAConnectionFactory] (class: javax.naming.LinkRef) | +- UIL2XAConnectionFactory[link - XAConnectionFactory] (class: javax.naming.LinkRef) | +- queue (class: org.jnp.interfaces.NamingContext) | | +- D (class: org.jboss.mq.SpyQueue) | | +- C (class: org.jboss.mq.SpyQueue) | | +- B (class: org.jboss.mq.SpyQueue) | | +- A (class: org.jboss.mq.SpyQueue) | | +- testQueue (class: org.jboss.mq.SpyQueue) | | +- mdb (class: org.jboss.mq.SpyQueue) | | +- ex (class: org.jboss.mq.SpyQueue) | | +- injection (class: org.jboss.mq.SpyQueue) | | +- DLQ (class: org.jboss.mq.SpyQueue) | | +- emailEngine
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
build is not a Java project, it's just a place to have the build files. (scripts) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019902#4019902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpmContext in Web Application
I am watching several threads right now where there is confusion over the proper way to hold on to (or not hold on to) a jbpmContext within a Web application. Can someone that is familiar with jBPM internals shed some light on this subject? A few questions: 1. Should a jbpmContext be created for every Web request? If so, does that mean that we can not put a process instance into a session and signal it across multiple Web Requests? I believe you can not signal a process instance once the jbpmContext in which it was loaded is closed (even without for update)? 2. Is it OK to put the jbpmContext in the web session context? If so what is downside of doing this? My main purpose of this is to be able to put the process instance in a users session and be able to set variables and signal tokens across multiple web requests. Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019903#4019903 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ajax4jsf and outjecting to conversations
What do you mean with anonymous wrote : as long as you have Faces Servlet configured properlyanonymous wrote : | | ? | | Can you give me an advice what is wrong with this configuration? | | | | | servlet | | | servlet-nameFaces Servlet/servlet-name | | | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | | | load-on-startup1/load-on-startup | | | /servlet | | | servlet-mapping | | | servlet-nameFaces Servlet/servlet-name | | | url-pattern/faces/*/url-pattern | | | /servlet-mapping | | | | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019907#4019907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?
Johan, The usual reason for this is code that creates a new parserFactory every place one is needed, instead of reusing one (or more). This can add ~100ms or so to the time for each parse, so (if as I suspect) it may be worth fixing for performance as well. I haven't looked at the jBPM code to see whether this theory fits. (sorry, never enough time) -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019911#4019911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
I found the build/ide/intellij/idea60/jboss-portal.ipr and copied it to the root of the source directory as the README says. I opened the file with Idea 6.0 and an error ocured: Cannot load module c:\... src\build\build.iml. Would you like to remove the module from the project? Yes No So i guess that is a bug. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019912#4019912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Pooling in Buddy Replication
Hi Friends, This is regarding buddy pooling I have the folowing element buddyPoolNamedefault/buddyPoolName for the buddy replication What is its Significance? Because I have a set of four nodes node1,node2,node3,node4 node1 and node2 have buddyPoolNamepool1/buddyPoolName node3 and node3 have buddyPoolNamepool2/buddyPoolName according to me if node1 and node2 fail - application should fail since I was running the app say from pool1, and nodes from the other pool will not contain session data backed up for nodes from pool1.. Am I right?? Your thoughts are appreciated in advance. Waiting for your responses. Thanks Vishal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019915#4019915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @UniqueConstraint has no Effect in MQSQL
is it possible that the schema update doesn´t work correctly? I created an new entitybean with uniquconstraint and a unique index was created. here is my persistence.xml persistence | persistence-unit name=BBCS | jta-data-sourcejava:/MySqlDS/jta-data-source | properties | property name=hibernate.hbm2ddl.auto | value=update / | !--value=create-drop/ -- | property name=hibernate.dialect | value=org.hibernate.dialect.MySQL5Dialect/property | /properties | /persistence-unit | /persistence View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019916#4019916 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: LocaleSelector
What do mean with nothing happens? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019917#4019917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting SessionId IP address if client
Via facesContext.externalContext.request.session.id facesContext.externalContext.request.remoteAddr Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019918#4019918 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - JBoss ear isolation and spring deployer
Hello. I have a problem with spring delpoyer and isolated ear (classloading http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration ) in JBOSS. I get this exception while getting datasources from jndi (defined in xxx-ds.xml in jboss) using JndiObjectFactoryBean: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.springframework.jndi.JndiObjectFactoryBean] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: No matching editors or conversion strategy found]) Everything works if ear is not isolated. Any ideas how to resolve this problem? I'm using Jboss 4.0.x and Spring 1.2.8 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019920#4019920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBoss ear isolation and spring deployer
This is strange: anonymous wrote : | Failed to convert property value of type [org.springframework.jndi.JndiObjectFactoryBean] to required type [javax.sql.DataSource] | How does it convert this when in non-isolated env? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019924#4019924 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: javax.naming.NamingException: Context is read only
Hi tegman, We're experiencing the exact same problem (Tomcat's JNDI service is read-only) Did you solve it eventually ? Thanks !! Lior Neuman RD Team MailVision LTD View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019929#4019929 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
I needed to run generate-lib-file in the build-thirdparty.xml in order to get some classes. Maybe could be put in the readme. I cant run build.xml as I get some errors. Is there anything else to be done in order to get all the libraries (for example for the class Analyzer)? Thank you Claque View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019931#4019931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - In JBPM_VARIABLEINSTANCE table the column named DATEVALUE_ w
Any body can help me out on this issue We are using JBPM for business work flow management. In our application we are facing the below mentioned problem: We have a one process attribute with Date type for the Super Process Instance. This value for this attribute is saved in the JBPM_VARIABLEINSTANCE table as DATEVALUE_ for the Super Process Instance. We require the same process attribute value to be propagated to the sub process instance. But this value is propagated as BYTEARRAYVALUE_ to the sub process instead of DATEVALUE_. Please let me know how to copy the value as same DATEVALUE_ type. Thanks, Suresh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019930#4019930 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: In JBPM_VARIABLEINSTANCE table the column named DATEVALU
please give me reply ASAP.. Thanks, Suresh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019932#4019932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Fork Issues
jorell wrote : the effect of this is that first one path of execution is traversed till it reaches the join node and then the other. There isnt any concurrent processing. I think the next transition is also invoked when another transition path gets into some wait state, such as a task node. If, in the websale example, you change the ship item node into some task node then two tasks are created, and you can choose in which order to execute those. Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019933#4019933 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBoss ear isolation and spring deployer
In not isolated env it works fine - i use it with hibernate which requires javax.sql.DataSource so looks like it is converted ok. I have this definition: bean id=dataSource1 | class=org.springframework.jndi.JndiObjectFactoryBean | property name=jndiName | valuejava:datasourceFromJboss/value | /property | /bean In JBoss there is 'local-tx-datasource' entry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019934#4019934 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Data trigger task end
Hi all, I'm newbie in JBPM and workflow stuff and need to develop a lightweigth framework around it, that support data triggered task completation. So, if i have some data conditions that must be reached by user interference and when all conditions are satisfied, it must trigger a task instance completation, but without direct task ending by the user. There's a good way to do that? Thanks in advance, Leonardo Gamas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019935#4019935 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBoss ear isolation and spring deployer
anonymous wrote : Any ideas how to resolve this problem? Read from wiki. Your problem is a classical isolation problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019937#4019937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
You don't need to run generate-lib-file it is called during the fisrt call to build.sh. Just do sh build.sh (or build.bat) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019938#4019938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IntelliJ Idea project for JBoss Portal 2.6
I've tried it, but it does: C:\jboss-portal-2.6-ALPHA2\src\buildbuild.bat Executing C:\jboss-portal-2.6-ALPHA2\src\build\..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Exception in thread main java.lang.NoClassDefFoundError: Files\Java\jdk1/5/0_06\lib\tools/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xml-apis/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xercesImpl/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\xalan/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\saxon/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\junit/ jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\jbossbuild/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\jboss-test/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\explode/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\crimson/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\cargo-core-uberjar-0/8/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\buildmagic-task s/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\bsf/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\ant/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\ant-nodeps/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\ant-launcher/jar;C:\jboss-portal-2/6-ALPHA2\src\build\//\tools\lib\ant-junit/jar; Press any key to continue . . . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019942#4019942 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: File size in CMS Admin portlet showing as 0kb
Thank you Sohil, appreciate the feedback. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019943#4019943 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Google Gadgets
Ah, alright. Thank you for the feedback Julien. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019944#4019944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:validate/, s:decorate and Trinidad
I'm trying to use Seam validation with Trinidad inputText. I'd read the following topic, so I'm avoiding using s:validateAll / http://www.jboss.com/index.html?module=bbop=viewtopict=93038 However, when I use s:validate /, I get the right error messages but s:decorate is ignored: s:decorate | f:facet name=beforeInvalidField**/f:facet | f:facet name=afterInvalidField@@/f:facet | f:facet name=aroundInvalidFields:span styleClass=error//f:facet | | tr:inputText id=you name=you value=#{orderQuantity.quantity} simple=true required=true requiredMessageDetail=Please enter a quantity | s:validate / | /tr:inputText | /s:decorate Have I done something wrong, or is this similar to s:validateAll/ in that some of the Trinidad component types do not inherit from UIInput and s:decorate relies on that? Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019949#4019949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - NullPointerException while using JBossWS 1.0.4.GA
hello, Please find attached the details of the exception while I've deployed my service (which was running fine on old release) I've upgraded to JBossWS 1.0.4.GA the problem starts.. I'm using JBoss 4.0.5.GA, it starts without any problem. But, when I deploy my service package it throws a NullPointerException. Then during investigation, I tried to access JBossWS Web Console. But, when I try to list the services - it again thows me an exception. 19:40:04,217 ERROR [MainDeployer] Could not create deployment: file:/C:/Lang/JBoss/jboss-4.0.5.GA/server/default/deploy/DisplayManagementAPI.ejb3 java.lang.NullPointerException at org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.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 $Proxy30.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019955#4019955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - IOException: Incorrect number of bytes read.
Using JBoss 4.0.5-GA with JDK 1.5.0_06 and getting this issue with JBossMQ when the MDB is trying to acquire our business data object from the body of an ObjectMessage | javax.jms.MessageFormatException: IOException: Incorrect number of bytes read. | at org.jboss.mq.SpyObjectMessage.getObject(SpyObjectMessage.java:158) | I did some groundwork looking for a solution and I can't seem to find any posting regarding this issue. I also included the method that i believe to be the culprit of this issue. On setObject(Serializable) the flush() method is not called prior to extracting byte array from ByteArrayOutputStream. So I would suspect that if the ObjectOutputStream did not by chance automatically flush to the memory stream it would make sense why some bytes appear to be lost. | public void setObject(Serializable object) throws JMSException |{ | if (header.msgReadOnly) | { | throw new MessageNotWriteableException(setObject); | } | if (object == null) | { | objectBytes = null; | return; | } | try | { | if (object instanceof byte[]) |{ | //cheat for byte arrays | isByteArray = true; | objectBytes = new byte[((byte[]) object).length]; | System.arraycopy(object, 0, objectBytes, 0, objectBytes.length); | } | else |{ | isByteArray = false; | ByteArrayOutputStream byteArray = new ByteArrayOutputStream(); | ObjectOutputStream objectOut = new ObjectOutputStream(byteArray); | objectOut.writeObject(object); | objectBytes = byteArray.toByteArray(); | objectOut.close(); | } | } | catch (IOException e) | { | throw new MessageFormatException(Object cannot be serialized); | } |} | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019958#4019958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Question on EntityManager.flush()
Hi All, I have a SFSB-Method print (no special transaction-attribute - REQUIRED) that works as an entry point for printing. Printing is done by Eclipse-BIRT but there is a prePrintProcess which put some data in a table printdata for BIRT. The problem is, that the BIRT-Process is called within the method print and so the are no data in printdata, because the transaction has not been commited, so far. So, I tried to encapsulate the prePrintProcess in a separate method of the SFSB and set an annotation @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW). Before the method prePrintProcess returns, I call myEntityManger.flush(). But after this method prePrintProcess there is still no data in printdata :-(. What should I do (besides BMT)? Thanks for any help! Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019960#4019960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF components in a portlet environment
Is anybody using the t:saveState component? Apparently it's not working. Would like to be 100% sure before I update the Wiki. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019962#4019962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @LoggedIn at the method level
You should use: @Restrict(#{identity.loggedIn}) This work on TYPE and METHOD level. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019964#4019964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: File size in CMS Admin portlet showing as 0kb
Oberiko- Thanks for bringing this to my attention. The two tasks are linked now View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019965#4019965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam JBoss integration
Hello! Can i integrate Seam lib's in JBoss AS, so i will install more than one Seam applications to one Jboss AS and to have many of Seam lib's isn't essential, or? What's the diffrent of database connection use of seam internal and Jboss? Can i use in Seam application Jboss db connection? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019966#4019966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Question on EntityManager.flush()
Hi Carsten, there is no new TX created when you call method within the same bean. You have to implement your prePrintProcess in another bean (layer) and mark as REQUIRES_NEW. Then will be the new TX created and commited. Bye Dalibor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019967#4019967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem with having factory in home
Discussed previously, but as Pete says he doesn't have that problem, here to clearly state how it happens: Have a Home object, e.g. CarHome extends EntityHome, named carHome. Have a factory (as recommended by reference document) in it named car. Have a page that as parameter sets carHome.id. Select from a list to go into that page, that means set the carHome.id to an existing id. First time you access the car the factory makes it by giving you that instance. Then for whatever reason in the same conversation come back into that page again but with a different id. Setting carHome.id switches the home object to use a new instance, but the factory made car remains the first instance!!! All wrong info displayed on page!!! Solution: Don't use factory in home for shortcut to instance. Sure, you can tell me not to come into the same page a second time in the same conversation, but I don't think that is good advice. (A colleague put a link into a sidebar that allowed it. Too many items on side of page to be able to control or enforce it.) I think that idea of using that factory for shorter syntax to get instance maybe shouldn't be in the reference documentation unless it is implemented differently. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019969#4019969 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NullPointerException while using JBossWS 1.0.4.GA
Got the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019970#4019970 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Question on EntityManager.flush()
Altertnatively you can do: ctx.getBusinessObject(MyInterface.class).prePrintProcess(); This will route the call through the container. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019972#4019972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Singleton MDB
@PoolClass(value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1) Note that this will only make sure there is 1 instance of the MDB alive. It can still be destroyed and recreated. To have a true singleton you should delegate from the MDB to a service bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019973#4019973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Installed JbossAS+Portal 2.4.1 Bundle what to convert to
As Thomas suggested, please make sure you have the latest jdbc driver etc. You would still need hypersonic dabase config (hsqldb-ds.xml) because some other components of JBoss such as JMS uses this to create its tables but please make sure that you don't have PortalDS configuration in this file. Now for portal, you do need oracle-ds.xml (name can be *-ds.xml) which has PortalDS configuration. I would suggest to give it another try and start from scractch. 1. Stop the running portal sever. 2. Unzip portal or clean data tmp work folders in server/default dir. 2. Clean up the database-probably nuke portal database in oracle 3. Start it again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019974#4019974 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpmContext in Web Application
1: Yes Correct, just like in real life... How can you tell someone to do something if he/she is not with you 2: No, only if it is closed things are saved, why would you put it in the sessioncontext in the first place. Creating a new one is fast. 3: Put the tokeId/processId in the context and use the jbpmContext to retrieve the process and act on it. btw... I'm curious where you did find the threads with confusion on thoontho to the context. You could hold on to it, but with lots of possible problems... session timeouts, things not saved etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019979#4019979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How to use jboss cache in tomcat outside jboss appserver
Hi, Is there any documentation (like you have for WebSphere) to configure the cache from a servlet running in Tomcat ? Tomcat's JNDI is read-only, do you have suggestions or is the above the only way ? Thanks ! Lior Neuman View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019981#4019981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying recursive process definitions
I know this is an old post, but nevertheless: I guess this behavior has changed since 3.2.Beta2; see http://jira.jboss.com/jira/browse/JBPM-733 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019982#4019982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: IPC
Have you tried deploying your sar inside an ear to get rid of startup errors? Another alternative would be to do this in the processAction of the navigator portlet: session.setAttribute(page_to_view, page, PortletSession.APPLICATION_SCOPE); and then in doView of the other portlet you can get the attribute and decide what to show. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019983#4019983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: javax.naming.NamingException: Context is read only
A few alternatives come to mind: 1) Does the cache really need a transaction manager? Is code external to the cache trying to start/commit transactions using DummyTransactionManager? If not, just remove the TransactionManagerLookupClass element. 2) Configure a real transaction manager in Tomcat and choose a TransactionManagerLookup that will find it. The first bit isn't trivial to do; I did it a couple years back after some research and experimentation, but don't remember the steps involved. But, if the purpose of the TransactionManager is anything at all beyond grouping together operations on the cache into a unit of work that can be committed/rolled back, you need to use a real TransactionManager. 3) You don't need a real TransactionManager and this TransactionManager you are using is only used by this cache and code that has access to this cache. In this case, you may not need the TransactionManager bound in JNDI. Instead, write a class like this: | package com.foo; | | public class FooTransactionManagerLookup implements TransactionManagerLookup | { |public TransactionManager getTransactionManager() throws Exception |{ | // Don't call BatchModeTransactionManager.getInstance(), which tries | // to bind a singleton in JNDI -- just create one for our use | return new BatchModeTransactionManager(); |} | } | | Configure TransactionManagerLookupClass to use com.foo.FooTransactionManagerLookup. Code that needs to start transactions gets the TransactionManager from the cache by calling TreeCache.getTransactionManager(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019984#4019984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Data trigger task end
Currently not. jBPM is not datadriven, but flow driven. You've got to build your own framework for that and e.g. keep a pointer to the relevant task and signal it once all is met you could try doing something with JBoss Rules View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019985#4019985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: binding of DummyTransactionManager failed javax.naming.N
Hi, So what's the workaround ? Will GenericTransactionManagerLookup work ? Can you please give example of how then transactions are obtained ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019986#4019986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF components in a portlet environment
You can update it, stating that it is unsure. I never tried it. Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019987#4019987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Fork Issues
correct, until it reaches the join or a waitstate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019988#4019988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: user administration
that was quite easy. thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019989#4019989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release
Breaks here: output: BUILD FAILED C:\workspace\jbportal\trunk\tools\etc\buildfragments\buildmagic.ent:273: The following error occurred while executing this line: C:\workspace\jbportal\trunk\workflow\build.xml:170: C:\workspace\jbportal\trunk\workflow\output\resources\portal-workflow-jar not fo und. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019990#4019990 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How to use jboss cache in tomcat outside jboss appserver
Don't cross post. Answered at http://www.jboss.com/index.html?module=bbop=viewtopict=98997. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019991#4019991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Getting javax.jms.InvalidClientIDException when using 1.
Hi Tim Ovidiu, We configured client ids in the MDB config files, and able to start the system successfully. Thank you for providing quick replies for fixing the problem :) Thx, Sathish View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019992#4019992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSF 1.2 in Seam distribution?
We will move to the JSF RI as soon as JBoss 4.2 is out (which will embed the RI). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019994#4019994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: HA-JMS objects lookup in a Cluster
See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQHAOverview. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019997#4019997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Missing (config) files starters kit?
Johan, so your problem is not that it tries to open the none-existing files, but that number of times it tries that I did not interpret your 'constantly' as to often and certainly not that it was mainly jBPM. Still afaik it is a specification of java that you can override parsers this way and yes in most cases it is xerces doing it since it is one of the most used ones... As Ed states, the solution is kind of obvious and could indeed lead to performance gains... We'd appreciate it if you could help out on this one, since we have lots of other things to do. File a jira issue and assign it to yourself so it does not get lost. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=401#401 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Server Configuration for none database
If you plan to use JMS, you have to use a database, whether the embedded HSQLDB (not recommended) or an external database (such as MySQL). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=402#402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load Balancing using client Proxy
See http://docs.jboss.com/jbossas/guides/clusteringguide/r2/en/html_single/#clustering-jndi, particularly section 1.2.2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020001#4020001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is managing conversations in *.page.xml files good pract
I think its a good idea if you are trying to create more reuseable components, and separate orchestration out of the Java code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020002#4020002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020002 ___ 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 on tomcat 5.5
AFAIK, Shane did not have time to get this example running on Tomcat yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020003#4020003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: catching exceptions + stack trace
Yes, currently the exception handling stuff *alway* logs the exception before swallowing it. In some cases this is probably not what you want, so I suppose we should introduce something like: exception class=MyException log=false | ... | /exception View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020005#4020005 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Commented code + value change listeners parsed by Seam e
This is a facelets question, you'll find plenty of info in the facelets docs and website :-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020006#4020006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Passing messages between two JBossMQ
Here is some info to point you in the right direction for using JBossMQ for bridging messages across different servers. http://wiki.jboss.org/wiki/Wiki.jsp?page=JMSOverHTTPS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4020008#4020008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4020008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user