[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
I tried the following configuration: mysql-ds.xml ?xml version=1.0 encoding=UTF-8? | | datasources | xa-datasource | jndi-nameDefaultDS/jndi-name | | xa-datasource-classcom.mysql.jdbc.jdbc2.optional.MysqlXADataSource/xa-datasource-class | xa-datasource-property name=URLjdbc:mysql://DBHost/specj/xa-datasource-property | xa-datasource-property name=Userspecj2004/xa-datasource-property | xa-datasource-property name=Password*/xa-datasource-property | | track-connection-by-txtrue/track-connection-by-tx | no-tx-separate-poolstrue/no-tx-separate-pools | | | min-pool-size20/min-pool-size | max-pool-size20/max-pool-size | | blocking-timeout-millis15001/blocking-timeout-millis | idle-timeout-minutes15/idle-timeout-minutes | | transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation | | metadata |type-mappingmySQL/type-mapping | /metadata | /xa-datasource | | xa-datasource | jndi-nameSpecjDS_RC/jndi-name | | xa-datasource-classcom.mysql.jdbc.jdbc2.optional.MysqlXADataSource/xa-datasource-class | xa-datasource-property name=URLjdbc:mysql://DBHost/specj/xa-datasource-property | xa-datasource-property name=Userspecj2004/xa-datasource-property | xa-datasource-property name=Password*/xa-datasource-property | | track-connection-by-txtrue/track-connection-by-tx | no-tx-separate-poolstrue/no-tx-separate-pools | | min-pool-size320/min-pool-size | max-pool-size320/max-pool-size | | prepared-statement-cache-size512/prepared-statement-cache-size | | blocking-timeout-millis60002/blocking-timeout-millis | idle-timeout-minutes90/idle-timeout-minutes | | transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation | | metadata |type-mappingmySQL/type-mapping | /metadata | /xa-datasource | | no-tx-datasource | jndi-nameSpecjJMSDS/jndi-name | connection-urljdbc:mysql://DBHost/jms/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-namejbossjms/user-name | password*/password | | min-pool-size20/min-pool-size | max-pool-size20/max-pool-size | | prepared-statement-cache-size512/prepared-statement-cache-size | | blocking-timeout-millis60003/blocking-timeout-millis | idle-timeout-minutes15/idle-timeout-minutes | | metadata |type-mappingmySQL/type-mapping | /metadata | | /no-tx-datasource | | /datasources my.ini [client] | port=3306 | | [mysql] | default-character-set=latin1 | | [mysqld] | max_connections=800 | thread_cache_size=38 | | port=3306 | lower_case_table_names = 1 | sql-mode = IGNORE_SPACE | basedir=C:/Program Files/MySQL/MySQL Server 5.1/ | datadir=C:/Documents and Settings/All Users/Application Data/MySQL/MySQL Server 5.1/Data/ | default-character-set=latin1 | default-storage-engine=INNODB | query_cache_size=84M | table_cache=1520 | tmp_table_size=30M | | myisam_max_sort_file_size=100G | myisam_sort_buffer_size=30M | key_buffer_size=129M | read_buffer_size=64K | read_rnd_buffer_size=256K | sort_buffer_size=256K | | | #*** INNODB Specific options *** | innodb_additional_mem_pool_size=6M | innodb_flush_log_at_trx_commit=1 | innodb_log_buffer_size=3M | innodb_buffer_pool_size=250M | innodb_log_file_size=50M | innodb_thread_concurrency=8 | This should work for an Injectionrate of 40. But I got lots of errors. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224235#4224235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem
Kragoth, thank you for log. Yes, this exeption in org.jboss.tools.seam.internal.core.scanner.java.ASTVisitorImpl is what must be a reason to stop loading all Seam components. We well try to figure out what is going on there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224238#4224238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: how to use jaxws offline
Cross reference: JBWS-2598 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224239#4224239 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Breadcrumbs
How can I implement breadcrumbing in JBoss portal? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224240#4224240 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Records Management Framework Samples
Hi I need simple separate samples on Records management. I could see samples in Test Cases, but the samples throw error.. It cannot be run separately. The documentation says great features in framework.. But we could not use it:-( regards KRS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224241#4224241 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Sending Messages from EJB using container transaction
Thank you very much Frank for your response. We want to know if using java:JmsXA won't affect the performance or what would be the performance impact if we use this factory. Best Regards, Abhishek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224242#4224242 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Minor xsd/tld file problem?
Thank you! I've added it to jira. https://jira.jboss.org/jira/browse/JBIDE-4143 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224243#4224243 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
The OS I am using is Windows XP with SP3. (I am sorry for that ;) ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224247#4224247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: ResourceException messages improve
PeterJ wrote : I would gladly open a JIRA and attach a patch, but once again I find that I have just read-only access to JIRA - I cannot create new issues, nor comment on existing issues. https://jira.jboss.org/jira/browse/JBAS-6752 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224249#4224249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - reflection and java.lang.VerifyError
I'm using javassist to add some functionality to a third-party program. I'm trying to insert some code into the constructor of my target class which calls methods elsewhere in the program to set fields in the target class. An object passed to my target constructor has a private field whose members are the members I want to call. Since the field is private, I can't call the members directly. I'm therefore using standard java reflection to get access to the field's methods and to call them. If I take the original target class source, add the code at the end of the constructor and run it works just fine. However, if I use code insertion via javassist insert the *same* code at the end of the constructor, I get an error: Java.lang.VerifyError: com.companyX.moduleY.MyTargetClass, method signature(LcompanyX/moduleY/DataClass;)V Expecting to find integer on stack. Here's the code I'm inserting: | try { | java.lang.reflect.Field f=this.dataField.getClass().getDeclaredField(privateData); | f.setAccessible(true); | Object o=f.get(this.dataField); | java.lang.reflect.Method meth=o.getClass().getDeclaredMethod(getRSquared,(Class[])null); | meth.setAccessible(true); | | this.rSquare=(Float)meth.invoke(o,(Object[])null); | | } except (Exception e) { | } | | Now, if I comment out the meth.invoke line, it runs just fine, but that defeats the point of the whole exercise. Again, if I insert this code into the original class source things work as expected. I only get the VerifyError when the method is inserted via javassist. So, any suggestions? Has anyone gotten reflection to work inside inserted code to the point where they can call methods via reflection? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224251#4224251 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Breadcrumbs
You can use Custom Navigation Portlet, you can download it here: http://www.jboss.org/portletswap/downloads/portlets/miscellaneous/?action=awindowstate=maximized Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224253#4224253 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is that possible to create a non-persisted ProcessInstance i
The question is that I want to create a new ProcessInstance inside an outer ProcessInstance, actually this creation (new) operation is done in the ActionHandler of the outer ProcessInstance, the key is that the outer one is a persisted one, but I don't want the inner one to be persisted. So I got the following exception when I try to close the jbpmContext: anonymous wrote : org.hibernate.TransientObjectException: object references an unsaved transient instance - save the t | ransient instance before flushing: org.jbpm.graph.def.Node | at org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:219) | at org.hibernate.type.EntityType.getIdentifier(EntityType.java:397) | at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:242) | at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:597) | at org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister. | java:3128) The code is as below: The outer one: | JbpmContext jbpmContext = JbpmConfingurationFactory.jbpmConfiguration | .createJbpmContext(); | try { | ... | ProcessInstance processInstance = new ProcessInstance(retrievedPd); | jbpmContext.save(processInstance); | } | } finally { | jbpmContext.close(); //where I get the exception | } | | One ActionHandler of the outer one which expect to create a new ProcessInstance: | public void execute(ExecutionContext executionContext) throws Exception { | // get operation context from workflow | OperationContext context = (OperationContext) executionContext | .getContextInstance().getTransientVariable( | Operation.OPERATION_CONTEXT); | // create discovery operation | WorkflowOperation discoveryOperation = new WorkflowOperation(context); | // create discovery related workflow | ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(definition); | ProcessInstance processInstance = | new ProcessInstance(processDefinition); | | Can anybody tell me why I got this error, is there any possible workaround? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224264#4224264 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
I still have all the errors mentioned before. And I have no ideas anymore. I tried small thread_cache_size (8) and big ones (2000). I tried to increase connections (up to 2000) on mysql-site. I tried lots of configurations for the mysql-ds.xml. But I get the same errors every time. Perhaps its really a problem of the Windows XP + JBoss 4.2.3 + MySQL 5.1 combination. Any suggestions? I will try JBoss 5.0.0. Perhaps he will be nicer to me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224266#4224266 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: looking message value in table
willmark- We do not recommend you trying to pull messages out of the JBM internal tables. JBM internal storage is an implementation detail and liable to change at any time, making any application that relies on its internal structure brittle. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224267#4224267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Definitive Correct postgres-persistence-service.xml for
The correct scripts for any release, including EAP releases are found in svn: http://anonsvn.jboss.org/repos/messaging/tags Select your release and click through to find the script. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224268#4224268 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Distributed messaging without clustering
In JBM 1.4 you can use JMS bridges to bridge nodes which are not part of the same cluster. In JBM 2.0 you can connect nodes in elaborate ways to form complex topologies. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224269#4224269 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: How to prevent MC calling start/stop
I couldn't find this in the user or reference guide. It's probably in there somewhere but you have no single page html version or pdf version so it makes it hard to search. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224271#4224271 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem
I have reproduced the problem by creating an annotation type in Java sources and annotating it: @Deprecated public @interface MyAnnotation { } Please check if you have annotation types. If this is the case, try this workaround: move annotation types to a separate project, build a jar of it, and add the jar to the classpath of the main project. Seam builder will not fail if annotation types are in a jar. We will fix the issue ASAP. Max, shall we patch 3.0.0? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224283#4224283 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Extending jBPM 4 history service
It's certainly possible. I don't know for jBPM 4 (yet), but for jBPM Bernd Ru??cker has written a good articale about it: http://www.bpm-guide.de/2008/12/06/easily-generate-bam-events-wih-jbpm/ Perhaps you can use the ideas in the article for your problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224284#4224284 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Could not find new XAResource to use for recovering non-
I have tried removing the following directories of my all server: temp,work,data. It worked! I no longer have the periodic warning. Maybe the data directory contained old transaction data that couldn't be recovered because the list and definitions of destinations has changed. Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224270#4224270 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem
Yes - having annotations on annotations is a very common thing. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224294#4224294 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Extending jBPM 4 history service
Thank you, if I have seen this before I could save some brain power. At least I came to similar conclusion :). Does anyone know how to this could be done in jBPM 4 configuration? Since I'm starting new project and it probably will not be done by summer, when jBPM4 should be final, I wanted to use it. If not, I will stick to jBPM3 for now. Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224299#4224299 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS with JBoss Embedded
Hi Ted, Did it work? I'm facing the same problem here. Regards, Pedro Sena View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224304#4224304 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Extending jBPM 4 history service
Hello, I'm evaluating jBPM for one project. We want to move process definitions from existing system to separate server running jBPM that could be potentially reused. I've to create possible integration scenario. Current system is fully functional and the user frontend is working, but since we want to have more flexible process definitions, moving them to JBPM would help us a lot. My idea was: 1. Current system would signal user activities to jBPM, e.g. activity completed (since this would be just a small change in code where we currently do this with local data, no big deal) 2. I need to get feedback from the jBPM about instance progress. I don't want to put this as automated activity or listener 1000 times in every process, so I was thinking about a general solution. My idea is to create custom history service implementation that would do updates to current database. Then it could be completely process independent and process designers would not have to worry about this. Has anyone tried this? So far I haven't found clean way how to add custom history service to jBPM via configuration. Ideally I would like just to plug my eg. CustomHistoryService to standard jBPM build to get it running. Is this feasible? If you think that this can't be covered by jBPM use cases, let me know too. Thanks, Martin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224282#4224282 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan
boercher wrote : Have you tried to remove the offending object(s) from the Hibernate session? I don't know if it is possible to access it in the right moment but I would try | jbpmContext.getSession().evict(processInstance) (or the like) | | BTW: Doesn't it help to omit the call to jbpmContext.save() ? | | Volker Hi Volker, I will try it, but it sounds like a hack? It seems I can and JBPM provides the ability to specify what process instances should be saved and what shouldn't. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224278#4224278 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: how to use jaxws offline
Thanks Richard. I'll try it than. Yours Arne View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224321#4224321 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss Upgradation
I have some idea, but if there is any document available for 4.2.3 GA pls give me thie link. Actually in a standalone setup itself its not working. We usually have jbosswebtomcat.sar file in 3.2.5 but in the 4.2* version its not there. Please provide a line by line configurattion doc. Thanks and Regards Rasa View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224326#4224326 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: How to prevent MC calling start/stop
Andy trawled the user guide and found it :) However the user guide syntax appears wrong, should be: | start ignored=true/ | stop ignored=true/ | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224276#4224276 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss and OpenSSO
You are using OpenSSO to integrate with JBoss-portal? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224330#4224330 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateEx
Hi , I was trying to upgrade jboss 3.2* to 4.2.3 GA, i have configured everything but when i started the server i got following error in CONSOLE. 20:28:03,245 WARN [EJBDeployer] Verify failed; continuing | java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) | at java.lang.Class.privateGetPublicMethods(Class.java:2519) | at java.lang.Class.getMethods(Class.java:1406) | at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:686) | at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:848) | at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:78) | at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594) | 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.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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy32.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) | I have four jar files related with hibernate in defualt/lib folder. That are 1) hibernate3.jar 2) hibernate-annotations.jar 3) hibernate-entitymanager.jar 4) boss-hibernate.jar Still what is the issue, i am not able to understand. Please Help me to find a solution. Thanks Rasa View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224277#4224277 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan
Have you tried to remove the offending object(s) from the Hibernate session? I don't know if it is possible to access it in the right moment but I would try jbpmContext.getSession().evict(processInstance) (or the like) BTW: Doesn't it help to omit the call to jbpmContext.save() ? Volker View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224272#4224272 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: how to use jaxws offline
The fix will be available in next JBossWS 3.1.1 release (end of this month). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224308#4224308 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is that possible to create a non-persisted ProcessInstan
Hi Volker Unfortunately, your hack doesn't work, I got a more serious exception: | 17:41:04,598 ERROR [AssertionFailure] an assertion failure occured (this may indicate a bug in Hiber | nate, but is more likely due to unsafe use of the session) | org.hibernate.AssertionFailure: possible nonthreadsafe access to session | at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:64) | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) | at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167) | at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingE | ventListener.java:298) | at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java: | 27) | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224279#4224279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Components Problem
https://jira.jboss.org/jira/browse/JBIDE-4144 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224301#4224301 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss 4.2.2 mem issue
Hi, I have encountered a strange issue using jboss 4.2.2 with jdk1.5_16 server has 4 GB Ram we have only one application deployed thr though thr is no so heavy load on server but my free mem size keeps decreasing by time .. it reaches some times 0(free mem) levels.. below is my run.conf defualt setting JAVA_OPTS=-Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 Pls. guide how Do I adjust mem setting for the server(JVM) . or may thr any isue with application itself .. at the last application stops responding n I have to reboot it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224346#4224346 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - ClassCastException with JBoss 5.0.0 GA and higher
Hello, Ihave a problem when i want to get my ejb3.0 with the method lookup of the initialContext. When i use the JBoss 4.2.2 GA, it works perfectly. But if i would like to use the JBoss 5.0.0 or 5.0.1 GA, i have a ClassCastException: can't cas javax.naming.reference to my EJB... Someone have an idea? thanks... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224349#4224349 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: error with wssecurity!!!!
someone to help? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224353#4224353 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Help with JbossWs and WS-Security!
My webservice is working without the configuration wssecurity, when I put the settings an error occurs - put a annotation in webservices --...@endpointconfig(configName=Standard WSSecurity Endpoint) - put the files in the web-inf --jboss-wsse-server.xml and the jboss-wsse-client.xml in the client side together with the other files --wsse.cer --wsse.csr --wsse.jks my client is in the servlet QName qName = new QName(http://coreo.com.br/teste;, Teste); String serviceURL = http://jon.ctbc.com.br:8080/jbossWebServiceSecurity-1.0.0/Teste?wsdl;; Service service = null; URL url; try { url = new URL(serviceURL); service = Service.create(url,qName); ITeste s = service.getPort(ITeste.class); System.out.println(s.localizacao(j)); } catch (MalformedURLException e) { // TODO Auto-generated catch block e.printStackTrace(); } 09:09:30,343 ERROR [[MyServlet]] Servlet.service() for servlet MyServlet threw exception javax.xml.ws.soap.SOAPFaultException: This service requires wsse:Security, which is missing. at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:84) at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107) at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:381) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:290) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:170) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150) at $Proxy82.localizacao(Unknown Source) at br.teste.client.MyServlet.executa(MyServlet.java:54) at br.teste.client.MyServlet.doGet(MyServlet.java:33) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224354#4224354 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: looking message value in table
timfox wrote : willmark- | | We do not recommend you trying to pull messages out of the JBM internal tables. | | JBM internal storage is an implementation detail and liable to change at any time, making any application that relies on its internal structure brittle. alright, Do you hava a another solution for this problem ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224355#4224355 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: looking message value in table
You can use the JMX interface or a JMS Queue browser to see which messages are in which queues. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224359#4224359 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher
anonymous wrote : i have a ClassCastException: can't cas javax.naming.reference to my EJB See this http://www.jboss.org/index.html?module=bbop=viewtopict=144888#4186763. In JBossAS-4.x, you just needed the jbossall-client.jar in the client classpath. However in JBossAS-5.x, you have to add jbossall-client.jar and all other jars that are in the MANIFEST.MF of that jar file, in the client's classpath. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224365#4224365 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Another issue with JBOSS WS and inheritance
Hi I have an issue using a 3 level java bean as argument of a web service operation. | public class A | { |protected String iA; |public String getA() |{ | return iA; |} |public void setA(String aA) |{ | iA = aA; |} | } | | public class B extends A | { |protected String iB; |protected String getB() |{ | return iB; |} |protected void setB(String aB) |{ | iB = aB; |} | } | | public class C extends B | { |protected String iC; |public String getC() |{ | return iC; |} |public void setC(String aC) |{ | iC = aC; |} | } | Warning: Class B contains protected Field and Method! I publish a web service (based on a stateless EJB 2.1 session bean) that recieve an object of class C. Deploy works fine. I can see the WSDL published and I can parse it from a client. Now, I'm writing a java client using a Dynamic Invocation Interface Model. I'm using it to avoid to create proxy classes and I don't want to use a wsdl2java tool. My client create a new instance of C and pass it as a parameter of my ws. But when the client serialize/prepare the SOAP message, it build a wrong message: A field is present 2 times!! I discover that the client (using all jboss jars) work by reflection in order to build the soap message.. but it seems to get 2 times the A field (maybe the first time from the class B and after from the class A. In this way when the server recieve that message, of couse an exception is throws I believe this is a bug into dynamic javabean serialization model.. I remove 1 level.. and now all works fine... but maybe in the furure I will need again to use another level. I'm using JBOSS 5.0.1 GA and also upgrade the JBoss WS to 3.1.0 GA (I try it because maybe this issue was just fixed) and Sun JDK 1.5.0_17-b04 I read on previous post a lot of issue related to inheritance . Maybe this is a new one. Thanks Roberto View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224373#4224373 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
Based on JBM 1.4 documentation, the jar needed for remote client is: jboss-aop.jar jboss-remoting.jar jbossall-client.jar jboss-messaging-client.jar jboss-mdr.jar - I had to add this one to get the signature class javassist.jar trove.jar (http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html_single/index.html#inst.remoteclient) I included the jars in the order above and verified all the jars are in the right version. (JBoss 4.3.0GA) However, I am still getting the same exception. Any help would be appreciated. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224375#4224375 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Login problem
I got the solution. It is browser issue. Firefox problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224376#4224376 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224376 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Message WARN [jacorb.giop.server.listener] Received a requ
Hi all, I am trying to connect to JBoss 4.0.3 with Powerbuilder 10.5. Whenever I try to connect I get the following on the Powebuilder side on port 3528: Sytem Exception: CORBA::OBJECT_NOT_EXIST. On port 1099 I get: SystemException: CORBA::COMM_FAILURE. In both cases I see the following in the JBoss server.log: WARN [jacorb.giop.server.listener] Received a request with a non-jacorb object key. I did find something that said you needed to have jacorb.orb.objectKeyMap.NameService=JBoss/Naming/root in the jacorb.properties file, which it is. I tried posting messages on the Powerbuilder message boards with no replies, so I was wondering if anyone here had any ideas for troubleshooting. Thanks, Jim View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224377#4224377 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher
there is nothing about the classpath in the manifest of my jbossall-client.jar ... :s View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224382#4224382 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
Try adding client/log4j.jar and see if that helps. If that does not work, add -verbose:class to the JVM options on your client's command line and run it again. This option prints out the JAR file location for each class loaded; perhaps that will give use some clue as to the problem. Also, post the full command line you used. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224384#4224384 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - doubts about the JBOSSWS
1-because often I see the same problems in several places, that the libs related to JBoss, to work to take the client lib x and put in endorsed, things like that! when we need something that does not change the place these libs? 2- steps to make security-ws - I followed the links that show how to be made, but I'm still having problems: http://www.jboss.org/community/docs/DOC-12644 http://www.jboss.org/community/wiki/WSSecurityEncryptExample http://www.jboss.org/community/wiki/WSSecuritySignExample http://www.jboss.org/community/wiki/WSSecurityConfig Things are even simpler as shown in these examples, put the jboss-wsse-server.xml and jboss-wsse-client.xml in their due places, and inform in the webServices EndpointConfig Server @ (configName = Standard Endpoint WSSecurity), finally make it as described in steps. It is my impression or have gaps in documentation? Such as the client side to call a particular service is only necessary to the xml file and inform the settings below: System.setProperty(org.jboss.ws.wsse.keyStore, E:/wsse/wsse.jks ); system.setProperty(org.jboss.ws.wsse.keyStorePassword, senha_client ); System.setProperty(org.jboss.ws.wsse.keyStoreType, jks ); System.setProperty(org.jboss.ws.wsse.trustStore, E:/wsse/wsse.csr ); System.setProperty(org.jboss.ws.wsse.trustStorePassword, senha_client ); System.setProperty(org.jboss.ws.wsse.trustStoreType, jks ); View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224385#4224385 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
My guess is the user has a mix and match of different versions on client and server side. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224386#4224386 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher
i'm sorry, i dont look at the good jar. it's ok, now i'll see if i could get my ejb with JBoss 5.0.1 GA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224388#4224388 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher
So thanks, it's ok! i can get my ejb, but now i have this exception: Exception in thread main javax.ejb.EJBException: java.lang.IllegalArgumentException: Wrong target. class thales_isr.bean.MissionBean for public thales_isr.pojo.mission.Mission thales_isr.bean.MissionBean.get(java.lang.String) | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:77) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:190) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(StatefulContainer.java:659) | at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:53) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) | Caused by: java.lang.IllegalArgumentException: Wrong target. class thales_isr.bean.MissionBean for public thales_isr.pojo.mission.Mission thales_isr.bean.MissionBean.get(java.lang.String) | at org.jboss.aop.joinpoint.MethodInvocation.handleErrors(MethodInvocation.java:151) | at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:126) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) | at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) | at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) | at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_16785420.invoke(InvocationContextInterceptor_z_fillMethod_16785420.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) | at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_16785420.invoke(InvocationContextInterceptor_z_setup_16785420.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) | at
[jboss-user] [Performance Tuning] - Re: when does java release commited memory back to the OS
Using the default collectors (CMS and G1 are different), GC does not take place until there is no room in the eden space (within the young generation) to allocate an object. The first thing the JVM does is determine if it needs to collect the old generation before it collects the young generation. The way the Sun JVM does this is it assumes the worst-case scenario that all objects currently occupying the young generation will survive the collection, and thus if the size of the young generation is less than the available space in the old generation, it collects the old generation first, and then the young generation (thus resulting in a full collection). Example using your settings and assuming the JVM starts with the min heap size. You are starting with: young gen: 125MB, old gen: 25MB Hmm, that is not good - the first collection might result in a full collection but the old gen is empty. My bet is that the heap will immediately be resized, so let's pick a better heap size, say 300MB, then we have: young gen: 125MB, old gen: 175MB Let's say that for the first minor collection 60MB of objects are placed into the old gen (usually not likely, but after several collections you could have that much space used). So now you have only 115MB of free space left in the old gen. The next collection will be a full collection (125MB young gen 115MB free old gen). Now let's assume the JVM does not adjust the heap size any more, and that there is always around 60MB of objects occupying the old gen. The result: every collection is a full collection. Now, if the JVM resizes the heap up to the 600MB max, you are in better shape. Then you have: young gen: 125MB, old gen: 475MB Not until the old gen contains 350MB of objects would the JVM do a major collection. Of course, if your working set size is 350MB then you will find yourself in the same boat again - major collection each time. Now in the above I have not taken the size of the survivor spaces into account, nor any fine tuning the that JVM does with heap sizing during each collection, or advances in newer JVMs (an early version of JDK5 was the last one I checked this on). You can easily monitor the exact behavior by turning on one of the GC statistics options. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224392#4224392 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Could not find new XAResource to use for recovering non-
Maybe the order wouldn't have affected you. But I would leave that alone just in case :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224393#4224393 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Problem with user authorization using JBM Bridge configuatio
Hi all I am trying to configure JBM Bridge here is my test configuration: jms-ds.xml: | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=JMSProvider | attribute name=ProviderNameDefaultJMSProvider/attribute | attribute name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute | attribute name=FactoryRefjava:/XAConnectionFactory/attribute | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute |/mbean | | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=SOClassRemoteJMSProvider | attribute name=ProviderNameSOClassRemoteJMSProvider/attribute | attribute name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute | !-- The combined connection factory -- | attribute name=FactoryRefjava:/XAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefjava:/XAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefjava:/XAConnectionFactory/attribute | attribute name=Properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=192.168.100.78:1099 | /attribute | /mbean | *-bridge-service ?xml version=1.0 encoding=UTF-8? | server | | mbean code=org.jboss.jms.server.bridge.BridgeService | name=jboss.jms:service=Bridge,name=SOClassBridge xmbean-dd=xmdesc/Bridge-xmbean.xml | depends optional-attribute-name=SourceProviderLoaderjboss.messaging:service=JMSProviderLoader,name=JMSProvider/depends | depends optional-attribute-name=TargetProviderLoaderjboss.messaging:service=JMSProviderLoader,name=SOClassRemoteJMSProvider/depends | dependsjboss.messaging.destination:service=Queue,name=SOClassCallbacks/depends | attribute name=SourceDestinationLookup/queue/SOClassCallbacks/attribute | attribute name=TargetDestinationLookup/queue/EllipseRequests/attribute | attribute name=SourceUsernameellipse/attribute | attribute name=SourcePasswordellipse123/attribute | attribute name=TargetUsernamesoclass/attribute | attribute name=TargetPasswordsoclass123/attribute | !-- Optional: The Quality Of Service mode to use, one of: |QOS_AT_MOST_ONCE = 0; |QOS_DUPLICATES_OK = 1; |QOS_ONCE_AND_ONLY_ONCE = 2;-- | attribute name=QualityOfServiceMode0/attribute | !-- | attribute name=Selectorspecify-jms-selector-here/attribute | -- | attribute name=MaxBatchSize5/attribute | attribute name=MaxBatchTime-1/attribute | !-- | attribute name=SubNamemysub/attribute | -- | !-- | attribute name=ClientIDmyClientID/attribute | -- | attribute name=FailureRetryInterval5000/attribute | attribute name=MaxRetries-1/attribute | attribute name=AddMessageIDInHeaderfalse/attribute | /mbean | | /server according my configs I want automatically forward messages from JMSProvider:/queue/SOClassCallbacks to SOClassRemoteJMSProvider:/queue/EllipseRequests. But I have problem with authorization, here is outputs with trace log level from JMSProvider: 16:50:38,446 TRACE [SecurityAspect] checking access permissions to JBossQueue[EllipseRequests] | 16:50:38,446 DEBUG [JBossASSecurityMetadataStore] No SecurityMetadadata was available for EllipseRequests, using default security config | 16:50:38,446 TRACE [SecurityMetadata] Adding role: Role {name=guest;read=true;write=true;create=true} | 16:50:38,446 TRACE [JBossASSecurityMetadataStore] authenticating user soclass | 16:50:38,447 TRACE [JBossASSecurityMetadataStore] authorizing user soclass for role(s) [guest] | 16:50:38,447 TRACE [JBossASSecurityMetadataStore] user soclass is NOT authorized | 16:50:38,447 WARN [Bridge] jboss.jms:name=SOClassBridge,service=Bridge Failed to send + acknowledge batch, closing JMS objects | javax.jms.JMSSecurityException: User: soclass is not authorized to write to destination EllipseRequests | at org.jboss.jms.server.container.SecurityAspect.check(SecurityAspect.java:312) | at org.jboss.jms.server.container.SecurityAspect.handleSendTransaction(SecurityAspect.java:190) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException with JBoss 5.0.0 GA and higher
anonymous wrote : at $Proxy2.remove(Unknown Source) | at thales_isr.test.Main.main(Main.java:495) | Could you please post the bean code and the client code? And is this EJB3 or EJB2.x? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224396#4224396 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
With the settings you posted, what is the highest IR you get without any errors? What is your hardware setup? Everything running on one box? Or multiple boxes? What is the size (RAM, CPU speed, number of cores) of each box? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224399#4224399 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: doubts about the JBOSSWS
Hi, I'm not sure to get what you mean exactly, anyway the documentation you should refer to for WS-Security is the following: http://jbossws.jboss.org/mediawiki/index.php?title=JAX-WS_User_Guide#WS-Security http://jbossws.jboss.org/mediawiki/index.php?title=WS-Security_options View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224401#4224401 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224401 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
I have one real Node per Role: Emulator: Intel E6600 @ 2.4 Ghz, 3.00 GB Database: Intel E6600 @ 2.4 Ghz, 3.00 GB Driver: Intel E8400 @ 3.0 Ghz, 3.25 GB Appserver: Intel E8400 @ 3.0 Ghz, 3.25 GB (every CPU has 2 cores) The highest IR I was able to achieve without errors was 20. (The next I tried was 30.) The GlassFish application server was able to perform an IR of 100 and more without any problems. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224406#4224406 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: ResourceException messages improve
Thanks, Jaikiran. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224408#4224408 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Problem with user authorization using JBM Bridge configu
One note also if I create EllipseRequests queue locally using following config: |mbean code=org.jboss.jms.server.destination.QueueService | name=jboss.messaging.destination:service=Queue,name=EllipseRequests | xmbean-dd=xmdesc/Queue-xmbean.xml | depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends | dependsjboss.messaging:service=PostOffice/depends | attribute name=SecurityConfig | security | role name=seamusers read=true write=true create=true/ | /security | /attribute |/mbean | |mbean code=org.jboss.jms.server.destination.QueueService | name=jboss.messaging.destination:service=Queue,name=EllipseCallbacks | xmbean-dd=xmdesc/Queue-xmbean.xml | depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends | dependsjboss.messaging:service=PostOffice/depends | attribute name=SecurityConfig | security | role name=seamusers read=true write=true create=true/ | /security | /attribute |/mbean | I have not authorization problem but it forward messages to locally created queue, not to remote one. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224409#4224409 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224409 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: java.lang.NoClassDefFoundError: net/sf/hibernate/Hiberna
The package names for Hibernate have changed - they are now org.hibernate instead of net.sf.hibernate. You will have to modify your applications and recompile them. Optionally, you could try defining a classloader repository and include the old hibernate JAR files with your app. See http://jboss.org/community/wiki/ClassLoadingConfiguration View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224410#4224410 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - JDBC Cache Loader always loads from DB
I'm using JBoss Cache 1.4.1 SP8 and JGroups 2.4.1 SP4 I've configured my cache with JDBC Cacheloader and I see that for each request the cache is loading from the DB inspite of the data residing in the cache. At what circumstances this might happen. The configuration i've used is | ?xml version=1.0 encoding=UTF-8? | | server | | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/ | | mbean code=org.jboss.cache.TreeCache | name=jboss.cache:service=TreeCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | attribute name=NodeLockingSchemePESSIMISTIC/attribute | | attribute name=IsolationLevelREAD_COMMITTED/attribute | | attribute name=CacheModeREPL_SYNC/attribute | | attribute name=UseInterceptorMbeanstrue/attribute | | attribute name=UseReplQueuefalse/attribute | | attribute name=ReplQueueInterval0/attribute | | attribute name=ReplQueueMaxElements0/attribute | | attribute name=ClusterNameCache-LABS/attribute | | attribute name=FetchInMemoryStatetrue/attribute | | attribute name=ClusterConfig | config | UDP mcast_addr=224.40.50.60 mcast_port=49977 | ip_ttl=64 ip_mcast=true | mcast_send_buf_size=15 mcast_recv_buf_size=20 | ucast_send_buf_size=15 ucast_recv_buf_size=20 | loopback=false bind_addr=114.94.99.351/ | PING timeout=2000 num_initial_members=3 | up_thread=false down_thread=false/ | MERGE2 min_interval=1 max_interval=2/ | FD shun=true up_thread=true down_thread=true / | FD_SOCK/ | VERIFY_SUSPECT timeout=1500 | up_thread=false down_thread=false/ | pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 | max_xmit_size=8192 up_thread=false down_thread=false discard_delivered_msgs=true/ | UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 | down_thread=false/ | pbcast.STABLE desired_avg_gossip=2 | up_thread=false down_thread=false/ | FRAG frag_size=8192 | down_thread=false up_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 | shun=true print_local_addr=true/ | pbcast.STATE_TRANSFER up_thread=true down_thread=true/ | /config | /attribute | | attribute name=SyncReplTimeout15/attribute | | attribute name=LockAcquisitionTimeout12/attribute | | attribute name=CacheLoaderConfiguration | config | passivationfalse/passivation | preload//preload | sharedtrue/shared | cacheloader | classorg.jboss.cache.loader.JDBCCacheLoader/class | properties | cache.jdbc.table.name=DBCACHE | cache.jdbc.table.create=false | cache.jdbc.table.drop=false | cache.jdbc.table.primarykey=jbosscache_pk | cache.jdbc.fqn.column=fqn | cache.jdbc.fqn.type=varchar(255) | cache.jdbc.node.column=node | cache.jdbc.node.type=blob | cache.jdbc.parent.column=parent | cache.jdbc.datasource=jdbc/basic | cache.async.batchSize=1 | cache.async.pollWait=100 | cache.async.returnOld=true | cache.async.queueSize=100 | cache.async.put=true | /properties |
[jboss-user] [Installation, Configuration DEPLOYMENT] - HTTP Status 400 - Invalid direct reference to form login pag
Hi evreybody, I need your help! I'm trying to integrate OpenKM, a jboss-based application, behind a revese-proxy managing SSO forward (i.e: manages users authentication once time and propagates authentication on secured applications). Here are some indications: OpenKM form login is composed of two fields : - one for username, j_username - one for password, j_password (- and one submit button with Login as default value) OpenKM form login action is /OpenKM/j_security_check Of course, direct login (i.e. without passing through reverse-proxy) works fine. Suppose I'm a trusted user (X.509 certificates checking validated) who is trying to connect to https://openkm.mycompany.com. Reverse-proxy authenticates me and then send itself my login/password for to protected OpenKM back-end sever, for example: john/doo. This last operation consits to send from the reverse-proxy a POST request to /OpenKM/j_security_check with j_username=johnj_password=doosubmit=Login Unfortunately reverse-proxy receives the following error: HTTP Status 400 - Invalid direct reference to form login page Then reverse-proxy is redirected to the authentication page. However authentication has succeeded since if I reload the authentication page (this one where I've been redirected) I'm redirected to OpenKM user interface and OpenKM works finally fine. (I hope I'm clear...) I ensure you I've got other secured applications behing the reverse proxy which work fine. So my questions are: - how to disable this behavior? Is there the possibility to fix my problem? - If yes, what files have to edit? With what parameters? (...) I thank you in advance for your help. Regards, John. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224412#4224412 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss Upgradation
In 4.2.x, the jbossweb-tomcat SAR was replaced with jboss-web.deployer, the server.xml file is in there. The second link I gave you has port binding configuration instructions for 4.x (works in 4.0.x and 4.2.x) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224414#4224414 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - ClientLoginModule and the mysterios another login module
Hi, the documentation http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html/The_JBoss_Security_Extension_Architecture-How_the_JaasSecurityManager_Uses_JAAS.html makes it clear: anonymous wrote : ClientLoginModule: This is the default client side module that simply binds the username and password to the JBoss EJB invocation layer for later authentication on the server. The identity of the client is not authenticated on the client. http://www.jboss.org/community/docs/DOC-9298anonymous wrote : If you need to perform client-side authentication of users you would need to configure another login module in addition to the ClientLoginModule. So in my case the authentication is done when the first SessionBean is accessed via its remote interface. Works perfect. Caveat: All LoginExceptions (e.g. account expired thrown by the server-side configured LoginModule get lost and a useless EJBAccessException is caught if the authentication fails. Question: What other mysterious LoginModule is needed so the server-side authentication is triggered when calling LoginContext.login() on the client-side? Is that even possible? Thanks a lot for any help, Ron View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224415#4224415 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Jboss 4.2.2 mem issue
What operating system? Based on the command line, the heap will never use more than 1/2GB, so the memory usage must be coming from some other place. One possibility is from the threads running - each thread uses memory (typically 1MB, but that all depends on the machine architecture and the OS). What have you done to monitor memory usage of the JVMs process? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224416#4224416 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: What is the definition of Node in treecache? Passive?
I don't see an obvious path of causation from the redeploy to the big eviction queue, not if your dependencies were as described. The cache would be fully started before the session factories were started; i.e. the cache should not have been exposed to requests while it was starting. A possibility is the way your app responded when it came back online -- tried to cache a lot of data in a big spurt rather than the more normal steady state. That would result in a temporary spike in the number of items in the eviction queue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224417#4224417 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying Jbpm BPEL with PostGres
Danush, as the stack trace and error message states, this is no data source problem. It is a problem with the JMS queue. What JDK and appserver versions are you using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224421#4224421 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: ResourceException messages improve
Thanks all! This will be very useful! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224422#4224422 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
(a), JBoss 5 does not create missing queues automatically as JBoss 4 did, so you need to deploy one yourself. You can follow this descriptor as example. (b) Hard to tell without a stack trace. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224425#4224425 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - guidelines for tuning MVCC's concurrencyLevel?
We're loading the following system: Hibernate 3.3.1.GA JBC 3.0.3.GA w/ invalidation_async as Transactional 2nd level cache (MVCC) JBossTM JTA 4.6.0.GA Tomcat 6 NIO sun JVM 1.6 Cache's read/write ratio is around 100:1 We're noticing the following problems: 1. heap consumption much higher than expected 2. average latency increases at the same rate as # of concurrent users (not much scale) I wonder whether #2 is affected by concurrencyLevel, currently set at 1000. If I understand correctly, increasing concurrencyLevel should decrease chances of lock contention and lock waiting times at the expense of memory. Correct? (our lockAcquisitionTimeout is set to 500ms, we retry tx up to 3 times on TimeoutException) If so, - is there a way to track average time spent waiting to acquire a lock? - is there a way to track percentage of lock acquisition attempts that have to wait at all? - are locks released at the end of Invocation or Transaction? - any guesstimate of memory/other implication is concurrencyLevel were to be changed from 1000 to 1? Any other hints on tuning JBC3/Hibernate perf @ concurrency? thanks -nikita View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224424#4224424 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: doubts about the JBOSSWS
hi alessio, you are sure that this documentation is complete. because I did all the steps and my example is in error. 09:51:31,250 ERROR [HandlerChainExecutor] Exception during handler processing org.jboss.ws.core.CommonSOAPFaultException: This service requires wsse:Security, which is missing. at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:264) at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:94) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39) at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142) at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97) at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:125) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:169) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) 09:51:31,250 ERROR [SOAPFaultHelperJAXWS] SOAP request exception org.jboss.ws.core.CommonSOAPFaultException: This service requires wsse:Security, which is missing. at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:264) at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:94) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39) at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142) at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97) at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:125) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:169) at
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException in remote EJB3.0 lookup from tomcat w
I am expiriencing a similar problem. Altought my exception is: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: uy.com.tpc.discount.servicios.DiscountServiceRemote (no security manager: RMI class loader disabled)] I believe the url and lookup name are OK since if I change it it gives another exception(Without the RMI thing) Also I read in a few places that with EJB3 you don't actually need the 'narrow' call. You can just lookup the interface without that extra step. I am not possitive on this but I've seen it in at least 3 different forums. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224429#4224429 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sample Hello BPEL Process Deployement Exception
There must be a log message before the exception that indicates why the web module could not be built. Please look for WARNs or ERRORs and post them. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224430#4224430 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: looking message value in table
Oks Using a QueueBrowser is work perfectly Tks for help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224431#4224431 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: EJB3 JDNI lookup error 'unexpected block data'
I am also having the same problem. Trying to acess a remote EJB3 deployed on Jboss from another Jboss same version so no jars needed in my case. Anybody has any clues on this ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224432#4224432 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Memory overhead per node?
I am trying to ballpark expected heap consumption per FQN in JBC3 w/ MVCC. At high level, what is the incremental amount of heap consumed when an additional node is stored in cache? Disregarding the size of cached object itself, AFAIK there are several addl objects created: Nodes, Node wrappers, etc. What is the additional memory cost of reading a Node? AFAIK the node state is copied into InvocationContext (but also in TransactionalContext)? Any rules of thumb to help approximate? thanks -nikita View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224434#4224434 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
Thanks a lot alex.. Here is the updated status a) Resolved by configuring the queues, do you advise using Jboss messaging instead of jboss:mq? b) was my good up with the hibernate tables not created, fixed it Now getting this exception, looking at it .. org.jbpm.JbpmException: ejb timer entity lookup problem | at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.getTimerEntityHome(EntitySchedulerServiceFactory.java:43) | at org.jbpm.scheduler.ejbtimer.EntitySchedulerServiceFactory.openService(EntitySchedulerServiceFactory.java:50) | at org.jbpm.svc.Services.getService(Services.java:150) | at org.jbpm.svc.Services.getSchedulerService(Services.java:192) | at org.jbpm.bpel.web.JbpmConfigurationLoader.contextInitialized(JbpmConfigurationLoader.java:55) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | 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:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | at
[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal
jsftest-object.xml | | ?xml version=1.0 encoding=UTF-8? | deployments | deployment | if-existsoverwrite/if-exists | parent-refmain/parent-ref | page | page-namejsftest-Home/page-name | | window | window-namejsftest-HelloPortletWindow/window-name | instance-refjsftest-HelloPortletInstance/instance-ref | regioncenter/region | height0/height | /window | /page | /deployment | | /deployments | | portlet-instances.xml | | ?xml version=1.0 encoding=UTF-8? | deployments | | deployment | if-existsoverwrite/if-exists | instance | instance-idjsftest-HelloPortletInstance/instance-id | portlet-refjsftest-HelloPortlet/portlet-ref | /instance | /deployment | | | /deployments | | portlet.xml | | ?xml version=1.0 encoding=UTF-8? | portlet-app | xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; | version=1.0 | | | portlet | portlet-namejsftest-HelloPortlet/portlet-name | portlet-classcom.test.PortletDefination/portlet-class | init-param | nameJSPPage/name | value/pages/hello.jsp/value | /init-param | init-param | namePageTitle/name | valueHeader/value | /init-param | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | portlet-info | /portlet-info | /portlet | | /portlet-app | | portletDefination.java | | package com.test; | | import java.io.IOException; | import javax.portlet.*; | | | public class PortletDefination extends GenericPortlet { | private String jspUrl = null; | private String jspTitle = null; | | public void init() throws PortletException { | super.init(); | jspUrl = getInitParameter(JSPPage); | jspTitle = getInitParameter(PageTitle); | System.out.println(init); | System.out.println(jspUrl +jspUrl); | System.out.println(jspTitle +jspTitle); | } | | protected void doView(RenderRequest rRequest, RenderResponse rResponse) | throws PortletException, IOException, UnavailableException { | rResponse.setContentType(text/html); | System.out.println(dovie); | PortletRequestDispatcher pRD = getPortletContext().getRequestDispatcher(jspUrl); | pRD.include(rRequest, rResponse); | rResponse.setTitle(jspTitle); | | } | } | | hello.jsp | | %@ page contentType=text/html% | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f% | %@ taglib uri=http://java.sun.com/jsf/html; prefix=h% | | h:form | TABLE cellSpacing=0 cellPadding=0 width=100% border=1 | TBODY | TR valign=top | TDJSFF PAGE/TD | TDh:graphicImage alt=GE imagination at work value=../images/globe.jpg width=100 //TD | /TR | /TBODY | /TABLE | /h:form | | error | | 22:41:08,088 INFO [FacesConfigurator] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSeri | alFactory | 22:41:08,098 INFO [StartupServletContextListener] ServletContext 'C:\jboss 4.0.5\server\default\.\deploy\JsfTest.war\' init | ialized. | 22:41:08,288 ERROR [AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=/JsfTest.jsftest-H | elloPortlet state=Create | org.jboss.portal.portlet.container.PortletInitializationException: The portlet jsftest-HelloPortlet threw a runtime exceptio | n during init | at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:285) | at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:72) | at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72) | at
[jboss-user] [JBoss jBPM] - Re: JBPM-BPEL active?
jBPM BPEL 1.1 is an extension to jBPM jPDL 3.2, which is going to be under full support till September 2009 and under maintenance till Sep 2010. Right now our efforts are focused on delivering jBPM 4, releases on the 3.2 branch are limited to distributing bug fixes and minor updates. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224440#4224440 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
Peter, Adding log4j.jar causes exception in the ConnectionFactory lookup which is before where the other exception happens. Exception in thread main java.lang.NoSuchFieldError: TRACE at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) I removed the log4j.jar and I have added verbose:class in my run command but the log doesn't show much insight for me: [Loaded org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateSessionDelegate_1027049 from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.client.container.SessionAspect from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.delegate.Ack from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded javax.jms.IllegalStateException from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded javax.jms.TransactionInProgressException from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.delegate.Cancel from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.client.state.HierarchicalStateSupport from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.client.state.SessionState from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.delegate.DeliveryInfo from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleCreateConnectionConsumer_1027049 from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded org.jboss.jms.client.remoting.ConsolidatedRemotingConnectionListener from file:/C:/JMSRemoteClient/lib/jbossall-client.jar] [Loaded sun.reflect.GeneratedMethodAccessor1 from __JVM_DefineClass__] Exception in thread main java.lang.NoClassDefFoundError: Could not initialize class org.jboss.remoting.util.TimerUtil at org.jboss.remoting.ConnectionValidator.start(ConnectionValidator.java:503) TimerUtil is in jboss-remoting.jar as well as jbossall-client.jar. I am not sure why the JVM couldn't find. (My JVM is 1.6. If I switch to 1.5, I get NoClassDefFoundError exception at the same place but without the message suggesting the missing class name). Tim, I think the client jar is the right version because I am able to use the same set of jars to connect to the JBM queue via Hermes. Not sure why a standalone java client would act any difference... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224441#4224441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sample Hello BPEL Process Deployement Exception
when i deploye jbpm-bpel.ear,i am geting below error server.log is java.sql.SQLException: Table already exists: JMS_TRANSACTIONS in statement [CREATE CACHED TABLE JMS_TRANSACTIONS] at org.hsqldb.jdbc.Util.throwError(Unknown Source) at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source) at org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeUpdate (CachedPreparedStatement.java:95) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate (WrappedPreparedStatement.java:251) at org.jboss.mq.pm.jdbc2.PersistenceManager.createSchema (PersistenceManager.java:355) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService (PersistenceManager.java:1796) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart (ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle (ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.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.jboss.system.ServiceController$ServiceProxy.invoke (ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.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.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 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.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 $Proxy42.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke (ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke (AbstractInterceptor.java:133) at
[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew
Also Manik, I've read this sentence in the clustering guide draft: It achieves this (readers that don't block writers, writers that fail-fast) by using data versioning and copying for concurrent writers. The theory is that readers continue reading shared state, while writers copy the shared state, increment a version id, and write that shared state back after verifying that the version is still valid (i.e., another concurrent writer has not changed this state first). I guess it refers to R_R behaviour ( and not R_C ), but again, is there any other reason (tx concurrency) to abort a transaction or restart it ?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224446#4224446 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Cannot run EAR seam project building from
It seems JBoss AS 4.2.3 have a faulty JSF implementation that causes some classloader problems. This is fixed in EAP 4.3 and JBoss 5. The suggested workaround for AS 4.2.3 from the seam team is to download the latest JSF implementation and replace it. JSF lives in server/default/deploy/jboss-web.deployer/jsf-libs/{jsf-api.jar, jsf-impl.jar}. Could you try that and let me know if that solves it for you ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224448#4224448 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Sample Hello BPEL Process Deployement Exception
I am able to open jbpm-bpel console even when i am geting error in server.log and Then when i try to build sample hello example ,sample hello example build sucessful but when i open process defination page its opeing fine and when i try to deploye hello.par fine i am geting below server error ,i am facing this problem from last 15 days pelase help me friends ,give some your best ideas 2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Snapshot select: /* get current state com.ibm.wsdl.PortTypeImpl */ select porttypeim_.id, porttypeim_.LOCALNAME_ as LOCALNAME2_61_, porttypeim_.NAMESPACE_ as NAMESPACE3_61_ from WSDL_PORTTYPE porttypeim_ where porttypeim_.id=? 2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Insert 0: /* insert com.ibm.wsdl.PortTypeImpl */ insert into WSDL_PORTTYPE (LOCALNAME_, NAMESPACE_, id) values (?, ?, ?) 2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Update 0: /* update com.ibm.wsdl.PortTypeImpl */ update WSDL_PORTTYPE set LOCALNAME_=?, NAMESPACE_=? where id=? 2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Delete 0: /* delete com.ibm.wsdl.PortTypeImpl */ delete from WSDL_PORTTYPE where id=? 2009-04-08 22:49:57,469 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Identity insert: /* insert com.ibm.wsdl.PortTypeImpl */ insert into WSDL_PORTTYPE (id, LOCALNAME_, NAMESPACE_) values (null, ?, ?) 2009-04-08 22:49:57,469 DEBUG [org.hibernate.cache.CacheFactory] instantiating cache region: org.jbpm.bpel.graph.def.Import usage strategy: nonstrict-read-write 2009-04-08 22:49:57,672 DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Static SQL for entity: org.jbpm.bpel.graph.def.Import 2009-04-0 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select begin [level=1, statement=select] 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromElement] FromClause{level=1} : org.jbpm.job.Timer (timer) - timer0_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer - timer0_.ID_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer - timer0_.ID_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : token - org.hibernate.type.ManyToOneType(org.jbpm.graph.exe.Token) 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] dereferenceShortcut() : property token in org.jbpm.job.Timer does not require a join. 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] terminal propertyPath = [token] 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer.token - timer0_.TOKEN_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer - timer0_.ID_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.DotNode] getDataType() : name - org.hibernate.type.stringt...@1a8c064 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.tree.FromReferenceNode] Resolved : timer.name - timer0_.NAME_ 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select : finishing up [level=1, statement=select] 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.HqlSqlWalker] processQuery() : ( SELECT ( {select clause} timer0_.ID_ ) ( FromClause{level=1} JBPM_JOB timer0_ ) ( where ( and ( = ( timer0_.TOKEN_ timer0_.ID_ token ) ? ) ( = ( timer0_.NAME_ timer0_.ID_ name ) ? ) ) ) ) 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.util.JoinProcessor] Using FROM fragment [JBPM_JOB timer0_] 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.ast.util.SyntheticAndFactory] Using WHERE fragment [timer0_.CLASS_='T'] 2009-04-08 22:50:03,407 DEBUG [org.hibernate.hql.antlr.HqlSqlBaseWalker] select end [level=1, statement=select] 2009-04-08 22:50:03,423 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST --- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224449#4224449 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying Jbpm BPEL with PostGres
I am trying to deploy jbpm-bpel.ear into Jboss 5.0.1EA app server with Oracle 10g environment. Here is the stacktrace i am getting. 10:40:13,770 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.4.0 10:40:13,804 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect 10:40:13,812 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory 10:40:13,815 INFO [NamingHelper] JNDI InitialContext properties:{} 10:40:13,817 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 10:40:13,819 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 10:40:13,819 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 10:40:13,819 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 10:40:13,819 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled 10:40:13,819 INFO [SettingsFactory] Automatic session close at end of transaction: disabled 10:40:13,820 INFO [SettingsFactory] JDBC batch size: 15 10:40:13,820 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled 10:40:13,821 INFO [SettingsFactory] Scrollable result sets: enabled 10:40:13,821 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled 10:40:13,821 INFO [SettingsFactory] Connection release mode: auto 10:40:13,823 INFO [SettingsFactory] Default batch fetch size: 1 10:40:13,823 INFO [SettingsFactory] Generate SQL with comments: enabled 10:40:13,823 INFO [SettingsFactory] Order SQL updates by primary key: disabled 10:40:13,823 INFO [SettingsFactory] Order SQL inserts for batching: disabled 10:40:13,823 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 10:40:13,827 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 10:40:13,827 INFO [SettingsFactory] Query language substitutions: {} 10:40:13,828 INFO [SettingsFactory] JPA-QL strict compliance: disabled 10:40:13,828 INFO [SettingsFactory] Second-level cache: enabled 10:40:13,828 INFO [SettingsFactory] Query cache: disabled 10:40:13,837 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge 10:40:13,837 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider 10:40:13,839 INFO [SettingsFactory] Optimize cache for minimal puts: disabled 10:40:13,839 INFO [SettingsFactory] Structured second-level cache entries: disabled 10:40:13,847 INFO [SettingsFactory] Statistics: disabled 10:40:13,847 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled 10:40:13,847 INFO [SettingsFactory] Default entity-mode: pojo 10:40:13,848 INFO [SettingsFactory] Named query checking : enabled 10:40:13,914 INFO [SessionFactoryImpl] building session factory 10:40:16,442 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 10:40:16,442 INFO [NamingHelper] JNDI InitialContext properties:{} 10:40:17,976 ERROR [[/jbpm-bpel]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.web.JbpmConfigurationLoader org.jbpm.JbpmException: could not retrieve message destination at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.getDestination(JmsMessageServiceFactoryImpl.java:86) at org.jbpm.msg.jms.JmsMessageServiceFactoryImpl.openService(JmsMessageServiceFactoryImpl.java:112) at org.jbpm.svc.Services.getService(Services.java:150) at org.jbpm.svc.Services.getMessageService(Services.java:186) at org.jbpm.bpel.web.JbpmConfigurationLoader.contextInitialized(JbpmConfigurationLoader.java:54) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:97) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
[jboss-user] [JBossWS] - Re: Deployment fails with 1.0.4 - NPE in DeployerInterceptor
Hi Everyone, I know am replying to an old post here. But just wanted to list it here for someone who might need help for similar errors that might be caused for a different reason. While troubeshooting, we stumbled upon similar error that was caused by misconfiguration. Before fix in all/conf/jboss-service.xml deploy,/opt/shared_data/snas/deploy After fix in jboss-service.xml deploy/,/opt/shared_data/snas/deploy/ If you observe, the comma immediatley after deploy and no / after /opt/shared_data/snas/deploy reproduced similar NullPointer Exception Cheers Jeljo View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224453#4224453 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: URGENT - Problem when deploying on jboss portal
Always look for the caused by clause of the first exception, that it the root cause. In this case, it is a class cast problem. I suspect that having a copy of portlet-api-lib.jar in your WAR file could cause this. Remove the portlet-api-lib.jar from your WEB-INF/lib directory; you don't need it because it already comes with JBoss Portal. If that does not work, let me know and I'll try your code myself. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224459#4224459 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224459 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Sending an Object from client (Swing) to Sever Remote (E
Didn't quite understand your previous post. How did you manage to get arround the access denied exception ? I am facing the same issue here. Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224460#4224460 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
You should be using jboss_home/client/log4j.jar. Looks like you are using an older version of log4j, before they added in trace level support. I am suspecting the the log4j.jar file bacause TimerUtil imports a class from there, and the error text is Could not initialize. This implies, to me, a missing dependency. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224461#4224461 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Publish on Build
I'm using whatever sort of project JBDS creates when a new Seam project is generatied. AFAIK this is a WTP-style project. So consider this a nice-to-have. Should I file a JIRA? -Chris View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224462#4224462 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss WS error while throwing fault code from method with ze
I am using JBoss 4.2.3 (Jboss WS 3.0.3) and have the following method exposed through the web service: @WebMethod public @WebResult(name = id) String start() throws WSException { try { ... ... } catch(Exception e) { throw new WSException (faultCode, Message : + e.getMessage()); } } The method takes no parameters as in input and returns a string. I am throwing a fault code to the client if there is any exception. However, I get the following error on the client side: env:Fault env:Server java.lang.NullPointerException /env:Fault Following is the stack trace: 15:03:15,794 ERROR [SOAPFaultHelperJAXWS] SOAP request exception com.neustar.ultra.api.webservice.exception.UltraWSException at com.neustar.ultra.api.webservice.UltraWebService.startTransaction(UltraWebService.java:89) 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166) at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:115) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:219) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:476) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at
[jboss-user] [JBossWS] - Re: doubts about the JBOSSWS
Hi, I added this bit of code in my client: ((StubExt) s).setConfigName(Standard WSSecurity Client); The error has change: 15:58:35,375 INFO [Reference] Verification successful for URI #element-7-1239217115328-33467208 15:58:35,375 INFO [Reference] Verification successful for URI #timestamp 15:58:35,375 ERROR [WSSecurityDispatcher] Internal error occured handling inbound message: org.jboss.ws.extensions.security.exception.FailedCheckException: Required elements for encryption and or signing are not all present. at org.jboss.ws.extensions.security.operation.RequireTargetableOperation.process(RequireTargetableOperation.java:96) at org.jboss.ws.extensions.security.SecurityDecoder.verify(SecurityDecoder.java:180) at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeHeader(WSSecurityDispatcher.java:140) at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:101) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39) at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:142) at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97) at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:125) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:169) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:474) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:595) 15:58:35,437 ERROR [HandlerChainExecutor] Exception during handler processing org.jboss.ws.core.CommonSOAPFaultException: Required elements for encryption and or signing are not all present. at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:264) at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:113) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:81) at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:39) at org.jboss.wsf.common.handler.GenericHandler.handleMessage(GenericHandler.java:53) at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:305)
[jboss-user] [JBoss Messaging] - JMS Exception - connectiion closed by JBoss
I cached the QueueConnection, QueueSession, and QueueSender on my application deployed as JBoss Service (sar); however, I got JMS Exception when I send the message if it has been idle for a period of time. In order words, if there??s no message send for a period of time, it seems JBoss will close the socket or connection. Here??s the stack trace: org.jboss.jms.exception.MessagingJMSException: Failed to invoke at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:205) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$send$aop(ClientSessionDelegate.java:477) at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) at org.jboss.jms.client.container.SessionAspect.handleSend(SessionAspect.java:661) at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect28.invoke(SessionAspect28.java) at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) at org.jboss.jms.client.delegate.ClientSessionDelegate$send_6145266547759487588.invokeNext(ClientSessionDelegate$send_6145266547759487588.java) at org.jboss.jms.client.delegate.ClientSessionDelegate.send(ClientSessionDelegate.java) at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:269) at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect39.invoke(ProducerAspect39.java) at org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java) at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) at org.jboss.jms.client.delegate.ClientProducerDelegate$send_396159801771796.invokeNext(ClientProducerDelegate$send_396159801771796.java) at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java) at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164) at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207) at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145) at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136) Caused by: java.lang.IllegalStateException: Cannot find object in dispatcher with id i-lo17t3tf-1-lf95t3tf-2zzng9-e1l3la at org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:101) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:572) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.remoting.Client.invoke(Client.java:536) at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) Wondering is there any parameters that I can configure to tell JBoss don??t close the socket/connection even no activity for long times. By the way, should QueueConnectiion, QueueSession and QueueSender be cached? Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224471#4224471 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
According to this post: http://lists.mysql.com/mysql/212112, try decreasing the max-connections in my.ini to 400 (or even 360 - that it the most connections you will make based on the *-ds.xml file setting). Also, monitor the thread count on the mysqld.exe process - this will give a rough idea of how many connections you have. Or you can use the MySQL Administrator to monitor the number of connections. I'm sure there is also a query you can run in the mysql command-line client to get this info, but I don't know the syntax offhand. Another thing to consider is the memory usage on the database node. Are you, by any chance, booting that system with the /3GB boot option? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224473#4224473 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Dynamic transitions??
Does jBPM support dynamic transitions. I have a process definition where each of the Node on 'error' transition goes to 'ERROR' node. Is it possible to have a dynamic outgoing transition on 'ERROR' node, say '$transition' value of which is determined during runtime and which returns back to the actual node the error has origniated from. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224479#4224479 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Cannog get BPM-BPEL on jBoss AS 5.0
Further update Got around the above error by removing the JbpmConfigurationLoader from the web.xml, it seems this was just for startup and would work otherwise as well, correct me if i am wrong | !-- listener | description | Loads and closes the jBPM configuration when the servlet context is initialized and | destroyed, respectively. | /description | listener-classorg.jbpm.bpel.web.JbpmConfigurationLoader/listener-class | /listener -- | Now deployment and create schema is fine, while running examples 1. again got xmlns problem in hello.war 2. Getting the following error, have tried create a jms destination with name caller | 13:07:32,062 ERROR [[/hello]] Exception sending context initialized event to listener instance of class org.jbpm.bpel.integration.server.IntegrationConfigurator | org.jbpm.bpel.BpelException: could not retrieve jms destination: caller | at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.lookupDestination(PartnerLinkEntriesBuilder.java:170) | at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.buildEntry(PartnerLinkEntriesBuilder.java:119) | at org.jbpm.bpel.integration.jms.PartnerLinkEntriesBuilder.visit(PartnerLinkEntriesBuilder.java:83) | at org.jbpm.bpel.graph.def.AbstractBpelVisitor.visit(AbstractBpelVisitor.java:47) | at org.jbpm.bpel.integration.jms.IntegrationControl.buildPartnerLinkEntries(IntegrationControl.java:418) | at org.jbpm.bpel.integration.jms.IntegrationControl.enableInboundMessageActivities(IntegrationControl.java:323) | at org.jbpm.bpel.integration.server.IntegrationConfigurator.contextInitialized(IntegrationConfigurator.java:63) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | 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:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at
[jboss-user] [JBoss Messaging] - Re: NoClassDefFound Exception connecting to JBM 1.4.0
Thanks Peter for the quick response. The log4j is from the client folder and it is apache version 1.2.14. Based on the following post, it should resolve the issue. http://lists.jboss.org/pipermail/jboss-user/2008-February/108795.html However, if I don't include log4j.jar, I do not get exception (java.lang.NoSuchFieldError: TRACE). What am I missing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224485#4224485 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Problems with SPECjAppServer2004
Actually I tried to set the max_connections count to 400 in the first place. But this led to errors on the JBoss stating that the pool could not be filled. So I increased it to 800 which worked fine. (At least for the startup of JBoss. And the preparation phase of the benchmark.) The overall thread count of the database node is about 560 when running the benchmark. Which is 60 threads more than in the idle state. This is the case even when I set the thread_cache_size to 2000. I think that I am not using the /3GB option. I don't even know what you mean by it ;) But actually I monitored for memory paging errors and RAM utilization and there is no problem. In addition as I mentioned before GlassFish had no problems with this configuration. So I think that the interaction of JBoss, MySQL and Windows are causing the problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224486#4224486 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Failed to Route Reference[message#]:RELIABLE to queue
It appears that the problem were due to mismatch on the jboss-messaging.jar libraries. The default and production branch versions work, but the all does not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4224487#4224487 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4224487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user