[jboss-user] [EJB 3.0] - Re: Deploy Problem
CS.Main class is the next one: | public static void main(String[] args) { | LOGIN l = new LOGIN(); | l.setVisible(true); | } | 'LOGIN' is a class which has a Swing interface and there are a commandButton called 'btAceptar'. When we push this button the program execute the btAceptarActionPerformed event. This event call to a function in other package (the code I write before). All I explain here is the client side When the event is executing we pass all the invokes to the server side. Answering to your question CS.Main class is rendering that UI. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129315#4129315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Null value was assigned to a property of primitive type
did i say that... or just think it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129317#4129317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Reliable delivery
Can you try running the consumer in DUPS_OK_ACKNOWLEDGE mode? What is the time scale for shipping your JMS Application, we have JBM 2 being released later this year with improved performance at both the transport layer and the persistence layer. The Alpha should be available at the end of March. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129321#4129321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging
Instead of doing this: | mLog.info(Looking up environment context); | Context envCtx = (Context) ic.lookup(java:comp/env); | | mLog.info(Looking up Connection factory); | ConnectionFactory cf = (ConnectionFactory)envCtx.lookup(/ConnectionFactory); | Can you not just look up the connection factory directly i.e. | mLog.info(Looking up Connection factory); | ConnectionFactory cf = (ConnectionFactory)iclookup(/ConnectionFactory); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129322#4129322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Null value was assigned to a property of primitive type
mr.colin.daly wrote : fuck this Gee, you sound frustrated. 14:31:25,319 INFO [DefaultLoadEventListener] Error performing load command | org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of (boolean) | Let's tackle the code first. This is a pretty informative error message. Primitive types cannot be null. So if you're performing a load from the DB, and the field doesn't have a NOTNULL constraint, you can have null values, which Hibernate will attempt to assign to your variable of primitive type. So I'd recommend some validation to ensure nulls are not allowed in the field, there's a default to the DB, or your field is of type Boolean. Of course, it's been asserted: phon wrote : the strange thing is that the column in the DB has a value in it, it's certainly not null. ...this is indeed strange. Now let's move on to possibilities why no one had answered the original post. * The community did not believe that the value in the DB is non-null; it is more likely a user error. * The community has not seen this error, and does not know the answer. * Someone who does know the answer has not seen the post. * The post is in the wrong place. This is much better placed either in Hibernate or our JPA forums, where entity knowledge is stronger. mr.colin.daly wrote : fucking professional open source. | it sux. Our products are free. We produce documentation and offer support to the community limited by the availability of our personal time. If your needs are urgent, I'd recommend looking into our service offerings, which will guarantee that a well-qualified CS100 student explains to you why the construct: boolean flag = null; ...is not valid syntax. I therefore invite you to prove me wrong by providing a trim sample project with source and build isolating this problem. If a bug is suspected, the burden of proof lies with the reporter. Otherwise, the team would be bottlenecked investigating false issues. If I am indeed incorrect in assuming you've messed up somewhere, then it turns out that the open source project you've obtained without guarantee or tariff is faulty, and you've done the community a great service in reporting the error. You may further investigate the underlying cause for the bug and recommend a patch via our issue-tracking system. If that's the case, you'll have my apologies for lack of belief in a real issue. S, ALR PS - Schmuck. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129325#4129325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration
Could you clarify please? Are you saying you want to run messaging JBM clients without having to run a JBM server? This is not possible with JBM1.4! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129327#4129327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exception in thread
jazzinto, The right place to ask this question would be at http://www.jboss.com/index.html?module=bbop=viewforumf=216. anonymous wrote : I am receiving posts about Installation, Configuration DEPLOYMENT by e-mail, and I want to stop receiving them, but i cannot find the way to do so. Any help will be highly appreciated. | When you login to the forum, you will see a Watched Forums link, where you can configure the forums you want to watch. Have you selected Installation, Configuration Deployment forum there? If yes, then unselect it. That should stop any mails being sent out when someone posts in this forum. If this does not work or if you have any other questions related to this, please open a new topic in http://www.jboss.com/index.html?module=bbop=viewforumf=216. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129331#4129331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Retrieve JBOSS version...
Correct! But... I need to access this attribute... how can I do this without add the JBoss lib jars? Can you post a example ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129334#4129334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBOSS SSO Authentication with Windows
Hi, I need to enable Single Sign On(SSO) authentication between JBOSS and Windows for my project. How can I do that. I've found that I can do it with JCIFS (Java Common Interface File System). Will it be possible. And if so is it reliable and secure. And where can I find some more information? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129335#4129335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Tools - New Seam Project - Nomanclature question
Hi, I'm using MySql and as far as I know, the terms schema and catalog are generally used interchangeably. But in Jboss Tools, when creating a new seam project, we are asked both Database schema name and Database catalog name Are there any differences and which one should we fill? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129340#4129340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Cross-referencing EJBs doesn't work
Hello ! It seems that cross referencing 2 sessions does not work in JBoss... Although I found no restricutions about cross-referencing stateless session beans in EJB specs I'm using JBoss-4.0.5.GA. Here is my sessions definitions : | @Local | public interface ALocal { | | } | | @Stateless | public class A implements ALocal { | @EJB BLocal b; | } | | @Local | public interface BLocal { | | } | | @Stateless | public class B implements BLocal{ | @EJB ALocal a; | } And here the deployment logs (everything before this seems OK) : ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3 | Depends On Me: | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3 | | ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3 | Depends On Me: | jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3 | It seams that the two EJB are waiting for each other... Does anyone know how to make this work ? Thanks for your help ! -- Celine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129343#4129343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.x, Webservice Security
Hi Shane, thanks for all your efforts and sorry for the delay. Actually, I don't know where I have to search the error. Everythink works well except the SOAP method security. The seambay example don't help me either because the files at all looks like the ones I have in my project. I created a test project with Eclipse. I would appreciate if you could have a look and tell me what's wrong. My workstation is running with the following configuration: JBoss AS v4.2 Seam 2.0 JDK 1.5 http://blog.enricostahn.com/uploads/TestSeamWebserviceSecurity-ear.ear http://blog.enricostahn.com/uploads/TestSeamWebserviceSecurity-ds.xml I use soapUi to send the following request to the method test() (http://127.0.0.1:8080/TestSeamWebserviceSecurityWS/TestSeamWebserviceSecurityService?wsdl ). Enrico View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129345#4129345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback
Great; post back with results when you've got 'em? S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129347#4129347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback
I've changed the code to use CMT with a TransactionAttributeType.REQUIRES_NEW and it works perfectly. Thanks for you help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129348#4129348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Local Home in EJB 3.0
Yes, the EJB 3.0 specification supports 2.1 Views for interop / backwards-compat, and JBoss EJB3 implements this. Sounds like you're just not finding the Home in JNDI. Use the JNDI Viewer in the JMX Console: http://jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole If you don't see an object implementing LocalHome defined, we might have to take a look at how you're declaring your 2.1 View. Should just be: @Stateless | @LocalHome(MyLocalHome.class) | public class MyBean implements MyLocalInterface{...} public interface MyLocalHome extends EJBLocalHome{...} S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129351#4129351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Region based cachine (JBoss Cache + Hibernate)
Thanks for quick reply. I am using LRUPolicy for default region. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129352#4129352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - 2.6.2 error handling - custom page
Hi ! Env. Jboss Portal 2.6.2 Jboss AS 4.2.2 I read the docs on how to handle errors in my portal it states: http://docs.jboss.com/jbportal/v2.6/referenceGuide/html_single/#d0e3411 anonymous wrote : The JavaServer Pages have to be located in the jboss-portal.sar/portal-core.war Web Application. The problem is that I want to show a page in my own portal. I am unable to redirect to my page. Any quick tips for this ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129353#4129353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Manual eviction not working
up! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129355#4129355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Listener for CMT commit/rollback
Makes sense. Your help has been much appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129337#4129337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re-entering a StartState
Does anybody know the reasoning, why it is forbidden to re-enter a start state via a transition ? Maybe because of symmetry ? (If an end point must not have exiting transitions, a start state must not have any incoming transitions) But technically, I do not see any reason and I can imagine use cases where a re-entering of a start state might make sense (e.g. coming back from some escalation node for an escalation which is triggered from the start state). thanx ... ...roland View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129357#4129357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 SSL not working in JBoss 5 Beta3?
Javid: Please take a look at our SSL Unit Tests: http://anonsvn.jboss.org/repos/jbossas/trunk/ejb3/src/test/org/jboss/ejb3/test/ssl/ ...and the associated configuration: http://anonsvn.jboss.org/repos/jbossas/trunk/ejb3/src/resources/test-configs/ejb3-ssl/ ...note the transport=sslsocket3843 in deploy/ejb3-ssl-connectors-service.xml If you're still stuck, please post back. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129358#4129358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: ClassLoaderMetaData not propagating (yet?) to classloade
Yes, I saw the code you refer to. But that's what got me puzzled: I suspect you are refering to the fact that, if there is no ClassLoaderFactory, then it will automatically create one (as VFSTopLevelClassLoaderSystemDeployer is a decendant of AbstractClassLoaderDeployer). But still, before the system gets there, a ClassLoaderFactory input should be present before this deployer can get selected (as it is a required input). But now I am realizing that I have perhaps missed something: The setAllInputs(true). When setAllInputs(true) is combined with a setInput, does it mean that the input becomes optional? (I wondered in an earlier post if the setAllInput simply override the inputs as being all inputs but I now suspect that is not the case and that it just change the inputs from a required state to an optional one). This would explain why VFSTopLevelClassLoaderSystemDeployer is called whilst the required input is not there... Is my understanding now correct? What's also interesting and perhaps misleading is the fact that when inputs are reported on the log the setAllInputs status is probably not shown (it just shows the expected inputs, whatever they end up being required or optional). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129364#4129364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - redeploying
Hi everyone sorry whether this is a silly question, but i am trying to do a hot redeploying of a portal app just after changing the myportal-object.xml descriptors, but nothing changes when i see the (suppossed) changed object unless i restart the entire server. so, does anyone know any way to redeploy a portal app just after changing the *-object.xml descriptor? what must i do whether i wanna change the theme just for a single page? i guess the same happens with the rest of portlet descriptors... cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129366#4129366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Jboss is always using UserRolesLoginModule instead of Cl
ok, i solved it. the solution is quite project specific, so that it is not useful to post here... br, Stefan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129368#4129368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Automatic topic creation deletion through EJBSessionBean.
Hi I have big question like how to Automatic topic creation deletion through EJBSessionBean, It can similer in Weblogic like ht.put(Context.INITIAL_CONTEXT_FACTORY, weblogic.jndi.WLInitialContextFactory); ht.put(Context.PROVIDER_URL, url); ht.put(Context.SECURITY_PRINCIPAL, user1); ht.put(Context.SECURITY_CREDENTIALS, pass1); iniCtx=new InitialContext(ht); JMSModuleHelper.deleteTopic(iniCtx,Module,topicName); and as well as JMSModuleHelper.createTopic(iniCtx,Module,jmsServer,topicName,topicName); If possible in JBOSS server side. please provide API and small sample peases. Best regards P.Sasikumar Ellaar ,Chennai View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129369#4129369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Facing problem while deploying servicemix jbi component in j
Hi, I am facing problem while deploying servicemix component with jboss. Steps performed: 1. I have deployed jboss deployer upon jboss. 2. Copied the servicemix component in the deploy directory of servicemix. 3. I have got the bellow exceptions while starting the jboss server. Exception Raised: 16:20:27,081 INFO [JBIDeployer] Init ServiceMix JBI Component: file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/default/deploy/servicemix-shared-3.2.1-installer.zip 16:20:27,081 INFO [JBIDeployer] Init Watcher 16:20:27,081 INFO [JBIDeployer] Init LoaderRepository 16:20:28,509 INFO [JBIDeployer] ServiceMix deployer passing deployment to JBI container [file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/default/deploy/servicemix-shared-3.2.1-installer.zip] 16:20:28,856 ERROR [MainDeployer] Could not create deployment: file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/default/deploy/servicemix-shared-3.2.1-installer.zip org.jboss.deployment.DeploymentException: ServiceMix deployer unable to deploy: [EMAIL PROTECTED] { url=file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/default/deploy/servicemix-shared-3.2.1-installer.zip } deployer: [EMAIL PROTECTED] status: null state: CREATE_DEPLOYER watch: file:/usr/oki_software/ServicemixTester/jboss/jboss-4.2.2.GA/server/default/deploy/servicemix-shared-3.2.1-installer.zip altDD: null lastDeployed: 1202986228508 lastModified: 1202986227000 mbeans: ; - nested throwable: (javax.management.RuntimeErrorException) at org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:115) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) Caused by: javax.management.RuntimeErrorException at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:178) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.servicemix.jboss.deployment.JBIDeployer.create(JBIDeployer.java:105) ... 21 more Caused by: java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method org.apache.xerces.impl.xs.opti.DefaultDocument.getDomConfig()Lorg/w3c/dom/DOMConfiguration; the class loader (instance of org/jboss/mx/loading/UnifiedClassLoader3) of the current class, org/apache/xerces/impl/xs/opti/DefaultDocument, and the class loader (instance of ) for interface org/w3c/dom/Document have different Class objects for the type org/w3c/dom/DOMConfiguration used in the signature at org.apache.xerces.impl.xs.opti.SchemaDOMParser.startDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Facing problem while deploying servicemix jbi component
My Envirnment is: Jboss 4.2.2.GA Servicemix 3.2.1 sorry to mentioned in the previous mail Thanks Puneet View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129371#4129371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to get and change themes in v.2.6.3
How to get on server side current theme and how to change theme on my own in Portal 2.6.3? Please, help. Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129380#4129380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Getting JMS-112: Connection is invalid while using an JNDI
Hi all, One of our customers is facing this issue, which I am able to reproduce at my end as well. I have a JBoss 4.2.2 GA which is exposing an Oracle DS: datasources | local-tx-datasource | jndi-nameOracleDS/jndi-name | connection-urljdbc:oracle:thin:@localhost:1521:orcl/connection-url | driver-classoracle.jdbc.driver.OracleDriver/driver-class | user-namejboss/user-name | passwordpassword/password | use-java-contextfalse/use-java-context | /local-tx-datasource | /datasources At another end, I have a Mule which looks up the DataSource via JNDI and uses it for Oracle AQ. When Mule tries to get the queue connection, an error occurs: | Caused by: oracle.jms.AQjmsException: JMS-112: Connection is invalid | at oracle.jms.AQjmsError.throwEx(AQjmsError.java:288) | at oracle.jms.AQjmsDBConnMgr.extraInit(AQjmsDBConnMgr.java:782) | at oracle.jms.AQjmsDBConnMgr.init(AQjmsDBConnMgr.java:354) | at oracle.jms.AQjmsConnection.init(AQjmsConnection.java:223) | at oracle.jms.AQjmsQueueConnectionFactory.createQueueConnection(AQjmsQueueConnectionFactory.java:340) | at org.mule.providers.oracle.jms.OracleJmsConnection.getQueueConnection(OracleJmsConnection.java:132) | Our customer has also contacted JBoss regarding this matter, and this the response that he received from the folks: anonymous wrote : The error you have is because you are using a wrapped connection comming out of the datasource. We need to find a way to get the oracle connection and use that. I have inspected the code, and found that the returned object from the JDNI look-up is a http://docs.jboss.org/jbossas/javadoc/4.0.2/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxy.java.html. : | lookedUp= $Proxy0 (id=32) | h= ClientContainer (id=39) | context= InvocationContext (id=47) | context= HashMapK,V (id=54) | entrySet= HashMap$EntrySet (id=58) | this$0= HashMapK,V (id=54) | keySet= null | loadFactor= 0.75 | modCount= 0 | size= 3 | table= HashMap$EntryK,V[16] (id=66) | [0]= null | [1]= null | [2]= null | [3]= null | [4]= HashMap$EntryK,V (id=1021) | hash= -957407340 | key= InvocationKey (id=1022) | name= CACHE_ID | ordinal= 5 | next= null | value= null | [5]= null | [6]= null | [7]= null | [8]= null | [9]= null | [10]= null | [11]= null | [12]= null | [13]= HashMap$EntryK,V (id=1023) | hash= 2100754445 | key= InvocationKey (id=1026) | name= CONTAINER | ordinal= 3 | next= null | value= Integer (id=1027) | value= 1964300194 | [14]= HashMap$EntryK,V (id=1024) | hash= -1328126498 | key= InvocationKey (id=1029) | name= INVOKER | ordinal= 11 | next= null | value= JRMPInvokerProxy (id=1030) | remoteInvoker= JRMPInvoker_Stub (id=1032) | ref= UnicastRef2 (id=1033) |
[jboss-user] [JNDI/Naming/Network] - Re: Getting
To add in a missing bit, there is no problem with a driver managed DataSource, but JNDI-looked-up DS. - yc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129382#4129382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - EJB3: @Resource name only EJBContext, not in InitialContext
I have a simple EJB3 session bean with EJB3 annotations to define external resources in the JNDI tree. Problem is that the lookup only works if I use the SessionContext, without the java:comp/env prefix, but NOT with InitialContext(), including the prefix. The latter version throws a NamingException. Am I wrong if I assume that using InitialContext and EJBContext for lookup are equivalent, as long I add the prefix in the first case, and leave it out in the second one? I used class level annotations to define the mapping: | @Resources( { | @Resource(type = Queue.class, name = jms/vpoToEmotiveQueue, mappedName = jms/queue/vpoToEmotiveQueue), | @Resource(type = Queue.class, name = jms/varQueue, mappedName = jms/queue/lemansVarToEmotiveQueue) }) | This works fine: | @Resource private SessionContext sessionContext; | ... | sessionContext.lookup(jms/vpoToEmotiveQueue); | But following code raises a NamingException: | new InitialContext().lookup(java:comp/env/jms/vpoToEmotiveQueue); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129384#4129384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - What if you don't want a Task Instance created just yet?
Hi, When my token moves to a Task Node, it automatically creates a Task Instance for the task(s) there. How do I stop it from automatically creating a task instance? The reason I want this is that I am using an action to create a number of task instances, determined at run time, on node-enter, and assigning each instance to the relevant actors. But that automatically created task instance is also there, which I dont want. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129386#4129386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Implementing Ad-Hoc workflow with JBPM
I'd define an ad-hoc workflow as the one that would allow me to undertake many changes in the processes (even in their definition itself) without having to restart them. This feature'd allow me to dynamically solve any problems found (or enhancements) without having to restart every process. Is jBPM capable in such a way ? Thanks in advance, Jorju View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129385#4129385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: What if you don't want a Task Instance created just yet?
Not to worry, after searching the forums some more, I found out that using create-tasks=false does wonders, and sorts out my problem perfectly. Heres a link to a thread which may help someone with similair questions: http://www.jboss.com/index.html?module=bbop=viewtopict=92236 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129388#4129388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: What if you don't want a Task Instance created just yet?
according to the docs you can set the 'create-tasks' attribute on the task-node to false (or no) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129389#4129389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Generated classes having JAXB attributed Elements
Hi All, Although its not very critical but I would like to be aware of the reason. if the class at server side has defind an attribute with xmlelement notation the generated class element is then of JAXBELEMENT. | @XmlElement(nillable=true) | protected String sessionID = null; | then the repectively generated class having attribute defined as | @XmlElementRef(name = sessionID, type = JAXBElement.class) | protected JAXBElementString sessionID; | My question is , Notations are ok but why object is of type JAXBElement. If I remove@XmlElement(nillable=true) notation from server class, then created object is of simple java type, String. Any reason and clue to get simple java object while keeping the notation ? Regards, Zeeshan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129390#4129390 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-Security and jbossws-3.0-metro-1.0.0.GA
Is there an example (client and server side) how to use jbossws-3.0-metro-1.0.0.GA and WS-Security? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129391#4129391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: EJB3: @Resource name only EJBContext, not in InitialCont
anonymous wrote : new InitialContext().lookup(java:comp/env/jms/vpoToEmotiveQueue); It depends on where you are doing the lookup using the InitialContext. Is this being done in the same bean where the @Resource is defined? In which case, this should work. However, if you are doing the lookup in some other component of your application, then this wont work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129392#4129392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: What if you don't want a Task Instance created just yet?
Thanks for the quick response. We must of posted at the same time :) The 'create-tasks' attribute does work, thanks for your time in this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129394#4129394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Global Handler Chain
Yes you can. You can modify the standard templates available here | server\config\deploy\jbossws.sar\META-INF\standard-jaxws-endpoint-config.xml | server\config\deploy\jbossws.sar\META-INF\standard-jaxrpc-endpoint-config.xml | See http://labs.jboss.com/jbossws/user-guide/en/html/1.0.4/en/html/endpoints.html section 4.4. Endpoint configuration templates View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129396#4129396 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: handler problem
Yes you can. You can modify the standard templates available here | server\config\deploy\jbossws.sar\META-INF\standard-jaxws-endpoint-config.xml | server\config\deploy\jbossws.sar\META-INF\standard-jaxrpc-endpoint-config.xml | See http://labs.jboss.com/jbossws/user-guide/en/html/1.0.4/en/html/endpoints.html section 4.4. Endpoint configuration templates View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129397#4129397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging Cluster scenarios
I am sure this message has been read by the experts of the matter. Please let me know if posting this via JBoss Network subscription will help me in getting the answers. Of course, last resort for me would be to do some experiments which I guess are inevitable even if I get some hints and tips from the forum. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129400#4129400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - WAR hot-swap
Hello: I was testing a app on AS5Beta2 without problems. Today I installed Beta4 to do the same kind of testing but I found errors doing the hot deploy of a already started war. I'm doing this by exporting the war file directly to the deploy dir on JBoss from within the Eclipse IDE. Is there some known problem with this? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129407#4129407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam doesn't go to clicked page after login
With security enabled. when session expires with browser still open; clicking on some link asks to relogin; after loging in rather than going to clicked page it goes back to the page which was last open when session expired. This used to work with pre 2 releases. current version in use Seam 2.0.1GA. | components.xml | | ... |event type=org.jboss.seam.security.notLoggedIn |action execute=#{redirect.captureCurrentView}/ |/event |event type=org.jboss.seam.security.postAuthenticate |action execute=#{redirect.returnToCapturedView}/ |/event | ... | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129411#4129411 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration
Hi, No i wanted to implement a JBoss messaging client talking to a JBM clustered server without installing a Jboss Messaging implementation on the server (just throwing jboss-messaging.jar in the lib dir). But I solved this part using remote JNDI lookup on the cluster. What is not mentioned in the documentation is that you need in fact also libs from the cluster configuration (the all configuration) in a non clustered JBoss Appserver (the message producer). At least jbossha.jar. Perhaps it was a bad idea to do this with JCA. But for the consumer side i would like to set up a JBoss RA configuration to the remote cluster to be used in an EJB3 MDB. Is this posssible. I know it is possible to configure a remote connection factory. But how can i configure the remote queue as administered object just like the examples on JBoss ActiveMQ and JBoss WebsphereMQ examples. I assume this is needed. Thanks for the quick reply View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129412#4129412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Implementing Ad-Hoc workflow with JBPM
you can 'change' running instances this way, e.g. adding an additional task. But you have to do this for each running instance. Besides, new instances to not use this. For that you need to change the processdefinition and that is not what I call ad-hoc workflow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129414#4129414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Deploying multiple XML files as a single SpringApplicati
mayankk wrote : has this feature been incorporated in the spring deployer as yet? | The SpringDeployer has been updated to work with the new AS5/MC deployers, but this feature is out of the scope of what the deployer actually does. And having Microcontainer makes no sense to implement this on top of Spring's ApplicationContext/BeanFactory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129415#4129415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - IdentitySessionFactory
I'm unable to access IdentitySessionFactory from a custom portlet (located outside of the jboss sar) In jboss-server.xml I have the following set: transaction | trans-attributeRequired/trans-attribute | /transaction | service | service-nameUserModule/service-name | service-classorg.jboss.portal.identity.UserModule/service-class | service-ref:service=Module,type=User/service-ref |/service In my portlet I'm doing this: | SessionFactory identitySessionFactory = (SessionFactory) new InitialContext().lookup( | java:/portal/IdentitySessionFactory); | The above returns null (however the jndi is listing in the jmx console) Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129417#4129417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging Cluster scenarios
My question related to this: | - Would I need the shared DB even if I use these clustered post-offices to host non-persistent (non-durable) subscriptions, that is, is it used to manage the cluster information as well? | - Is it OK to use HSQLDB or Derby if the above is not true? You need to use a shared database for clustering, HSQLDB is not usable for a clustered configuration. 2. Recovery from a cluster restart | Since Jboss messaging relies on a clustered ConnectionFactory registered in a clustered JNDI to provide the failover mechanism, would the client need to re-lookup JNDI and reopen connections and sessions to get back in business? No, this will all be handled transparently by the client. Please let me know if posting this via JBoss Network subscription will help me in getting the answers. yes, we're just having a busy week. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129419#4129419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Concurrency issue in OrderedSynchronizationHandler (2.0.0GA
Hi, Two issues/questions regarding OrderedSynchronizationHandler. 1) The instances member is not synchronized OrderedSynchronizationHandler seems to have an unguarded static HashMap member called instances. This is a potentional crash issue. On one of our instances (in a four member cluster) with medium high load (aprox 1500 transaction per second), the CPU flat-lined on 200% with 21 threads caught and spinning in HashMap.get(Object) as called from OrderedSynchronizationHandler.getInstance(Transaction). I'll copy a typical stack trace below. 2) The instances member is static This is more of a question. If several caches are run within the same VM/ClassLoader they will all share the instances member. This seems fairly inefficient, especially if the map in question needs to be synchronized as per #1. Below is a typical, slightly trunctated, stack trace for issue #1. Incoming Thread,TableSpace,172.16.0.2:8786 daemon prio=1 tid=0x097e9208 nid=0x14de runnable [0x83228000..0x83229030] | at java.util.HashMap.get(HashMap.java:346) | at org.jboss.cache.interceptors.OrderedSynchronizationHandler.getInstance(OrderedSynchronizationHandler.java:50) | at org.jboss.cache.interceptors.TxInterceptor.registerHandler(TxInterceptor.java:901) | at org.jboss.cache.interceptors.TxInterceptor.handleRemotePrepare(TxInterceptor.java:246) | at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:100) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76) | at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:123) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76) | at org.jboss.cache.interceptors.InvocationContextInterceptor.invoke(InvocationContextInterceptor.java:62) | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:76) | at com.cubeia.space.cache.HaltableInterceptor.invoke(HaltableInterceptor.java:32) | at org.jboss.cache.CacheImpl.invokeMethod(CacheImpl.java:3939) | at org.jboss.cache.CacheImpl._replicate(CacheImpl.java:2853) | What say you? /Lars J. Nilsson Cubeia Ltd, UK Fillial View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129420#4129420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Document upload/management
Hi, Not sure if this question has been posted elsewhere, but is there a way to do document upload? From the documentation that came with jbpm it talks about JCR and using Jack Rabbit. I was hoping there may be some easier way such as writing a PHP upload program that would come up as your normal upload/browse window on one of the xhtml forms and then the user will be able to upload their documents to be processed. If such a function exists, are there any existing discussions/documentation that you may be able to point me to? Thanks for your help. David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129421#4129421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Concurrency issue in OrderedSynchronizationHandler (2.0.
The title was truncated, but it went on to say that this is an issue in 2.1.0.CR3 as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129422#4129422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - DLQConfig isn't considered while Deployment
Hi @all. I want to use a special dlq for my application. Therefor according to the JBoss wiki I used the jboss.xml | jboss | enterprise-beans | message-driven |ejb-nameOrderQueueMDB/ejb-name | destination-jndi-namequeue/OrderQueue/destination-jndi-name |mdb-userorder/mdb-user |mdb-passwdnerdy/mdb-passwd | configuration-nameOrderQueueMDBConfig/configuration-name /message-driven | /enterprise-beans | | invoker-proxy-bindings | invoker-proxy-binding | nameorder-message-driven-bean/name | invoker-mbeandefault/invoker-mbean | proxy-factoryorg.jboss.ejb.plugins.jms.JMSContainerInvoker/proxy-factory | proxy-factory-config | JMSProviderAdapterJNDIDefaultJMSProvider/JMSProviderAdapterJNDI | ServerSessionPoolFactoryJNDIStdJMSPool/ServerSessionPoolFactoryJNDI | MaximumSize1/MaximumSize | MaxMessages1/MaxMessages | MDBConfig | ReconnectIntervalSec10/ReconnectIntervalSec | DLQConfig | DestinationQueuequeue/OrderDLQ/DestinationQueue | MaxTimesRedelivered10/MaxTimesRedelivered | TimeToLive0/TimeToLive | DLQUserorder/DLQUser | DLQPasswordnerdy/DLQPassword | /DLQConfig | /MDBConfig | /proxy-factory-config | /invoker-proxy-binding | /invoker-proxy-bindings | | container-configurations | container-configuration extends=Standard Message Driven Bean | container-nameOrderQueueMDBConfig/container-name | invoker-proxy-binding-nameorder-message-driven-bean/invoker-proxy-binding-name |container-interceptors | interceptororg.jboss.ejb.plugins.ProxyFactoryFinderInterceptor/interceptor | interceptororg.jboss.ejb.plugins.LogInterceptor/interceptor | interceptororg.jboss.ejb.plugins.RunAsSecurityInterceptor/interceptor | !-- CMT -- | interceptor transaction=Containerorg.jboss.ejb.plugins.TxInterceptorCMT/interceptor | interceptor transaction=Containerorg.jboss.ejb.plugins.CallValidationInterceptor/interceptor | interceptor transaction=Containerorg.jboss.ejb.plugins.MessageDrivenInstanceInterceptor/interceptor | !-- BMT -- | interceptor transaction=Beanorg.jboss.ejb.plugins.MessageDrivenInstanceInterceptor/interceptor | interceptor transaction=Beanorg.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT/interceptor | interceptor transaction=Beanorg.jboss.ejb.plugins.CallValidationInterceptor/interceptor | interceptororg.jboss.resource.connectionmanager.CachedConnectionInterceptor/interceptor | /container-interceptors | instance-poolorg.jboss.ejb.plugins.MessageDrivenInstancePool/instance-pool | instance-cache/instance-cache | persistence-manager/persistence-manager | /container-configuration | /container-configurations | /jboss | and the ejb-jar.xml | message-driven | |descriptionReceiver for DslOrder Queue messages/description | |ejb-nameDslOrderQueueMDB/ejb-name | |ejb-classde.schlund.j2ee.tools.genericmdb.GenericMDB/ejb-class |messaging-typejavax.jms.MessageListener/messaging-type | transaction-typeContainer/transaction-type | |message-destination-typejavax.jms.Queue/message-destination-type |activation-config |activation-config-property | activation-config-property-namedestinationType/activation-config-property-name | activation-config-property-valuejavax.jms.Queue/activation-config-property-value |/activation-config-property | /activation-config | /message-driven | But during deployment the following error occurs: ERROR [org.jboss.resource.adapter.jms.inflow.JmsActivation] Unable to reconnect [EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/OrderQueue isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=order pass=not shown maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5) javax.jms.JMSSecurityException: User: null is NOT authenticated at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:230) at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.java:66) at org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.java:613) at org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:172) at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:165) at
[jboss-user] [JBoss jBPM] - simple question
I understand jdpl, know how to create, unit test, deploy, and debug a process. I created a process with a timer in it that works. Now, all I want to do is create a class that gets a process instance from that same db that that console sees (public), starts it up in the engine, so that I can see my printlns in the console when the timer goes off every 30 seconds. What must I do to the cfg files so that when I get the jbpmContext and use it to get a process, I am getting it from the right db schema and starting it up in the right server? It seems all I can manage to do is pull back the graph and walk it in my code, but not launch it in the server. Obviously, my code is running in the eclipse Jbpm jvm and the server is running in its own jvm, so it seems I am missing something obvious and fundamental like, how to connect to the server using webservices. Any help without excessively nasty rtfm comments would be appreciated since I keep rtfm and yet still manage to stay in the dark on this simple, essential issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129425#4129425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timer not firing - why ???
I am not saying that this is right, but I have a process with a timer, and it fires once, so I attach a handler to it that transitions back to the same node if the condition is not met, so then the timer gets set again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129427#4129427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration
No i wanted to implement a JBoss messaging client talking to a JBM clustered server without installing a Jboss Messaging implementation on the server (just throwing jboss-messaging.jar in the lib dir). JBM must be installed and configured on the server. But I solved this part using remote JNDI lookup on the cluster. What is not mentioned in the documentation is that you need in fact also libs from the cluster configuration (the all configuration) in a non clustered JBoss Appserver (the message producer). At least jbossha.jar. | Perhaps it was a bad idea to do this with JCA. I'm still a little unclear as to what you are doing here. Are you looking up the connection factory, if this is the case then JBM must be installed. But how can i configure the remote queue as administered object just like the examples on JBoss ActiveMQ and JBoss WebsphereMQ examples. Can you direct me at these examples and maybe i'll be able to grasp exactly what you are trying to achieve. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129429#4129429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Undeploy portlet application
I have problem with completly undeployment of portlet page from server. I had deploy mine portlets on new page in default portal. It works well, redeploying WAR works well too until i changed name of it. When I changed name of WAR there were two WARs on server, which rendered the same page so of course there was conflict. Next I removed old WAR. JBoss reacted in some way: it started to show an empty page and restarting server or removing and putting WAR with new name didn't help (with old name it works as before name changing). So mine question is: where jBoss keeps informations about default portal and about default and new pages in it? Of course other sollutions of mine problem will be also welcome (I really need to rename this WAR). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129430#4129430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: EJB3: @Resource name only EJBContext, not in InitialCont
jaikiran wrote : | It depends on where you are doing the lookup using the InitialContext. Is this being done in the same bean where the @Resource is defined? In which case, this should work. However, if you are doing the lookup in some other component of your application, then this wont work. | The lookup using InitialContext is located inside the bean with the @Resource annotation. Exactly the same location as the lookup with SessionContext. I also expect it to work, but it does not. :-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129432#4129432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Naming and unified invoker
Hi, We're trying to let an EJB client communicate over http with the unified invoker (JBoss 4.2.1). This works fine w.r.t. the bean calls itself, but what about the remote JNDI lookup? Is it possible to let Naming use the unified invoker (so that when the unified invoker is configured to use http, jndi lookup are transported over http also)? Please note that we've all of this working with the old http invoker; we know how that works (and there is plenty of documentation about that on the web). We're specifically interested in the jndi-over-unified invoker approach; we couldn't find any documentation about that Any help would be very much appreciated. Regards, Peter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129431#4129431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging
Thanks for the reply, Andy! I tried that as well but then I get a ServletException when it's trying to look up teh conenction factory 2008-02-13 14:42:16,046 [http-8000-1] ERROR org.apache.catalina.core.ContainerBase.[Standalone].[localhost].[/allocationmessaging].[AllocationMessaging] - Servlet.service() for servlet AllocationMessaging threw exception javax.servlet.ServletException: Servlet execution threw an exception at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:228) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at com.disney.tomcat.GreenCookieValve.invoke(Unknown Source) at com.disney.tomcat.RequestThrottleValve.invoke(Unknown Source) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:888) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:624) at org.apache.tomcat.util.net.NioEndpoint$Worker.run(NioEndpoint.java:1465) at java.lang.Thread.run(Thread.java:619) Couple of questions... 1) Does tomcat support external JNDI calls? My tomcat app and the JBOSS App server are on the same machine but they are separate services. 2) If it does then just modifying the initial context to point to JBOSS JNDI should be sufficient, correct (the way I am doing in the code posted earlier)? I should need to modify the server.xml or web.xml on the tomcat side, right? I am sorry if the questions are too trivial :(. I am a newbie with JBoss messaging. Any input/ideas appreciated! thank you jaya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129443#4129443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Undeploy portlet application
The portal layout information is stored in a database. If you downloaded and are using the portal+jbossas bundle, the database is Hypersonic. You can use the Management Portlet (log in as admin and go to the admin portal) to remove the older portlet, instance and window. Or you can wipe out the database (if you are using Hypersonic) by removing the server/xxx/data directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129440#4129440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Beginners Corner] OutOfMemoryError on JBoss Portal, when run in 64-bit JVM
Thanks for the suggestion Steve. I had originally tried: JAVA_OPTS=-Dprogram.name=$PROGNAME $JAVA_OPTS -Xmx2048m I also tried the one you listed for your eclipse environment: -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m But now I'm getting the following error, followed by another OutOfMemoryError. Perhaps I need to use another 64-bit JVM... 10:54:20,875 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml 10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 10:54:20,948 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 10:54:20,961 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 10:54:21,017 ERROR [STDERR] Feb 14, 2008 10:54:21 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 10:54:21,027 ERROR [STDERR] Feb 14, 2008 10:54:21 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 10:54:21,594 INFO [MyfacesConfig] No context init parameter ' org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true 10:54:21,594 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now. 10:54:21,594 INFO [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation. 10:54:21,594 INFO [MyfacesConfig] Starting up Tomahawk on the MyFaces-JSF-Implementation 10:54:21,594 ERROR [MyfacesConfig] Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. 10:54:42,481 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 10:54:42,498 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 10:54:42,503 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml 10:54:42,517 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 10:54:42,524 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml 10:54:42,531 ERROR [STDERR] Feb 14, 2008 10:54:42 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss- portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-admin.sar/portal-admin.war/WEB-INF/lib2/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 10:54:42,812 INFO [MyfacesConfig] No context init parameter ' org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true 10:54:42,812 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are
[jboss-user] [JNDI/Naming/Network] - Re: EJB3: @Resource name only EJBContext, not in InitialCont
Which version of JBoss do you use? I tested this on my local JBoss-4.2.2 setup with an sample application: | @Stateless | @Remote ({UserManager.class}) | @RemoteBinding (jndiBinding = RemoteUserManagerBean) | @Resources( { | @Resource(type = Queue.class, name = jms/A, mappedName = queue/A) | }) | | public class UserManagerBean implements UserManager { | | /** | * Instance of logger | */ | private static Logger logger = Logger.getLogger(UserManagerBean.class); | | @PersistenceContext | private EntityManager entityManager; | | @Resource | private SessionContext sessionContext; | | /** | * @see org.myapp.ejb.UserManager#getUser(long) | */ | public User getUser(long id) { | System.out.println(Entity manager is + entityManager); | return null; | } | | /** | * @see org.myapp.ejb.UserManager#getUsers(java.lang.String) | */ | public ListUser getUsers(String name) { | Object obj = sessionContext.lookup(jms/A); | System.out.println(Looked up through session context = + obj); | try { | Context ctx = new InitialContext(); | Object obj1 = ctx.lookup(java:comp/env/jms/A); | System.out.println(Looked up java:comp/env/jms/A = + obj1); | } catch (Exception e) { | e.printStackTrace(); | } |//blah blah blah |} | | Both the lookups (through sessionContext and InitialContext) return me the queue object. Can you post your code and also the entire exception stacktrace that you are seeing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129435#4129435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Tomcat and JBoss messaging
Sorry...I meant to ask in my earlier post do I need to modify the server.xml and web.xml to get tomcat to refer to JBoss JNDI resource? I thought the resources specified in those files apply to Tomcat's local JNDI and for any external JNDI access, just modifying the InitialContext should be sufficient. Please correct me if the above is not true. jaya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129445#4129445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: WAR hot-swap
Actually it doesen't work on Beta2 either, it works only on jboss-4.2.2.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129446#4129446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: long live consumer stops working
Ive investigated this Jira following your steps precisely and there were no problems with the consumer. I can only assume that maybe you have network problems that are causing this as Clebert previously mentioned. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129437#4129437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Deploying jBPM app as war
Hello, where do I have to place to *.jpdl.xml files containing my process definitions when deploying my app as a war file? Currently, they are in WEB-INF and in components.xml I have | bpm:jbpm | bpm:process-definitions | valueprocessdefinition.jpdl.xml/value | /bpm:process-definitions | /bpm:jbpm | But it says: | | 2008-02-14 17:07:09,506 ERROR [org.jbpm.jpdl.xml.JpdlXmlReader] couldn't parse process definition | org.dom4j.DocumentException: null Nested exception: null | at org.dom4j.io.SAXReader.read(SAXReader.java:484) | at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:58) | at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:141) | at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180) | at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161) | at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:269) | at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:252) | at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:72) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125) | at org.jboss.seam.Component.callComponentMethod(Component.java:2082) | at org.jboss.seam.Component.callCreateMethod(Component.java:2005) | at org.jboss.seam.Component.newInstance(Component.java:1976) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304) | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278) | at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:95) | at org.jboss.seam.init.Initialization.init(Initialization.java:583) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:530) | at org.mortbay.jetty.servlet.Context.startContext(Context.java:135) | at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218) | at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500) | at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) | at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117) | at org.mortbay.jetty.Server.doStart(Server.java:217) | at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40) | at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132) | at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:345) | at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:286) | at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:218) | at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183) | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) | at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: WAR hot-swap
If I export the war to another location and then drop it into the deploy dir of JBoss, here's what I get (only in Beta4, in Beta2 it's OK): anonymous wrote : 16:34:03,087 INFO [TomcatDeployment] undeploy, ctxPath=/SLayer, vfsUrl=SLayer.war | 16:34:03,243 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/jboss/jboss-5.0.0.Beta4/server/default/deploy/SLayer.war state=Not Installed mode=Manual requiredState=Parse | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/jboss/jboss-5.0.0.Beta4/server/default/deploy/SLayer.war | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:232) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:199) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:162) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: null | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:193) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:153) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:120) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:86) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:223) | ... 25 more | Caused by: java.net.MalformedURLException | at java.net.URL.(URL.java:601) | at java.net.URL.(URL.java:464) | at java.net.URL.(URL.java:413) | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) | at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:189) | ... 29 more | 16:34:03,243 WARN [HDScanner] Failed to process changes |
[jboss-user] [JBoss Seam] - Re: Seam 2.x, Webservice Security
Seems that I have used the wrong version of Seam (Seam 2.0.0.GA). anonymous wrote : Release Notes - JBoss Seam - Version 2.0.1.CR1 | | ** Bug | * [JBSEAM-2238] - SecurityInterceptor not invoked for Web Service requests Will check that out tomorrow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129447#4129447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: unwanted WSDL change when upgrading from 4.0.5 to 4.2.2
I'm posting the answer to my own question in the event someone else runs into this. By annotating Entities with @XmlType, a name can be defined as needed: @XmlType(name=MyClassName) will ensure that the wsdl publishes a complex type called MyClassName, and not myClassName. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129450#4129450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Undeploy portlet application
I realized that management from admin portal is not enough. It was good to remove unused pages, but when I removed page of mine application and put again WAR with new name empty page occured. Second solution was better. After wipping database I can do what I wanted. There of course are side-effects: some jBoss errors on console, but pages are shown. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129453#4129453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Sending email asynchronously
Seems it will be corrected in Seam 2.1 See JBSEAM-2427 in JIRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129455#4129455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: UIL2 ReadTask / WriteTask thread leak on 4.0.5 GA
Ok, the problem was that the jBPM installation I used did not close connections after each and every JMS message send it did. In fact, jBPM JMS subsystem keeps one single Connection and Session for the whole life of the server application. The JMS specification says that : anonymous wrote : A JMS Connection is a client'Âs active connection to its JMS provider. It will | typically allocate provider resources outside the Java virtual machine. | | Connection objects support concurrent use. | and anonymous wrote : A JMS Session is a single-threaded context for producing and consuming | messages. Although it may allocate provider resources outside the Java virtual | machine, it is considered a lightweight JMS object. If I read between the lines correctly, this should mean that it is acceptable to keep a costly Connection for a long time while it is not really acceptable to keep a lightweight Session for a long time. If I close Sessions but not Connections, the thread blocking still persists. So I modified the code to close both and the thread blocking no longer appears. Is it normal that if a Connection is hold for a long time, a thread leak, eventually followed by OutOfMemory, occur ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129452#4129452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple Seam projects on one server
You know, I've had very little luck with the IDE tools (including JBoss Dev Studio). I find that using the command line tools with the seam distribution work all the time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129457#4129457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] 64-Bit JVM in 2.6.4
Does anyone know the best 64-bit JVM and/or JAVA_OPTS that work well with JBoss Portal 2.6.4? I have been using Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_13-b05,Sun Microsystems Inc. to no avail. I'm getting a few errors, such as the ones I listed in this thread earlier: http://lists.jboss.org/pipermail/jboss-user/2008-February/111071.html All of the deployments of JBoss that I'm about to install will be in the 64-bit environment, and I'm rather surprised that its not working out of the box like it always has when I would run it in a 32-bit environment. Thanks ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to leave a long running conversation and start a new
Hi I have a similar problem and i am quite new to Seam. Has anyone a solution ? marcelkolsteren could you please explain how you did it using the API ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129460#4129460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Reliable delivery
ataylor wrote : Can you try running the consumer in DUPS_OK_ACKNOWLEDGE mode? | | What is the time scale for shipping your JMS Application, we have JBM 2 being released later this year with improved performance at both the transport layer and the persistence layer. The Alpha should be available at the end of March. 1. I will, but we do not want DUPS ;) 2. End of the second quarter. 3. Is producer flow control going to be implemented in JBM 2 ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129456#4129456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - 64-bit JVM on 2.6.4
Does anyone know the best 64-bit JVM and/or JAVA_OPTS that work well with JBoss Portal 2.6.4? I have been using Java VM: Java HotSpot(TM) 64-Bit Server VM 1.5.0_13-b05,Sun Microsystems Inc. to no avail. I'm getting a few errors, such as the ones I listed in this thread earlier: http://lists.jboss.org/pipermail/jboss-user/2008-February/111071.html All of the deployments of JBoss that I'm about to install will be in the 64-bit environment, and I'm rather surprised that its not working out of the box like it always has when I would run it in a 32-bit environment. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129471#4129471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Long startup time
Hey, i work with jboss 4.2 and jboss aop in weaving time. We use jboss-aop to listen on event that happens on our model. The model is JPA pojos. We are working in short cycles and each change in the model required to restart the server (need to build the database). The problem is that it took around 5 minutes to startup the server. If I remove â-javaagent:pluggable-instrumentor.jarâ from the java options and the server startup took less than 2 minutes. I read the section on performance and try to configure the following parameters without improvement. mbean code=org.jboss.aop.deployment.AspectManagerServiceJDK5 | name=jboss.aop:service=AspectManager | attribute name=EnableLoadtimeWeavingtrue/attribute | !-- only relevant when EnableLoadtimeWeaving is true. |When transformer is on, every loaded class gets |transformed. If AOP can't find the class, then it |throws an exception. Sometimes, classes may not have |all the classes they reference. So, the Suppressing |is needed. (i.e. Jboss cache in the default configuration -- | attribute name=SuppressTransformationErrorstrue/attribute | attribute name=Prunefalse/attribute | attribute name=Includecom.mycompany./attribute | attribute name=Excludeorg.,com./attribute | !-- This avoids instrumentation of hibernate cglib enhanced proxies | attribute name=Ignore*$$EnhancerByCGLIB$$*/attribute -- | attribute name=Optimizedtrue/attribute | attribute name=Verbosefalse/attribute |/mbean Any idea will be more than welcome. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129465#4129465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: avoid lazy-initialization exceptions
Even if you create another layer of DTOs, you'll still have to handle this case. I actually created such a layer and transformers to convert the Entities to DTOs (and vice-versa). The code has a relatively ugly solution, but it works. The solution was to create a handler that catches all RuntimeExceptions when the transformation code iterates through to the collections. The handler looks for LazyInitializationException; if found, it logs the exception (but does not re-throw), if not found, it rethrows the (non-LIE) RuntimeException. Yeah, ugly, but it works. The layer essentially removes external dependence on Hibernate. I suppose an alternative is to submit a bug report (or feature request?) to Hibernate. Alas, my hack gives me a (false?) sense of security until a Hibernate change causes the hack to break! YMMV and all. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129469#4129469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - problem with Jboss 3.2.7 + richfaces 3.1.4
Hi! I'm some some troubles to deploy web applications with richfaces in this server application... This is the output from console: | 08:51:48,478 ERROR [Engine] StandardContext[/GestaoDeConteudo]Exception starting filter richfaces | java.lang.NoClassDefFoundError: javax/faces/lifecycle/Lifecycle | at org.ajax4jsf.webapp.BaseFilter.init(BaseFilter.java:146) | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:225) | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308) | at org.apache.catalina.core.ApplicationFilterConfig.init(ApplicationFilterConfig.java:79) | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3702) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4329) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5456) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:324) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:320) | at org.jboss.web.WebModule.startModule(WebModule.java:62) | at org.jboss.web.WebModule.startService(WebModule.java:40) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:899) | at $Proxy18.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:415) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:82) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:198) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy30.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:363) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:829) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604) |
[jboss-user] [JBoss Seam] - Conversation and workspace
Hi, I am trying to set a workspace management like in eclipse, ie buttons in the toolbar etc. I am quite new to jsf/seam etc so i read the documentation, did a lot of searching but i cannot make it work : it seems that it is always the same conversation whatever button i click (i used the conversationList component). Here some code (i changed it a lot so maybe it is all weird) : pages.xml | page view-id=/admin/admin.xhtml | begin-conversation / | descriptionAdmin/description | | navigation from-action=#{perspectiveManager.switchToConfiguration} | redirect view-id=/config/config.xhtml / | /navigation | /page | | page view-id=/config/config.xhtml | begin-conversation / | descriptionConfig/description | | navigation from-action=#{perspectiveManager.switchToAdministration} | redirect view-id=/admin/admin.xhtml / | /navigation | /page | toolbar.xhtml | r:toolBarGroup id=perspectiveToolBarGroup location=right | s:link action=#{perspectiveManager.switchToAdministration} propagation=end | h:graphicImage value=/img/admin/admin_24.png / | /s:link | s:link action=#{perspectiveManager.switchToConfiguration} propagation=end | h:graphicImage value=/img/config/config_24.png / | /s:link | /r:toolBarGroup | I understood that i cannot start a new explicit conversation from another one... but how to do otherwise? thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129461#4129461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - why EJB container-managed transaction was commited after a f
Hi, I am having the following issue with JBOSS/EJB/Hibernate: when the ejb fucntion was excuted to some point, a Hibernate query failed due to bad mapping of column to property in hmb.xml file, I understand there would be some exception thrown out when Hibernate was doing hydrating from the resultset to pojo, but what I don't understand is, at the same time (maybe before it) the EJB transaction associated with the function was committed even if the function was not executed to the end (It was in debug mode, I checked the database and it was supposed to be rollbacked anyway 'coz I set rollback only for the session EJB instance). Can anybody help me out of it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129466#4129466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - newbie: automatically writing auditing data
I want to have basic auditing: just need to know who changed/created the entity and when I created a History component, that I simply include into the entities, that I want to audit. I use hibernate.ejb.event.post-insert and hibernate.ejb.event.post-update event listeners, to write the history data. This works, but I noticed that, when I persist a new (simple) entity, the post-insert event is triggered, which will change the history data, triggering an update and the post-update event will change the history data again, triggering another update is it just the wrong event that I am using, or is this way completely wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129468#4129468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: newbie: automatically writing auditing data
to clarify my question: is there smth. like hibernate.ejb.event.pre-update and hibernate.ejb.event.pre-insert? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129470#4129470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: passing id in data table to components.xml for a query..
got it... using a:support a:actionparam ... value ... assignto /a:support -M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129474#4129474 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Named conversation and new instance redirected to Home?
Hi Erik, I would have two note for your solution. 1. I do not know if Seam 2.1.0A1 undeprecated id in @Begin. As you have | @Begin(join = true, id = #{facesContext.externalContext.requestParameterMap.forsendelseId}) | There were some issues why it got deprecated and note from Gavin King was to use pages.xml for it. So if it is undeprecated then it is ok. 2. | core:manager conversation-id-parameter=forsendelseId / | this will work. But if you have let say two completely different entity Types in your conversational context and they have the same id. You would actually merge them. What would help is this: | h:dataTable id=forsendelser value=#{forsendelser} var=fors | h:column | s:link action=#{forsendelseaction.someactionmethod} |f:param name=forsendelseId value=#{fors.className}#{fors.id} / |#{fors.id} | /s:link |/h:column | /h:dataTable | here you would know which entityType is in conversation context. Please let me know what do think about that. Tomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129478#4129478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to leave a long running conversation and start a new
Good to know that I'm not the only one who needs this functionality. I posted my solution for switching to another long running conversation on my weblog: http://marcelkolsteren.blogspot.com. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129479#4129479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Beginners Corner] OutOfMemoryError on JBoss Portal, when run in 64-bit JVM
Hi Chris. Try 'doubling' the values I gave you. I am not running JBoss Portal myself. If there was a memory constraint, I am surprised it was not listed. To solve an issue like this, you need to do Minimum as well as Max. The JVMs do not always handle allocating new memory for new objects as well as they should. They have been known to OOM even when they have not used all maximum, as they only allocated minimum amounts. Also, from the command line, try running 'java -X' to figure out what you have in way of GC. Might want to try Incremental and/or Concurrent, if available. [EMAIL PROTECTED]:~ export JAVA_OPTS=-Dprogram.name=$PROGNAME $JAVA_OPTS -Xmx2048m bash: export: `-Xmx2048m': not a valid identifier ??? Are you sure you have your JAVA_OPTS actually reset/changed? I would echo your JAVA_OPTS (or check the JBoss startup right at the start) to see what they currently are. Also, interesting thet the Portal seems to be doing all sorts of Warns and Errors on startup. You might want to check out the Portal Forum, and see if there is anything on this topic there. Regards, Steve Chris Case wrote: Thanks for the suggestion Steve. I had originally tried: JAVA_OPTS=-Dprogram.name=$PROGNAME $JAVA_OPTS -Xmx2048m I also tried the one you listed for your eclipse environment: -Xms256m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m But now I'm getting the following error, followed by another OutOfMemoryError. Perhaps I need to use another 64-bit JVM... 10:54:20,875 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/opt/jboss-portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml http://portal-2.6.3.GA/server/default/./deploy/jboss-portal.sar/portal-identity.sar/portal-identity.war/WEB-INF/lib2/portal-faces-lib.jar!/META-INF/portal.taglib.xml 10:54:20,912 ERROR [STDERR] Feb 14, 2008 10:54:20 AM com.sun.facelets.compiler.TagLibraryConfig loadImplicit ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: 64-bit JVM on 2.6.4
I do bunch of portal perf and scalability test on 64bit machine with 64-bit sun jvm and I have not have any problem. But that's not your answer, is it? :-) You need to increase perm gen size. In your JVM options. change your run.conf as: | JAVA_OPTS=-Xms512m -Xmx512m -XX:NewRatio=10 -XX:PermSize=64M -XX:MaxPermSize | =128M -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=36 | 0 | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129482#4129482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EntityManager is null
Hi, I'm trying to create a class that does database retrieval using entity manager. When I call getVpInfo, I notice that the entity manager is null. I need to access this dao from another class in my app. I am not accessing the dao from the client-side code. Does anyone know why the entity manager is null. I have also included my persistence.xml === import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; @Stateless public class VpInfoDAOBean implements VpInfoDAORemote, VpInfoDAOLocal{ @PersistenceContext (unitName=VPInfoDB) protected EntityManager em; private static VpInfoDAOBean dao = new VpInfoDAOBean(); public static VpInfoDAOBean getInstance() {return dao;} public VpInfo getVpInfo(String appGroup) { if (em == null) System.out.println(Vp em is null); return (VpInfo)em.createQuery( from VpInfo v where v.appGroup = :appGroup).setParameter(appGroup, appGroup).getSingleResult(); } } persistence.xml persistence-unit name=VealMonitorDB jta-data-sourcejava:/DefaultDS/jta-data-source !-- -- !-- -- /persistence-unit persistence-unit name=VPInfoDB jta-data-sourcejava:/DefaultDS/jta-data-source !-- -- !-- -- /persistence-unit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129486#4129486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NotLoggedInException
If you did need to handle this exception, you can map it in pages.xml: | exception class=org.jboss.seam.security.NotLoggedInException | redirect view-id=/login.xhtml | message severity=warn | You must be logged in to use this feature | /message | /redirect | /exception | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129484#4129484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using Oracle proxy_user across JDBC datasource
I traced through the jboss code and found the problem. It appears that the managed connection factory stores drivers in a map of some sort using the url as the key. In my case I had 2 ds.xml files deployed with different jndi names, but the same url. One of them had the actual OracleDriver specified and was stomping on my proxied driver config. The example from the wiki works great now. fyi, unless there's some really compelling reason that I'm not aware of, I'd change the managed connection factories to store things with a more unique key. I can imagine situations where using more than one datasource config trying to talk to the same url could reasonably happen. If possible getting the jndi name and just appending it to the url string for the purposes of using it as a key would probably work. -jasen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129487#4129487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Concurrence problem?
I have the following situation: I'm using Spring 2.0.6, hibernate 3.2 and Oracle 10g There is a table that concentrates a lot of traffic in the application (it is an auditting table) and from time to time it produces a JDBC can't execute batch update exception. I believe this is because there is a lot of concurrent access to this table in the database, but I have no proof of that... The problem may stem from the way Hibernate treats the autogenerated id columns in Oracle. Hibernate issues a select max(id) first, and then uses this number to persist the instance at hand. If there is a high concurrence situacion, I believe is possible for Hibernate to retrieve the same index twice and to try and persist the entity with that id more than once, thus getting the aforementioned error. Again, this is all speculation, I'm to new to know for sure. But anyway, asuming the problem is concurrence, I want to try the following: To declare a singleton bean with one private static attribute indexCount accesable only through a public static getCurrentIndex() method that do something like { return indexCount++;} How safe is this solution, considering many threads asking indexes simultaneously? Is there some built-in mechanism in Spring that can help me achieve something like this? And since we're at it, Spring does anything at all to ensure threadsafe behavior in stateful singleton beans? Thanks in advance, Maykell. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129488#4129488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PDF table doesn't show in RTF format
Hi, I had a similar problem with SeamPDF and realized that in RTF format tables are not available. What I did is extending the SeamPDF with two classes UIRtfCell and UIRtfTable. The implementation is similar to to UICell and UITable, but using the itext RTF-Table implementation classes. Also, you have to add your new tags to the xml files contained in the SeamPDF package. Regards, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129497#4129497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam managed bean property not set by seam.properties
Thank you Pete. Yes I want the latter. I did not move it, it is in the directory where SeamGen generated it. I noticed that it does trigger, when I run the ant test script. Do you think the build script is the cause of my problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129495#4129495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NullPointerException at com.sun.enterprise.util.EntityManag
I'm trying to run my SEAM+ICEFACES app on GLASSFISH. But I'm getting this error, when I want to use hibernate(searching db). | javax.ejb.TransactionRolledbackLocalException: Exception thrown from bean; nested exception is: java.lang.NullPointerException | java.lang.NullPointerException | at com.sun.enterprise.util.EntityManagerWrapper.createQuery(EntityManagerWrapper.java:349) | at org.jboss.seam.persistence.EntityManagerProxy.createQuery(EntityManagerProxy.java:79) | at nautilia.sklepy.ejb.web.customers.CustomerSearch.Find(CustomerSearch.java:76) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067) | at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176) | at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:4005) | at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:483) | at com.sun.ejb.Invocation.proceed(Invocation.java:498) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27) | | persistence.xml | ?xml version=1.0 encoding=UTF-8? | persistence version=1.0 xmlns=http://java.sun.com/xml/ns/persistence; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | persistence-unit name=sklepyPU transaction-type=JTA | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejdbc/mysql/jta-data-source | properties | | property name=hibernate.transaction.manager_lookup_class value=org.hibernate.transaction.SunONETransactionManagerLookup/ | property name=hibernate.hbm2ddl.auto value=create-drop/ | property name=hibernate.dialect value=org.hibernate.dialect.MySQLDialect/ | property name=hibernate.case.user_query_cache value=true/ | property name=hibernate.show_sql value=true/ | /properties | | | | /persistence-unit | /persistence | components.xml | ?xml version=1.0 encoding=UTF-8? | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; | xmlns:persistence=http://jboss.com/products/seam/persistence; | xmlns:transaction=http://jboss.com/products/seam/transaction; | xmlns:security=http://jboss.com/products/seam/security; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation= | http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd | http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd; | | core:init jndi-pattern=java:comp/env/sklepy/#{ejbName}/local debug=true/ | | core:manager conversation-timeout=12 | concurrent-request-timeout=500 | conversation-id-parameter=cid/ | |
[jboss-user] [JBoss Seam] - Re: Seam and testing fail. TestNG
[EMAIL PROTECTED] wrote : Seam 1.2? How did you set up the integration test? Hi, i don't understand what you mean, most i to make any configuration before run a TestNG integration test in a Sean project? Can you present me with an example.? Thank you very much for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129492#4129492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Resolved: 64-bit JVM on 2.6.4
Thank you so much for your help. This has stopped all of the fatal errors! I have 8gb of ram to work with, so I may end up bumping up those values a bit more. I have 2x 4-core Intel Xeons on the machine, so I will have to see how the JVM runs on multiple processors, for the optimal configuration. I'll post the results of my experimentations here... Thanks again! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129491#4129491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Odd Transactional Exception on WebLogic 9.2
Using Seam 2.0 GA on WebLogic 9.2, I am trying to simply populate a dropdown list with values from a database table. The code to do so is in a Seam-managed persistence component and has been tested and found to work. My Facelet then calls on this component to populate the dropdown. When I do so, I get this: | Caused by: java.sql.SQLException: Transaction BEA1-02F463ADA554FEA2ACBA not active anymore. tx status = Marked rollback. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException] | at weblogic.jdbc.jts.Driver.getTransaction(Driver.java:564) | at weblogic.jdbc.jts.Driver.connect(Driver.java:121) | at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359) | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547) | at org.hibernate.loader.Loader.doQuery(Loader.java:673) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) | at org.hibernate.loader.Loader.doList(Loader.java:2220) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) | at org.hibernate.loader.Loader.list(Loader.java:2099) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:66) | at gov.nist.srm.persistence.QueryServiceImpl.getTechnicalCategories(QueryServiceImpl.java:31) | at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source) | at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38) | | As I said, this is a basic readonly operation from the database. At no point do I call for any rollback. Also, the datasource has been tested in the WebLogic console and found to work. Here are the properties in persistence.xml: | properties | property name=hibernate.dialect value=org.hibernate.dialect.Oracle9Dialect/ | property name=hibernate.cache.provider_class value=org.hibernate.cache.HashtableCacheProvider/ | property name=hibernate.transaction.manager_lookup_class value=org.hibernate.transaction.WeblogicTransactionManagerLookup/ | property name=hibernate.transaction.factory_class value=org.hibernate.transaction.CMTTransactionFactory/ | /properties | Finally, here is the code: | @Name(queryService) | public class QueryServiceImpl extends Object implements QueryService, Serializable { | @Transactional(TransactionPropagationType.SUPPORTS) | public ListCategory getCategories() { ... } | . | . | . | } | And here is the reference in the Facelet: | select jsfc=h:selectOneMenu id=categoryDropdown value=#{myAction.category} | s:selectItems value=#{queryService.categories} var=category label=#{category.name} noSelectionLabel= / | /select | I should note that if I remove that @Transactional annotation, there is no change. Any insight into what causes this bizarre rollback on WebLogic is appreciated. Please let me know if you need more information. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4129493#4129493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4129493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user