[jboss-user] [JBoss Portal Users] - Removing Dashboard Feature
Describe your environment: JBoss Portal 2.6.4 - GA Downloaded from jboss.org JBoss AS Version (comes with the bundle) Tomcat (other details cannot locate) KUbuntu Hi! I want to remove the Dashboard feature in the Portal I am making. Total newbie here! Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256995#4256995 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM stops processing
Thanks. Does "a serious problem, eg. a NoClassDefFoundError" include exceptions (as in this case)? I would expect that it applied to Errors and not Exceptions. "eventually no JobExecutorThreads are left to execute timers. " - in my case not only timers stopped processing. All new flows were left in start state. Is this still a symptom of this jira? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256994#4256994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
As I understand there are 2 bugs which affect your problem. The problem wtih the engine which Joram mentioned in one of the comments here: https://jira.jboss.org/jira/browse/JBPM-2544 Seems to be a a rather small change in the code. So you could get the 4.1 sources, make this change manually since you do not want the other changes which are in trunk and afterwards build from source. As Joram mentioned this should make the exception gone away but as long as you do not update to console 1.2 you won't be able to see the process instances and tasks. Regarding your deadline: I saw the date somehere, 4.2 is supposed to be released on November 1st I think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256991#4256991 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
Hi, Thanks. It is the same problem mentioned in https://jira.jboss.org/jira/browse/JBPM-2544 I am in the development phase and deadlines are strict in my case. Can I get patch/workaround for this issue ? It seems like that it is fixed and will be available in 4.2. But then due to strict deadlines, I can't wait for much time -Regards Makarand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256986#4256986 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Remoting Users] - J2EE remote client HTTP tunneling
I've got a swing client that's making EJB calls and listening to JMS topics in my JBoss app server. I get the server JNDI and do remote proxy lookups for EJBs, JMS Topics, and the JMS Connection Factory. All of this works fine until somebody puts a firewall between my client and server and closes everything but port 80. I've been looking and I found quite a bit of possibilities but I didn't really see anything that looked like an exact fit. The closest I saw is JProxy, but testing reveals that it doesn't work. The proxy I got back still wanted to connect on a different port. Is JBoss Remoting the way to go here? I could create a server object that proxies the calls to the various EJBs and to JMS and forward the results back to the client. Then tunnel all that over HTTP. My other option would be to convert my JMS code to use HTTP (not looked up from JNDI) and then create web services for my EJB calls. Is there something I'm missing? Maybe there's a way to configure the JNDI proxies to connect back with HTTP tunneling? We're also headed for clustering so I'll have that wrinkle in there soon. The non-firewall answer is to use HA-JNDI and everything else will work fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256981#4256981 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?
Yes, I read that thread and yes, the use case is similar. We want a easy way to block for write operation rather capturing exceptions. The thing is that I don't want to use pessimistic locking from your test code there as it is deprecated now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256976#4256976 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Tibco Ems Cluster - JBoss MQ
So it sounds like you want your producers and consumers to only be deployed on the HASingleton master. So, seems like you should: 1) Follow the instructions on http://www.jboss.org/community/wiki/IntegrationWithTibcoEMS And it sounds like you've done that and gotten it working. As you've discovered, you don't want to put the Tibco configuration stuff discussed on the wiki in deploy-hasingleton. It needs to be deployed on every server. 2) Delete the contents of deploy-hasingleton/jms . That stuff is relevant to using JBoss MQ as your JMS server, which you're not doing. The wiki page talks about deleting JBoss MQ, but discusses it in terms of the "default" config; by deleting deploy-hasingleton/jms you're doing the equivalent thing to the "all" config. 3) Deploy your producers and consumers in deploy-hasingleton. The "shared persistence provider for queues" discussion is relevant to JBossMQ. As you said, Tibco is handling this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256974#4256974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256974 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - 2 JBoss Cache questions
Hello, I'm a relatively new user to JBoss cache, and things generally seem to work well with JBoss cache while running inside of my application server. However, I am having 2 difficulties that I hope somebody out there can help me out with: 1) when using a JBoss cache instance in a standalone Java client outside of my JBoss application server (which running in a clustered mode), I seem to be unable to get it to join the application server cluster and have the caches talk to each other. I want to have my Java client application invalidate the application server's cache by using the INVALIDATION_ASYNC mode. I've started the JBoss server with the following arguments: | ./run.sh -c all -b 10.1.0.22 -u 228.1.2.3 -g testcluster | My Java application code creates a cache like this: | CacheFactory factory = DefaultCacheFactory.getInstance(); | Configuration config = new Configuration(); | config.setCacheMode(CacheMode.INVALIDATION_ASYNC); | config.setClusterName("testcluster-query"); | jbCache = factory.createCache(config); | jbCache.addCacheListener(new DebugCacheListener()); | jbCache.create(); | jbCache.start(); | If I start up 2 of my Java standalone applications, I can see that these caches do indeed talk to each other (through the use of annotations on my DebugCacheListener such as @NodeInvalidated etc.) 2) in the same situation as #1 (using a cache instance in a standalone Java application), it seems that JBoss cache is creating lots of background threads that cause my application VM not to want to exit. Is there any way to have JBoss cache create these threads as daemon threads and not block the application VM from exiting automatically when my main() method finishes? I would like to avoid having to put System.exit() calls in my code to force a VM exit. Thanks for any help you can provide! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256973#4256973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - WSDL 2.0 supported?
Hello, This likely seems like an obvious question, but both Google and the search on these forums is turning up almost nothing. Does JBossWS (native) support WSDL 2.0? If so, are there any drawbacks to using it (i.e., can't use WS-RM or anything). Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256964#4256964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Hot deply new version of a webapp
When you say "without bringing down JBoss" are you saying you want to run 2 versions of the app concurrently in the same JBoss instance? Or are you talking about a rolling upgrade of a cluster? If the latter, the solution involves the mod_jk and mod_cluster notion of "domains", which are essentially preference groups for failover. Have a look at the presentation Bela Ban did on this recently at JBoss World: http://www.redhat.com/f/pdf/jbw/bban_320_large_clusters_in_jboss.pdf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256963#4256963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Load Balancing in Jboss 5.1 , not able to test it !
I suggest you ask on the JBoss Messaging user forum. The docs referenced above indicate that a connection will stick to one server unless a failover event occurs. If there's some mechanism to change that (from the docs, it sounds unlikely) the folks on the messaging forum are the ones to tell you what it is. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256962#4256962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Error while starting process instance
Sorry I've posted without reading this topic :s I will prepared those informations tomorrow and post them here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256958#4256958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Migrating custom workflow to jbpm
I am working on a project to refactor a custom built workflow process (simple POJO design with state design pattern) to use jbpm. The one issue that I am concerned with is how to handle current processes that are not in a final state and that will need to be integrated into jbpm. I want to avoid having to add programming logic to traverse the workflow in order to put the process in a proper state within jbpm. Is there a way to jump to a specific node when starting a new processInstance? If not, I was thinking of having multiple "migration" transitions from the initial start node to handle processes that have started within the old workflow. The downside with that approach is it presents an untrue picture of the workflow. Are there any best practices or recommendations for this? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256956#4256956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: weblogic jndi lookup from jboss in cluster
I doubt this has anything to do with clustering per se; rather it's that clustering is a feature in the "all" config, along with lots of other stuff that's not in default, e.g. deploy/iiop-service.xml. Does removing deploy/iiop-service.xml solve your problem? Alternatively, you could try making a new "cluster" config by copying default and then: 1) Copy all/deploy/cluster to cluster/deploy/ 2) Copy all/deploy-hasingleton to cluster/ 3) Copy all/lib/* to cluster/lib/ It gets a bit more complex if you want farming to work; I'll omit that for now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256951#4256951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failover trouble mod_jk
This sounds like https://jira.jboss.org/jira/browse/JBAS-7123 . If you post the full stack trace of your "java.lang.RuntimeException: DistributedCacheManager is null. at org.jboss.web.tomcat.service.session.ClusteredSession.establishDistri butedCacheManager(ClusteredSession.java:1773) " I can confirm. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256949#4256949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: how to save the history of modifications of the table?
How about Envers? http://jboss.org/envers/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256946#4256946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB Entity Bean works in default configuration, failes u
Are you packaging any jndi.properties file in the application or any jboss specific jar files? If yes, remove them. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256945#4256945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JMX] - Cannot persist xmbean
Hello! I used the persistent-service.sar example, made it into a non service jar and deployed it. I'm able to access the bean from the jmx console, get and set properties, but it is never persisted. Why would that be? the only changes I made are: Put this at the beginning of the class @Service (objectName="jboss.jmx:service=PersistentServiceExample", xmbean="resource:ps-xmbean.xml") Created ps-xmbean.xml, modified it to confirm to xmbean schema. Only persistence doesn't work. Any pointer on how to debug would be greatly appreciated. modified jboss-service.xml (ps-xmbean.xml) | http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd";> | | | | | | | | | | | | | | PersistentServiceExample | | | | | | | | | | org.jboss.jmx.examples.persistence.PersistentServiceExample | | | | | SomeBigDecimal | java.math.BigDecimal | | | | SomeBoolean | boolean | | | | | SomeElement | org.w3c.dom.Element | | | | | SomeFileDescriptor | java.io.FileDescriptor | | | | | | | | SomeInt | int | | | | SomeInteger | java.lang.Integer | | | | SomeString | java.lang.String | | | | SomeTimestamp | java.sql.Timestamp | | | | | | | SomeNullObject | java.lang.Object | | | | | SomeArrayList | java.util.ArrayList | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256944#4256944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Jboss 5.1.0.GA as Windows service
Thank you very much, now it works fine. Kind regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256941#4256941 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
Okay, found it: https://jira.jboss.org/jira/browse/JBPM-2544 Please check if this matches your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256940#4256940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
I cannot find the JIRA issue right now but this is an issue with the console which has been already fixed in the trunk. The fix will go into the 4.2 release I think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256939#4256939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Start time of process instances
*push* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256938#4256938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Error while starting process instance
To be able to help you more information is needed. This just tells that there was a problem when the console sent the request to start the new instance. The console communicates over an REST interface with the engine. We need a full error log etc. Look here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256937#4256937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Trying to view certain user's tasks in jbpm-console caus
I could not really reproduce this. So for now it is okay I suppose. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256936#4256936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: JBoss EJB3 Plugin 1.1.16
Problem solved. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256935#4256935 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Task descriptions not possible?
Here we go: the issue regarding the incomplete schema: https://jira.jboss.org/jira/browse/JBPM-2554 the issue regarding the missing possibility to set the description in the GDP https://jira.jboss.org/jira/browse/JBPM-2555 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256934#4256934 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - doXslTransform JBPM BPEL support
Hi, I'm using JBPM BPEL for the first time and when I try to use the doXslTransform function I'm getting this exception: 14:07:45,676 ERROR [XPathExpressionEvaluator] expression evaluation failed org.jaxen.UnresolvableException: No Such Function {http://docs.oasis-open.org/wsbpel/2.0/process/executable}:doXslTransform at org.jaxen.SimpleFunctionContext.getFunction(SimpleFunctionContext.java:127) at org.jaxen.ContextSupport.getFunction(ContextSupport.java:242) at org.jaxen.Context.getFunction(Context.java:216) Am I doing something wrong or jbpm-bpel-1.1.1 doesn't support it? Regards, Alejandro View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256933#4256933 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: unclear error during deployment to JBoss 5.1.0GA
Please post the entire exception stacktrace and some relevant lines from the console. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256932#4256932 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Questions about doXslTransform
I'm facing the same problem, did you guys found a solution to this? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256929#4256929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: MVCCLockManager.lockAndRecord ignores the values of Invo
Hi thanks for reporting, this is definitely a bug. See https://jira.jboss.org/jira/browse/JBCACHE-1547 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256923#4256923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - immediately Login
Hi, as I understand, an application client is authenticated not until the next EJB call. But http://www.jboss.org/community/wiki/SecurityFAQ Q3 hints "This example is for a scenario where a calling client is using the LoginContext directly and requires feedback from the LoginContext.login() method if authentication using the users username and password was successful." But this does not work for me with JBoss 4.3, LoginContext.login() returns immediately without going to the server. How can you authenticate a client without doing an EJB call? Ideally this should return a token you can use for the next EJB call. Thanks, Juergen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256919#4256919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failover trouble mod_jk
To be more precise, if I unplugged the network cable of my node2, failover processing works well and it is transparent for my client. It seems that shutdown.sh kill brutally JBoss, is it possible ? Thanks, Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256917#4256917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Error while starting process instance
Hi there, I'm new on jBPM and trying it for the first time. But I'm blocked on an error : while I'm trying to start a test process instance through GWT Console (jBPM Console), I got this error : * URL: 'http://localhost:8080/gwt-console-server/rs/process/definition/processTest-1/new_instance' | * Action: 'org.jboss.bpm.console.client.process.StartNewInstanceAction' | * Exception: 'class com.google.gwt.http.client.RequestException' | | HTTP 500: Unknown error Is this error due to a configuration problem ? Can you help me about it ? Thank you ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256910#4256910 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: @Service concurrency
As per JBoss Specifications org.jboss.annotation.ejb.Service annotated beans have Singleton behaviour, so only a single instance of the bean exists in the server. Further they can be exposed similar to EJBs with @Remote and @Local which means the calling client will be executing the same instance over multiple calls, so concurrency issues have to be handled manually. I am Still wondering about its behaviour when it is also annotated with @org.jboss.annotation.ejb.Clustered :-) Regards Sarabjit S. Rupaal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256908#4256908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Cache does not release locked nodes on transaction rollback
Hello, can you advise please on another issue I've got with JBoss-Cache (3.2) used with Atomicos tx server. When transaction server calls rollback on jta timeout, locks aren't released, probably because invocation context is not set on atomicos thread Here's the scenario: 1. transaction started (by Spring transaction proxy) 2. processing is done, cache updated 3. precommit called - cacheloader writes updates to a database, it takes some time 4. during precommit phase rollback called by atomicos on timeout 5. locks are not released during rollback, because: rollback is called from atomicos thread lockManager.unlock(fqn, owner) is called with right owner (global transaction to be rolled back) but owner is not used in MVCCLockManager invocationContextContainer is empty, so OwnableReentrantLock tries current thread as the owner, causing IllegalMonitorException 6. UnexpectedRollbackException is thrown on commit attempt, no other command issued to rollback so no locks released Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256907#4256907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Cannot Access Secure EJB3 Web Service
here is the unit test failure: | request requires HTTP authentication: Unauthorized; nested exception is: request requires HTTP authentication: Unauthorized View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256906#4256906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Cannot Access Secure EJB3 Web Service
I have a web service that worked fine in AS 4.2.1GA, but since porting to 5.1.0GA, I have been unable to access it if it is secure. If I remove authMethod=BASIC setting of the WebContext, I can access the ejb, but it is not secure. I am using the native stack, version 3.2.0GA. Here is my interface definition (simplified): | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public interface Inquiry { | | String echo(@WebParam(name="echoText", mode=Mode.IN) String echoText); | Here is my EJB3 definition: | @WebService(endpointInterface="com.foo.Inquiry") | @WebContext(contextRoot="check-inquiry", /* SEK TODO: not working */ authMethod="BASIC" /**/, secureWSDLAccess=false) | @Stateless | @SecurityDomain("my-security-domain") | @TransactionAttribute(TransactionAttributeType.SUPPORTS) //we do not require a transaction. we do not perform any updates. | @Interceptors({PerformanceProfiler.class, ExceptionLogger.class}) | public class InquiryImpl extends BasePersistentContextHolder implements Inquiry { | | @Override | public String echo(final String echoText) { | getLog().debug("echo=[" + echoText+ "]"); | return echoText; | } | Here is my jax-rpc client code: | private Inquiry getService(final String username, final String password, final boolean withAuth) throws MalformedURLException, ServiceException { | Stub stub = (Stub) new InquiryService_Impl().getInquiryPort(); | stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:8080/check-inquiry/InquiryImpl?wsdl";); | | | if (withAuth) { | stub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, username); | stub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, password); | } | | return (Inquiry) stub; | } | Let's see, I've got the custom security domain configured in conf/login-config.xml. I've read through the documentation and tried a number of things with other configuration files, like jboss-wsse-server.xml in META-INF. Nothing has worked. I am deploying as an ejb-jar file inside of an ear file. I'm hoping that someone can see some inconsistency in this all that I have missed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256905#4256905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Looking for JBoss AS source files
I'm not sure why the downloads are hard to find: In the tabs at the top of the page hover over Projects and then move the mouse to Servers and the Application Server and click. Then click on the Downloads button in the blue box on the left-hand side of the page. Then click the Download link for the 5.1.0.GA entry. Then click the boss-5.1.0.GA-src.tar.gz link. (A little while ago the SourceForge site went through some redesign and the download links were very difficult to find, but it looks like that has been fixed.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256904#4256904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Jboss 5.1.0.GA as Windows service
anonymous wrote : I changed in service.bat line 26: That won't work - the order is wrong. The JAVA_OPTS are set in run.conf.bat until after this line, not before it. I recommend commenting out this line and adding the -Xrs to the JAVA_OPTS in run.conf/bat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256903#4256903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: maxThreads/ThreadPool configuration
1) That is a JSF-related error. I'll leave it to someone more familiar with Faces to help you with that one. 2) Make sure that your database will alllow 500 connection. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256902#4256902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Error when calling web service within JBoss
How are you starting the app server? Are you using the -b option and if so what hostname/IP address are you passing? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256901#4256901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Task descriptions not possible?
Okay I checked the schema. There is just a description for a process but not for the task elemetns defined. I will check JIRA and fill an issue if there isn't one yet for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256895#4256895 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
Hi, Mistake from my part. New process definition with end-state is attached below. Still same error is coming. After starting a process through jbpm console when I login as "peter" in jbpm-console, immediately I get the exception pasted in my previous message. I could see that there is some issue with respect to fork to n tasks with taskforms in user forum discussions before but error was not the same which i have reported. Please help me in this regard | | | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256894#4256894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.1 - Spring Problem
Roland, thanks for the quick reply! I upgraded to Xerces 2.9.1, which didn't immediately solve the issue, but gave a clearer error message. The next problem was that I had a dependency conflict between jaxb-impl-1.0.4 and JAXB 2.0... I posted details about resolving this on my blog at http://www.nilspreusker.de/2009/09/24/maven-dependency-conflicts/. Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256892#4256892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Task descriptions not possible?
So if I specify it like | | | it should work but it was left out in the schema? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256891#4256891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Task descriptions not possible?
Sounds like an omission in the xsd. But it could also be that the parser does not read it (yet) even if you set it in the jpdl file (I checked the source and afaics it does get parsed. So please file a jira issue for the combined issue View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256889#4256889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Task descriptions not possible?
Hello forum, I was sure I posted this a couple of hours ago but now that I wanted to check if there were any answers I could not find my post? In case you find it, sorry for the double post. My question is regarding the description of tasks. The class Task has a member called description and the respective getter and setter but in the GPD there is no way to specify the description of a task. So I tried editing the process definition manually by adding an attribute called description to a task but Eclipse told me that this does not match the schema. Adding an element description inside the task definition did not work either. How can I specificy the description of a task? Just at runtime? Thanks for any hints Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256885#4256885 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM
Ah... I forgot to escape the xml tag. Thanks Ronald. ;-) Here is the complete steps. 1. Download the JBoss Identity IDM 1.0.0.Beta1 from here http://repository.jboss.com/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Beta1/jbossidm-1.0.0.Beta1.zip . (Sorry for that didn't put this distribution into the download page yet, will do it in the future). 2. Extract the zip ball, update the build.properties file, to config your database, jboss.home etc. 3. Go to the jboss folder, run: ant install.jbossidm.into.jboss to install the jbossidm. 4. Go to the JBoss AS (which jbpm 4.1 was deployed to)/server/$config (like default)/deploy/jbpm/jbpm-service.sar/jbpm.cfg.xml Replace the with 5. Start the AS server, you should be ready to go. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256879#4256879 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
"allforjava" wrote : Hi Max, not expected such active+healthy conversation. Thank you. | | anonymous wrote : eh ? Java have .jar files to handle that ;) | | | | Create a utility jar project and add it as a dependency in the war project and it will be included. | | I agree to it. However during development phase either I need to create multiple projects OR club everything in single projects before jaring them [fidiling with dependencies]. I have just gave an example for the need of modularity. And not as my only requirement. | I'm not sure what you are saying here ? You want modularity but you dont want to fiddle with dependencies ? How can you get one without the other ? anonymous wrote : | anonymous wrote : seam-gen has support for just generating the UI part too. seam generate-ui I think ? | | Does Eclipe IDE plugin has this option? Or can I use the console based command 'generate ui' to have views for Eclipse IDE created Seam Project. I doubt. As said a few times now, Generate entities in JBoss Tools has support to choose "from entities" and not just "from database". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256876#4256876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM stops processing
https://jira.jboss.org/jira/browse/JBPM-2375 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256869#4256869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Re: Looking for JBoss AS source files
I recommend you all use also the greate java forums- http://www.coderanch.com it's friendly and you get the answers real quick. The answer for that one is: in sourceforge- Click on "view all files", and then go to "JBoss" - "JBoss-5.1.0.GA". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256866#4256866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 (with Spring beans) deployment into JBOSS
The 4.1 docs are also online now View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256865#4256865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM4 (with Spring beans) deployment into JBOSS
Rajesh, have a look at the spring section of the jBPM 4.1 developer guide (in the doc directory of the jBPM 4.1 download) and Andries Inzé's blog: http://www.inze.be/andries/ Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256864#4256864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
Hi Max, not expected such active+healthy conversation. Thank you. anonymous wrote : eh ? Java have .jar files to handle that ;) | | Create a utility jar project and add it as a dependency in the war project and it will be included. I agree to it. However during development phase either I need to create multiple projects OR club everything in single projects before jaring them [fidiling with dependencies]. I have just gave an example for the need of modularity. And not as my only requirement. I'm just a beginner to J2EE. I'm sure that the Jboss Team will make a right decision towards modularity. To be or Not to be. anonymous wrote : seam-gen has support for just generating the UI part too. seam generate-ui I think ? Does Eclipe IDE plugin has this option? Or can I use the console based command 'generate ui' to have views for Eclipse IDE created Seam Project. I doubt. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256863#4256863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM stops processing
Acually I did read it - and I did search. I apologize for my apparently lousy search skills, but I was unable to find the answer. I you could hint me towards this, I would be grateful... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256858#4256858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.1 - Spring Problem
Nils, This clearly is related to the xml parser that is used. There has been a previous post in this area in the forum afaik. Please try to find that article and see if it solves your problem as well (it is not jBPM related) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256857#4256857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM
Jeff, Something went missing in your post in step 4 Ronald View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256856#4256856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Invalidation-only cache
Ah yes, didn't notice it, thanks a lot! :) Adam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256854#4256854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM stops processing
PLEASE. read the first and sticky post in this forum and especially act upon the 'searching' thing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256853#4256853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Failover trouble mod_jk
I am testing this features with JBoss 5.1.0 GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256851#4256851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Depracated CacheJmxWrapperMBean
I've the same problem. Did you found a solution? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256849#4256849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - Looking for JBoss AS source files
Since this is a open source product, I am looking for the sources of JBoss AS version 5.1.0GA I tried to look for it in the sites: http://www.jboss.org and in sourceforge from which I was able to download to product itself but couldn't find. Can anyone provide me a link to the web page from which I can download or instruct me how to navigate inside any of the website to rich the page with the source downloads. (very diffiecult ot navigate in those confusing sites) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256848#4256848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256848 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM4 and JBoss IDM
Hi, below is the step to use jboss idm in jBPM 4.1 manually. 1. Download the JBoss Identity IDM 1.0.0.Beta1 from here http://repository.jboss.com/maven2/org/jboss/identity/idm/jbossidm/1.0.0.Beta1/jbossidm-1.0.0.Beta1.zip. (Sorry for that didn't put this distribution into the download page yet, will do it in the future). 2. Extract the zip ball, update the build.properties file, to config your database, jboss.home etc. 3. Go to the jboss folder, run: ant install.jbossidm.into.jboss to install the jbossidm. 4. Go to the JBoss AS (which jbpm 4.1 was deployed to)/server/$config (like default)/deploy/jbpm/jbpm-service.sar/jbpm.cfg.xml Replace the with 5. Start the AS server, you should be ready to go. Sorry for the inconvenience, I will work on this task later then.. Please let you know if you have any other issues. *NB, the jBPM console is using the jbpm built-in identity, if you want to change that, you need to add another application-policy in the jbpm-service.sar/META-INF/jboss-service.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256846#4256846 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM 4.1 - Spring Problem
Hi, I'm trying to integrate jBPM 4.1 with an existing spring 2.5.5 app and I'm getting the following exceptions: | 1) Error creating bean with name 'jbpmConfiguration' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jbpm.pvm.internal.cfg.SpringConfiguration]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError | | 2) couldn't parse xml document : org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified. I've been trying to figure out what is causing this, but got completely stuck at this point. I'm assuming that something is wrong with my jbpm.cfg.xml, but the same exception occurs with an empty jbpm.cfg.xml or any other config I've tested (and I've used working ones from a jBPM 4 projects). Maybe someone has seen this before? Here is the whole stack trace: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbpmConfiguration' defined in class path resource [applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.jbpm.pvm.internal.cfg.SpringConfiguration]: Constructor threw exception; nested exception is java.lang.ExceptionInInitializerError | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) | at java.security.AccessController.doPrivileged(Native Method) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221) | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) | at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:627) | at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553) | at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) | at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149) | at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) | at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) | at org.apache.catalina.core.StandardEngine.start(StandardEngine.j
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
"allforjava" wrote : Thank you Akazakov, for the ticket in JIRA. | | And Max, Thank you for speedy reply. | | anonymous wrote : I don't understand what you mean by "seam-modules for seam-project" ? Here, an example might clarify the details. | | 1. What I concluded/assumed that most of the web-application needs: | a. Authentication+Authorization=Security | b. Mail service | c. Forum/Blog | | So whenever I create a new Seam Project. I need to copy the related code (from already developed seam project) and deploy as single war file to run. | eh ? Java have .jar files to handle that ;) Create a utility jar project and add it as a dependency in the war project and it will be included. anonymous wrote : | Instead I'm expecting that these service/feature are to provided as pluggable modules for a seam project. | Which can be modified, built, deployed and tested independently of other modules. Once these/modules are running can interact or been used by other modules or core project. | yes - I don't see any tool related issue here as long as you create projects for these modules (or include them as .jar's) then you should be fine. anonymous wrote : | So is there any support from Jboss Tools for Eclipse IDE, to build projects modularly that are pluggable. Regret any inconveninet use of terminologies-modular/seam-module/seam-project. | Yes - look at the EAR project, it consists of multiple modules (war, jar and ear) and you can add more of them if you want to. anonymous wrote : | 2. Please confirm whether my approach is the right. The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables. And now expecting to generate only views with exisitng Entities/Components. The problem, if I use the 'seam-gen' to generate views | the mappings/associations are modified to defaults. Which I dont want. | seam-gen has support for just generating the UI part too. seam generate-ui I think ? anonymous wrote : | anonymous wrote : I don't understand what you mean here. What system tables are being picked up ? We only pick that up if you have not limited the generation to a specific schema (that aren't the system one ;) | | 3. The schema for system tables and my tables is 'dbo'. I guess that is creating a mess. However thank you for the details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256843#4256843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Failover trouble mod_jk
Hi everybody, My environment is the following : - Two machines Node1 and Node2 in a JBoss partition. - On each node I have the same web application marked as distributable. When the 2 nodes are alive, the balancing and sticky session work fine. When I turn off one node (for example Node2) I have http 503 errors (service unavailable) during 10-15 seconds because JK always address request to this node (Node2). After this delay JK change its redirection and address requests to Node1 and everything works. If I take a look on JBoss Node2 during shutting down process I see this error: java.lang.RuntimeException: DistributedCacheManager is null. at org.jboss.web.tomcat.service.session.ClusteredSession.establishDistri butedCacheManager(ClusteredSession.java:1773) I have checked jvmRoute parameters etc .. Is anybody has an idea why I have this trouble? Thanks, Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256839#4256839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - jBPM stops processing
I'm running jBPM in version 3.2.2 and use MySQL as database. If I try to store a variable which exceeds the max size for TEXT on the executioncontext (65536), I get some exceptions: anonymous wrote : | 2009-09-23 15:44:50,045 ERROR [org.jbpm.job.executor.JobExecutorThread] problem committing job execution transaction | org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.JbpmException: couldn't commit JTA transaction} | at org.jbpm.svc.Services.close(Services.java:245) | at org.jbpm.JbpmContext.close(JbpmContext.java:139) | at org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:184) | at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:64) | Caused by: org.jbpm.JbpmException: couldn't commit JTA transaction | at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:78) | at org.jbpm.persistence.jta.JtaDbPersistenceService.close(JtaDbPersistenceService.java:37) | at org.jbpm.svc.Services.close(Services.java:225) | ... 3 more | Caused by: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1401) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | at org.jbpm.persistence.jta.JtaDbPersistenceService.endJtaTransaction(JtaDbPersistenceService.java:76) | ... 5 more | Caused by: org.hibernate.exception.GenericJDBCException: could not update: [org.jbpm.context.exe.variableinstance.StringInstance#400587] | at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2425) | at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2307) | at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2607) | at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:92) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:142) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) | at org.hibernate.transaction.CacheSynchronization.beforeCompletion(CacheSynchronization.java:59) | at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.beforeCompletion(SynchronizationImple.java:114) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.beforeCompletion(TwoPhaseCoordinator.java:247) | at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:86) | at com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:177) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1389) | ... 9 more | Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'STRINGVALUE_' at row 1 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3489) | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423) | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1936) | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060) | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2542) | at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1734) | at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2019) | at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1937) | at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1922) | at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpd
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
Thank you Akazakov, for the ticket in JIRA. And Max, Thank you for speedy reply. anonymous wrote : I don't understand what you mean by "seam-modules for seam-project" ? Here, an example might clarify the details. 1. What I concluded/assumed that most of the web-application needs: a. Authentication+Authorization=Security b. Mail service c. Forum/Blog So whenever I create a new Seam Project. I need to copy the related code (from already developed seam project) and deploy as single war file to run. Instead I'm expecting that these service/feature are to provided as pluggable modules for a seam project. Which can be modified, built, deployed and tested independently of other modules. Once these/modules are running can interact or been used by other modules or core project. So is there any support from Jboss Tools for Eclipse IDE, to build projects modularly that are pluggable. Regret any inconveninet use of terminologies-modular/seam-module/seam-project. 2. Please confirm whether my approach is the right. The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables. And now expecting to generate only views with exisitng Entities/Components. The problem, if I use the 'seam-gen' to generate views the mappings/associations are modified to defaults. Which I dont want. anonymous wrote : I don't understand what you mean here. What system tables are being picked up ? We only pick that up if you have not limited the generation to a specific schema (that aren't the system one ;) 3. The schema for system tables and my tables is 'dbo'. I guess that is creating a mess. However thank you for the details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256836#4256836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?
"ae" wrote : | I assume you are referring to some thing like this (from the doc): | // SNIP | Yes. "ae" wrote : | I wonder if you can explain it in a little more detail. I need some clarification to my confusions: | - when is the lock obtained? is it, like the write lock, at the time when the transaction commits or it is at the time when the read happens? | When the read happens. "ae" wrote : | - What is considered as a "read"? I mean, does cache.getNode() considered a "read", or only when I do a subsequent node.get("key") is when the lock obtained? | cache.getNode() is a read. "ae" wrote : | - With "REPEATABLE_READ" isolation, is the "write skew" still a problem? - I think it's not but I'd like to get a confirmation from you. | Write skews are *only* a problem with R_R. See the discussion in the user guide for details. "ae" wrote : | - What is the scope of the current "InvocationContext"? Is it within the current transaction, or current thread, or something else? | Invocation contexts last for, well, an invocation! :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256831#4256831 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Invalidation-only cache
Have a look at Hibernate, again. :-) They too use INVALIDATION, and there is a way to deal with this - it's called putForExternalRead(). As for the CL approach, that will not work, this scenario is not what the CL is designed for. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256830#4256830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - how to save the history of modifications of the table?
Hi, I'm developing an application in Seam. Not going into the details this is a CRUD app and has to keep track on every modification a user ever did in the DB. So I have a few tables and modifying them the app has to save the old values in the historical tables with the same structure (could be even the same tables). Thanks to this I'll know which user did what. The question is how to implement this. I'm using seam conversation, so the modifications in the DB are being done once a conversation has ended. There is an annotation @PrePersist...but from there I can't get the previous version of the data. Can I ? Any ideas ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256829#4256829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: maxThreads/ThreadPool configuration
Thanks Peter for valuable inputs. 1. Below is the exception stack trace I'm seeing in during load test beyond the 200 users 2009-09-26 14:33:28,453 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/MedNetPortal].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.IllegalStateException: setAttribute: Session already invalidated | at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1289) | at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1254) | at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:130) | at com.sun.faces.taglib.jsf_core.ViewTag.doEndTag(ViewTag.java:283) | at org.apache.jsp.jsp.common.login.Login_jsp._jspx_meth_f_005fview_005f0(Login_jsp.java:202) | at org.apache.jsp.jsp.common.login.Login_jsp._jspService(Login_jsp.java:100) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:97) | at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) | at com.hospira.mednet.portal.view.common.controller.PortalExTranFilter.doFilter(PortalExTranFilter.java:46) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:198) | at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) | at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) | at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) | at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410) | at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473) | at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.r
[jboss-user] [JBoss Portal Users] - EJB3 access issue between portal 2.7.2 and AS 5.1.0GA
I've deployed an EJB3 service on JBoss AS 5.1.0.GA. I now want to interact with this service from portlets deployed on JBoss Portal 2.7.2 (on JBoss AS 4.2.3). For some reason the remoting fails with a NullPointerException. Caused by: java.lang.NullPointerException | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:379) | at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:524) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61) | at $Proxy295.invoke(Unknown Source) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | Is this a bug or is there an incompatibility between version 4.2.3 and 5.1.0.GA? Should I instead be running both servers on level 4.2.3? Maybe this is a classloading issue, since I can access the service from a CLI environment without a problem. Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256812#4256812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256812 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: weblogic jndi lookup from jboss in cluster
Hi Ram, do you have any progress on that ? I would appreciate any input on this matter. I have exactly the same issue using JBoss 5.1.0 with Weblogic 9.2. Default configuration works just fine. It gives a CORBA.Initialize exception in cluster mode when calling Context ctx = new InitialContext(ht); I tried to change the properties.setProperty( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" ); | properties.setProperty( Context.PROVIDER_URL, "t3://hostname:6131" ); with env.setProperty( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory" ); | env.setProperty( Context.PROVIDER_URL, "iiop://hostname:6131" ); It didn't help, same problem - "default" works fine, "all"/cluster throws an exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256811#4256811 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
"allforjava" wrote : Thank you Max, for the reply. | | anonymous wrote : We support both generation from database and entities. | | | | If you by selective mean generate from a subset of the current entities then that is not available yet. | | I meant generation of only entities/components without their views. Did you meant the same? | You can use normal Hibernate Tools pojo generation for generating Entities if you want. anonymous wrote : | c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up. | I don't understand what you mean here. What system tables are being picked up ? We only pick that up if you have not limited the generation to a specific schema (that aren't the system one ;) anonymous wrote : | d. Further page.xml are not generated for the components. | What you can do is go to Hibernate Tools code generation launch config, copy it and remove the generation steps you don't want. Then run that launch config and it will only generate for the bits and pieces you wish for. anonymous wrote : | anonymous wrote : You mean only generate list and not home/edit and vice versa ? | | No - what is your usecase if you have the feature from above ? | | No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form. | However there is no option to use existing entity/component to create the view. If wrong please correct. | No, that is correct. anonymous wrote : | 3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed. | I don't understand what you mean by "seam-modules for seam-project" ? anonymous wrote : | Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables. | And now expecting to generate only views with exisitng Entities/Components. | Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults. | Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be | and required views for it. | If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256810#4256810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256810 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1
Okay, I just went over the specific part of the article again and to me it seems it is possible. It just seems to me that is a bit too much code for a basic BPM-thing as an escaltion is one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256809#4256809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Implementing Escalation in jBPM 4.1
Good morning everybody, good morning Ronald. ;) In jBPM 3.x escalating tasks was not possible directly but there was a solution described by Boris Lublinsky in his InfoQ article. http://www.infoq.com/articles/jBPM-user-interaction-patterns Is this (the impossibility) still the case in jBPM 4.1? In case this is true: I know a lot of the approaches described in the article are not valid anymore with jBPM 4.1 but how about the escalation? If there is still no escalation in jBPM wouldn't this be an important feature for a process engine? Cheers! Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256806#4256806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - synchronized @Service
I want to build a caching singleton service with the jboss @Service annotation. In this singleton service the methods have to be synchronized. In my tests I saw, that the singleton instance of my service allows multiple active simultaneous threads (see bellow: Not synchronized output). When I mark the service methods with "synchronized", the service acts in the way I need it (see bellow: synchronized output). Her my questions: 1. Is it allowed to use the synchronized keyword (EJB spec) in my @Service singleton methods? 2. Are there any special jboss annotations for @Service singeltons, which I can use to mark service methods "SYNCHRONIZED"? thanks a lot, Florian public interface JBossServiceTest | { | public void test(); | } @Remote(JBossServiceTest.class) | @Service | public class JBossServiceTestBean implements JBossServiceTest | { | private static final Logger logger = Logger.getLogger(JBossServiceTestBean.class); | | private static int callCounter = 1; | | public JBossServiceTestBean() | { | | } | | public void test() | { | int callId = callCounter++; | | logger.info("start test call " + callId); | | try | { | Thread.sleep(3000); | } | catch (Exception e) | { | logger.fatal("error :(", e); | } | | logger.info("end test call " + callId); | | } | } Not synchronized output: 10:01:19,751 INFO [JBossServiceTestBean] start test call 1 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 8 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 9 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 6 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 7 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 3 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 2 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 5 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 1 | 10:01:19,751 INFO [JBossServiceTestBean] start test call 4 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 1 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 9 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 7 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 4 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 1 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 5 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 2 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 3 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 6 | 10:01:22,752 INFO [JBossServiceTestBean] end test call 8 @Remote(JBossServiceTest.class) | @Service | public class JBossServiceTestBean implements JBossServiceTest | { | private static final Logger logger = Logger.getLogger(JBossServiceTestBean.class); | | private static int callCounter = 1; | | public JBossServiceTestBean() | { | | } | | public synchronized void test() | { | int callId = callCounter++; | | logger.info("start test call " + callId); | | try | { | Thread.sleep(3000); | } | catch (Exception e) | { | logger.fatal("error :(", e); | } | | logger.info("end test call " + callId); | | } | } synchronized output: 10:03:29,539 INFO [JBossServiceTestBean] start test call 1 | 10:03:32,539 INFO [JBossServiceTestBean] end test call 1 | 10:03:32,539 INFO [JBossServiceTestBean] start test call 2 | 10:03:35,540 INFO [JBossServiceTestBean] end test call 2 | 10:03:35,540 INFO [JBossServiceTestBean] start test call 3 | 10:03:38,540 INFO [JBossServiceTestBean] end test call 3 | 10:03:38,540 INFO [JBossServiceTestBean] start test call 4 | 10:03:41,540 INFO [JBossServiceTestBean] end test call 4 | 10:03:41,540 INFO [JBossServiceTestBean] start test call 5 | 10:03:44,540 INFO [JBossServiceTestBean] end test call 5 | 10:03:44,540 INFO [JBossServiceTestBean] start test call 6 | 10:03:47,540 INFO [JBossServiceTestBean] end test call 6 | 10:03:47,540 INFO [JBossServiceTestBean] start test call 7 | 10:03:50,540 INFO [JBossServiceTestBean] end test call 7 | 10:03:50,540 INFO [JBossServiceTestBean] start test call 8 | 10:03:53,541 INFO [JBossServiceTestBean] end test call 8 | 10:03:53,541 INFO [JBossServiceTestBean] start test call 9 | 10:03:56,541 INFO [JBossServiceTestBean] end test call 9 | 10:03:56,541 INFO [JBossServiceTestBean] start test call 10 | 10:03:59,541 INFO [JBossServiceTestBean] end test call 10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256804#4256804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti
[jboss-user] [jBPM Users] - Re: jbpm 4.1 - Task assignment
Hi, one thing I see is that your end - state is missing. The join has a transition to "end1" which is not in your process def. When does this exception come up? When you start the process, when completing a task? Regards Torsten View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256802#4256802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256802 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: error when using wsgen to generet wsdl
The topic was sleeping but I had the same issue and I found this solution, using wsgen as an ant task: The problem was the classpath. This is my wsgen task: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256797#4256797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256797 ___ 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.3 GA upgrade
"rasa" wrote : JBoss AS 5 means what?? i am using 4.2.3 GA. Apart from the AS 5 part, the rest of the things Peter said, still apply: "PeterJ" wrote : The above warning tell you what the issues are - you'll have to fix them. The WARN message that you posted, are clear enough and they tell you what the exact problems are with those beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256800#4256800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: error when using wsgen to generet wsdl
| | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256799#4256799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?
allle i might have a use case a bit like yours, look at my isolation unit test in the other thread http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4254357#4254357. If i use cache.getCache().getConfiguration().setNodeLockingScheme(NodeLockingScheme.PESSIMISTIC);, the test passes. If i use cache.getCache().getInvocationContext().getOptionOverrides().setForceWriteLock(true); instead, the test fails. If i use cache.getCache().getInvocationContext().getOptionOverrides().setForceWriteLock(true); | cache.getCache().getConfiguration().setWriteSkewCheck(true);, the test fails and JBC detects writeSkews. But what i want is not the read thread to fail, but to block until the write thread is over. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256796#4256796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginner's Corner] - unclear error during deployment to JBoss 5.1.0GA
Hi, I am trying to deploy the .war file of my company's application on JBoss AS. After solving some primary problems (that requires removing some jar files) I got the follwing error: ERROR [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) ENC setup failed javax.naming.NameNotFoundException: comp not bound I searched the internet about this error and found 2 solution-suggestion: 1. to handel port in jboss-service.xml (http://primavera.zxlm.cn/kb/prim77655) - but the jboss-service of version 5.1.0GA didn't look like the one in this web page so I am not sure it's related. 2. change the order of the application that being deployed (http://www.theserverside.com/discussions/thread.tss?thread_id=34401)- I tried it but it didn't work. So I'll be glad to get some help about this error. It is unclear from it in which resource of the .war file it occured, what is the problemating component that cannot be bound and by what service. BTW I managed to deploy similar war file on a tomcat5.5 that run not through JBoss Thanks ahead View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256795#4256795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
https://jira.jboss.org/jira/browse/JBIDE-4944 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256793#4256793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Start time of process instances
I am not too familiar with the source code but I took a look. Here's the interface HistoryProcessInstance. Since there is also a state active I suppose you can also access active process instances over this interface? | public interface HistoryProcessInstance { | | /** when the full process instance has come to an end */ | String STATE_ENDED = "ended"; | | /** when the full process instance is still active */ | String STATE_ACTIVE = "active"; | | .. | | /** when the process instance started */ | Date getStartTime(); | | .. | | } | The interface ProcessInstance just extends Execution: | public interface ProcessInstance extends Execution { | } | I checked and there is no getter or attribute for the start time. So for me this means: When I work with the ExecutionService and a process instance is returned I cannot easily get the start time but I would have to do a query on the HistoryService for this instance to get the start time? If I don't get anything wrong this turns out to be rather a discussion about the API for the development forum than for the users' forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256792#4256792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - No email in email validation registration
Describe your environment: JBoss Portal 2.6.4 - GA Downloaded from jboss.org JBoss AS Version (comes with the bundle) Tomcat (other details cannot locate) KUbuntu I tried to set-up my email server configuration and encoded this: jboss:service=Mail portal:service=Module,type=IdentityServiceController -1 smtp.gmail.com xmarterportalmas...@gmail.com jarredmartin false 10 1 java:portal/MailModule I tried to enable the email validation user registration of IdentityPortlet and encoded this: jbp_identity_validation_approval_workflow jbp_identity_validation_approval_workflow true gmail.comm xmarterportalmas...@gmail.com Problem: I tried to register a user but got no email for the validation. Can anyone help me? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256791#4256791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
"allforjava" wrote : No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form. | However there is no option to use existing entity/component to create the view. If wrong please correct. We don't have any Wizard to create a view for alrady existing Entity. But you would use Create New Entity Wizard and set already existing Entity class name there. But now our wizard owerwrites existing resources. It's easy to fix. So as workaround user will be able to point the wizard on already existing Entity and ignoring warnings generate missing resources (home objects, view, list, ...). I'll add it to JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256790#4256790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256790 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: Can JGroups with JBOSS 4.0 Interoperate with JGroups wit
Yes, it will. But why don't you use the JGroups version shipped with 5.1 ? The API is the same, but we've fixed many gugs since 2.4.x (which is the version of JGroups shipped with AS 4.0.5) and increased perf a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256788#4256788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256788 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
Thank you Max, for the reply. anonymous wrote : We support both generation from database and entities. | | If you by selective mean generate from a subset of the current entities then that is not available yet. I meant generation of only entities/components without their views. Did you meant the same? a. To restrict only view generation for some components/Entities. Instead of deleting each time. b. Where I need only reflect modification in entities/components. c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up. d. Further page.xml are not generated for the components. anonymous wrote : You mean only generate list and not home/edit and vice versa ? | No - what is your usecase if you have the feature from above ? No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form. However there is no option to use existing entity/component to create the view. If wrong please correct. 3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed. Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables. And now expecting to generate only views with exisitng Entities/Components. Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults. Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be and required views for it. If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256784#4256784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: @Resource injection for jaxws handler support in AS 4.2.
Hi Alessio, No problems, just happy to know that I should not continue trying to upgrade :) Thanks, /Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256782#4256782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Jboss Tools for Seam
Thank you Max, for the reply. anonymous wrote : We support both generation from database and entities. | | If you by selective mean generate from a subset of the current entities then that is not available yet. I meant generation of only entities/components without their views. Did you meant the same? a. To restrict only view generation for some components/Entities. Instead of deleting each time. b. Where I need only reflect modification in entities/components. c. For SQL2000 when selecting the subset [new/modified tables] the system tables are also picked-up. anonymous wrote : You mean only generate list and not home/edit and vice versa ? | No - what is your usecase if you have the feature from above ? No. It needs an elaboration. Jboss Tools the options are available to create new Seam Entity/Action/Form. However there is no option to use existing entity/component to create the view. If wrong please correct. 3. I was expecting as seam-modules for seam-project, similary as NetBeans has modules for java projects. However, how I need to proceed. Need: The way I do/work is, create an Entity with required mappings/associations. Forward engg with hibernate to create tables. And now expecting to generate only views with exisitng Entities/Components. Problem: If I use the 'seam-gen' the mappings/associations are modified to defaults. Benefits: No need to bother about database related data-types, fiddle with relationships. All need to take is how my Entity should be and required views for it. If there is a alternate way to do this using exisitng option, please guide. Thank you for your patience. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256779#4256779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user