[jboss-user] [JBoss Messaging] - Re: Cluster wide message count
JBM does not have this functionality. The only way to do this would be to connect to each node individually. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212517#4212517 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Migration from JBoss 4.2.3.GA to JBoss 5.0.0.GA
Hi, in JBoss 4 this code will works fine: | @Stateless | public class GetUserName implements GetUserNameLocal { | | public GetUserName() { | } | | @Override | public String getUserName() throws NamingException { | InitialContext ic = new InitialContext(); | EJBContext sctxLookup = (EJBContext) ic.lookup(java:comp/EJBContext); | Principal principal = sctxLookup.getCallerPrincipal(); | String userName = principal.getName(); | | return userName; | } | } | On JBoss 5 i get the following exception: | 08:56:29,719 INFO [STDOUT] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.NullPointerException] | 08:56:29,719 INFO [STDOUT] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1463) | 08:56:29,719 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:809) | 08:56:29,719 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:820) | 08:56:29,719 INFO [STDOUT] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:673) | 08:56:29,750 INFO [STDOUT] at javax.naming.InitialContext.lookup(InitialContext.java:392) | 08:56:29,750 INFO [STDOUT] at de.test.riedel.ejb.service.GetUserName.getUserName(GetUserName.java:28) | 08:56:29,750 INFO [STDOUT] at de.test.riedel.ejb.revision.RevisionListener.newRevision(RevisionListener.java:22) | 08:56:29,750 INFO [STDOUT] at org.jboss.envers.revisioninfo.DefaultRevisionInfoGenerator.newRevision(DefaultRevisionInfoGenerator.java:73) | 08:56:29,750 INFO [STDOUT] at org.jboss.envers.revisioninfo.DefaultRevisionInfoGenerator.generate(DefaultRevisionInfoGenerator.java:80) | 08:56:29,750 INFO [STDOUT] at org.jboss.envers.synchronization.VersionsSync.executeInSession(VersionsSync.java:109) | 08:56:29,750 INFO [STDOUT] at org.jboss.envers.synchronization.VersionsSync.beforeCompletion(VersionsSync.java:144) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:101) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:263) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1414) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | 08:56:29,750 INFO [STDOUT] at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:75) | 08:56:30,250 INFO [STDOUT] at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:170) | 08:56:30,250 INFO [STDOUT] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87) | 08:56:30,250 INFO [STDOUT] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,250 INFO [STDOUT] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,250 INFO [STDOUT] at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,250 INFO [STDOUT] at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:201) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,250 INFO [STDOUT] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:159) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,250 INFO [STDOUT] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | 08:56:30,250 INFO [STDOUT] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | 08:56:30,281 INFO [STDOUT] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) |
[jboss-user] [Management, JMX/JBoss] - Re: Console Halt
Thanks for reply. Sir actually i want all the sysouts which are coming on console1 should also be logged on to Rolling file Appender.So i made Console1 as a child appender to Rolling Appender(Parent). Beside it i will also post same post to Installation Configuration forum. Thanks And Regards Divya Garg View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212519#4212519 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212519 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB
The underlying problem is that we don't have a (JTA) data source deployer in E-EJB3. jta-profile needs to move down the food chain. jpa-profile needs to be created and we need a simple jca-profile for the above. Then ejb3-embedded should be based on profile3_1 and your set to go. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212520#4212520 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Console Halt
HI Everyone Here i am working on JBoss 4.2.2. I have a custom log4j xml file .Its content is: | | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE log4j:configuration SYSTEM log4j.dtd | log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true | | | | appender name=ROLLING class=org.apache.log4j.DailyRollingFileAppender | param name=File value=${log4j.log.dir}/jbossatwork.log/ | param name=Append value=false/ | layout class=org.apache.log4j.PatternLayout | param name=ConversionPattern value=%d %-5p [%c][%t] - %m%n/ | param name=Additivity value=false/ | /layout | | |filter class=com.propco.tools.mergemanager.profiles.Domfilter/ | | /appender | | appender name=CONSOLE1 class=org.apache.log4j.ConsoleAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param name=Target value=com.propco.tools.mergemanager.profiles.Out1/ | param name=Threshold value=INFO/ | layout class=org.apache.log4j.PatternLayout | !-- The default pattern: Date Priority [Category] Message\n -- | param name=ConversionPattern value=%d{ABSOLUTE} %-5p [%c{1}] %m%n/ | /layout |/appender | | category name=com.propco | priority value=DEBUG/ | appender-ref ref=ROLLING/ | /category | | category name=org.apache | priority value=WARN/ | /category | | root | priority value=INFO/ | appender-ref ref=ROLLING/ | | /root | | /log4j:configuration | | | Now the problem is sysouts come over the console untill my log4j is configured.At the time when my log4j is configured Sysouts stoped coming onto console.May be it is because of using other console appender than one which is in jboss-log4j.xml.But i can not remove my console appender. This is the content of Domfilter | package com.propco.tools.mergemanager.profiles; | | import java.io.IOException; | import java.net.InetAddress; | import java.util.Vector; | | import org.apache.log4j.FileAppender; | import org.apache.log4j.PatternLayout; | import org.apache.log4j.spi.Filter; | import org.apache.log4j.spi.LoggingEvent; | | import com.propco.login.LoginCheck; | import com.propco.vo.ClientInfo; | import com.propco.vo.LoginDetails; | import com.propco.vo.PropCoSystemDomainVO; | | public class Domfilter extends Filter | { | | InetAddress ip[]={ InetAddress.getLocalHost()}; | | | VectorPropCoSystemDomainVO vec; | FileAppender appender,appender1; | PatternLayout layout; | | | public Domfilter() throws java.net.UnknownHostException, InterruptedException | { | | System.out.println(hi123); | layout=new PatternLayout(); | | layout.setConversionPattern(%d %t %-5p [%c] %m%n); | vec=LoginCheck.getAllDomains(new ClientInfo(ip)); | System.out.println(vec.size()); | String log4jConfig = System.getProperty(log4j.configuration); | System.out.println(log4jConfig); | | System.out.println(Avinash+vec.get(0).getDomainId()); | System.out.println(Avinash+vec.get(1).getDomainId()); | System.out.println(Avinash+vec.get(2).getDomainId()); | | } | | public int decide(LoggingEvent event) { | | for(int i=0;ivec.size();i++){ | | System.out.println(Avinash); | | if( (((String)event.getMessage()).startsWith(vec.get(i).getDomainName())) ) | { try{ | appender = new FileAppender(layout,C:\\rev2\\logs\\+vec.get(i).getDomainName()+.log,true); | }catch(IOException e){e.printStackTrace();} | appender.doAppend(event); | return Filter.DENY; | }} | | | | return Filter.ACCEPT; | } | | } | |} | } | | | anonymous wrote : System.out.println(Avinash+vec.get(3).getDomainId()); anonymous wrote : System.out.println(Avinash); 984 DEBUG [org.jboss.remoting.transport.socket.ClientSocketWrapper] reset timeout: 6 | 2009-02-20 17:20:05,296 INFO [STDOUT] Propco EJB Created | 2009-02-20 17:20:06,468 INFO [STDOUT] jar:file:/C:/jboss1/server/default/tmp/deploy/tmp24943propcoo | ffice-ejb.jar!/djboss-log4j.xml urll | 2009-02-20 17:20:06,640 INFO [STDOUT] hi123 | 2009-02-20 17:20:06,640 INFO [STDOUT] getting domains for 192.168.5.78 | 2009-02-20 17:20:06,734 DEBUG
[jboss-user] [Security JAAS/JBoss] - Re: BUG: Principal ist not is session scope after WebAuthent
I have double checked the code. There are no session.invalidate() and no webAuthentication.logout() calls in between. Any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212523#4212523 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - jboss 4.2.2 comet /cometd
Hi, There is someone test comet (server push) with jboss 4.2.2? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212524#4212524 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - ha-xa datasource - not working
hi , I have been using ha-xa-datasource for the oracle failover option in jboss. and i have configured my oracle-ds.xml file as follows. ha-xa-datasource jndi-nameMockedHaXaDS/jndi-name track-connection-by-tx/track-connection-by-tx isSameRM-override-valuefalse/isSameRM-override-value xa-datasource-classorg.jboss.test.jca.adapter.MockedXADataSource/xa-datasource-class !-- list of connection URLs -- xa-datasource-property name=URLhaXaUrl1|haXaUrl2/xa-datasource-property url-propertyURL/url-property url-delimeter|/url-delimeter check-valid-connection-sqlVALUES CURRENT TIMESTAMP/check-valid-connection-sql /ha-xa-datasource Now, the ha is happening, i.e when i disconnect one of the datasource , jboss is able to send the request to other database. But, i am not getting xa working done. i,e if i insert in to one database, the other database is not inserted with the record. The distributed transaction is not happening. In a nut shell, what i need is, i want two datasources to be in high availability mode and they should be in distributed transaction mode, i,e when i do some transaction (insert,update) on one database, it should reflect the same in the other database. Can anyone let me know what else do i need to do other than the above configuration file? Thanks Sreenivas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212525#4212525 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Error installing WebService in JAXRPCMetaDataBuilder
Which modifications in ejb2.x are necessary to run? Regards! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212528#4212528 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to deploy an ESB project with JBoss Tools ?
ESB tools cannot deploy to the standard set of webtools generic server adapters. You must also download the AS Tools plugins. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212531#4212531 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Migration from JBoss 4.2.3.GA to JBoss 5.0.0.GA
I have found one mistake. I have used the constructor from GetUserName to use the class. I have changed this and now i use the lookup: | InitialContext ic = new InitialContext(); | GetUserNameLocal getUsername = (GetUserNameLocal) ic.lookup(GetUserName/local); | userName = getUsername.getUserName(); | Now I get no exception. But the the username is not the user that is logged on the session. I get anonymous. Why? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212533#4212533 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS 4.2.2 GA Server Startup delay
Hi, I got the problem, if I delete and the tmp folder and start the server it is starting properly. May be when I start the server JBOSS tries to delete this folder and this could be taking long. Thanks for ur reply :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212535#4212535 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ExpirationAlgorithm - Eviction Policy
Hi Manik, The javadoc mentions about expiration config being set programatically. Cache cache; | Fqn fqn1 = Fqn.fromString(/node/1); | Long future = new Long(System.currentTimeMillis() + 2000); | cache.put(fqn1, ExpirationConfiguration.EXPIRATION_KEY, future); | cache.put(fqn1, foo); | assertTrue(cache.get(fqn1) != null); | | Thread.sleep(5000); // 5 seconds | assertTrue(cache.get(fqn1) == null); I would like to know if it is possible to set it programatically only ? or can we set it through the config file. What would be the setting in the config file. Is there any example for the config file setting? Even the programatic approach as mentioned in the docs does not evict the node.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212536#4212536 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB
But we don't need a full profile3_1 just to get a couple MC Beans installed into Embeddable. This can even be done by way of jboss-ejb3. So long as there's some component that brings in the configs needed... S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212537#4212537 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: ExpirationAlgorithm - Eviction Policy
Programmatically only, and it needs to be in a region that has the expiration eviction algorithm configured. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212540#4212540 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB 3 1.0.0 bundle released with JBoss AS 5.0.1.GA
The EJB 3 1.0.0 release that is available for as a plugin for AS 5.0.0.GA has also gone into AS 5.0.1.GA. Rajesh Rajasekaran wrote : JBoss AS 5.0.1.GA has been released and is available for download at | http://www.jboss.org/jbossas/downloads/ | | This is the first bug fixing release http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossProductVersioning release of the JBoss 5.0 series for the Java EE5 codebase that fully complies | with the Java EE 5 conformance testing certification requirements. It contains more than 40 bug fixes and | improvents as well as addresses the majority of the initial glitches reported by the | community since the release of JBoss AS 5.0.0.GA | | Detailed release notes: | https://sourceforge.net/project/shownotes.php?release_id=663566group_id=22866 | | Thanks | Rajesh Other than a recent post of someone deprecating the .ejb3 usage, I saw no reply to the .ejb3 usage question. So that function has been removed. Please open a forum thread here if you spot any problems. Release Notes for EJB 3 1.0.0-GA (from 1.0.0-Beta10) ** Sub-task * [ EJBTHREE-1243 ] Fix Security Regressions from Revision 71339 * [ EJBTHREE-1251 ] Fix security5 tests * [ EJBTHREE-1609 ] ClassHelper needs privileged blocks for all sensistive operations * [ EJBTHREE-1618 ] Insecure access to getClassLoader in SerializableMethod * [ EJBTHREE-1619 ] Setting permissions in Ejb3AuthenticationInterceptorv2 needs to be done in doPrivileged * [ EJBTHREE-1636 ] SerializableMethod should use PrimitiveAwareClassLoader ** Feature Request * [ EJBTHREE-1437 ] Upgrade -aop.xml files to use JAXB * [ EJBTHREE-1596 ] Improve error message when persistence unit can not be resolved * [ EJBTHREE-1620 ] Allow for configuration of known-issues * [ EJBTHREE-1648 ] Plugin should not export dependencies to consumers ** Bug * [ EJBTHREE-1530 ] MBean 'start' method calls not honouring dependencies * [ EJBTHREE-1622 ] Errors in resolving arrays under JDK6 in SerializableMethod.toMethod() * [ EJBTHREE-1628 ] NullPointerException in ExtendedSessionInvocationHandler * [ EJBTHREE-1630 ] EJBContext of service bean does not implement SessionContext * [ EJBTHREE-1635 ] Resources of type URL defined with annotations don't have resUrl set * [ EJBTHREE-1643 ] SecurityDomain unauthenticatedPrincipal is not honoured * [ EJBTHREE-1646 ] Placeholder * [ EJBTHREE-1653 ] Locking in EJBContainer during start/stop can cause deadlocks and/or IllegalMonitorStateExceptions * [ EJBTHREE-1654 ] BlockContainerShutdownInterceptor does not immediately reject invocations once EJBContainer stop is requested * [ EJBTHREE-1658 ] pecified calling class, [B could not be found for sun.misc.Launcher$AppClassLoader * [ EJBTHREE-1663 ] Authorization/Authentication should not be performed upon lifecycle of @Service beans * [ EJBTHREE-1668 ] Non-existent default business interface(s) for EJB2.x view beans bound to JNDI * [ EJBTHREE-1671 ] CNFE when injecting @Resource of application specific type in an application packaged as EAR with jboss-app.xml classloading configuration * [ EJBTHREE-1675 ] Fix invoker test * [ EJBTHREE-1676 ] JBossServiceBeanMetadata must be wrapped in JBossServicePolicyDecorator * [ EJBTHREE-1678 ] Support for Service exposing a management interface and a custom objectName through deployment descriptor isn't working * [ EJBTHREE-1680 ] Async invocation should report the real exception as a cause in ExecutionException * [ EJBTHREE-1681 ] Async invocation only works once * [ EJBTHREE-1682 ] SecurityContext is not propagated on asynchronous calls * [ EJBTHREE-1684 ] Plugin must also install jboss-metadata.jar in client directory * [ EJBTHREE-1688 ] isHomeAndBusinessBoundTogether may return true in presense of no business interfaces ** Task * [ EJBTHREE-655 ] Refactor @Service beans * [ EJBTHREE-1201 ] fix failures/regressions in testsuite * [ EJBTHREE-1328 ] Fixes for build-test.xml * [ EJBTHREE-1574 ] EJB3 Remote Annotation with EJB2.x View - Enhanced Error Message * [ EJBTHREE-1610 ] Remove configurations telling clients to connect to 0.0.0.0 (INADDR_ANY) * [ EJBTHREE-1611 ] Embedded EJB3 POM out of date * [ EJBTHREE-1614 ] Extract out logic to decorate metadata w/ JNDI Binding Policy from EjbMetadataJndiPolicyDecoratorDeployer * [ EJBTHREE-1615 ] Externalize attachment names as a contract away from the deployers themselves * [ EJBTHREE-1616 ] Create a pluggable @EJB Reference Resolver * [ EJBTHREE-1625 ] Create MC Integration Project * [ EJBTHREE-1626 ] Create a ClassLoader capable of loading Primitives * [ EJBTHREE-1639 ] IsLocalInterceptor should no longer support @Deprecated dynamicInvoke to Service Containers * [ EJBTHREE-1645 ] Centralize logic to get at all EJB3 Deployment
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
jshowalter wrote : The comments in the source for putForExternalRead say See JBCACHE-848 for details around this feature., but that link is dead. The link works for me ... it goes here: https://jira.jboss.org/jira/browse/JBCACHE-848 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212545#4212545 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
jshowalter wrote : Based on an earlier thread on this forum that I started, and their response from JBoss (which I think was from you, Manik!) asking how to avoid notification on put, we call setCacheModeLocal(true) for puts of data read from the database as opposed to puts of new data. Will that not accomplish what we want? Also, how would calling putForExternalRead solve the TimeoutException? pFER implicitly sets your timeout to 0 so it won't wait for locks. It it cannot acquire the lock *immediately*, it won't fail either - it will just not do anything. This is OK since the only time it won't be able to get a write lock is if some other thread is doing the same thing (reading form DB and writing to cache) so this is acceptable. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212546#4212546 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin
Ok, I have two more questions. 1. Say that I have specified thesecondaryBindPort and secondaryConnectPort at JBM server. Then in the client LAN say I have jbmfake host on which I set up three port forwardings: jbmfake:serverBindPort - jbm:serverBindPort jbmfake:secondaryBindPort- jbm:secondaryBindPort jbmfake:secondaryConnectPort- jbm:secondaryConnectPort The question is how to configure the client jndi props and rmi props: | -Djava.rmi.server.hostname=external_host_name | -Djava.rmi.server.useLocalHostname=true | external_host_name=? | java.naming.provider.url=jbmfake:SOME_PORT | SOME_PORT=? 2. The above seems to be the configuration when we have single node cluster. So what about two/three/... nodes in the cluster? Could secondaryBindPort and secondaryConnectPort be specified in \docs\examples\binding-manager\sample-bindings.xml ? Do I have to port forward for each node separately or a subset (like 1 node) is sufficient? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212549#4212549 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Resident Nodes evicted in heavy load conditions
We are facing the same issue. Have anybody resolved this issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212551#4212551 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache 3.0.3.GA just released
A new bug fix release on the 3.x Naga series has just been released. Read all about it here: http://jbosscache.blogspot.com/2009/02/jboss-cache-303ga-released.html Cheers Manik View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212552#4212552 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin
This is all JBoss Remoting config. Your best bet for questions related to that is the JBoss Remoting forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212554#4212554 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to Connect hsqldb from eclipse using Servlet or jsp
It may be also helpful for you: http://download.jboss.org/jbosstools/nightly-docs/en/hibernatetools/html_single/index.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212559#4212559 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying processes but cannot login and see the tasks
1: search the forum first, then come with more detailed info 2: no, is static 3: ok View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212563#4212563 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - DataSource binding to org.jboss.resource.adapter.jdbc.Wrappe
Hello i'm trying to migrate a webapp from tomcat 4.x to JBoss 5.0.0.GA but got stuck with the DataSources, the webapp uses two of them, both are mySql-Databases, though i created a mysql-ds.xml and put it into the deploy-directory, than edited the web.xml of the webapp and added a jboss-web.xml both in the WEB-INF folder of the webapp. I hope it is a config error, because since it is not my webapp i cannot change the code. the webapp is an exploded war wich i put under an deploy.last in the deploy folder of the server. but i get the following error when starting the server: | ... | Caused by: java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrapperDataSource cannot be cast to javax.sql.DataSource | ... | the mysql-ds.xml | ?xml version=1.0 encoding=UTF-8? | | datasources | local-tx-datasource | jndi-namejdbc/ProdDataSource/jndi-name | connection-urljdbc:mysql://localhost:3306/mydb?characterEncoding=utf-8autoReconnect=true | /connection-url | use-java-contexttrue/use-java-context | driver-classcom.mysql.jdbc.Driver/driver-class | user-name***/user-name | password***/password | max-pool-size10/max-pool-size | check-valid-connection-sql | select CID from COMMON_ASSET where CID=1000 | /check-valid-connection-sql | | metadata | type-mappingmySQL/type-mapping | /metadata | | /local-tx-datasource | /datasources | web.xml | ?xml version=1.0 encoding=ISO-8859-15? | web-app xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; | version=2.4 | resource-ref | res-ref-namejava:jdbc/ProdDataSource/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref | resource-ref | res-ref-namejava:jdbc/LiveDataSource/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | /resource-ref | ... | /web-app | jboss-web.xml | !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 5.0//EN http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd; | jboss-web | resource-ref | res-ref-namejdbc/ProdDataSource/res-ref-name | jndi-namejava:jdbc/ProdDataSource/jndi-name | /resource-ref | resource-ref | res-ref-namejdbc/LiveDataSource/res-ref-name | jndi-namejava:jdbc/LiveDataSource/jndi-name | /resource-ref | /jboss-web | and the corresponding code snippet | ... | Context initContext = new InitialContext(); | Context appContext = (Context)initContext.lookup(java:comp/env); | DataSource ds = (DataSource)appContext.lookup(datasourceName); | ... | if someone could tell me what i'm doing wrong, that would be really nice. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212566#4212566 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: DataSource binding to org.jboss.resource.adapter.jdbc.Wr
sorry wrong config file, it must be mysql-ds.xml | ?xml version=1.0 encoding=UTF-8? | | datasources | local-tx-datasource | jndi-namejdbc/ProdDataSource/jndi-name | connection-urljdbc:mysql://localhost:3306/mydb?characterEncoding=utf-8autoReconnect=true | /connection-url | use-java-contexttrue/use-java-context | driver-classcom.mysql.jdbc.Driver/driver-class | user-name***/user-name | password***/password | max-pool-size10/max-pool-size | check-valid-connection-sql | select CID from COMMON_ASSET where CID=1000 | /check-valid-connection-sql | | metadata | type-mappingmySQL/type-mapping | /metadata | | /local-tx-datasource | | local-tx-datasource | jndi-namejdbc/LiveDataSource/jndi-name | connection-urljdbc:mysql://localhost:3306/mydb2?characterEncoding=utf-8autoReconnect=true | /connection-url | use-java-contexttrue/use-java-context | driver-classcom.mysql.jdbc.Driver/driver-class | user-name***/user-name | password***/password | max-pool-size10/max-pool-size | check-valid-connection-sql | select CID from COMMON_ASSET where CID=1000 | /check-valid-connection-sql | | metadata | type-mappingmySQL/type-mapping | /metadata | | /local-tx-datasource | | /datasources | but that didn't solve the problem, still the same error View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212568#4212568 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB
pete.m...@jboss.org wrote : | and the second issue to address is that to run the EJB discovery, we need to set the deployment unit in use onto the discovery used. Can we inject the DU somehow? See how I do this in WebBeansBootstrapDeployer. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212570#4212570 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Possible bug in Jboss-messaging-2.0.0-alpha1
Hi, I'm new here, so I hope I'm posting this in the correct forum. I've been playing around with the new jboss messaging component - great work by the way. However I think I've found a bug - it looks as tho' the journal files used for persistence are not being cleaned out. I have a producer that constantly generates persistent messages to a queue, and a number of consumer threads that try to read the messages as fast as they can. I run both together to benchmark the broker. At the end of the test I shut the producer down (usually by terminating it). The broker reports the following warning, but I don't think this is telling me anything important 11:35:25,258 WARN @NioProcessor-4 [ConnectionManagerImpl] A problem has been detected with the connection to remote client 21323983. It is possible the client has exited without closing its connection(s) or the network has failed. All connection resources corresponding to that client process will now be removed. I leave the consumer threads running after the producer has shutdown to make sure the queue has been drained. With other brokers (activemq for one) I've been able to see that the queue is indeed drained, and that the persistent message store is reduced to a minimum However with jboss-messaging-2.0.0.alpha1 I *never* see any of the journal files (data/journal/jbm-data-time_t.jbm deleted, they just pile up in the journal directory. I suspect that this bug has already been logged at https://cloud.prod.atl2.jboss.com/jira/browse/JBMESSAGING-1509;jsessionid=8791B1A3F762C51383B54665D1A9A483?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel but thought it was worth raising here just in case. -- Chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212574#4212574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portal to reach portals from internet.
anyone can help me? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212575#4212575 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Resident Nodes evicted in heavy load conditions
All our region nodes are resident nodes. Still we are getting this issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212576#4212576 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Performance Cost of valid-connection-checker-class-name
hello, I've a little bit the same, so i'll not create a new post... our dba are challenging us because they have millions of validation check hits on their db. so i'm wondering if there is a way to limit the number of checks ? not removing them completely, but specifying that we want a maximum of one hit every 10 seconds for exemple, not just before every querry... ? many tanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212577#4212577 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Installation, versions, etc...
You're right, I should post some version compatibility info. e.g. JBossAS 4.2.3 -- SpringDeployer 2.1 I'll do it asap, but anyway, thanks for warning me about the confusion. :-) tonioc wrote : | I am trying to understand how this thing works, my first basic doubt is: | What files should I downloadl: |- I will be using JBoss 4.2.3, Spring 2.5.6 |- It's not clear for me what version of SpringDeployer should I download | You should dl this one: SpringDeployer 2.1, jboss-spring-jdk5-2.5.jar tonioc wrote : | The second question is: |If the version I download does not contain a .deployer distribution how do I deploy it to Jboss | The .deployer distribution doesn't change for major versions. It's just META-INF/jboss-service.xml; deployer description and jboss-spring.jar and of course spring.jar. Download one of the full .deployer distros, and just change jboss-spring.jar. As you can see, 2.1 has two versions of it, since 2.0.8 and 2.5.x Spring are not fully compatible wrt SpringDeployer. tonioc wrote : | The third question is: |If I need to change spring version, it is enough just changing the jars |(of course not major versions, just for example 2.5.6, 2.5.7) | Sure, it depends on the Spring compatibility. But micro version changes should be fine. tonioc wrote : | Are there any docs aside from the example, where to look for info ? | There is a wiki and this forum. The idea how this (SpringDeployer) works is described in the article. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212578#4212578 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB Merge doesn't merge existing entities
Hi everyone, i have a client application (Batch) which accesses a self-written EJB Service (running on jboss AS 4.2.3). Through this EJB Service the client can retrieve Entities, and merge changes back to the DB. My Problem comes up when i try to use the EntityManager.merge() Method. Instead of overwriting the existing entity in the DB, it creates a new entry. Further i´ve noticed that the old entry has Version-Column set to 1 and the new one has Version-Column set to 0. I also tried to upgrade to the newest hibernate version but without success. Can anyone come up with a solution, how to use the merge method? I appreciate any help I've attached some of my sources: merge-method call in EJB Service-Class | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void updateDealer(Dealer dealer) { | em.merge(dealer); | em.flush(); | } | getEntity / getDealer Call in EJB Service Class | public Dealer getDealer(int agDealerCode) { | Dealer dealer = null; | | Query q = em.createQuery(From Dealer Where dealerNo = :dealerno); | | q.setParameter(dealerno, agDealerCode); | | try { | dealer = (Dealer) q.getSingleResult(); | } catch (NoResultException nrEx) { | // do nothing just return null value; | } | return dealer; | } | Dealer Entity | package ch.hstService.client.model; | | import java.io.Serializable; | import java.util.ArrayList; | import java.util.Collection; | import java.util.HashSet; | import java.util.Set; | | import javax.persistence.CascadeType; | import javax.persistence.Column; | import javax.persistence.Entity; | import javax.persistence.FetchType; | import javax.persistence.GeneratedValue; | import javax.persistence.GenerationType; | import javax.persistence.Id; | import javax.persistence.JoinColumn; | import javax.persistence.OneToMany; | import javax.persistence.Table; | import javax.persistence.Version; | | @Entity | @Table(schema=HAENDLERSTAMM) | public class Dealer implements Serializable { | | / Properties ***/ | | @Id @GeneratedValue(strategy=GenerationType.SEQUENCE) | @Column(name=id_dealer) | private Long id = null; | | @Version | private Long version; | | | @Column(length=200) | private String dpName; | | @Column(length=50) | private String dealerType; | | @Column(name=market_name_official, length=200) | private String marketNameOfficial; | | @Column(name=owner_dpname, length=200) | private String ownerDpName; | | @Column(name=outlet_type_architectural, length=100) | private String outletTypeArchitectural; | | @Column(length=200) | private String name; | | @Column(name=additional_name, length=200) | private String additionalName; | | @Column(name=vat_number, length=20) | private String vatNumber; | | @Column(name=default_language, length=15) | private String defaultLanguage; | | private int dealerNo; | | @Column(length=200) | private String otherMakes; | | @OneToMany(cascade={CascadeType.ALL}, fetch=FetchType.EAGER ) | @JoinColumn(name=id_dealer,referencedColumnName = id_dealer) | private SetAddress addresses = new HashSetAddress(); | | @OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REMOVE}, fetch=FetchType.EAGER) | @JoinColumn(name=id_dealer,referencedColumnName = id_dealer) | private SetEmail emails = new HashSetEmail(); | | @OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REMOVE }, fetch=FetchType.EAGER) | @JoinColumn(name=id_dealer,referencedColumnName = id_dealer) | private SetPhone phones = new HashSetPhone(); | | @OneToMany(mappedBy=dealer, cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REMOVE}, fetch=FetchType.EAGER) | @JoinColumn(name=id_dealer) | private SetContract contracts = new HashSetContract(); | | @OneToMany(cascade={CascadeType.MERGE, CascadeType.PERSIST, CascadeType.REMOVE }, fetch=FetchType.EAGER) | @JoinColumn(name=id_dealer,referencedColumnName = id_dealer) | private SetURL urls = new HashSetURL(); | | / Konstruktoren ***/ | | public Dealer() { //Paket-weiter Konstruktor | } | | | / Getter / Setter ***/ | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212585#4212585 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB
wolfc wrote : The underlying problem is that we don't have a (JTA) data source deployer in E-EJB3. | | jta-profile needs to move down the food chain. jpa-profile needs to be created and we need a simple jca-profile for the above. Then ejb3-embedded should be based on profile3_1 and your set to go. For now Web Beans can manage without the PU resolver as that is a small area of functionality (for the WB tests, not for a WB user of course). ALRubinger wrote : We're currently defining EjbReferenceResolver in ejb3-deployers-jboss-beans, which resides in ejb3-core. This one is more urgent, as we have many tests relating to EJB functionality. anonymous wrote : See how I do this in WebBeansBootstrapDeployer. Thanks, I forgot to look there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212587#4212587 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Configuring JBoss Portal to reach portals from internet.
You could try to define a proxyName in /jboss-web.deployer/server.xml. This name is interpreted as public name in case of a proxy. Connector port=8009 address=${jboss.bind.address} protocol=AJP/1.3 emptySessionPath=true enableLookups=false redirectPort=8443 proxyName=myserver.mydomain.com proxyPort=80 maxThreads=250 backlog=100 connectionTimeout=2/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212588#4212588 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot deploy : Invalid Flag
I get the same error. (Vista Business, Turkish regional settings. JVM 1.5, JBOSS AS 5.0) I have searched all documents under JBOSS_HOME for capital letters but found none. I wonder where this configuration is coming from. | *** CONTEXTS IN ERROR: Name - Error | | jboss-web-policy - java.lang.IllegalArgumentException: Invalid control flag: REQU¦RED | | jboss-ejb-policy - java.lang.IllegalArgumentException: Invalid control flag: REQU¦RED | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212595#4212595 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
Hi! I have an ear, which can be deployed on JBossBeta5.0.0Beta4, but on JBoss5.0.0GA I get this: org.jboss.deployers.spi.DeploymentException: Error deploying my_ear.ear: null at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192) at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeplo yer.java:45) Can You help me? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212597#4212597 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Cannot start server
I found the problem. I had a space in a directory in the path of the server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212598#4212598 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - WIP: XForms editor based on VPE
Hi, The docbook example made me think that an XForms editor could be created using the VPE. It basically is xhtml, so I thought it would not be that difficult. And... it turned out indeed not to be, at least not the basics. Almost the full set of xforms elements can be rendered in one way or another. Only the range and datepicker still need to be done, but that is just work. Now I want to extend it in two directions: - ctrl-click on an attribute value and be moved to the corresponding node (lots of in-document references are used) - validation. e.g. if a referenced node does not exist put a red ~~~ under the attribute. And later on even with code completion in attributes (referenced nodes e.g.) I'd appreciate if someone could point me to locations in e.g. the existing jsf editor where these things are done so I can use it as an example. Up to now I was able to find my way around, but I seem to be lost now. btw, I want this project to be opensource so if anyone is interested either in helping out or in giving it a try and provide feedback, let me know. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212600#4212600 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Merge doesn't merge existing entities
Hi, hard to say what goes wrong. The only possible problem I saw: the field dealerNo does not contain a @Column annotation: private int dealerNo; So maybe this field is not set synchronized with the database, so that your getDealer method does not find anything and the client creates a new entity? If this does not help: please post the code snippet of your client. It might also help to activate SQL logging in persistence.xml and take a look at the SQL statements. You should find an insert statement instead of an update there. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212602#4212602 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
Please create a new topic in this forum. Also please provide more details about your application including the exception stacktrace and the console logs. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212603#4212603 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: What is the correct time to invoke the getProperties on
alesj wrote : The builder just builds metadata. | Annotation's metadata population happens only in Describe state, | as we know there that our CL exists == can do class info inspection. | Makes sense. alesj wrote : | I looks like you're actually trying to do what AnnotationToBeanMetaDataFactory is meant for. After looking at the AnnotationToBeanMetadatFactory, i don't think that's what i am after. So to give you an exact idea of what i am trying to do: I am dynamically building a bean MyBean which needs another bean MyOtherBean to be injected in it: public class MyBean | { | | // Inject information will be dynamically added, including the bean name | // to be injected | @Inject | private MyOtherBean otherBean; | ... | } | The easy way to dynamically build this bean and add the injection attributes is this: | MyBean mybean = new MyBean(); | BeanMetaDataBuilder builder = BeanMetaDataBuilder.createBuilder(blah, mybean.getClass().getName()); | builder.setConstructorValue(mybean); | | // create the inject attributes | ValueMetaData inject = builder.createInject(beanNameOftheDependency, null, null, ControllerState.DESCRIBED); | builder.addPropertyMetaData(otherBean, inject); Works fine. However, the thing that i want to avoid is this line: builder.addPropertyMetaData(otherBean, inject) I was trying to avoid adding the inject/depends on a field name and instead was trying to see if i could create the metadata based on the type to inject. Something like: builder.addPropertyMetadata(MyOtherBean.class.getName(),inject); The MC would then look for a field of type MyOtherBean and create the injection on MyBean. So if tomorrow, someone dislikes the field name and changes it to: public class MyBean | { | | // Inject information will be dynamically added, including the bean name | // to be injected | @Inject | private MyOtherBean iDontLikeTheEarlierName; | ... | } then i could still have this entire thing working. Maybe MC already has something to achieve this and i am not finding the correct API? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212615#4212615 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: SuperClassesFirstWeavingStrategy Error converting class
I'm sorry to answer so lately. :) I wish I could give you more of the stacktrace (and I would have if I had some) but the aspects are used on an application which is launched from a service manager. This warning is the only thing that goes out of the error console. It shows at startup but I don't have more information. Do you know where or what I can start looking for ? Thanks again. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212616#4212616 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WIP: XForms editor based on VPE
openOn start point is org.jboss.tools.common.text.ext.hyperlink.xpl.AbstractBaseHyperlink.open() View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212620#4212620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212620 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - not blocking warning may not be in your classpath
Hi (again), if you read my other post, I'm in the same application. I use the standalone JBoss AOP api. As I said, I don't have anything else then what I give you in the console. I have many (13) lines like these. I'm sorry if it's not easy to read. anonymous wrote : [warn] Could not find class org.eclipse.core.resources.IWorkspaceRoot that org.eclipse.emf.ecore.resource.impl.URIConverterImpl references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. | [warn] Could not find class org.eclipse.core.runtime.Platform that org.eclipse.emf.common.EMFPlugin references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. | [warn] Could not find class org.eclipse.core.runtime.Platform that org.eclipse.emf.common.EMFPlugin references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. | [warn] Could not find class org.eclipse.core.runtime.IProgressMonitor that org.eclipse.xsd.util.XSDResourceImpl references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. | [warn] Could not find class org.eclipse.core.runtime.Platform that org.eclipse.emf.common.EMFPlugin references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. | [warn] Could not find class org.apache.xerces.impl.Version that nu.xom.Builder references. It may not be in your classpath and you may not be getting field and constructor weaving for this class. As I have no aspect referencing any of these classes, my question is the same, I'd like to know where it could come from. Thank you by advance, Alexis. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212626#4212626 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Drools Decision Table - NULL pointer exception when using $p
I'm trying to put together a POC using drools decision table in order to determine whether or not we will fully invest in the product. I am trying to set up a decision table that has a condition that iterates through values added to a cell. Under a CONDITION column I have a row with the name of the fact followed by a row that states the field name as well as the in syntax. I then use the $paren to indicate that I want to populate values from the cells beneath (listed here with values A, B, C) Policy policyType in ($param) A, B, C When I refresh the project with the spreadsheet I get a compiler error : Error: java.lang.NullPointerException If I try to run through the debugger, I can see a generated DRL with the syntax I am looking for: rule somerule when Policy(policyType in (A, B, C)) then System.out.println(rule fired); end What am I missing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212636#4212636 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Help with JBOSS Log Configuration
Sounds like debugging time to me, then. Try changing the log4j.xml file back to the way it was and see if the logging goes back to the way it used to be. If it doesn't, then there is another log4j.xml file somewhere in the classpath. Too bad that the Configuring from URL: resource:log4j.xml message doesn't give a full path, that would help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212653#4212653 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Cannot post in seam users forum
And when you look at the forum itself (http://www.jboss.org/index.html?module=bbop=viewforumf=231) that sticky it titled Announcement: PLEASE USE THE NEW FORUM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212655#4212655 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: 'the command is too long' when run wsprovide.bat
Try placing the command into a *.bat file and run the bat file. I think this has something to do with the input handler for Command Prompt and putting the command into a *.bat file might get around it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212661#4212661 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: cannot deploy : Invalid Flag
You probably have some invalid characters inside your own configuration files. Search for .xml file containing REQU in your deployments. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212662#4212662 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
to sum up a little bit, to make the JSF-console work : https://jira.jboss.org/jira/browse/JBPM-1913 1) jsf-facelets-1.1.15.B1.jar : http://repository.jboss.com/maven2/com/sun/facelets/jsf-facelets/1.1.15.B1/ in /deploy/jbpm/jsf-console.war/lib (cf. http://www.jboss.org/index.html?module=bbop=viewtopict=146972 ) 2) 5 .xhtml files at the end of https://jira.jboss.org/jira/browse/JBPM-1913 just to avoid you unecessary hours of Googling Fred View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212663#4212663 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GRAVE: Error Rendering View[/sa/procins.xhtml]
see my recent post about that : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212663#4212663 Fred View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212666#4212666 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212666 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: deployement portlet error: javax.portlet.PortletExceptio
You cannot deploy a portlet to JBoss AS because JBoss AS is not a portlet container. If you want to deploy a portlet, you must use JBoss Portal. There is a packaged download that includes JBoss AS + JBoss Portal and is ready to go. You can deploy your portlet there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212669#4212669 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploying processes but cannot login and see the tasks
See this link http://www.jboss.org/index.html?module=bbop=viewtopicp=4134051#4134051 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212671#4212671 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: DataSource binding to org.jboss.resource.adapter.jdbc.Wr
Where did you place the JDBC driver JAR file? It should be placed in the server/xxx/lib directory. I suspect that it is in the WAR file in the WEB-INF/lib directory, in which case you need to move it out of there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212674#4212674 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212674 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm and database
In version jbpm-jpdl-3.2.3 scripts to create the database are in db folder View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212673#4212673 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Rolled back transactions sometimes failing to release lo
It is quite big isn't it? The largest amount of nodes any transaction should have been able to hit would be around 22000, when we're bouncing the cache, although that would remove the node that was parent to them all, and then re-added them, so I guess that's 22000 removals and 22000 adds. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212675#4212675 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Performance Cost of valid-connection-checker-class-name
Did you write your own validation checker class? If so, you can try putting the timing in there. If you didn't write your own class, you will probably have to. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212676#4212676 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Logging events (login, user admin, page admin)
Hi I'would like to log the following events in my portal: - user logins - managing users (adding or removing users) - managing pages (adding or removing pages) If it is not possible to log these events it would be appropriate to log the SQL statements with username and timestamp. If somebody can help me with this problem, please answer. Thanks Csabi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212681#4212681 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WIP: XForms editor based on VPE
Great to hear you did your xforms editor - got any screenshots ? :) The features of openon, validation and completion is done by completely different parts of Eclipse/JBoss Tools than the visual editor but they are at least pretty easy to get into. Ctrl-click or F3 or OpenOn as we tend to call it Mareshkau got a pointer too. Basically you just implement a HyperlinkRecognizer to figure out what is under the cursor. Figuring out where to navigate is the hard part but here you should be able to reach in and get the DOM model of the editor - but that requires some WTP structured editor knowledge/google search. Validation, look for WTP validators. Completion, look for ContentAssistProcessor About opensourcing it then we can probably find a place for you at jboss tools, initially in the sandbox ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212683#4212683 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212683 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Issue deploying ejb
Hi, Im working with Eclipse and JBOSS 4.2.2GA. I have a Quartz job class that is a MessageDrivenBean, I once deployed a VERY similar class with no problems, but now, when I try to deploy this one, i get the following errors: WARN [verifier] EJB spec violation: | Bean : MyJob | Section: 15.7.2 | Warning: A message driven bean must implement, directly or indirectly, the javax.ejb.MessageDrivenBean interface. | | 11:12:19,834 WARN [verifier] EJB spec violation: | Bean : MyJob | Section: 15.7.3 | Warning: The message driven bean must declare one ejbCreate() method. | | 11:12:19,834 WARN [verifier] EJB spec violation: | Bean : MyJob | Section: 15.7.5 | Warning: The message driven bean must declare one ejbRemove() method. The class is like this: | public class MyJob implements Job, MessageDrivenBean, MessageListener { | | // Business Methods | | | public void ejbRemove() throws EJBException { | } | | | | public void setMessageDrivenContext(MessageDrivenContext context) throws EJBException { | } | | | public void onMessage(Message message) { | } | | | public void ejbCreate() { | System.out.println(Quartz Job created); | } | | } | The issue is, first I forgot to add the methods so the violations appeared, but then I added the methods and still there was the violation message. I tried erasing the Temp and Work folders, the output classes so they recompile again, and also cleaned the project but the error still happens. I'm sure it is not a jboss config problem, or that it has not to do with the ejb-jar.xml or jboss.xml because I still have this other jar in which the class is almost the same (just a previous version) and it continues to deploy correctly. [the jars only contain the class, both xmls and manifest file] I think it has something to do with cache or something like that but I don't know elsewhere to look. any ideas? :( thanks in advance best regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212684#4212684 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss WS dependencies
Ok, it appears you can use the web server that comes with jboss500 and you need to add the ejb deployer from default and it works for me. (jbossws depends on EJB2xDeployer) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212686#4212686 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212686 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - 3.0.3GA requiring change to configuration files
I'm not sure if this is intentional or not. I tried out the 3.0.3CR1 release, and was able to use that as a drop in replacement for 3.0.2GA. However when upgrading to 3.0.3GA I now have to change my config file to jbosscache xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=urn:jboss:jbosscache-core:config:3.1 Otherwise I get null pointer exceptions out of XmlConfigurationParser2x, line 214 Is this intentional? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212687#4212687 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB3.0 Cache eviction policy not firing
Config: Java version 1.6.0_02 JBoss 4.2.2.GA which ships with: - JBoss Cache 1.4.1.SP5 - Hibernate EntityManager 3.2.1.GA - Hibernate Annotations 3.2.1.GA - Hibernate 3.2.4.sp1 Overview: I'm quite new to JBoss caching and have been able to place queries into the cache. For reasons beyond me, the eviction policy I have defined for my cache region is not firing and therefore the object is not removed from memory after the timeToLiveSeconds value has passed. To add to this, periodically every node within the cache is removed by org.jboss.cache.eviction.BaseEvictionAlgorithm. I believe that I have setup the cache eviction policies correctly within all/deploy/ejb3-entity-cache-service.xml as follows: attribute name=InitialStateRetrievalTimeout17500/attribute | attribute name=SyncReplTimeout17500/attribute | attribute name=LockAcquisitionTimeout15000/attribute | attribute name=EvictionPolicyConfig | config | attribute name=wakeUpIntervalSeconds1/attribute | | !-- Cache wide default -- | region name=/_default_ policyClass=org.jboss.cache.eviction.LRUPolicy | attribute name=maxNodes5000/attribute | !-- small number for testing only -- | attribute name=timeToLiveSeconds10/attribute | /region | !-- Query region -- | region name=/myprefix/Queries policyClass=org.jboss.cache.eviction.LRUPolicy | attribute name=maxNodes50/attribute | !-- small number for testing only -- | attribute name=timeToLiveSeconds5/attribute | /region | /config | /attribute I have enabled query caching by defining the following in persistence.xml: | properties | property name=hibernate.cache.use_query_cache value=true/ | property name=hibernate.cache.use_second_level_cache value=true/ | property name=hibernate.cache.region_prefix value=myprefix/ | property name=hibernate.cache.provider_class value=org.jboss.ejb3.entity.TreeCacheProviderHook / | property name=hibernate.treecache.mbean.object_name value=jboss.cache:service=EJB3EntityTreeCache / | /properties | | | I can see the query nodes within the TreeCache by enabling and running the following: mbean code=org.jboss.cache.TreeCacheView name=jboss.cache:service=TreeCacheViewEJB3EntityTreeCache | dependsjboss.cache:service=EJB3EntityTreeCache/depends | attribute name=CacheServicejboss.cache:service=EJB3EntityTreeCache/attribute | /mbean Below is the named query with caching enabled: | @NamedQuery(name = Venue.findById, query = SELECT v FROM Venue v WHERE v.venueId = :id, hints= | {...@queryhint(name=org.hibernate.cacheable,value=true), | @QueryHint(name=org.hibernate.cacheRegion, value=Queries)}) These two lines worry me (any idea why config: null appears?): | [org.jboss.system.ServiceConfigurator] EvictionPolicyConfig set to [config: null] in jboss.cache:service=EJB3EntityTreeCache | [org.jboss.cache.TreeCache] setEvictionPolicyConfig(): [config: null] I can see that the region is created and the eviction timer is started: [org.jboss.cache.eviction.LRUConfiguration] parseConfig: name -- /myprefix/Queries maxNodes -- 50 timeToLiveSeconds -- 5 maxAgeSe | onds -- 0 | [org.jboss.cache.eviction.RegionManager] createRegion(): creating region for fqn- /myprefix/Queries | [org.jboss.cache.eviction.RegionManager] Starting eviction timer | [org.jboss.cache.TreeCache] Started jboss.cache:service=EJB3EntityTreeCache I can see the the query being cached but under a different fqn as I defined (and a different cache maybe??): [org.hibernate.cache.StandardQueryCache] caching query results in region: myprefix./Queries; timestamp=12354921739 This line appears periodically and removes everything from the cache: [org.jboss.cache.eviction.BaseEvictionAlgorithm] Visiting node that was not added to eviction queues. Assuming that it has 1 element Any help with this issue would be greatly appricated. Rob. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212688#4212688 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: 3.0.3GA requiring change to configuration files
No, it should be 3.0 as per the sample cfg files in the distro. http://anonsvn.jboss.org/repos/jbosscache/core/tags/3.0.3.GA/src/main/resources/config-samples/local.xml The sample files not working would cause some of the tests to fail and block the release process. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212690#4212690 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: 3.0.3GA requiring change to configuration files
Hmm, there seems to be an issue with what was released vs what was tagged. Let me investigate further, sorry about the disruption. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212692#4212692 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with jbpm and database
Yes, there is no such file, but you have a file named jbpm.jpdl.mysql.sql run this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212695#4212695 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212695 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - unable to login to jbpm cosole
I have configured jbpm with eclipse and jboss4.2.2 and mysql5.1.31. I have setup everything properly, database has been populated with default values, when i click on http://localhost:8080/jbpm-console/app/ Iam able to the login screen, the problem is whenever i enter username/pwd for any user it is just redirecting me to error page with status HTTP Status 403 - Access to the requested resource has been denied do i need to map roles anywhere? what could be the solution for this? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212697#4212697 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Issue deploying ejb
Well... Whenever someone has the answer that will be usefull In the meanwhile I just changed the package name (that in fact I needed to change to a more appropiate name), and with that it worked now :) That's just a clear note that it's a temp file issue anyways, thank you! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212699#4212699 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: unable to login to jbpm cosole
I got the solution for this, I have not uploaded all test data, when i have uploaded following data | INSERT INTO JBPM_ID_GROUP VALUES(1,'G','sales','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(2,'G','admin','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(3,'G','user','security-role',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(4,'G','hr','organisation',NULL); | INSERT INTO JBPM_ID_GROUP VALUES(5,'G','manager','security-role',NULL); | INSERT INTO JBPM_ID_USER VALUES(1,'U','user','u...@sample.domain','user'); | INSERT INTO JBPM_ID_USER VALUES(2,'U','manager','mana...@sample.domain','manager'); | INSERT INTO JBPM_ID_USER VALUES(3,'U','admin','ad...@sample.domain','admin'); | INSERT INTO JBPM_ID_USER VALUES(4,'U','shipper','ship...@sample.domain','shipper'); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(1,'M',NULL,NULL,2,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(2,'M',NULL,NULL,3,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(3,'M',NULL,NULL,4,4); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(4,'M',NULL,NULL,4,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,1,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(11,'M',NULL,'boss',2,1); | INSERT INTO JBPM_ID_MEMBERSHIP VALUES(12,'M',NULL,NULL,1,1); | It is working, when I type url http://localhost:8080/jbpm-console/app/upload Iam getting a single message Process upload module is operational , does it mean iam successful? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212704#4212704 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212704 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
Yesterday that link didn't work, but today it does. I've read the discussion of pFER. It looks like it was designed to do exactly what we need. Thank you very much for your help! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212705#4212705 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GRAVE: Error Rendering View[/sa/procins.xhtml]
the_fredo thank you for your response. I've a look to the topic but I didn't be able to fix the problem. I've replaced jsf-facelets library for jsf-facelets-1.1.15.B1.jar and I changed .xhtml files. I made changes like this: Changed | ga:parameter name=fn target=#{task_filter_notstarted} default=true/ | ga:parameter name=fr target=#{task_filter_running} default=true/ | ga:parameter name=fs target=#{task_filter_suspended} default=true/ | ga:parameter name=fe target=#{task_filter_ended} default=false/ | To | | ga:parameter name=fn target=#{task_filter_notstarted} default=${true} | f:converter converterId=javax.faces.Boolean/ | /ga:parameter | ga:parameter name=fr target=#{task_filter_running} default=${true} | f:converter converterId=javax.faces.Boolean/ | /ga:parameter | ga:parameter name=fs target=#{task_filter_suspended} default=${true} | f:converter converterId=javax.faces.Boolean/ | /ga:parameter | ga:parameter name=fe target=#{filter_ended} default=${false} | f:converter converterId=javax.faces.Boolean/ | /ga:parameter | And changed | h:selectBooleanCheckbox id=task_notstarted_i value=#{task_filter_notstarted}/ | To | h:selectBooleanCheckbox id=task_notstarted_i value=#{task_filter_notstarted == 'true'}/ | What am I doing bad?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212711#4212711 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Passing LDAP-authenticated users from Apache to JBoss
Solved! It was a matter of adding tomcatAuthentication=false in the connector settings. I didn't realize this parameter was still valid in JBoss :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212712#4212712 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Java 6 corrupted stream - help needed
Daniel, Thanks a lot for the answer. The 'confusing' thing is that this application works without any problems when running with 'java' but not with 'javaws'. So I was just wondering maybe somebody encountered this problem with web start and has a workaround/solution. Of course upgrading the JBoss is an ideal solution but its not that easy in my case. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212713#4212713 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212713 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Problems running Quartz Scheduler Integration within an MDB
I am trying to execute an MDB for running a scheduled job using the Quartz integration. | //@Interceptors(SpringBeanAutowiringInterceptor.class) //Commented | @ResourceAdapter(quartz-ra.rar) | public class ChangeEventsAggregatorTimerMDB implements Job | { | private static final long serialVersionUID = -7135493106969547584L; | private static final Logger LOGGER = LogFactory.createLogger(ChangeEventsAggregatorTimerMDB.class); | | @Resource | protected MessageDrivenContext ctx = null; | | | public void execute(JobExecutionContext arg0) throws JobExecutionException | { | System.out.println(Hello Worlds ); | LOGGER.debug(Hello Worlds ); | | } | | } The classloading is isolated at the ear level using jboss-app |loader-repository | com..cdm.loader.productCatalogIntegration:archive=productCatalogIntegration.ear |/loader-repository | /jboss-app I am getting an exception stacktrace : [java] 10:56:50,024 INFO [STDOUT] Configuring Logging Subsystem [java] 10:56:50,039 INFO [STDOUT] Watching Log4J configuration: /log4j.xml [java] 10:56:50,070 ERROR [STDERR] log4j:ERROR A org.apache.log4j.xml.DOMConfigurator object is not assignable to a org.apache.log4j.spi.Configurator variable. [java] 10:56:50,070 ERROR [STDERR] log4j:ERROR The class org.apache.log4j.spi.Configurator was loaded by [java] 10:56:50,070 ERROR [STDERR] log4j:ERROR [org.jboss.mx.loading.unifiedclassload...@eb49a6{ url=file:/C:/JBoss-EAP-4.3.0.GA_CP02/jboss-as/server/bgprocs/deploy/CatalogByProductSelector/Catal ogByProductSelector.ear/ ,addedOrder=44}] whereas object of type [java] 10:56:50,070 ERROR [STDERR] log4j:ERROR org.apache.log4j.xml.DOMConfigurator was loaded by [org.jboss.mx.loading.unifiedclassload...@14ab51b{ url=null ,addedOrder=2}]. [java] 10:56:50,070 ERROR [STDERR] log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml.DOMConfigurator]. [java] 10:56:50,086 ERROR [STDERR] log4j:ERROR Could not create an Appender. Reported error follows. [java] 10:56:50,086 ERROR [STDERR] java.lang.ClassCastException: org.apache.log4j.RollingFileAppender cannot be cast to org.apache.log4j.Appender [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:175) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:150) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:163) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:425) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parseCategory(DOMConfigurator.java:345) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:827) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:712) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:604) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.XMLWatchdog.doOnChange(DOMConfigurator.java:861) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.helpers.FileWatchdog.checkAndConfigure(FileWatchdog.java:88) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.helpers.FileWatchdog.(FileWatchdog.java:57) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.XMLWatchdog.(DOMConfigurator.java:853) [java] 10:56:50,086 ERROR [STDERR] at org.apache.log4j.xml.DOMConfigurator.configureAndWatch(DOMConfigurator.java:584) The scheduling works at the 10 sec interval and the bean writes to the System.out. However this exception is not shown when the MDB doesn't implement the Quartz interface and runs like a regular MDB. The Spring Interceptor also doesn't work with the Quartz interface. The ear doesn't have any Quartz libraries. I suspect it is an issue with classloaders. Is there an additional parameter that needs to be tweaked to make the classloading work? Log4j version is 1.2.13 System Details: JBoss [EAP] 4.3.0.GA_CP02 (build: SVNTag=JBPAPP_4_3_0_GA_CP02 date=200808051050) Java version: 1.6.0_10,Sun Microsystems Inc Operating System : Windows XP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212715#4212715 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
Hoo boy--you guys have been busy making 2.0 non backward compatible with 1.*. For example: 1) Renamed TreeCache to Cache, or in some other way gotten rid of TreeCache. 2) Changed Cache to CacheK,V. 3) Changed Fqn to FqnK,V. Is there updated documentation? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212718#4212718 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
(I know there are updated Javadocs--by updated documentation, I mean are there 2.0 versions of: http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/1.4.1.SP4/TreeCache/en/html/index.html http://www.jboss.org/jbosscache/docs/1.4.0/faq/en/html/index.html ?) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212719#4212719 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using WebBeans EJB integration in EEJB
pete.m...@jboss.org wrote : ALRubinger wrote : We're currently defining EjbReferenceResolver in ejb3-deployers-jboss-beans, which resides in ejb3-core. | | This one is more urgent, as we have many tests relating to EJB functionality. https://jira.jboss.org/jira/browse/EJBTHREE-1736 S, ALR View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212720#4212720 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
Can we even use the 2.0 version of the cache in Jboss 4.3.CP02? Would it be simpler for us to take the source code and implement our own putForExternalRead locally, or did you make fundamental changes to the implementation in order to add this method? If it's just a matter of setting the timeout, etc., we could replicate what you did without buying into the rest of the changes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212721#4212721 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
4) Removed getCacheModeInternal(). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212722#4212722 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212722 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems with db when using security domain
So this seems like a bug with JBoss(4.2.2.GA) but I am not sure if anyone is aware of it or has reproduced it. Basically just create a security domain. My domain is using the BaseCertLoginModule. Then have two datasources setup, one that is named 'DefaultDS' and one that is named something else 'AnotherDS'. Configure each data source with a different driver. When you get inside a bean get the 'AnotherDS' and call getConnection, then call something like prepareStatment. Sit back and watch the driver for the 'DefaultDS' get called. Something is getting corrupted in JBoss when you use @SecurityDomain or when you set-up the context specific stuff for use with the security domain i.e. Context.SECURITY_PRINIPAL.. How do i get JBoss to look at this issue and confirm there is a bug? Thanks, Billy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212723#4212723 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Eclipse Install
I installed the JBOSS tools in my eclipse ganymede however the there is no entry in the new-project to create a jboss AS project. I downloaded and installed both the all plugins for window tools and the JBOSS AS tool. What did I do wrong? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212724#4212724 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212724 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Various errors showing up when load testing
By making the cache have K,V, does that mean for every different pair of K and V we need to create a different cache? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212725#4212725 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Datasource Recovery
Hi, I would like to know if Jboss provides this mechanism. Here is the scenario. 1. Set up a Datasource in -ds.xml file. Non XA datasource. 2. Start Jboss Application Server. 3. For some reason Database is down. 4. When try to get a connection from Datasource, it throws exception which is fine. 5. After certain time - 10 15 mins, lets say Database is up again. 6. When you try to get a connection from datasource, does it return a valid connection or we need to restart the Datasource through MBean. Does the point # 6 is handled by Jboss Mbean automatically or we need to take care of this. Regards -Sambit View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212726#4212726 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212726 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Eclipse Install
You did not do anything wrong - there is no JBoss AS project. Are you wanting to register a JBoss AS server? If so, use File New Other, Server Server and then choose one of the JBoss AS server from the New Server dialog box. Perhaps you should look at the Getting Started guide in the documentation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212732#4212732 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Eclipse Install
Thanks I'll do that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212735#4212735 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: unable to connect to JBM server using SSH port forwardin
clebert.suco...@jboss.com wrote : All you have to do is to define the two ports on remoting (as we use random ports on that case), and open the ports you need (or forward the ports you need), according to the wiki page. | | If you want to change any ports, you will have to change the XML configs. I already told you those settings don't have any effect on Jboss. Refer to JBAS documentation, or ask on the jboss forum. This is about configuring the JNDI ports. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212737#4212737 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Possible bug in Jboss-messaging-2.0.0-alpha1
We have done a lot of work around persistence since Alpha. You'd be better on giving a try on trunk. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212738#4212738 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Datasource Recovery
Hi Sambit, When DB is running again then just make a touch to datasource file. This will redeploy all mbean related with datasource and restart conection pool. After this touch your system will work fine again. Daniel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212739#4212739 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Eclipse Install
Where can I find that? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212740#4212740 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Graceful shutdown
We have multiple Web Server that talk to Jboss App server using mod_jk load balancer. What we see is that when we bring down Jboss App, the app doesn't get shutdown gracefully and I see errors in mod_jk log file. Is there a way to gracefully shut down Jboss App such that is stops accepting new requests and let old request complete before shutting down. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212741#4212741 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212741 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Java 6 corrupted stream - help needed
Mark, If you can't migrate JBoss AS version then keep using Java 5. Precisely the problem is with javaws, this services is incompatible with Java 6. Regards, Daniel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212742#4212742 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Integrating JBoss with JDeveloper
We're running JBoss 4.2.3 on our Solaris system and have JDeveloper 10.1.3.4 and were wondering if there are articles on how to integrate the two. We'd like to be able to deploy the app to the server from within JDeveloper and also do debugging/breakpoints from JDeveloper. Your help is appreciated. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212745#4212745 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Eclipse Install
Umm, follow the Documentation link on the JBoss Tools project page???* And then choose the link for your level of JBoss Tools. And then click on one of the links next to Getting Started with JBoss Developer Studio Guide. * to get to the JBoss Tools project page: www.jboss.org, then click on Projects tab at top of page, and then click on the JBoss Tools item in the graphic. (Yes, I could have just provided the URL...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212746#4212746 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Crash When Trying to do example
I'm trying to do the example at http://docs.jboss.org/tools/3.0.0.CR1/en/ws_ref_guide/html/topdown.html. When I get to the JBoss Web Service Code Generation Configuration and select next I get a stack trace: Exception in thread main java.lang.NoClassDefFoundError: gnu/getopt/LongOpt at org.jboss.wsf.spi.tools.cmd.WSConsume.parseArguments(WSConsume.java:85) at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:78) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212747#4212747 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss messaging client timeout
Thanks Howard for the suggestion. We downloaded SP11 and increased validatorPingTimeout and clientLeasePeriod to 5 in remoting bisocket file. We need to keep our dev server running overnight to see if the error goes away. Meanwhile on the client side as I mentioned before that we have a idle client timeout of 1 hour in the firewall setup. We refresh the client listner connections every half an hour for that. Now on the client side log on every hour(but not on th 1/2th hour) we are seeing this message for every client connection refreshed [Finalizer] WARN org.jboss.remoting.LeasePinger - LeasePinger[SocketClientInvoker[c6bb6c, bisocket://cawcremdd6:4457](a5e5p4y-ksiwrb-frkxz15x-1-frkyc7jf-7t)] tried to remove lease for client with session ID a5e5p4y-ksiwrb-frkxz15x-1-frl29p2s-kq, but no such lease was found But messages are picked up by the listener after that for the time being.We do not see anything on the server logs.Do you think there could be any other problem for the messages getting stuck in JBM queues? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212749#4212749 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Cannot post in seam users forum
mmm saw that, but just realised the post i was going to reply to was 2 yrs old. sorry guys, someone can delete this now View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212750#4212750 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Crash When Trying to do example
You seem to use GNU Java that isn't supported by Eclipse. Try to install Sun JDK = 1.5. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212751#4212751 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: stop/start a particular J2EE application
My requirement is I have four ears(for 4 diff applications) running on same JBOss server, and I have to bring down one of the application down without effecting other applications. Could you please let meknow how to do it. Any inputs will be highly appreciated. Thanks, Jvasire View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212753#4212753 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Crash When Trying to do example
No, I'm using the sun jdk 1.5.017 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4212755#4212755 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4212755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user