[jboss-user] [JBoss Portal] - Re: Integrate LDAP (opends) with jboss portal 2.7.0
sry by mistake I have mentioned that the page gets redirected to http://blog.jboss-portal.org/search/label/ldap its not the above link but the link given below http://www.pooja.com:8080/portal/auth/portal/default/j_security_check View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228215#4228215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem with PortletSession
Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 I need to perform certain logic when the user logs in. ie, for each session I need to perform certain logic, that too in start of the session. This is my code, where i get a PortletSession attribute IS_FIRST_LOAD which is obviously null at the start of every new session. Then i am setting some value, so that the IS_FIRST_LOAD attribute will not be null afterwards. Portlet A - doView() implementation String isFirst =(String) request.getPortletSession().getAttribute(IS_FIRST_LOAD); | log.info(" IS_FIRST_LOAD (before) = "+isFirst); | | | if ( isFirst == null) { // if this is the first time loading | request.getPortletSession().setAttribute(IS_FIRST_LOAD,"false",PortletSession.PORTLET_SCOPE); | | log.info(" showing the default charts(COLLECTION since IS_FIRST_LOAD )"); | | | log.info(" IS_FIRST_LOAD (after) = "+request.getPortletSession().getAttribute(IS_FIRST_LOAD)); | | .. | .. | | } In my case the PortletA's doView() will be called more than once. let's say minimum of 3 times. before the page gets completely rendered. when PortletA's doView() called for the first time the PortletSession attribute returns null so the logic works fine, (note: that the page is still not rendered completely). when it is called for 2 nd time PortletSession attribute returns null, which is not desirable, when it is called for 3rd time PortletSession attribute returns non null, and from here on every thing is working fine. So what is the reason behind the clearing of the PortletSession ? Any help is greatly appreciable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228221#4228221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Configuration scheduler
Hi, I want to use the Timer, the JobExecutor and the MessageService, need I a database for this ? I would like to use the JBoss jbpm without a server or a database, but I need to model intermediate Events like a timer or to send/ receive messages. Thanks Anne View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228223#4228223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Conflict between ejb3 deployer and custom GenericAnnotationD
Using JBoss AS 5.0.1 GA I am trying to write custom deployer that will scan classes for annotation during POST_CLASSLOADING phase, save the found classes into metadata and then use that to perform some extra steps during REAL phase (similar to WS stuff but for QMF protocol). I have a test enviroment with sample EJB3 app and a custom deployer. However when I start JBoss I get the following exception: | 10:59:20,213 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/home/gmostizk/java/jboss-5.0.1.GA/server/default/deploy/vdcServer-0.0.1-SNAPSHOT.ear/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying vdcServer-0.0.1-SNAPSHOT.ear: Container jboss.j2ee:ear=vdcServer-0.0.1-SNAPSHOT.ear,jar=vdcServer-0.0.1-SNAPSHOT.ear,name=ConfigManagerBean,service=EJB3 failed to resolve persistence unit null | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:201) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:103) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) | at org.jboss.Main.boot(Main.java:209) | at org.jboss.Main$1.run(Main.java:547) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.IllegalArgumentException: Container jboss.j2ee:ear=vdcServer-0.0.1-SNAPSHOT.ear,jar=vdcServer-0.0.1-SNAPSHOT.ear,name=ConfigManagerBean,service=EJB3 failed to resolve persistence unit null | at org.jboss.injection.PersistenceUnitHandler.addPUDependency(PersistenceUnitHandler.java:135) | at org.jboss.injection.PersistenceContextHandler.loadXml(PersistenceContextHandler.java:76) | at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:588) | at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:415) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:523) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:194) | ... 22 more | Caused by: java.lang.IllegalArgumentException: Can't find a persistence unit named 'null' in abstractvfsdeploymentcont...@5463591{vfszip:/home/gmostizk/java/jboss-5.0.1.GA/server/default/deploy/vdcServer-0.0.1-SNAPSHOT.ear/} | at org.jboss.jpa.resolvers.BasePersistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(BasePersistenceUnitDependencyResolver.java:107) | at org.jboss.ejb3.Ejb3Deployment.resolvePersistenceUnitSupplier(Ejb3Deployment.java:720) | at org.jboss.ejb3.EJBContainer.resolvePersistenceUnitSupplier(EJBContainer.java:1428) | at org.jboss.injection.PersistenceUnitHandler.addPUDependency(PersistenceUnitHandler.java:130) | ... 27 more | The exception thrown during deployment of the sample application. My custom GenericAnnotationDeployer: | public class QmfTypeAnnotationDeployer extends GenericAnnotationDeployer { | @Override | protected void visitModule(DeploymentUnit deploymentUnit, Module module, GenericAnnotationResourceVisitor genericAnnotationResourceVisitor) { | super.visitModule(deploymentUnit, module, genericAnnotationResourceVisitor); | | Annot
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Blob to String mapping
Hello, Everything works fine, I had a mistake in my code. Greetings SÅawek View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228230#4228230 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: package archiover and dependency
I'm surprised changed resources by builders are not processed as resource changes and also surprised builders arent called on refresh. Especially since the Java builder relies on that to work. i.e. if I change a jar outside Eclipse and press refresh then the Java builder seem to rebuild. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228263#4228263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBDS: Visual and Source editors orientation can be chang
The latest nightlies is for Eclipse 3.5, not for Eclipse 3.4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228261#4228261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - cannot edit jboss launch configurations
i know there as a post here and even a jira, but i've downloaded eclispe 3.4.2 and jboss tools 3.0 and i still can't see it. what's more, actually launching jboss from eclipse, drinks 100% cpu from my pc so i can't even do that! (didn't happen on eclipse 3.3.2) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228264#4228264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JDBC Cache loader error - Unable to build interceptor chain
Hi, I am trying to configure cache with JDBC Cacheloader programatically. Populated the configuration Object with each element that i specified in xml configuration. When I run program its giving an error "Exception in thread "main" org.jboss.cache.config.ConfigurationException: Unable to build interceptor chain" But the same is running fine when run with xml configuration. Can any body please help me in solving this problem. JBoss Cache version : 3.02 code : CacheLoaderUtil | import java.util.ArrayList; | import java.util.List; | import org.jboss.cache.Cache; | import org.jboss.cache.CacheFactory; | import org.jboss.cache.DefaultCacheFactory; | import org.jboss.cache.Node; | import org.jboss.cache.config.CacheLoaderConfig; | import org.jboss.cache.config.Configuration; | import org.jboss.cache.config.EvictionConfig; | import org.jboss.cache.config.EvictionRegionConfig; | import org.jboss.cache.config.CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig; | import org.jboss.cache.config.Configuration.CacheMode; | import org.jboss.cache.eviction.LRUAlgorithmConfig; | import org.jboss.cache.loader.JDBCCacheLoaderConfig; | import org.jboss.cache.lock.IsolationLevel; | import org.jboss.cache.transaction.GenericTransactionManagerLookup; | | public class CacheLoaderUtil { | public static Node getCacheNode(int dataNodeNo) { | Cache cache = createCacheFactory(dataNodeNo); | cache.create(); | cache.start(); | return cache.getRoot(); | } | | private static Cache createCacheFactory() { | | | Configuration config = new Configuration(); | config | .setTransactionManagerLookupClass(GenericTransactionManagerLookup.class | .getName()); | config.setIsolationLevel(IsolationLevel.READ_COMMITTED); | config.setCacheMode(CacheMode.LOCAL); | config.setLockAcquisitionTimeout(15000); | | EvictionConfig ec = new EvictionConfig(); | ec.setWakeupInterval(5); | | EvictionRegionConfig erc = new EvictionRegionConfig(); | erc.setRegionName("/"); | erc.setEventQueueSize(2000); | erc.setEvictionAlgorithmConfig(new LRUAlgorithmConfig(300, 300, 500)); | | List ercs = new ArrayList(); | ercs.add(erc); | ec.setEvictionRegionConfigs(ercs); | | config.setEvictionConfig(ec); | | CacheLoaderConfig loaderConfig = new CacheLoaderConfig(); | loaderConfig.setPassivation(false); | loaderConfig.setShared(false); | loaderConfig.setPreload("/"); | | JDBCCacheLoaderConfig jdbcConfig = new JDBCCacheLoaderConfig(); | jdbcConfig.setAsync(false); | jdbcConfig.setCreateTable(true); | jdbcConfig.setDriverClass(props.getProperty("Driver.Class")); | jdbcConfig.setDropTable(false); | jdbcConfig.setFetchPersistentState(true); | jdbcConfig.setIgnoreModifications(false); | jdbcConfig.setPurgeOnStartup(false); | jdbcConfig.setTable("jbosscache"); | jdbcConfig.setPrimaryKey("jbosscache_pk"); | jdbcConfig.setFqnColumn("fqn"); | jdbcConfig.setFqnType("VARCHAR(255)"); | jdbcConfig.setNodeColumn("value"); | jdbcConfig.setNodeType(props.getProperty("Value.Type")); | jdbcConfig.setParentColumn("parent"); | jdbcConfig.setJdbcURL(props.getProperty("Jdbc.URL")); | jdbcConfig.setJdbcUser(props.getProperty("Jdbc.User")); | jdbcConfig.setJdbcPassword(props.getProperty("Jdbc.Password")); | | | SingletonStoreConfig ssc = new SingletonStoreConfig(); | ssc.setSingletonStoreEnabled(false); | jdbcConfig.setSingletonStoreConfig(ssc); | | loaderConfig.addIndividualCacheLoaderConfig(jdbcConfig); | | config.setCacheLoaderConfig(loaderConfig); | | CacheFactory factory = new DefaultCacheFactory(); | | Cache cache = factory.createCache(config); | return cache; | } | | | public static void main(String[] args) { | CacheLoaderUtil.getCacheNode(); | } | } | Stack trace is Exception in thread "main" org.jboss.cache.config.ConfigurationException: Unable to build interceptor chain | at org.jboss.cache.factories.InterceptorChainFactory.construct(InterceptorChainFactory.java:229) | at org.jboss.cache.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:315) | at org.jboss.cache.fact
[jboss-user] [JNDI/Naming/Network] - How can we add the data-source programmatic ally
Hi All, How can we add the data-source programmatic ally. since we don't want the mydatasource-ds.xml file. Please let us know how would we achieve it Appreciate your help Thanks & Regards, Naveen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228275#4228275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Metrics in JBoss Messaging.
Hi, thanks for the replies, sorry for replying late, postphoned this work until the completion of another job. I want the number of active producers/consumers and message rate on each topic and metrics on memory as well. @mlange what is AOP? Can you please elaborate this? "to intercept the calls via AOP and aggregate them into a seperate mbean" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228281#4228281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: where is the launch configuration
This is fixed in 3.0.0.GA, double click the server and the server editor has the link. 100% cpu were a transient bug which afaik is also fixed in GA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228262#4228262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How do I add the richfaces library to eclipse? (experien
Hi, you should have told us that you are using Tomcat ;-). As this is a JBoss forum, I thought that you would use a JBoss server. Better ask your questions in the RichFaces forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=261 Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228282#4228282 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Need Help with Deploying Application Three Time
Hi, a file "application.xml" is not valid for a JavaEE5 web project, so it will not have any effect. Do you run some application like e.g. JBossPortal, which requires this deployment descriptor? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228290#4228290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: join table class in hibernate
I haven't tought of that, but I wanted to do something like a "from Name" query, but that does not work since Name is not mapped. I will always have to query the Name elements from the other tables and merge the results. Thanks, hugo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228292#4228292 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Implementing ws-security in JBoss-Portal
We are consuming PeopleSoft portlets in JBoss Portal over WSRP. I need to configure JBoss Portal to send username as a token () in portlet request. Where do I set this up? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228217#4228217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Jboss messaging 2.0 alpha, create new topic
Hi, I must do some comparisons with Jboss Messaging 1.4 and 2.0 alpha... I build some applications to work with JBoss messaging 1.4(http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154532) And now I must build this examle to work with Jboss messaging 2.0 alpha... and my problem as to create topic... When I try with example for Jboss messaging 1.4, I got: anonymous wrote : jmx not bound View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228247#4228247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - RMI and port forwarding problem
Hi, I use JBoss 5.0.0 as a JEE server and swing application as a client and everything works fine when its on the same machine. When I try to use application outside I got an error: | javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused | to host: 1.1.1.100; nested exception is: java.net.ConnectException: Connection timed out: connect] | The root problem is that it tries to use internal ip 1.1.1.100 (used as $JBOSS_HOST) instead of external ftims.info as specified in JNDI configuration. The question is how to make RMI service run on different IP than $JBOSS_HOST? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228298#4228298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - How to access multiple jboss cache instances
Hi, I have multiple jboss cache instances in my network. Data into these caches are distributed by various applications by some logic. As part of the EOD business process activity, i need to get data from many of the indivisual jboss cache instances and modify(save, delete, update) data in a single transaction. I cant to replication because data is very huge in each cache instance. If replicated, there will not be any more memory or disk space in the systems. Can anybody help me in how to access and operate on multiple jboss cache instances in a single transaction. Please help me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228303#4228303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error installing to Create: name=TransactionManager state=Co
Hi Guys, I am getting following problem when i am starting Jboss 5.0 AS on Centos server: Error installing to Create: name=TransactionManager state=Configured com.arjuna.ats.arjuna.exceptions.FatalError: [com.arjuna.ats.internal.arjuna.utils.SocketProcessId_2] - SocketProcessId.getpid could not get unique port. at com.arjuna.ats.internal.arjuna.utils.SocketProcessId.getpid(SocketProcessId.java:105) at com.arjuna.ats.arjuna.utils.Utility.getpid(Utility.java:277) at com.arjuna.ats.arjuna.common.Uid.(Uid.java:105) at com.arjuna.ats.arjuna.utils.Utility.getProcessUid(Utility.java:289) at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.(TransactionStatusManagerItem.java:366) at com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem.createAndSave(TransactionStatusManagerItem.java:84) at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.start(TransactionStatusManager.java:145) at com.arjuna.ats.arjuna.recovery.TransactionStatusManager.(TransactionStatusManager.java:72) at com.arjuna.ats.arjuna.coordinator.TxControl.(TxControl.java:355) at com.arjuna.ats.jbossatx.jta.TransactionManagerService.create(TransactionManagerService.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plu
[jboss-user] [JBoss Messaging] - Re: Jboss messaging 2.0 alpha, create new topic
Is it possible to create new topic without changing xml file, in alpha version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228323#4228323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: -Djboss.bind.address not working anymore (4.2.2)?
Anyone find a solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228313#4228313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: bug? reading parameters from f:param + commandbutton res
Hi, as far as I know, "f:param" values cannot be found in the request parameters. This is a problem of the JSF implementation (JBoss >= 4.2 use the Sun RI 1.2), so you might better ask your question in JSF forums. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228319#4228319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Conflict between ejb3 deployer and custom GenericAnnotat
Some simple observations. You shouldn't extend GenericAnnotationDeployer (as it means then that you're doing the visit twice - our impl + your deployer). You should simply pull out the AnnotationEnvironment from the attachments (in your deployer) and do your custom check. Although I would be surprised if this was the cause. I'll see if I can think of something more ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228324#4228324 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Re: Messaging access from C++ and JavaScript, best solution?
Hi jmsid4jboss, Can you describe some details related to "JBoss 5 has libraries for C / C++ clients to access JMS."? I wonder which libraries as well as some basic steps to do this. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228317#4228317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Annotating @persistencecontext from a different ear
Hello! I'm trying to inject a persistencecontext in my ejb that is defined in another ear. Project setup: aaa.ear |-aaa-ejb.jar bbb.ear |-bbb-ejb.par.jar (defines the persistence unit) In aaa-ejb: | // Needs to bind to: | // persistence.units:ear=bbb.ear,jar=bbb-ejb.par.jar,unitName=MYPERSISTENCEUNIT | // JBOSS BUG! (https://jira.jboss.org/jira/browse/EJBTHREE-1252) | @PersistenceContext(unitName="XXXbbb-ejb.par.jar#MYPERSISTENCEUNIT") | private EntityManager em; | The above code is parsed to: | persistence.units:jar=bbb-ejb.par.jar,unitName=MYPERSISTENCEUNIT | I cannot figure out how to pass the correct EAR to the annotation. Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228336#4228336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Annotating @persistencecontext from a different ear
Sorry, I forgot to add I'm using JBoss 4.2.2GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228338#4228338 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to get started?? Which jars for needed for simple po
You get portletRequest and porltetResponse for free because they are the parameters for the method that will contain the JSP code. For the session, you will have to do: PortletSession portletSession = portletRequest.getPorltetSession(); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228346#4228346 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: How can we add the data-source programmatic ally
My, you like to do things the hard way, don't you? When JBoss AS deploys the *-ds.xml file, it generates a number of MBeans based on the *-ds.xml contents. So the trick would be to generate those MBeans programmatically. It would actually be easier to programmatically generate the *-ds.xml file (in some temp directory), and then programmatically move the file into the deploy directory. (I know this was discussed a time or two before but I cannot those posts...) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228353#4228353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations
anonymous wrote : i still can't see it. What is "it"? And where are you looking for "it"? What version of JBoss AS? Older versions (4.2.x and older) seemed to be single-threaded (i.e., did serial deployment) during startup but the 5.x version appears to be multi-threaded (i.e., parallel deployment) during startup. (Previous sentence is speculation based on my observations of CPU usage on my quad-core system.) Also, 5.x does a lot more with injecting aspects into the code, which causes it to be more CPU-bound. Either of these could account for the 100% CPU usage. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228352#4228352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss messaging 2.0 alpha, create new topic
I think JBM 2.0 alpha is a bit out dated. It's worth waiting for the beta in which a lot features has been enhanced and is more stable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228363#4228363 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Security in loadbalanced webapplications
Hi, I tried to figure out some details about JBossSX security and JAAS authentication form inside a webapplication in JBoss. The most documentation I can find is about how to write LoginModules, how to protect resources, etc. Thatâs not the problem. What I would like to know is a more detailed description of what happens when authenticating a webapplication, maybe with BASIC or FORM authentication. I enter my credentials, the JaasSecurityManager uses the LoginModule(s) configured for the security domain to check the credentials and find out what roles the user is in. Then the mechanisms inside the webcontainer can determine if I may send something to the URL I requested or not. A user wants to enter his credentials only once, so the authentication/authorization gets cached. HTTP Basic authentication means that the Client will send username and password base64 encoded with every request to the same server/domain. FORM sends the credentials only once and a web session gets created and the authentication remembered via session. The authenticated client can be tracked by a session cookie that gets sent with every request. JaasSecurityManager uses an internal cache to prevent calling LoginModules too frequently to reduce overhead. I had a closer look at the source of JaasSecurityManager and enables some debug output. I can see that the credentials get checked the first time I log in, but I canât see anything happen the next http requests. Do the security mechanisms of the webcontainer have another cache? Iâd like to know what classes are involved here that call the SecurityManager. What would happen in a loadbalanced JBoss environment? I could enable session replication, but I think as the SecurityManager is not part of the webcontainer, this would not help much. With BASIC authentication, the credentials sent by the browser could be used to authenticate again against the SecurityManager, but what is with FORM authentication? Do the credentials get stored somewhere in the web session? Do I maybe need to do replication of the SecurityManager Cache? Iâm not experienced in JBoss clusters, so I donât know what exactly can be shared in a loadbalanced JBoss cluster. Iâd be happy to have a documentation about how all this works in detail. I just could not find the right documents yet, maybe somebody could give me some hints and tell me where to look. Thanks, Sven View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228365#4228365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error installing to Create: name=TransactionManager stat
See if this helps: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=145603 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228355#4228355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Annotating @persistencecontext from a different ear
As far as i remember, the persistence units in different EARs are not accessible from the other EAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228340#4228340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How do I add the richfaces library to eclipse? (experien
Well I did try with JBoss as well as per your instructions but I still got similar issues. Thanks for the tip though, I did not make the distinction View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228308#4228308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to use @XmlMixed, @XmlRefrences and @XmlRefrence annotat
Okay maybe a better question to ask is this. How do I properly use the @XmlMixed, @XmlRefrences and @XmlReference annotations? Is the way I have stated above in my code examples correct??? Someone out there has to be using these annotations successfully! Any examples would be appreciated! -Kyle View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228318#4228318 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistence context propagation on remote calls
Hello, if I call a remote bean (transaction is propagated), which happens to be deployed on the same JVM (same JBoss, same ear even), will the PC be propagated? I know of two rules governing PC propagation: 1. a PC is not propagated on remote calls 2. a PC is propagated along with the transaction and I thought that the 1st rule always takes precedence - that is, whenever there's a remote call, the PC is not propagated. But I just saw a case in JBoss (4.2.3, Hiberante 3.3.1), where this was not so: the PC was propagated, although the call is remote (but in the same application). So is this a whole in the spec, a bug in JBoss EJB3, or is the PC not propagated on remote calls only when the call is "really" remote? (meaning that you couldn't really rely on the PC being propagated or not in your bean) Adam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228314#4228314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: bug? reading parameters from f:param + commandbutton res
thanks for the follow up i was able to solve the problem.. had wrong infos on how to archive the desired goal.. http://balusc.blogspot.com/2006/06/communication-in-jsf.html#PassingGETParametersFromJSFToBackingBeans if anyone has similar problems points out exactly the differences between a lot of different parameter handlings anyway, thanks for your comment, wolfgang best regards! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228381#4228381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Whats the difference in Jboss version 4 and 5?
Hi, i will want to check whats the difference between version 4 and 5? My web application is able to deploy and run in jboss version 4, but when i bring my file to jboss 5, it is not able to find the spring lib which i have place in the /WEB-INF/lib. What are the changes to the architecture of the jboss version 5? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228364#4228364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: bug? reading parameters from f:param + commandbutton res
ok good to know, thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228369#4228369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - publish user libraries to server
JBoss Tools 3.0, AS 5.01 I'm working on a drools-based ejb project. I have a user library for the drools runtime jars, marked as export on the build path. When I publish my project to the server, the libraries don't get published. Where are dependent libraries supposed to be published to, and what am I missing in my project configuration? All works fine if I manually add the jar files into the default/lib folder. Thanks, Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228386#4228386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: bug? reading parameters from f:param + commandbutton res
By the way: if you need to access request parameters, I would advice you to place them in "h:inputHidden" fields, not in "f:param". Another important thing to know: the name of the request parameter will contain all the IDs of its "container". So, in your situation, it will be "formid:test", not "test". If your form is in a table, the parameter name will be "tableid:rownumber:formid:test" and so on. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228374#4228374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations
it being this: https://jira.jboss.org/jira/browse/JBIDE-3923;jsessionid=09471A872EADE3C3D58BEE76F79C69B6?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel talking about jboss 3.2.5 and jboss 4.2.3 launching them under eclispe 3.3.2 with jboss tools 2, took less cpu then under eclipse 3.4.2 with jboss tools 3.0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228378#4228378 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations
Elhanan, As said before - both of your issues were bugs that where present in the previous builds. They are now fixed in GA. Please verify you are still using GA and seeing this. if you do then report it in jira with a screenshot of the missing link in the server editor. See http://screencast.com/t/5dbBgHjtw for how it looks for me in JBT 3 an dJBDS 2. With respect to AS start of 100% cpu usage then that were caused by some bad logic in the code that checks for AS starting-stopping. That code is gone now so if can reproduce that on the GA version then open a jira and provide whatever details you got. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228394#4228394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: publish user libraries to server
The "export" part I guess you mean you have that under the Java compiler-project settings ? Those just relates to classpath exports, not to deployment. I recall WTP supporting marking a classpath container as something that should be deployed but I can't recall it right now. btw. you shouldnt be adding any jars to default lib folder - that is very rarely the right solution. I would recommend you add the jars to the project instead of using a user library for now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228396#4228396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Jboss messaging 2.0 alpha, create new topic
I know that, but I must make example for Jboss messaging 2 alpha 1. It is for my job. I guess, I need to manually modify the XML file. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228395#4228395 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: publish user libraries to server
I just found it, see http://wiki.eclipse.org/ClasspathEntriesPublishExportSupport It describes how to get user libraries deployed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228398#4228398 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: cannot edit jboss launch configurations
h, you changed the location (it used to reached via the right click context menu on the server itself, i'm assuming that's not a bug) as for cpu usage, this is strange, when starting eclipse with a clean workspace, it's ok, but if i use with my current workspace then it spikes to 100%. this is the same workspace i've been using with eclipse 3.3.2 and jbos tools 2.0.0 nothing changed, i simply copied the new eclipse to a new directory and directed it to the old workspace, what could be the cause of that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228406#4228406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Redirect after logout
Hi, I am having the same login twice problem when logout link is clicked with an expired session. When logout button is clicked and the session is expired, it is redirected to login page. After providing username/password, since the last action was logging out, the login page is redisplayed and it is required to re-login. Does anyone has an idea how to fix this problem? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228419#4228419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannot login in jbpm-cosole administration
Hi, you would improve your chance to get help if you would provide proper error messages and context information as jBPM version... Have you had a look at http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223839? Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228417#4228417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: webapp deployment objects
Which info and what do we currently do? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228415#4228415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBDS: Visual and Source editors orientation can be chang
Hmm... I back-doored the editor stuff into my JBDS instance and it works just fine but I guess it's a coincidence. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228403#4228403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - webapp deployment objects
I have a deployer that needs information about a deployed webapp. Specifically things like its servlet context and context path. Currently we get this information by hacking around with specific pojo bean injections to get mbean object names and then access the mbean server to get the actual objects . Its not an ideal situation right now. As far as I can tell, there is no easy way to get this information. Is there any plans to extends the web deployers to pass this information along? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228411#4228411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Status Of JndiLoginInitialContextFactory In JBoss 5 [kaput]?
I have a number of unit tests that connect to secure ejbs. All of these unit tests passed in 4.2.1.GA, using the JndiLoginInitialContextFactory for propagating the credentials. This no longer appears to work on JBoss 5.0.1.GA. I've read through a great deal of documentation and I cannot find anything that says JndiLoginInitialContextFactory is no longer supported. What I have found is a number of posts that recommend using JAAS. After several days of trying to get my previous implementation to work with JBoss 5.0.1.GA, I finally gave up and used JAAS (which seems to be working). This seems to me to be a pretty serious regression that should have been documented, if it indeed no longers works or is no longer supported. I'd like to get a definitive answer on the status? I'd also like to note that I too had problems with the new location of the SecurityDomain annotation and that fact that there remains 2 of these. This is the one you need: import org.jboss.ejb3.annotation.SecurityDomain; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228409#4228409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Our Active Thread Count is over 20 000. Surely this is a
We figured it out, JMS was the problem but the cause were clients who were not closing connections properly. Our thread count has gone down to below 200 since we fixed our clients. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228423#4228423 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JNDI lookup for failed!
Hi Guys, When i run the application, i got the following error. Exception in thread "main" com.lsyas.acs.common.exception.SystemException: JNDI lookup for FluegeManager failed! at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:148) at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:124) at com.lsyas.acs.advanced.handling.db.RemoteLocator.getRemoteInstance(RemoteLocator.java:106) at com.lsyas.acs.advanced.handling.db.TestMain.testdatamethod(TestMain.java:27) at com.lsyas.acs.advanced.handling.db.TestMain.main(TestMain.java:34) Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:8080 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(Unknown Source) at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:146) ... 4 more Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:8080 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 8 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248) ... 9 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.(Unknown Source) at java.net.Socket.(Unknown Source) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244) ... 9 more I am using JBoss-4.2.3.GA The following files are used to get the JNDI context. TestMain.java -- public class TestMain { private FluegeManager manager = null; /** * @param args */ public void testdatamethod() { RemoteLocator remoteLocator = new RemoteLocator("org.jnp.interfaces.NamingContextFactory", "jnp://localhost:8080", "org.jboss.naming:org.jnp.interfaces"); manager = remoteLocator.getRemoteInstance(FluegeManager.class); List fluegedata = manager.getAll(); System.out.println("Data Size is "+ fluegedata.size()); } public static void main(String[] args) { TestMain testMain = new TestMain(); testMain.testdatamethod(); } } RemoteLocater.java --- public class RemoteLocator { private JndiAccess jndiAccess; public RemoteLocator() { jndiAccess = new JndiAccess(); } public RemoteLocator(String initialContextFactory, String providerUrl, String urlPkgPrefixes) { jndiAccess = new JndiAccess(initialContextFactory, providerUrl, urlPkgPrefixes); } @SuppressWarnings({"MissingClassJavaDoc"}) public T getRemoteInstance(Class remoteInterface) { return jndiAccess.lookup(remoteInterface.getSimpleName(), remoteInterface); } } JndiAccess.java - public class JndiAccess { private String initialContextFactory; private String providerUrl; private String urlPkgPrefixes; private InitialContext initialContext = null; public JndiAccess() { initialContextFactory = null; providerUrl = null; urlPkgPrefixes = null; } public JndiAccess(String initialContextFactory, String providerUrl, String urlPkgPrefixes) { this.initialContextFactory = initialContextFactory; this.providerUrl = providerUrl; this.urlPkgPrefixes = urlPkgPrefixes; } private Object lookup(String dataJndiName) { try { if (initialContext == null) { if (initialContextFactory != null || providerUrl != null || urlPkgPrefixes != null) { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); env.put(Context.PROVIDER_URL, providerUrl); env.put(Context.URL_PKG_PREFIXES, urlPkgPrefixes); initialContext =
[jboss-user] [Microcontainer] - Re: webapp deployment objects
"alesj" wrote : Which info The servlet context and the context path of the web application. Note that these are actual objects that get created when the web app is deployed into the web container. This is not metadata. "alesj wrote : and what do we currently do? Its not currenly being handled. The tomcat deployer is also still using the old mbean deployment, so deployers can't even get access to the unit attachments its using. Even getting access to the WebApplication attachment objects the deployers are using doesn't exactly allow us to get the servlet context, but its a few steps closer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228428#4228428 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Persistence context propagation on remote calls
"EJB 3.0 Persistence 5.6.3" wrote : Propagation of persistence contexts only applies within a local environment. Persistence contexts are not propagated to remote tiers. So propagation will not occur if the call is really remote. Calling locally through a remote interface will propagate the PC. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228429#4228429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: ThreadLocalPool - Seam and Stateful Session Beans potent
https://jira.jboss.org/jira/browse/EJBTHREE-1358 https://jira.jboss.org/jira/browse/JBPAPP-1938 This is fixed in the upcoming EJB 3 Plugin and Enterprise Application Platform releases. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228431#4228431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Force web request/user through JAAS login (bug in cache time
There is a little back story in this old post, but here is the gist. We have a web application that uses PKI certs to control user access. Typically, we use custom JSTL libs to verify the user has the proper roles to access the requested .jsp. However, this forces us to include authentication/authorization code into every page, which isn't the best solution. Instead, we'd like to handle this in the application server (JBoss 4.2.2 in our case). We already use a security domain for EJBs and we'd like to extend this to the web tier. My attempt at doing this (see old post) had a few problems, but that was mostly just developer error. However, since then, I had problems forcing the users request to authenticate via the JAAS process on each web request. For example, a user would go to http://jboss/secure/secure.jsp, and his certificate would be passed to my custom login module via HTTP header and the user would be authenticate. However, if the user then requested http://jboss/secure2.jsp, the custom login module would not be accessed. This seemed to be because JBoss caches login credentials. That page recommends setting the default cache timeout to 0, in order to force authentication/authorization each time. While this does work for the web requests, it breaks our EJBs. If, for example, a servlet makes a single call to an EJB and then exits, it works fine. If we make a call to two EJBs, then it fails. It is possible that this is a bug in the JAAS code within JBoss (I can't seem to find the URLs/JIRA issue that relate at this time), but my bigger question is whether this is the best way to force each web request through an authentication and authorization process? For each request, we need to verify the user has the proper roles? Is this the best way to do it? Or is there any approach I should use? Thanks... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228435#4228435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm 3.6 installation on tomcat
Hi All, I am wondering, can i install jbpm3.6 on tomcat, is yes can you please provide me instruction to do. when i install with the installer, it asks for jboss directory. can you provide me assistance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228437#4228437 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JBoss 5 Client connect issues
We had the same problem. Our workaround is to start the jboss with the specific interface address instead of 0.0.0.0 -b 192.168.1.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228449#4228449 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Custom Task Implementation Hibernate Issue (Table Per Sub Cl
Hi, Has anyone encountered similar error mentioned in below link with with custom task implementation? Any ideas on how to resolve it? https://forum.hibernate.org/viewtopic.php?f=1&t=996570 Thanks in Advance, -Sridhar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228454#4228454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Porting WLS8.1 to JBoss5 - JNDI lookup for XA factory re
I've read the config & admin document for AS, the JBM doco and the JTM doco. However I wasn't able to find any solutions. NB that this code works fine in Weblogic 8.1, so you could classify this as a migration problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228457#4228457 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: MDB calling a session bean, session bean not getting reu
I am coming across this problem in EJB 2. Any idea how to fix this issue with EJB 2 on Jboss 4.2.2 GA? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228458#4228458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm performace issure
i heard someone said jbpm has performance issure, i am worried about this very much. mainly because of taskinstance table, which does not have history table and will become very large if system runs in a long time. As many constrain in table, its very diffucult to delete data of taskinstance. Someone has good way to solve this problem, or increase the perfomance? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228462#4228462 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Memory leak in JBoss Messaging 1.4.0SP3-CP02
We are running jboss-messaging-1.4.2.GA-SP1 on Jboss AS 4.2.2GA. We also have a similar situation where a transacted stateless session EJB is having a non transacted JMS connection . Our application is quite big for testing with Jboss profiler. Any idea whether it can cause a memory leak ? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228465#4228465 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: java.net.BindException: Address already in use: JVM_Bind
Hi Guys, I got also same problem with jboss 4.2.3GA. I solved this problem with the following code in conf/jboss-server.xml i changed the port numbers 1098, 1099 to 11098,11099. then the error is gone. I hope it will be worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228481#4228481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - JNDI lookup for failed!
Hi Guys, When i run the application, i got the following error. Exception in thread "main" com.lsyas.acs.common.exception.SystemException: JNDI lookup for FluegeManager failed! at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:148) at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:124) at com.lsyas.acs.advanced.handling.db.RemoteLocator.getRemoteInstance(RemoteLocator.java:106) at com.lsyas.acs.advanced.handling.db.TestMain.testdatamethod(TestMain.java:27) at com.lsyas.acs.advanced.handling.db.TestMain.main(TestMain.java:34) Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:8080 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:8080 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect]]] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1562) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:634) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(Unknown Source) at com.lsyas.acs.advanced.handling.db.JndiAccess.lookup(JndiAccess.java:146) ... 4 more Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:8080 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:274) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1533) ... 8 more Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:8080 [Root exception is java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:248) ... 9 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.(Unknown Source) at java.net.Socket.(Unknown Source) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:244) ... 9 more I am using JBoss-4.2.3.GA The following files are used to get the JNDI context. TestMain.java -- public class TestMain { private FluegeManager manager = null; /** * @param args */ public void testdatamethod() { RemoteLocator remoteLocator = new RemoteLocator("org.jnp.interfaces.NamingContextFactory", "jnp://localhost:8080", "org.jboss.naming:org.jnp.interfaces"); manager = remoteLocator.getRemoteInstance(FluegeManager.class); List fluegedata = manager.getAll(); System.out.println("Data Size is "+ fluegedata.size()); } public static void main(String[] args) { TestMain testMain = new TestMain(); testMain.testdatamethod(); } } RemoteLocater.java --- public class RemoteLocator { private JndiAccess jndiAccess; public RemoteLocator() { jndiAccess = new JndiAccess(); } public RemoteLocator(String initialContextFactory, String providerUrl, String urlPkgPrefixes) { jndiAccess = new JndiAccess(initialContextFactory, providerUrl, urlPkgPrefixes); } @SuppressWarnings({"MissingClassJavaDoc"}) public T getRemoteInstance(Class remoteInterface) { return jndiAccess.lookup(remoteInterface.getSimpleName(), remoteInterface); } } JndiAccess.java - public class JndiAccess { private String initialContextFactory; private String providerUrl; private String urlPkgPrefixes; private InitialContext initialContext = null; public JndiAccess() { initialContextFactory = null; providerUrl = null; urlPkgPrefixes = null; } public JndiAccess(String initialContextFactory, String providerUrl, String urlPkgPrefixes) { this.initialContextFactory = initialContextFactory; this.providerUrl = providerUrl; this.urlPkgPrefixes = urlPkgPrefixes; } private Object lookup(String dataJndiName) { try { if (initialContext == null) { if (initialContextFactory != null || providerUrl != null || urlPkgPrefixes != null) { Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory); env.put(Context.PROVIDER_URL, providerUrl); env.put(Context.URL_PKG_PREFIXES, urlPkgPrefixes); initialContext =
[jboss-user] [EJB 3.0] - Use of CMP EntityManager in POJO
Hi, What I'm trying to do is construct a POJO using the EntityManager injected into a session bean, pass it back to the calling session bean and use it (and the associated EM). According to my reading of the persistence spec this should be fine (5.6.1). But it seems to trigger a NullPointerException within the JBoss/Hibernate code as soon as any EM method that accesses the PC is called(find specifically). I'm using a default JBossAS 4.2.3.GA Any help would be appreciated. Thanks, Grant View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228483#4228483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Integrating Cruise Control with Jboss
Hi All, I am trying to integrate Cruise Control with Jboss and i am facing some issues as the cruise control comes with a Jetty server by default. Can anyone please share me the procedures to accomplish the same? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228484#4228484 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - JBoss and MSMQ
I have a JMS program which is contain just a Queue. I'm using JBoss MQ as MOM. On the other hand, I have a .Net program which must communicate with first program. The question is here, can I use MSMQ (Microsoft Message Queue) in side of .Net Program to send the messages to this Queue or not? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228485#4228485 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - unable to reassign Task using jBPM4
Hi All, i'm searching a function to reassign a task to another user. If the task is already assigned, and i try to reassign ist with taskService.takeTask(Long.valueOf(taskId), assignee); jBPM throws an "task already taken by johndoe" exception. And using Task t1 = taskService.getTask(Long.valueOf(taskId)); | t1.setAssignee(assignee); takes no effect. So how can I reassing a task ? greetings SirFrancis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228487#4228487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Use of CMP EntityManager in POJO
Found what could be the problem. This is the code that causes the null pointer in 4.2.3.GA | public EntityManager getNonTxEntityManager() |{ | Map map = nonTxStack.get(); | EntityManager em = (EntityManager)map.get(this); // Null Pointer here | if (em == null) | { | em = entityManagerFactory.createEntityManager(); | map.put(this, em); | } | return em; |} | Compared against the JPA code. | public EntityManager getNonTxEntityManager() |{ | Map map = nonTxStack.get(); | | EntityManager em = null; | if (map != null) | em = map.get(this); | else | { | map = new HashMap(); | nonTxStack.push(map); | } | | if (em == null) | { | em = entityManagerFactory.createEntityManager(); | map.put(this, em); | } | return em; |} | As you can see there is a guard around the map reference code. However the code with a guard around it appears to from revision 75254 where as the code without a guard is from 75965 which is later. However the 4.2 code appears to have been copied from 4.0 (rev 58000). Does anyone happen to know which release this was fixed in? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228492#4228492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user