[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j Error
Hi, I'm trying to deploy a WAR file with it's own log4j.properties and log4j.jar. I have tried using the jboss-web.xml in the WEB-INF directory as shown below: ?xml version=1.0 encoding=UTF-8 ? | !DOCTYPE jboss-web PUBLIC | -//JBoss//DTD Web Application 4.2//EN | http://www.jboss.org/j2ee/dtd/jboss-web_4_2.dtd; | jboss-web | class-loading java2ClassLoadingCompliance=false | loader-repository | rfims:loader=rfims.war | loader-repository-config | java2ParentDelegation=false | /loader-repository-config | /loader-repository | /class-loading | /jboss-web But I keep getting the following error: 15:55:50,865 ERROR [STDERR] log4j:ERROR A org.jboss.logging.appender.FileAppender object is not assignable to a org.apache.log4j.Appender variable. | 15:55:50,865 ERROR [STDERR] log4j:ERROR The class org.apache.log4j.Appender was loaded by | 15:55:50,865 ERROR [STDERR] log4j:ERROR [org.jboss.mx.loading.unifiedclassload...@85097d{ url=file:/D:/jboss-4.2.2.GA/jboss-4.2.2.GA/server/default/tmp/deploy/tmp30919rfims-exp.war/ ,addedOrder=43}] whereas object of type | 15:55:50,865 ERROR [STDERR] log4j:ERROR org.jboss.logging.appender.FileAppender was loaded by [org.jboss.system.server.noannotationurlclassloa...@ab95e6]. | 15:55:50,865 ERROR [STDERR] log4j:ERROR Could not instantiate appender named FILE. Can anyone help? Thanks. BTW using jboss-4.2.2.GA View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250052#4250052 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [GPD] Duplication of tag and problems with the setting of pr
Good morning! I am not sure if this a bug so it's me again posting. I encountered the following problem. I was creating process definitions with the GPD component and I used an exlusive gateway and via the context menu I set a Handler Class for the gateway. Afterwards I was switching between the diagramm and source view to do some manual changes to the code like adding form-attributes to user tasks. After some switching between diagramm and source code I noticed a second handler tag within a decision. | decision g=208,176,48,48 name=hhk_decision | handler class=DecisionHHK / | handler class=DecisionHHK / | transition g=-51,-21 name=to_java1 to=hhk_java1/ | transition g=2,-25 name=to_java2 to=hhk_java2/ |/decision | Since I added the jPDL4-schema to the Eclipse catalogue the source code editor complained about this and marked the second line in red. I encountered this at least 3 times and I always had to remove the second tag manually. Should I fill an issue in JIRA? The second problem I encountered is that when I was trying to set properties of process elements in the process definition like task names the letters have been written from right to left. For example when typing my_task changed to ksat_ym. Should I fill an issue for this as well? I am using Eclipse 3.5.0 (Java EE) with JRE1.6.0_06 on Windows XP SP3. Thanks for your attention. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250053#4250053 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
I am using jbpm-4.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250054#4250054 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error in documentation regarding Implementation of DecisionH
If you write your own Decision Class which has to implement DecisionHandler the documentation tells you to implement a method called select(). | public class ContentEvaluation implements DecisionHandler { | | public String select(OpenExecution execution) { | String content = (String) execution.getVariable(content); | if (content.equals(you're great)) { | return good; | } | if (content.equals(you gotta improve)) { | return bad; | } | return ugly; | } | } | When I created my own class DecisionHandler made me implement a method called decide(). I think this an error in the docs and so it should be like this: | public class ContentEvaluation implements DecisionHandler { | | public String decide(OpenExecution execution) { | String content = (String) execution.getVariable(content); | if (content.equals(you're great)) { | return good; | } | if (content.equals(you gotta improve)) { | return bad; | } | return ugly; | } | } | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250057#4250057 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: weired problem method gets call twice!!
I'm also getting the same issue. did u get out of this weird problem? If yes, please help me... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250059#4250059 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250059 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Can't get JBoss to use custom loadbalancer
Hi, did u get solution to this? Even i am facing the same problem. I have clustered stateless beans [EJB 3.0] in my application. In my clustered deployment, all calls to the beans originated within the server VM are handled by the beans from the same server node only although there are beans avaialable freely in other node and the load balance policy is round robin. Please let me know how u resolved ur problem. thanks, Kedar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250060#4250060 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB 3.0 load balancing not working in a Jboss AS 5.1 cluster
Hi, I am using Jboss AS 5.1 GA. I have built a clustered deployment of my EJB 3.0 Stateless Session beans. I have two nodes node 1 and node 2. Beans are marked as clustered in jboss.xml with load balance policy 'RoundRobin'. My problem, the beans are no balancing the load whenever a call to bean is made from server VM. For instance, POJO's from node 1 make a bean call and they are served by beans in node 1 only. Even though there are free beans available in node 2, they are never routed to node 2. Can you please tell me why this is happening? Do I need to write my own load balancing interceptor or something? thanks in advance, regards, Kedar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250062#4250062 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
I think this most likely will be more an AS specific question than tooling but since i'm curious please attach part of the log just before and the first couple of lines the restart occurs. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250063#4250063 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean
This is all true for EJb clients running outside the server VM. what happens for EJB clients within a server node VM? Are those calls load balanced across multiple nodes within a cluster? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250064#4250064 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
Hallo, when I was trying to set properties of process elements in the process definition like task names the letters have been written from right to left. I have got the same problem I sometimes encounter it also when editing xml or html files with eclipse, do not know if there is a link between the two issues -- Nicolas View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250067#4250067 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule failing after success?...confu
Hi, I don't see an error in your config. Does it work without SSL and without the virtual host? One thing I noticed: your web.xml is 2.4, your application.xml even 1.3. Please update both to the most recent JavaEE version: web.xml 2.5 and application.xml 1.5. Maybe this mixture of versions confuses JBoss. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250068#4250068 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Still getting Response Timed out when setting to LOCAL mode.
hi all, Are you able to help me with this? I've set CACHEMODE=LOCAL to stop tree cache from replicating as we were getting a lot of ReplicationExceptions. This is my treecache.cml file ?xml version=1.0 encoding=UTF-8? !-- = -- !-- -- !-- Sample TreeCache Service Configuration -- !-- -- !-- = -- !-- -- !-- Defines TreeCache configuration -- !-- -- jboss:service=Naming jboss:service=TransactionManager !-- TransactionManager configuration not required for Hibernate! -- !-- Node isolation level : SERIALIZABLE REPEATABLE_READ (default) READ_COMMITTED READ_UNCOMMITTED NONE -- REPEATABLE_READ !-- Valid modes are LOCAL REPL_ASYNC REPL_SYNC -- LOCAL !-- Name of cluster. Needs to be the same for all clusters, in order to find each other -- TreeCache-Cluster !-- JGroups protocol stack properties. Can also be a URL, e.g. file:/home/bela/default.xml -- !-- UDP: if you have a multihomed machine, set the bind_addr attribute to the appropriate NIC IP address -- !-- UDP: On Windows machines, because of the media sense feature being broken with multicast (even after disabling media sense) set the loopback attribute to true -- UDP mcast_addr=228.1.2.3 mcast_port=45566 ip_ttl=64 ip_mcast=true mcast_send_buf_size=15 mcast_recv_buf_size=8 ucast_send_buf_size=15 ucast_recv_buf_size=8 loopback=false/ 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/ VERIFY_SUSPECT timeout=1500 up_thread=false down_thread=false/ pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 up_thread=false down_thread=false/ pbcast.STABLE desired_avg_gossip=2 up_thread=false down_thread=false/ UNICAST timeout=600,1200,2400 window_size=100 min_threshold=10 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=false down_thread=false/ !-- Max number of entries in the cache. If this is exceeded, the eviction policy will kick some entries out in order to make more room -- 2 !-- The max amount of time (in milliseconds) we wait until the initial state (ie. the contents of the cache) are retrieved from existing members in a clustered environment -- 2 !-- Number of milliseconds to wait until all responses for a synchronous call have been received. -- 1 !-- Max number of milliseconds to wait for a lock acquisition -- 15000 !-- Max number of milliseconds we hold a lock (not currently implemented) -- 6 !-- Name of the eviction policy class. Not supported now. -- However I'm still getting this error in the logs. at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code)) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled Code)) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java(Compiled Code)) at
[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu
Hi, which JBoss version do you use? In JBoss 4.2, the @SecurityDomain annotation was in package org.jboss.annotation.security, while for 5.0, it is in org.jboss.ejb3.annotation. Does your source code compile against the correct jboss version and import the correct packages? Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250070#4250070 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Thanks Ronald. I'll look in to this and I will give that a try. M View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250072#4250072 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250072 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Error
Hi, I think you should post the entire exception here ;-), and also: when does the error happen (on deploy, on login)? Please post snippets of the security config. Doing a bit of google with your error message, I found this: http://www.jboss.org/index.html?module=bbop=viewtopict=151883 Maybe the Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250074#4250074 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - extending tasks
Hi, We are currently converting our application from jbpm3 to jbpm4. In the old version, we extended the TaskInstance with some extra properties by registring our own TaskFactory in the jbpm config file and extending the hibernate mapping for TaskInstance. How is this possible in jbpm4? Is there something like a TaskFactory we can overrule in the configs? Wkr, Sofie View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250076#4250076 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
Yes, file a jira issue (or two). The source editing makes use of what eclipse provides, so if it also happens there now and then, it might indeed be related View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250077#4250077 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Oracle, datasources and hibernate.default_schema
I'm using hibernate inside JBoss with an Oracle datasource. Usually when I do JDBC queries against the datasource it uses the schema as defined in the -ds.xml. But with hibernate I have to add the hibernate.default_schema property in persistence.xml too: | persistence-unit name=jpaPersistence | jta-data-sourcejava:/MainDS/jta-data-source | ... | properties | property name=hibernate.default_schema value=guy / | ... | I've got a set up where the schema changes a lot between environments and ususally I can change the -ds.xml in deploy/ and that's all that needs doing. However with hibernate have to change the persistence.xml file inside the EAR too - I want to avoid have to change the EAR file if I can help it. I was wondering if there was a way of making hibernate pick up the default schema from the datasource? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250078#4250078 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250078 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
in 3 it was decide, in 4 select. Can it be you imported the wrong decisionhandler interface? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250079#4250079 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBM2 Beta4 with JBAS5.1 - Missing JAR jbm-jms-api.jar?
Bit confused. Can anyone clarify? The manual http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta4/html/client-classpath.html#d0e1097 refers to jbm-jms-api.jar yet the Beta4 bundle contains jboss-jms-api.jar. The config/jboss-as/build.xml which we use to patch JBM2 into JBAS5 only copies files: | copy todir=${dest.dir}/lib | fileset dir=${lib.dir} | include name=jbm-*.jar/ | include name=netty*.jar/ | /fileset | /copy | So we don't get a JAR with javax.jms patched into JBAS5! Is the file jboss-jms-api.jar named incorrectly or does the copy target (above) need changing to include this file? wdyt? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250084#4250084 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250084 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Class loading conflict
Hi Ales Using the same domains in the riftsaw.esb and sar worked fine, but introduced another problem when I deployed some ESB examples that depended upon the action I had defined in the riftsaw.esb, and I don't think it would be a good idea for me to set the domain inside the ESB example to be based on riftsaw, as an ESB service in reality maybe using a number of other thirdparty custom ESB actions - and I assume it cannot be part of multiple domains? So I thought it best to outline the overall scenario, to see whether there is a good overall solution, rather than presenting the side effects of each individual change as I have currently being doing. 1) The riftsaw.sar, which had the original jar conflict, is not dependent upon JbossESB. It does however have some interfaces that need to be used externally. 2) If the JBossESB integration is being used, then currently there is a single BPEL invoke action that needs to access the interface from the riftsaw.sar 3) Other ESB services - that may need to use the BPELInvoke action. Currently ESB services don't need to do anything specific in their configuration to pick up ESB actions defined in other .esb modules - so either this approach needs to continue, or an approach needs to be used that would enable the ESB example to reference multiple ESB actions potentially defined in different isolation domains. Hope this gives a clearer outline of the dependencies and what we are wanting to achieve. Regards Gary View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250085#4250085 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250085 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
First issue: https://jira.jboss.org/jira/browse/GPD-371 Second one: https://jira.jboss.org/jira/browse/GPD-372 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250088#4250088 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250088 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JBM2 Beta4 with JBAS5.1 - Missing JAR jbm-jms-api.jar?
simon_temple wrote : Bit confused. Can anyone clarify? | | The manual http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/usermanual-2.0.0.beta4/html/client-classpath.html#d0e1097 refers to jbm-jms-api.jar yet the Beta4 bundle contains jboss-jms-api.jar. | there is a typo in the doc, the correct file name is jboss-jms-api.ar. I'll fix it. We provide this file for convenience so that JMS *clients* can use JBoss Messaging without downloading a separate jar for the JMS API. When you bundle JBM2 in JBoss AS, you don't need to copy this jar as JBoss AS already has all the Java EE API (including JMS). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250090#4250090 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
| import org.jbpm.api.jpdl.DecisionHandler; | I added the jBPM User Libraries to my project and used Eclipse's QuickFix to generate the imports. Is this the old one? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250092#4250092 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss does not reconnect after mysql-server restart
Hello, I am using JBoss 4.2.2, mysql-connector-java-5.1.5 and mysql-server 5.1. I sometimes have to restart my mysql-server (/etc/init.d/mysql restart). However, when I do this, JBoss does not reconnect. I get com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure. My question: How can I configure JBoss to automatically reconnect when I manually restart my mysql-server? Here is my mysql-ds.xml configuration: | local-tx-datasource | jndi-namemeetings/jndi-name | connection-urljdbc:mysql://localhost:3306/meetings/connection-url | driver-classcom.mysql.jdbc.Driver/driver-class | user-nameuserame/user-name | passwordpassword/password | valid-connection-checker-classnameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-classname | metadata | type-mappingmySQL/type-mapping | /metadata | /local-tx-datasource | I have also tried to use the reconnect property in mysql-ds.xml, however with no success connection-property name=autoReconnecttrue/connection-property Besides, In the documentation I have read not to use this. Please help. I need the database-connection to be reconnected after the mysql-server restart. Regards, Walter View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250094#4250094 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB Pool Settings
use minSession , maxSession activation config properties View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250100#4250100 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
I hope this works | 009-08-18 01:44:57,227 INFO [org.hibernate.impl.SessionFactoryObjectFactory] (HDScanner) Factory name: persistence.unit:unitName=#xeric | 2009-08-18 01:44:57,231 INFO [org.hibernate.util.NamingHelper] (HDScanner) JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2009-08-18 01:44:57,240 INFO [org.hibernate.impl.SessionFactoryObjectFactory] (HDScanner) Bound factory to JNDI name: persistence.unit:unitName=#xeric | 2009-08-18 01:44:57,241 WARN [org.hibernate.impl.SessionFactoryObjectFactory] (HDScanner) InitialContext did not implement EventContext | 2009-08-18 01:44:57,266 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) Running hbm2ddl schema update | 2009-08-18 01:44:57,267 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) fetching database metadata | 2009-08-18 01:44:57,272 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) updating schema | 2009-08-18 01:44:57,277 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] (HDScanner) schema update complete | 2009-08-18 01:44:57,281 INFO [org.hibernate.util.NamingHelper] (HDScanner) JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2009-08-18 01:44:57,340 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (HDScanner) deploy, ctxPath=/xeric | 2009-08-18 01:44:57,522 INFO [javax.enterprise.resource.webcontainer.jsf.config] (HDScanner) Initializing Mojarra (1.2_12-b01-FCS) for context '/xeric' | 2009-08-18 01:45:02,210 INFO [javax.servlet.ServletContextListener] (HDScanner) Welcome to Seam 2.0.2.SP1 | 2009-08-18 01:45:06,088 INFO [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (HDScanner) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled. | 2009-08-18 01:45:06,090 INFO [org.hibernate.util.NamingHelper] (HDScanner) JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2009-08-18 01:45:06,090 INFO [org.hibernate.connection.DatasourceConnectionProvider] (HDScanner) Using datasource: java:/xericDatasource | 2009-08-18 01:45:06,091 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) RDBMS: PostgreSQL, version: 8.4.0 | 2009-08-18 01:45:06,091 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.3 JDBC4 with SSL (build 604) | 2009-08-18 01:45:06,091 INFO [org.hibernate.dialect.Dialect] (HDScanner) Using dialect: org.hibernate.dialect.PostgreSQLDialect | 2009-08-18 01:45:06,092 INFO [org.hibernate.transaction.TransactionFactoryFactory] (HDScanner) Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 2009-08-18 01:45:06,092 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] (HDScanner) instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup | 2009-08-18 01:45:06,093 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] (HDScanner) instantiated TransactionManagerLookup | 2009-08-18 01:45:06,093 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Automatic flush during beforeCompletion(): disabled | 2009-08-18 01:45:06,093 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Automatic session close at end of transaction: disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) JDBC batch size: 15 | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) JDBC batch updates for versioned data: disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Scrollable result sets: enabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) JDBC3 getGeneratedKeys(): disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Connection release mode: auto | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Default batch fetch size: 1 | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Generate SQL with comments: disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Order SQL updates by primary key: disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Order SQL inserts for batching: disabled | 2009-08-18 01:45:06,094 INFO [org.hibernate.cfg.SettingsFactory] (HDScanner) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 2009-08-18 01:45:06,095 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (HDScanner) Using
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
this looks like being just in the middle of the restart. maybe better if you open a jira and attach a more complete log output there ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250108#4250108 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: SecurityAssociation.threadSubjectStacks leaks when Timer
https://jira.jboss.org/jira/browse/EJBTHREE-1891 Requested EJB3 folks to have a look. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250110#4250110 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250110 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Basic HTTP authentication for WSDL (using JAAS LoginModu
Thanks for your reply Wolfgang. I'm using JBoss 4.2.3. In our seam application, we use the following jboss dependency: | dependency | groupIdorg.jboss.embedded/groupId | artifactIdjboss-embedded/artifactId | versionbeta3/version | typepom/type | /dependency | And yes, we do use the org.jboss.annotation.security package for the SecurityDomain annotation. Any other ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250112#4250112 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
It is just a few lines before deployment, the lines between deployment and automatic undeployment and a few lines of undeployment. My problem is to check what really happens. I can not see any error message in the whole file. Birt 2.5 Webviewer works fine, my seam application works fine, but it seems the combination causes this redeployment. Where should I open the jiira. Don't know, is this a Jboss AS Problem? Or can it be something in the deployment descriptor, like web.xml or something View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250113#4250113 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Still getting Response Timed out when setting to LOCAL m
Any chance of upgrading to something more modern? I'm about to cut 3.2.0.GA this week. :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250114#4250114 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Error raised when deploying application
Hi guys, I am trying to deploy a EJB application in JBoss 5.1.0 GA application server and i get the following error: **ERROR* 13:55:34,609 ERROR [ProfileDeployAction] Failed to add deployment: Demo.ear org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(Demo.ear) at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:85) at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(MainDeployerImpl.java:1004) at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeploymentContext(MainDeployerImpl.java:440) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:390) at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainDeployerImpl.java:300) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.addDeployment(MainDeployerAdapter.java:86) at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:61) at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) 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.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Thread.java:595) *** I have successfully deployed it on JBoss 4.2.3 GA application server. I appreciate if someone can let me know what exactly is the problem and suggest a solution for this. Regards, Sri. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250115#4250115 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250115 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
I am creating a variable and starting the process by providing these variables on startup. | MyObject myObject = new MyObject(); | myObject.setName(a name to set); | | variables.put(myObj, myObject); | | ProcessInstance processInstance = executionService.startProcessInstanceByKey(process, variables); | The workflow calls the class which implements the ActivityBehaviour interface. | custom name=validate class=org.tlg.workflow.AlterObject exp=#{anObj} | transition g=-27,-18 name= to=end/ |/custom | Now unfortunately this is where I become stuck. In AlterObject class I cast the object back and amend details. | MyObject myObject= (MyObject )execution.getVariable(anObj); | myObject.setName(A different name); //name should change | execution.setVariable(myObj, myObject); | Going back to my Junit I want to ensure them changes have taken effect. If I use the processInstanceId that kicked off the workflow the process has ended already, and if I use the existing hashmap to get the variable I have just set, I get the old value set in the object. Is my workflow implementation correct for what I am trying to do? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250116#4250116 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss WS-Eventing vs JMS-Topic
Hi there, I'm planning to implement a data-mining/analysis application (using WS-Eventing framework), which would get some data from a number of third party providers and analyse it. I'm assuming my analysis application would be an Event Consumer (sink) WS-Client, which would subscribe to Event Producer(source), responsible for third party data providers? Do you think my understanding is correct at this stage? Actually, my scenario is that I have a number of clients to whom we're sending some requests and in return getting some response. So in nut-shell what i'm looking for is a kind of analysis application, through which I can monitor what was sent to which client and what I got in response(success, error, warning etc etc). So do you think that with the help of WS-Eventing framework I can take care of the above scenario? Secondly, I have also read about JMS-Notification framework similarly based upon Producer-Subscriber design pattern. So can anybody suggest, which one is more robust and beneficial over the other? One good reason I can think about WS-Eventing framework is that the communication is going to be in the form of SOAP, so Event-Consumer endpoint can be implemented in any language be it php, c#, asp etc etc. In-case of JMS-Notification, it is going to be Java dependent. Is this assumption true and what other reasons there can be to give preference to WS-Eventing over JMS-Notification? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250117#4250117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250117 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error raised when deploying application
It might be a matter of deployment descriptors. JBoss 5 is stricter on validating them. My guess: try replacing the application tag (in application.xml) with the following: application xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd; | version=5 if not, post all your deployment descriptors and we'll try to find the issue. regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250118#4250118 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: Searching JAR for
1) Download example codes from http://docs.jboss.org/jbossas/jboss4guide/r1/jboss4guide.zip 2) unzip and to go \examples\src\main\org\jboss\util\ChapterExRepository.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250119#4250119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss WS-Eventing vs JMS-Topic
Sorry for the type in my previous message, from JMS-Notification i meant JMS-Topic framework. sbutt wrote : Hi there, | I'm planning to implement a data-mining/analysis application (using WS-Eventing framework), which would get some data from a number of third party providers and analyse it. | | I'm assuming my analysis application would be an Event Consumer (sink) WS-Client, which would subscribe to Event Producer(source), responsible for third party data providers? Do you think my understanding is correct at this stage? | | Actually, my scenario is that I have a number of clients to whom we're sending some requests and in return getting some response. So in nut-shell what i'm looking for is a kind of analysis application, through which I can monitor what was sent to which client and what I got in response(success, error, warning etc etc). | | So do you think that with the help of WS-Eventing framework I can take care of the above scenario? | | Secondly, I have also read about JMS-Notification framework similarly based upon Producer-Subscriber design pattern. So can anybody suggest, which one is more robust and beneficial over the other? | | One good reason I can think about WS-Eventing framework is that the communication is going to be in the form of SOAP, so Event-Consumer endpoint can be implemented in any language be it php, c#, asp etc etc. | | In-case of JMS-Notification, it is going to be Java dependent. Is this assumption true and what other reasons there can be to give preference to WS-Eventing over JMS-Notification? | | Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250120#4250120 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Replacing ChapterExRepository by std. ClassLoader possib
1) Download example codes from http://docs.jboss.org/jbossas/jboss4guide/r1/jboss4guide.zip 2) unzip and to go \examples\src\main\org\jboss\util\ChapterExRepository.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250121#4250121 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [jBPM4] Deploying on JBoss AS 4.2.3 with JBoss Messaging (In
Hi all, I'm trying to deploy jBPM4 on JBoss AS 4.2.3 with the demo.setup and the help of http://www.jboss.org/index.html?module=bbop=viewtopict=157617 from the forum. All goes well, nevertheless when I try to change the messaging platform from MQ to JBM by following the instructions in JIRA SOA-1338 that is changing the /jbpm-destinations-service.xml file I get the error(?): ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- org.jboss.deployment.deploymenti...@8309ab43 { url=file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-enterprise.jar/ } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-enterprise.jar/ altDD: null lastDeployed: 1250590279734 lastModified: 1250522674248 mbeans: --- Incompletely deployed packages --- org.jboss.deployment.deploymenti...@8309ab43 { url=file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-enterprise.jar/ } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-enterprise.jar/ altDD: null lastDeployed: 1250590279734 lastModified: 1250522674248 mbeans: I can't understand whats the origin of the problem because there is no exception or error message besides this, I have already seen the log in Debug mode and didn't see anything, can you guys help? I'm also using JBoss ESB 4.6 in this JBoss AS, is the error related? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250123#4250123 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: can't find org.jboss.util.ChapterExRepository
1) Download example codes from http://docs.jboss.org/jbossas/jboss4guide/r1/jboss4guide.zip 2) unzip and to go \examples\src\main\org\jboss\util\ChapterExRepository.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250122#4250122 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process Deployment Issue
Hi! all I'm developing a test application using hibernate to store data into my database (mysql) and I'm facing the following problem: 6:11:21,067 FATAL [application] java.lang.ExceptionInInitializerError javax.faces.el.EvaluationException: java.lang.ExceptionInInitializerError at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) at javax.faces.component.UICommand.broadcast(UICommand.java:383) at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184) at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162) at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:278) at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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:179) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 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:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ExceptionInInitializerError at jsfHello.HibernateUtil.(HibernateUtil.java:18) at jsfHello.hibernatetest.createTable(hibernatetest.java:16) 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.apache.el.parser.AstValue.invoke(AstValue.java:131) at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77) ... 31 more Caused by: org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1494) at org.hibernate.cfg.Configuration.configure(Configuration.java:1428) at org.hibernate.cfg.Configuration.configure(Configuration.java:1414) at jsfHello.HibernateUtil.(HibernateUtil.java:14) ... 40 more Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory at org.dom4j.io.SAXReader.read(SAXReader.java:484) at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1484) ... 43 more 16:11:21,067 WARN [lifecycle] #{hibernatetest.createTable}: java.lang.ExceptionInInitializerError javax.faces.FacesException: #{hibernatetest.createTable}: java.lang.ExceptionInInitializerError at
[jboss-user] [Installation, Configuration DEPLOYMENT] - How hot redeployment works
Hi, I'm trying to understand how hot redeployment works. I'm using JBoss 4.2.0 I've read the followings: -- - http://www.jboss.org/community/wiki/ClassLoadingConfiguration - http://www.jboss.org/community/wiki/jbossclassloadingusecases - JBoss Administration And Development Guide chapter 3 From The JBoss Administration And Development Guide: - 3.2.2.4.2. Scoping Classes If you need to deploy multiple versions of an application you need to use deployment based scoping. With deployment based scoping, each deployment creates its own class loader repository in the form of a HeirarchicalLoaderRepository3 that looks first to the UnifiedClassLoader3 instances of the deployment units included in the EAR before delegating to the default UnifiedLoaderRepository3. And now to the question: Does it mean that whenever JBoss identifies that my EAR has changed it creates a new HeirarchicalLoaderRepository3 and a new UCL for it and from now on new requests will be sent to the new deployed EAR? Is there any document / article that describes this process in depth? Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250129#4250129 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Class loading conflict
I can currently think of two solutions. (1) Still put all ESB examples in the same domain as RiftSaw, with parent being DefaultDomain and perhaps parent-first=true Don't see why this would be a problem? Or why would you need multiple domains? Their parent is DefaultDomain, hence they see all what default stuff sees. (2) Be OSGi exact Split / extract the conflicting jar into separate deployment, and give it proper jboss-classloading.xml e.g. readable module name + *proper* version Do the same with its updated version. Then simply reference the right exact module, whereas you don't need to define any separate domains. It's definitely more work, plus you need to wrap existing external jars, but this is a known OSGi issue - see SS's huge effort of creating proper repository. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250131#4250131 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: persistence-context-ref always yields same object instan
jaikiran wrote : anonymous wrote : Whether I do the JNDI lookup multiple times right after each other in the same method, or test what the JNDI lookup returns in multiple simultaneous requests, the result is always an object instance with the same ID (e.g. org.jboss.jpa.tx.transactionscopedentitymana...@d78f1b). | | Hmm, i would have expected it to return different instances in the multiple simultaneous requests usecase. | Me too. What I more precisely did was the following simple test: 1) Put the simple above shown code in a ServletFilter I happened to have on my screen that requested the EM out of JNDI. 2) Added a break-point to it, requested a page being filtered, inspected the identity of the instance using the Eclipse debugger. 3) While the request thread was still being suspended, I did a new request (for the same page) in a second tab of the same browser. 4) Observed the break-point was being hit again, but now in another thread and confirmed that the identity of the instance was the same one as was returned for the currently suspended thread. If there is anything else you'd like me to test, please let me know. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250133#4250133 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
nope the new one and I just now see the method signature uses the OpenExecution so I think it is an inconsistency in the docs as well. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250139#4250139 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error raised when deploying application
Hi Marc, Thanks for the reply. I have replaced my application.xml as you have suggested. But the error is still raised. Below is the snapshot of my application.xml as you have asked. | ?xml version=1.0 encoding=UTF-8? | application xmlns=http://java.sun.com/xml/ns/javaee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd; | version=5 | javaee:descriptionDemo Project/javaee:description | javaee:display-nameDemo/javaee:display-name | | module | ejbAuthorityLevel.jar/ejb | /module | module | ejbContacts.jar/ejb | /module | | module | javapostgreSQL-ds.xml/java | /module | /application | I appreciate your help regarding this. Regards, Sri. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250140#4250140 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
show your process View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250142#4250142 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
better, show the whole unit test. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250144#4250144 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - How do you get the superclass from the Invocation object?
I think I should show you a simple example code: | | public class A{ | @InterceptMe | public void sayHello(){ | System.out.println(hello); | } | } | | public class B extends A{ | @InterceptMe | public void sayHello(){ | super.sayHello(); | System.out.println(foo); | } | } | | jboss-aop.xml | | aop | bind pointcut=execution(* *-@aop.InterceptMe(..)) |interceptor class=aop.TheInterceptor scope=PER_VM/ | /bind | /aop | | Ok, so basically every method with the InterceptMe Annotation ist intercepted by TheInterceptor (great name isnt it? ^^). In this Interceptor every method ist called again with reflection (doesnt make much sense in this example, but for my project). Now the problem is, that if super.sayHello() is called, the Invocation class does still give me class B if I call myInvocation.getTargetObject(). This is a problem when invoking the method with reflection (method is invoked on the wrong class B instead of class A). Any idea how I can get the superclass? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250145#4250145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: How do you get the superclass from the Invocation object
If the target is an instance of B, there is nothing you can do to call A's method instead if it is overridden by B. The super.sayHello() becomes an invokespecial bytecode instruction rather than the normal invokevirtual/invokeinterface, which I guess the jvm takes to mean calling the actual method specified rather than the lowest which is the normal behaviour. So, from your point of view I don't think there is much that can be done. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250148#4250148 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error raised when deploying application
Why are you declaring the Datasource into application.xml ? It should be in jboss-app.xml : for example: jboss-app | | module |servicemyapp-ds.xml/service | /module | | /jboss-app Place this jboss-app.xml in the META-INF folder of your EAR. And place the -ds.xml at the root of the EAR. hope it helps Francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250149#4250149 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: JSESSIONID
I believe you can specify the domain to use in the server.xml. One of the valves that does the cookie/session management has an attribute which can be set. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250151#4250151 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Assign default portal to a user role.
Hello, Let say I've defined different portals: 1. Bank Advisor Portal, 2. Bank Client Portal, and I would like to assign these portal to the following role: 1. Bank Advisor, 2. Bank Client When a user with one of the following role logs in in the application he should be automatically redirected to the respective portal client1--Bank Client Portal and not to the portal marked as default. I do not know if I missed something in the documentation, but can someone let me know how I can achieve that. Regards, View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250152#4250152 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm4 user guide : small error in doc
figure Figure 6.20 is not correct either, I'd say jira updated View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250153#4250153 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
So it's necessary to file a JIRA for the documentation? It should be fixed for the new release since it's a very basic thing and can cause confusion for people following the docs to start with jBPM. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250155#4250155 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Assign default portal to a user role.
If the portlets are on the default page, when a user logs in and if they have appropriate roles, portlet container will make the portlet available to the user. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250158#4250158 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Okay so here's my workflow | ?xml version=1.0 encoding=UTF-8? | | process name=process xmlns=http://jbpm.org/4.0/jpdl; |start g=0,0,80,40 | transition to=parse request/ |/start | |java class=org.tlg.workflow.ParseRequest g=90,4,80,40 method=execute name=parse request | transition g=-27,-18 name=valid to=find providers/ | transition g=-35,-18 name=invalid to=error/ |/java | |java class=org.tlg.workflow.FindProviders g=276,7,80,40 method=execute name=find providers | transition to=fork/ |/java | |fork g=298,85,80,40 name=fork | on continue=exclusive event=end/ | transition g=-62,-18 name=validate red to=validate red request/ | transition g=-64,-18 name=validate exp to=validate exp request/ | transition g=-63,-17 name=validate sys to=validate sys request/ |/fork | |custom name=validate red request class=org.tlg.workflow.AlterObject exp=#{myObj} | transition g=-27,-18 to=join/ |/custom | |custom name=validate exp request class=org.tlg.workflow.AlterObject exp=#{myObj} | transition g=-27,-18 to=join/ |/custom | |custom name=validate sys request class=org.tlg.workflow.AlterObject exp=#{myObj} | transition g=-27,-18 to=join/ |/custom | |join g=267,368,80,40 name=join | transition name=check results to=evaluate validation results g=-47,-16/ |/join | |decision name=evaluate validation results expr=#{content} | transition name=valid to=construct message / | transition name=invalid to=error/ |/decision | |java class=org.tlg.workflow.ConstructFraudRequest g=505,168,80,40 method=execute name=construct message | transition to=send/ |/java | |java class=org.tlg.workflow.SendRequest g=501,78,80,40 method=execute name=send | transition to=get responses/ |/java | |java class=org.tlg.workflow.GetResponse g=372,84,80,40 method=execute name=get responses | transition to=process responses/ |/java | |java class=org.tlg.workflow.ProcessResponse g=431,6,80,40 method=execute name=process responses | transition g=-48,-18 name=complete to=end/ | transition g=-42,-18 name=process to=find providers/ |/java | |end g=624,21,80,40 name=end state=complete/ |end-error g=37,104,80,40 name=error/ | |/process | It is experimental at the moment so i know it may be a bit messy and i apologize. Here's my Unit test | public void testSimple() throws Exception { | MapString, Object variables = new HashMapString, Object(); | variables.put(content, valid); | | myObj = new MyObject(); | myObj.setName(A reusable fraud object); | variables.put(myObj, myObj); | | ProcessInstance processInstance = executionService.startProcessInstanceByKey(process, variables); | String processInstanceId = processInstance.getId(); | | ListJob jobs = managementService.createJobQuery() | .processInstanceId(processInstanceId) | .list(); | | for(Job job: jobs) { | managementService.executeJob(job.getId()); | System.out.println(Executing Job number + job.getId()); | } | | MyObject myObjUpdated = (MyObject) variables.get(myObj); | System.out.println(myObjUpdated.getName()); | } | And the class that amends the object | | public class AlterObject implements ActivityBehaviour{ | | private static final long serialVersionUID = 1L; | | public void execute(ActivityExecution execution) throws Exception { | MyObject myObject= (MyObject )execution.getVariable(myObj); | | System.out.println(myObject.getName()); | fraudObject.setName(Name now changed); | | execution.setVariable(myObj, myObject); | | } | | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250160#4250160 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Assign default portal to a user role.
I think the problem here is that JBoss expects there to be a single default portal for all users. Although a role can give a user access to a portal (admin user, for instance), it cannot determine which portal will be the user's default when they login. I have not found a way to do this but if someone knows a way, I would be interested in such a feature as well. I would suggest that you create your Client portal as your default and then create an Advisor portal. All users would land on the Client portal but those with the advisor role would have access to the Advisor portal much like the admin user has access to the Admin portal. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250165#4250165 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag
Alesj, Thanks. That is much simpler (and less ribald) compared to Doing two models... Now that the jndi registry is 'regsitered', does every bean lookup now use it? even those by beans other than my own? Or is the jndi registry used only on bean name lookups that originate from my local bean? Thanks again. John View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250169#4250169 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250169 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Eviction queue fills up causing threads to block
Not sure whether there are any further developments on this, but would it be worthwhile modifying EvictionTimerTask.handleRegion(...) so that at least if an unforseen problem occurs which causes the eviction to stop then at least the exception is logged: private void handleRegion(Region region) | { | try | { | region.processEvictionQueues(); | } | catch (EvictionException e) | { | log.error(run(): error processing eviction with exception: | + e.toString() + will reset the eviction queue list.); | region.resetEvictionQueues(); | log.debug(trace, e); | } | catch (RuntimeException e) | { | log.error(run(): error processing eviction, e); | throw e; | } | catch (Error e) | { | log.error(run(): error processing eviction, e); | throw e; | } | } An alternative would be to just catch Throwable and not re-throw it. But not sure what state the eviction queues would be in if scheduled eviction were to continue?? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250174#4250174 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag
Yup, a good question. Unfortunately it is asked for every lookup. But I guess you can implement some short circle check. e.g. if (name.startsWith(jndi) == false) return null; Or something similar. Then the performance wouldn't be a huge issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250178#4250178 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: can multiple nodes use the same exploded war
Running JBossAS 5.0.1GA. It is an exploded war. The jsp files comes from a publishing system and are between 200 - 400K. The server has the capacity to run 4-6 nodes. I don't want to replicate the files on the file system for each node. I would like to keep just one copy of the deployed files. My other option is to deploy the WAR to each node and create a symbolic link in each node to the deployed content So in each JB_HOME/server/node[1-4]/deploy/ROOT.war I create a symbolic link to a folder containing 400,000 files. jaikiran wrote : Which exact version of JBossAS? And when you say the number of files is large, do you mean the number of files in the WAR? And so you are worried that all these files will be copied to the tmp folder on individual nodes? And hence going for exploded deployment? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250179#4250179 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
Navigating through JIRA is definitely not my strenght. ;) I just found this issue. So it seems it's already going to be fixed in 4.1: https://jira.jboss.org/jira/browse/GPD-356 So I closed the my first issue with reason duplicate issue. Sorry for the inconvience caused. However I did not find something related to my second problem. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250181#4250181 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
No problem, You'll get used to it (and yes, the separate GPD project does not make it easier). Thanks for reporting back btw, Aachen... Then you almost must speak a little Dutch! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250184#4250184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Yep, was afraid of this. You odo not have any states in your definition, once it passes through all nodes, it is ended and removed from the active database to the history database. Good in one way, troublesome in this case. Just add a task before the end nodes and you can see the variables (querying the history table for variables does not work fully afaik, but you could give that a try as well) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250185#4250185 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Enable logging for requests, responses
At tomcat level, you can have a dump of the request and an access log as well by uncommenting the following Valves into server.xml Valve className=org.apache.catalina.valves.RequestDumperValve / | | | | Valve className=org.apache.catalina.valves.AccessLogValve | prefix=localhost_access_log. suffix=.log | pattern=common directory=${jboss.server.log.dir} | resolveHosts=false / As for the response I guess you might programmatically dump both request and response using a Servlet filter hope it helps Francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250186#4250186 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
Yep, please do (you know your way around now do you ;-) but check if there are any open ones (or maybe even closed ;-)) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250187#4250187 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Migration of singletons
Hi Brian, thanks for your answer: Here is mine: I do not want to fire a JIRA request I do not want to implement it:) ...I just wanted to know it ..thanks once again.. Adam View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250188#4250188 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot obtain wsdl service
Hi there, I am running jboss-4.2.1.GA and I am encountering the exact problem. I followed the instruction posted in the last reply (copying - jaxb-api.jar - jboss-jaxws.jar - jboss-saaj.jar from client\ to lib\endorsed\ ) and it caused a new type of problem. Here is the log error: | 14:31:22,046 ERROR [JmsServerSession] Unexpected error delivering message org.jboss.mq.SpyObjectMess | age { | Header { |jmsDestination : QUEUE.AsyncPlugin |jmsDeliveryMode : 2 |jmsExpiration : 0 |jmsPriority : 4 |jmsMessageID: ID:6-12506022817341 |jmsTimeStamp: 1250602281734 |jmsCorrelationID: null |jmsReplyTo : null |jmsType : null |jmsRedelivered : false |jmsProperties : {} |jmsPropReadWrite: false |msgReadOnly : true |producerClientId: ID:6 | } | } | javax.ejb.EJBTransactionRolledbackException: java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at org.jboss.ejb3.tx.Ejb3TxPolicy.handleInCallerTx(Ejb3TxPolicy.java:87) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:130) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | 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.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268) | at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138) | at $Proxy154.onMessage(Unknown Source) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178) | at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:891) | at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) | at org.jboss.mq.SpySession.run(SpySession.java:323) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:174) | 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.invokeInCallerTx(TxPolicy.java:126) | ... 17 more | Caused by: java.lang.NoClassDefFoundError: org/jboss/logging/Logger | at javax.xml.soap.FactoryLoader.clinit(FactoryLoader.java:47) | at javax.xml.ws.spi.Provider.provider(Provider.java:91) | at javax.xml.ws.Service.init(Service.java:83) | at com.abm_uk.imswebservice.CurrentCrimesRequest_Service.init(CurrentCrimesRequest_Service.java:42) | at com.beatSystems.nottsPolice.crime.myCrime.CurrentCrimesUtility.getService(CurrentCrimesUtility.java:48) | at com.beatSystems.mobaq.backend.notts.crime.configuration.CrimeConfigurationManager.getCurrentCrimesClient(CrimeConfigurationManager.java:277) | at com.beatSystems.mobaq.backend.notts.crime.plugins.NottsMyCurrentCrimesUploadPlugin.processUpload(NottsMyCurrentCrimesUploadPlugin.java:55) | at com.beatSystems.mobaq.core.plugin.GenericUploadPlugin.handle(GenericUploadPlugin.java:17) | at com.beatSystems.mobaq.core.bean.PluginHandlerListenerBean.handle(PluginHandlerListenerBean.java:55) | at com.beatSystems.mobaq.core.bean.PluginHandlerListenerBean.onMessage(PluginHandlerListenerBean.java:45) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at
[jboss-user] [JBoss jBPM] - Re: [GPD] Duplication of tag and problems with the setting o
Exactly what I thought about the extra project! Regarding Aachen: Natuurlijk! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250192#4250192 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error raised when deploying application
Hi Francesco, Thanks for the response. i found the problem and that is because of the following two lines in application.xml file. *** javaee:descriptionDemo Project/javaee:description javaee:display-nameDemo/javaee:display-name *** when i removed these two lines, then the deployment was successful. I see these are not as per the xsd that i have mentioned in application.xml file. Also, i see no problem in placing the xxx-ds.xml file in application.xml file. Anyhow, i will move it to jboss-app.xml file as you have suggested. Thanks again for your help. Regards, Sri. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250195#4250195 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in documentation regarding Implementation of Decis
Hello Ronald, I searched but could not find anything so I created a new issue in the good hope of not having overlooked something. ;) https://jira.jboss.org/jira/browse/JBPM-2490 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250198#4250198 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - problems in migrating web-application from jboss-5.0.0Beta1
Hi All, We are facing problems in migrating our web-application from jboss-5.0.0Beta1 to jboss-5.1.0GA. are there any suggestion on changes we need to take care of during migration. Meantime i did change my web.xml file's web-app tag from Jboss-5.0.0Beta1 -- web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd; id=WebApp_ID version=2.4 to Jboss-5.1.0GA web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; id=WebApp_ID version=2.5 and i faced this problem: Deployment vfsfile:/C:/jboss/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/ is in error due to the following reason(s): org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid content was found starting w ith element 'taglib'. One of '{http://java.sun.com/xml/ns/javaee:description, http://java.sun.com/xml/ns/javaee; :display-name, http://java.sun.com/xml/ns/javaee:icon, http://java.sun.com/xml/ns/javaee:distributable, http:/ /java.sun.com/xml/ns/javaee:context-param, http://java.sun.com/xml/ns/javaee:filter, http://java.sun.com/xml/ns /javaee:filter-mapping, http://java.sun.com/xml/ns/javaee:listener, http://java.sun.com/xml/ns/javaee:servlet, http://java.sun.com/xml/ns/javaee:servlet-mapping, http://java.sun.com/xml/ns/javaee:session-config, http://j ava.sun.com/xml/ns/javaee:mime-mapping, http://java.sun.com/xml/ns/javaee:welcome-file-list, http://java.sun.co m/xml/ns/javaee:error-page, http://java.sun.com/xml/ns/javaee:jsp-config, http://java.sun.com/xml/ns/javaee:se curity-constraint, http://java.sun.com/xml/ns/javaee:login-config, http://java.sun.com/xml/ns/javaee:security-r ole, http://java.sun.com/xml/ns/javaee:env-entry, http://java.sun.com/xml/ns/javaee:ejb-ref, http://java.sun.c om/xml/ns/javaee:ejb-local-ref, http://java.sun.com/xml/ns/javaee:service-ref, http://java.sun.com/xml/ns/javae e:resource-ref, http://java.sun.com/xml/ns/javaee:resource-env-ref, http://java.sun.com/xml/ns/javaee:message- destination-ref, http://java.sun.com/xml/ns/javaee:persistence-context-ref, http://java.sun.com/xml/ns/javaee:p ersistence-unit-ref, http://java.sun.com/xml/ns/javaee:post-construct, http://java.sun.com/xml/ns/javaee:pre-de stroy, http://java.sun.com/xml/ns/javaee:message-destination, http://java.sun.com/xml/ns/javaee:locale-encoding -mapping-list}' is expected. @ vfsfile:/C:/jboss/jboss-5.1.0.GA/server/default/deploy/PerformanceMonitoringISE-1.0/ WEB-INF/web.xml[78,10] It will be kind if someone can provide the information as well as web.xml specific to Jboss-5.1.0GA Thanks In Advance... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250199#4250199 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Error message Network is unreachable
exception=java.io.IOException: Network is unreachable, msg=[dst: 228.1.2.3:45566, src: se-ore-webp-test:32781 (additional data: 14 bytes) (2 headers), size = 0 bytes], mcast_addr=228.1.2.3:45566 I am running jboss on a server which does not have internet access, and keep getting this IOException, it appears to come from Jboss as I don't have any applications of my own deployed. Does anyone know what it means?? I guess I could disable it somehow? or make internet availaible and it would go away?? Thank you for clearing the confusion. Regards, Dak. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250200#4250200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Authentication Error
Hello Wolfgang, Thank you for your reponse! The error happens during login. Below I have my login-config.xml and the entire exception. Thanks!! login-config.xml: application-policy name=XYZ-login-module login-module code=org.XYZ.security.auth.XYZLoginModule flag=required module-option name = modeUSER/module-option /login-module /application-policy Exception: 08:10:05,523 ERROR [JBossWebRealm] Error during authenticate java.lang.IllegalStateException: Security Context has not been set at org.jboss.web.tomcat.security.SecurityAssociationActions$SetPrincipal InfoAction.run(SecurityAssociationActions.java:70) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.web.tomcat.security.SecurityAssociationActions.setPrincipal Info(SecurityAssociationActions.java:270) at org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebReal m.java:388) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(Form Authenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:417) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce ss(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok e(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:330) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:436) at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpPro tocol.java:384) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250201#4250201 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
So it seems not possible to true application scoped datasources at this time. I have a few followup questions. 1) How are others working with this issue? Do you trust your developers to not comb the jndi tree and look for datasources? Or do you just spawn a new jboss install for each application? 2) To me, this sounds like something JBoss could benefit from. How do I go about a feature enhancement to get something like this in? Sadly, I am not much of a coder, more of a system admin type person so I am of very little help when it comes to enhancements. thanks for the discussion. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250202#4250202 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Migration of singletons
Haha! I love the honesty! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250208#4250208 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: HA-JNDI and SFSB Bean
If JBoss detects that the target EJB is running in the same VM, it will routes calls to the in-VM bean rather than sending them remotely. Effect is such calls aren't load balanced across the cluster. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250209#4250209 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Datasource Configuration] - Re: Wrapping to OracleConnection problem.
I am having the same problem. Where you able to find a solution? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250210#4250210 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: DatabaseServerLoginModule failing after success?...confu
Hi, I am trying to configure DatabaseServerLoginModule for my web application. I have login page with user name and password when click on submit what should happen I am having one basic question. So when I clcik on submit will JBoss check for credentials or we have to check against the database programatically. please let me know I am new to this. please help. please also send me the sample code if you have for authentication and authroization using JBoss. regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250213#4250213 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Application Scoped datasources
1) By restricting who has access to the production server (only the sysadmin is allowed to deploy apps to production) and by using code reviews to make sure that no developer write a datasource fishing app. For really secure environments, an app server instance per app is also used. 2) Enter a JIRA issue at http://jira.jboss.org/. You can use your forum account and password to log into JIRA. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250216#4250216 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Log4j Error
See if these help: http://www.jboss.org/index.html?module=bbop=viewtopicp=4125552 http://www.jboss.org/community/wiki/ScopedLoggingConfig View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250217#4250217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error message Network is unreachable
are you running on a linux box ? try adding -Djava.net.preferIPv4Stact=true in the Optional JVM args also are you running a single node or clustered env ? francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250218#4250218 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBoss does not reconnect after mysql-server restart
Try touching the *-ds.xml file. That will update the last modified timestamp which will cause the app server to redeploy the datasource. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250220#4250220 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - What remote client libs are required ??
Hi, I am trying to migrate our ejb3 application from JBoss 4.2.3 to JBoss 5.1.0. The application is accessed by a swing rich client and deployed using Java Web Start. With JBoss 4.2.3 I used to include on the client side the jbossall-client.jar lib. Now with 5.1, The $JBOSS_HOME/client/jbossall-client.jar library that used to bundle the majority of jboss client libraries, is now referencing them instead through the Class-Path manifest entry. This requires that you have jbossall-client.jar together with the other client/*.jar libraries, so they can be found. Is this the only solution ? I mean I can't realisticaly bundle tens of jars in my JavaWebStart app while before I only had to bundle one ! Plus I don't think I need to include the 98 jar that can be found in $JBOSS_HOME/client Has anyone any pointers ? Thanks, - Patrick View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250221#4250221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: MDB Pool Settings
Thanks that helped. I found that I also had to edit the ejb3-inteceptors-apo.xml file. There was a point cut that needed changing: annotation expr=!class(@org.jboss.annotation.ejb.PoolClass) | @org.jboss.annotation.ejb.PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=30, timeout=1) | /annotation | However, there still seems to an upper limit of only 99 MDB instances. Despite changing any of the aforementioned properties. Do you know how to get past this limit? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250222#4250222 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Hi Roland Thank you very much. It works like a charm now. Be sure I will be back with some more newbie questions but just wanted to say thank you very much for your time and explanation on why it doesn't work. Regards M View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250227#4250227 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Passing objects through the workflow
Don't know why I'm calling you Roland :) Sorry, I meant Ronald! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250228#4250228 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: What remote client libs are required ??
Having the client libs declared in the MANIFEST file avoid the burden of setting manually the classpath at client level, however you have to provide the client jars needed. You might bundle all client libs into a single library, or you can as well find out the libraries which are actually required by your application and modify the manifest-file accordingly. hope it helps... Francesco View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250229#4250229 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot obtain wsdl service
Is this on the client side? Looks like a JAR file is missing from the classpath. The missing class is in client/jboss-common-client.jar and client/jbossall-client.jar in 4.2.3 (I don't have a copy of 4.2.1 handy to check there). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250230#4250230 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: problems in migrating web-application from jboss-5.0.0Be
Wow, 5.0.0.Beta1, that's old. Anyway, sometime before 5.0.0.GA the app server became stricter regarding XML file validation, and now if something is out of order it will complain (as you found out). Scanning the JBossAS5 forum will turn up many others with this same issue. One solution is to fix the offending XML file. This wiki article shows another solution (even though the symptoms described are not exactly yours): http://www.jboss.org/community/wiki/JBossAS510CR1failstobootfromIDE View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250231#4250231 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
Continuous redeployments without any apparent changes is a known bug in AS-5.1.0 with Seam applications http://www.jboss.org/index.html?module=bbop=viewtopict=156898. It has been fixed in JBDEPLOYERS project: https://jira.jboss.org/jira/browse/JBDEPLOY-192 The fix will be integrated in the next version of the AS. You can probably try this workaround http://www.jboss.org/index.html?module=bbop=viewtopict=159500postdays=0postorder=ascstart=10#4248356 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250233#4250233 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: What remote client libs are required ??
You can use JBoss Tatttletale to find out the actual set of JARs you need. (Look at the tabs at the top of this web page - Tattletale is under Projects Tools) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250235#4250235 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - GlassfishConfigureListener NoSuchMethodError
I tried to installed a WAR onto my jboss server 4.2.3, but it will not deploy the app. During the install, I get the following stack trace: 2009-08-18 10:19:08,439 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gateway]] Exception sending context initialized event to listener instance of class com.sun.faces.config.GlassFishConfigureListener java.lang.NoSuchMethodError: com.sun.faces.config.GlassFishConfigureListener.scanWebXml(Z)V at com.sun.faces.config.GlassFishConfigureListener.contextInitialized(GlassFishConfigureListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312) 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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) 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 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 $Proxy44.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) 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
[jboss-user] [JBossMQ] - Re: Stopping / starting queues... can't find invoker
Well this explains a lot... Please note that this procedure applies for JBoss MQ. For JBoss Messaging substitute jboss.messaging for jboss.mq and XAConnectionFactory? for UIL2XAConnectionFactory Note: These instructions are for EJB 2.1 MDBs and not for EJB3 MDBs. The invoker proxy binding is no longer functional for ejb3. TODO: Put in EJB3 instructions Taken from: http://www.jboss.org/community/wiki/HowDoIConfigureAnMDBToTalkToARemoteQueue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250244#4250244 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Endpoint registration
I was able to get the endpoint registered when deployed in it's own jar file, but I'm not able to deploy it when it's lives within my ejb jar inside the ear file. I would imagine the solution is simple but I have yet to track it down. Suggestions are greatly appreciated. Thanks P.S. Is this forum still active or should I be asking somewhere else? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250245#4250245 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: continuos redeployment of seam with birt
Thank you, that worked. I thought it had to do with birt-seam integration, not just a jboss problem. Thank you all really much - Problem solved View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250247#4250247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: GlassfishConfigureListener NoSuchMethodError
Looks like your app is referencing some JSF classes/configs/??? that are specific to Glassfish. You could provide the missing Glassfish JAR, but that might not work - it could cause other problems. The other possibility is to fix your app to remove those references. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250249#4250249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Maintenance and Repair Tools
anonymous wrote : Are 1,2 and 3 valid for all DBMS you use? Would be great if you could confirm that. Definitely Oracle and Sybase, don't have much experience with MSSql yet. anonymous wrote : And maybe also what the default locking mechanisms are on specific database. Defaults: Oracle - Row locking (as long as it has the indexes it needs to group the rows) Sybase - Table locking (row locking must be specified on a table) MSSql - Version 7+ defaults to row locking anonymous wrote : Surprises me that there is no slowdown btw. And I'm also curious what additional indexes you created that are not already on jBPM. Since I was under the impression that FK relations had an index. Surprised us too :) I think that certain DB's automatically index the foreign key columns, but apparently Oracle, Sybase, and SqlServer do not. We added these indices: | /* OLF - Add indices on foreign keys */ | create index JBPM_ACTION_EVENT_IDXonJBPM_ACTION (EVENT_); | create index JBPM_ACTION_EXCEPT_IDX onJBPM_ACTION (EXCEPTIONHANDLER_); | create index JBPM_ACTION_PROCDEFN_IDX onJBPM_ACTION (PROCESSDEFINITION_); | create index JBPM_ACTION_TIMERACTION_IDX onJBPM_ACTION (TIMERACTION_); | create index JBPM_ACTION_ACTIONDEL_IDXonJBPM_ACTION (ACTIONDELEGATION_); | create index JBPM_ACTION_REFACTION_IDXonJBPM_ACTION (REFERENCEDACTION_); | | create index JBPM_BYTEARRAY_FILEDEFN_IDX onJBPM_BYTEARRAY (FILEDEFINITION_); | create index JBPM_BYTEBLOCK_PROCFILE_IDX onJBPM_BYTEBLOCK (PROCESSFILE_); | | create index JBPM_COMMENT_TOKEN_IDX onJBPM_COMMENT (TOKEN_); | create index JBPM_COMMENT_TASKINST_IDXonJBPM_COMMENT (TASKINSTANCE_); | | create index JBPM_DECISIONCOND_DEC_IDXonJBPM_DECISIONCONDITIONS (DECISION_); | | create index JBPM_DELEGATION_PROCDEFN_IDX onJBPM_DELEGATION (PROCESSDEFINITION_); | | create index JBPM_EVENT_PROCDEFN_IDX onJBPM_EVENT (PROCESSDEFINITION_); | create index JBPM_EVENT_NODE_IDX onJBPM_EVENT (NODE_); | create index JBPM_EVENT_TRANSITION_IDXonJBPM_EVENT (TRANSITION_); | create index JBPM_EVENT_TASK_IDX onJBPM_EVENT (TASK_); | | create index JBPM_LOG_SRCENODE_IDXonJBPM_LOG (SOURCENODE_); | create index JBPM_LOG_TOKEN_IDX onJBPM_LOG (TOKEN_); | create index JBPM_LOG_OLDBYTE_IDX onJBPM_LOG (OLDBYTEARRAY_); | create index JBPM_LOG_NEWBYTE_IDX onJBPM_LOG (NEWBYTEARRAY_); | create index JBPM_LOG_CHILD_IDX onJBPM_LOG (CHILD_); | create index JBPM_LOG_DESTNODE_IDXonJBPM_LOG (DESTINATIONNODE_); | create index JBPM_LOG_TASKINST_IDXonJBPM_LOG (TASKINSTANCE_); | create index JBPM_LOG_SWIMLANEINSTANCE_IDX on JBPM_LOG (SWIMLANEINSTANCE_); | create index JBPM_LOG_PARENT_IDX onJBPM_LOG (PARENT_); | create index JBPM_LOG_NODE_IDXonJBPM_LOG (NODE_); | create index JBPM_LOG_ACTION_IDX onJBPM_LOG (ACTION_); | create index JBPM_LOG_VARINST_IDX onJBPM_LOG (VARIABLEINSTANCE_); | create index JBPM_LOG_TRANSITION_IDX onJBPM_LOG (TRANSITION_); | | create index JBPM_MODULEDEFN_STRTTASK_IDX onJBPM_MODULEDEFINITION (STARTTASK_); | create index JBPM_MODULEDEFN_PROCDEFN_IDX onJBPM_MODULEDEFINITION (PROCESSDEFINITION_); | | create index JBPM_MODULEINST_TASKMGMT_IDX onJBPM_MODULEINSTANCE (TASKMGMTDEFINITION_); | create index JBPM_MODULEINST_PROCINST_IDX onJBPM_MODULEINSTANCE (PROCESSINSTANCE_); | | create index JBPM_NODE_SUBPDEFN_IDX onJBPM_NODE (SUBPROCESSDEFINITION_); | create index JBPM_NODE_PROCDEFN_IDX onJBPM_NODE (PROCESSDEFINITION_); | create index JBPM_NODE_ACTION_IDX onJBPM_NODE (ACTION_); | create index JBPM_NODE_DECISIONDEL_IDXonJBPM_NODE (DECISIONDELEGATION); | create index JBPM_NODE_SUPERSTATE_IDX onJBPM_NODE (SUPERSTATE_); | | create index JBPM_PROCDEFN_STARTSTATE_IDX onJBPM_PROCESSDEFINITION (STARTSTATE_); | | create index JBPM_PROCINST_PROCDEFN_IDX onJBPM_PROCESSINSTANCE (PROCESSDEFINITION_); | create index JBPM_PROCINST_ROOTTOKEN_IDX onJBPM_PROCESSINSTANCE (ROOTTOKEN_); | create index JBPM_PROCINST_SUPERTOKEN_IDX onJBPM_PROCESSINSTANCE (SUPERPROCESSTOKEN_); | | create index JBPM_RTACTION_PROCINST_IDX onJBPM_RUNTIMEACTION (PROCESSINSTANCE_); | create index JBPM_RTACTION_ACTION_IDX onJBPM_RUNTIMEACTION (ACTION_); | | create index JBPM_TASK_TASKCTRL_IDX onJBPM_TASK (TASKCONTROLLER_); | create index JBPM_TASK_ASSIGNDEL_IDX onJBPM_TASK (ASSIGNMENTDELEGATION_); | create index JBPM_TASK_TASKNODE_IDX onJBPM_TASK (TASKNODE_); | create index JBPM_TASK_PROCDEFN_IDX onJBPM_TASK (PROCESSDEFINITION_); | create index