[jboss-user] [Messaging, JMS JBossMQ] - Single Consumer for a queue
Hi, I have two jvm apps which are processing messages off a JMS queue. I know that you can have multiple consumers of a queue but is it possible to have a queue configured where the initial consumer can connect but any subsequent consumers will receive an exception when they try to connect. I'm just considering if this could be used to implement some failover functionality where one consumer could connect to a queue and become the active consumer. Any other consumers which try and connect would fail and become passive. A timer in the passive consumers could periodically try and reconnect to the queue. If it is possible where would it be configured ? regards and thanks Noel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162230#4162230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to Migrate existing Portlet 2.6.4 to PortletContaine
Can you please stop multi-posting, this is annoying. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162231#4162231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Question on SSO (OpenSSO)
Hi Shagul, I just read that post... No, I haven't a security constraint on the default portlet. I tried to install a very new and clean JBoss Portal 2.6.5 and I can see the default portal. Than I turned on the OpenSSO-Valve in the jboss-portal-ha.sar/portal-server.war/WEB-INF/context.xml and again, I will be redirected to OpenSSO-Login-Page as soon as I call myhost.com:8080/portal. Interestingly, the back-redirect-url is something like ../auth/default/... ?! Any ideas, how to see the first page without log in using OpenSSO? Thanks, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162232#4162232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Classcast Exception $Proxy thing
Hi, I had already the same problem. MichaelRalston in his last post wrote good answer, thank. The only one think which should be mantioned ist that the ejbjar, war and apijar musn't be in ear. It works also fine when they are deployed separatly, just don't put the apijar into war and add it to manifests in ejbjar and war. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162233#4162233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems configuring Hibernate on JBoss
Hi there! I'm configuring a struts project to access a mysql db through hibernate. It's my first time configuring hibernate in a project, so I have some problems. The most important, and the only I can't solve is this: - I have written my hibernate.cfg.xml with the config stuff. - I have written some table mappings (and their beans) and introduced them into hibernate.cfg.xml. - I have written a plugin to hook hibernate into struts, and declared it into struts-config.xml. I package the whole project (struts + hibernate) and deploy it to my JBoss 4.2.2 server. Then, I get the following output: anonymous wrote : 11:39:03,021 INFO [TomcatDeployer] deploy, ctxPath=/XXX, warUrl=.../tmp/deploy/tmp23130XXX-exp.war/ | 11:39:03,391 INFO [ActionServlet] Loading chain catalog from jndi:/localhost/XXX/WEB-INF/chain-config.xml | 11:39:03,924 INFO [TilesPlugin] Tiles definition factory loaded for module ''. | 11:39:04,003 INFO [Environment] Hibernate 3.2.6 | 11:39:04,010 INFO [Environment] hibernate.properties not found | 11:39:04,015 INFO [Environment] Bytecode provider name : javassist | 11:39:04,024 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 11:39:04,141 INFO [Configuration] configuring from url: file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp23130XXX-exp.war/WEB-INF/hibernate.cfg.xml | 11:39:04,151 INFO [Configuration] Reading mappings from resource : /com/mmm/XXX/hibernate/mappings/Paises.hbm.xml | 11:39:05,535 INFO [HbmBinder] Mapping class: com.mmm.XXX.hibernate.beans.Paises - paises | 11:39:05,570 INFO [Configuration] Reading mappings from resource : /com/mmm/XXX/hibernate/mappings/Subcategorias.hbm.xml | 11:39:06,870 INFO [HbmBinder] Mapping class: com.mmm.XXX.hibernate.beans.Subcategorias - subcategorias | 11:39:06,874 INFO [Configuration] Reading mappings from resource : /com/mmm/XXX/hibernate/mappings/SubcategoriasUser.hbm.xml | 11:39:08,213 INFO [HbmBinder] Mapping class: com.mmm.XXX.hibernate.beans.SubcategoriasUser - subcategorias_user | 11:39:08,214 INFO [Configuration] Configured SessionFactory: null | 11:39:08,383 INFO [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) | 11:39:08,383 INFO [DriverManagerConnectionProvider] Hibernate connection pool size: 20 | 11:39:08,383 INFO [DriverManagerConnectionProvider] autocommit mode: false | 11:39:08,384 INFO [DriverManagerConnectionProvider] using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/XXX | 11:39:08,384 INFO [DriverManagerConnectionProvider] connection properties: {user=administrador, password=ubuntur00t} | 11:39:08,397 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.51a-3ubuntu5.1 | 11:39:08,397 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.5 ( Revision: ${svn.Revision} ) | 11:39:08,421 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect | 11:39:08,428 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory | 11:39:08,431 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) | [...] | [...SettingsFactory info...] | [...] | 11:39:08,506 INFO [SessionFactoryImpl] building session factory | 11:39:09,058 INFO [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:mysql://localhost:3306/XXX | 11:39:09,251 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured As you can read on the last line, the factory isn't bound to any JNDI uri. Could anyone help me? Bellow are my config files. hibernate.hbm.xml: ?xml version='1.0' encoding='UTF-8'? | !DOCTYPE hibernate-configuration PUBLIC | -//Hibernate/Hibernate Configuration DTD 3.0//EN | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd; | hibernate-configuration | session-factory | | property name=connection.urljdbc:mysql://localhost:3306/XXX/property | property name=connection.usernameXXX/property | property name=connection.driver_classcom.mysql.jdbc.Driver/property | property name=dialectorg.hibernate.dialect.MySQLDialect/property | property name=connection.password/property | property name=transaction.factory_classorg.hibernate.transaction.JDBCTransactionFactory/property | !-- thread is the short name for | org.hibernate.context.ThreadLocalSessionContext | and let Hibernate bind the session automatically to the thread | -- | property name=current_session_context_classthread/property | !-- this will show us all sql statements -- | property
[jboss-user] [EJB 3.0] - Re: .. problems with clob's and oracle (ojdbc14_g)
Hi joern, try to add the @Lob annotation to the member. We hava had the same problem and changed to the newest oracle driver (somewhat ojdbc5.jar), but I can't remember exactly what leads us to the success (will investigate more when I'm back to office next monday). Another guess is to add a columndefinition to the @Column annotation like ... columndefinition=BLOB ... . If all that won't work try to store the large object as chunks of byte[255] arrays, at least this will work. Hope this gives you any hints to solve the problem. Regards \sandor\ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162243#4162243 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Ldap Configuration With Jboss Portal
Hi All, I made changes in my C:\jboss-portal-2.6.5.SP1\server\default\deploy\jboss-portal.sar\conf\login-config.xml file where application-policy name=portal./application-policy name=portal and now I am able to get log in with available credentials in Ldap but again i come up with another problem i.e. I am unable to create new user through JBoss Portal Registration Page Please refer my last post. Please can anybody help me out??? I'll be thankful to you guys. application-policy name=portal | authentication | | !--To configure LDAP support with IdentityLoginModule please check documentation on how to | configure portal identity modules for this-- | login-module code=org.jboss.portal.identity.auth.IdentityLoginModule flag=required | module-option name=unauthenticatedIdentityguest/module-option | module-option name=userModuleJNDINamejava:/portal/UserModule/module-option | module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option | module-option name=userProfileModuleJNDINamejava:/portal/UserProfileModule/module-option | module-option name=membershipModuleJNDINamejava:/portal/MembershipModule/module-option | module-option name=additionalRoleAuthenticated/module-option | module-option name=password-stackinguseFirstPass/module-option | /login-module | | !--Use can use this module instead of IdentityLoginModule to bind to LDAP. It simply extends JBossSX LdapExtLoginModule so | all configuration that can be applied to LdapExtLoginModule also can be applied here. For user that | was authenticated successfully it will try to take identity modules from portal, check if such user (and roles it belongs to) | is present, and if not it will try to create them. Then for all roles assigned to this authenticated principal it will | try to check and create them using identity modules. This behaviour can be disabled using synchronizeRoles. You can also | define one defaultAssignRole that will be always assigned to synchronized user. | It is also possible to set option synchronizeIdentity to false so this module will act exactly like LdapExtLoginModule | but it will inject role defined in additionalRole. For obvious reasons | this is designed to use with portal identity modules configured with DB and not LDAP-- | !--There is also SynchronizingLDAPLoginModule which provide the same set of options on top of JBossSX LdapLoginModule-- | !--login-module code=org.jboss.portal.identity.auth.SynchronizingLDAPExtLoginModule flag=required | module-option name=synchronizeIdentitytrue/module-option | module-option name=synchronizeRolestrue/module-option | module-option name=preserveRolestrue/module-option | module-option name=additionalRoleAuthenticated/module-option | module-option name=defaultAssignedRoleUser/module-option | module-option name=userModuleJNDINamejava:/portal/UserModule/module-option | module-option name=roleModuleJNDINamejava:/portal/RoleModule/module-option | module-option name=membershipModuleJNDINamejava:/portal/MembershipModule/module-option | module-option name=userProfileModuleJNDINamejava:/portal/UserProfileModule/module-option | module-option name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/module-option | module-option name=java.naming.provider.urlldap://example.com:10389//module-option | module-option name=java.naming.security.authenticationsimple/module-option | module-option name=bindDNcn=Directory Manager/module-option | module-option name=bindCredentiallolo/module-option | module-option name=baseCtxDNou=People,o=test,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com/module-option | module-option name=baseFilter(uid={0})/module-option | module-option name=rolesCtxDNou=Roles,o=test,dc=portal,dc=qa,dc=atl,dc=jboss,dc=com/module-option | module-option name=roleFilter(member={1})/module-option | module-option name=roleAttributeIDcn/module-option | module-option name=roleRecursion-1/module-option | module-option name=searchTimeLimit1/module-option | module-option name=searchScopeSUBTREE_SCOPE/module-option | module-option name=allowEmptyPasswordsfalse/module-option | /login-module-- | | !--This login module should be placed at the end of authentication stack. It always returns | true in login() method so it should be always optional and exists after other required module in the stack. |
[jboss-user] [JBoss jBPM] - first steps with JBPM...
Hello, I am just starting in the workflow area, I can realize that it s so hard, above all when we are using tools such as open source. I have choosen to work with jbpm because i can say that it s among the more used. I have follow this link http://docs.jboss.org/tools/2.0.0.GA/jbpm/en/html/index.html and i read the information given, but it s not so concrete things for me. I need to make a workflow management tool in order to manage the process job of a trade company. I finished to modelise my process the designer in associated to this software. Now i need someone who can help me for the next step. How to execute my workflow so as to see that everything is ok? What are the differents steps to follow? how to associate it to an application? and above all, if it s necessary to have a java application or it s possible to communicate with a php application I am really desperate :'( thanks in advance for your help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162248#4162248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Clusterin JBoss 4.0.5 Default partition repeated in the same
Hi, I am using the All profile, to which I have made the changes at http://wiki.jboss.org/wiki/UsingMod_jk1.2WithJBoss?action=ewindowstate=normalmode=view This includes adding the Code: jvmRoute=node1 and Code: jvmRoute=node2 to the 2 instances, setting Code: true and ensuring that AJP connector is uncommented. I only modify two files: jbosweb-tomcat50.sar/server.xml and jbosweb-tomcat50.sar/META-INF/jboss-service.xml with jvmRoute and UseJK (only that). Yet when I start up the 2 cluster members. I allowed the first server to completely start then started the second server. Nothing is deployed. When i start the second server, it begins to add members to cluster with the same ip (second server ip) and differents ports. It repeats and i got 55 members with the same ip (172.19.131.63). log second server: | --- | GMS: address is 172.19.131.63:1840 | --- | 2008-07-03 07:43:37,140 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781 | 2008-07-03 07:43:37,140 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767 | 2008-07-03 07:43:37,140 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788 | 2008-07-03 07:43:38,640 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] New cluster view for partition DefaultPartition (id: 7, delta: 1) : [127.0.0.1:1099, 172.19.131.32:1099, 172.19.131.32:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099] | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] membership changed from 7 to 8 | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] Begin notifyListeners, viewID: 7 | 2008-07-03 07:43:38,640 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event: | 2008-07-03 07:43:38,640 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] Dead members: 0 ([]) | 2008-07-03 07:43:38,640 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] New Members : 0 ([]) | 2008-07-03 07:43:38,640 INFO [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] All Members : 8 ([127.0.0.1:1099, 172.19.131.32:1099, 172.19.131.32:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099, 127.0.0.1:1099]) | 2008-07-03 07:43:38,640 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] End notifyListeners, viewID: 7 | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState called | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for DistributedState | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for HASessionStateTransfer | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.hasessionstate.server.HASessionStateImpl./HASessionState/Default] Receiving state of HASessionState | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for HAJNDI | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.jndi.TreeHead] registerRPCHandler | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] setState for DistributedReplicantManager | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.interfaces.HAPartition.DefaultPartition] received a state of 1609 bytes; expanded memory by 34200 bytes (used memory before: 42059216, used memory after: 42093416) | 2008-07-03 07:43:38,671 DEBUG [org.jboss.ha.framework.server.DistributedReplicantManagerImpl.DefaultPartition] DRM: Sleeping before re-publishing for 50ms just in case | 2008-07-03 07:43:38,734 DEBUG [org.jboss.ha.singleton.HASingletonController] partitionTopologyChanged, isElectedNewMaster=false, isMasterNode=false, viewID=-439979114 | 2008-07-03 07:43:38,734 DEBUG [org.jboss.ha.framework.server.HARMIServerImpl$RefreshProxiesHATarget] replicantsChanged 'HAJNDI' to 8 (intra-view id: -439979114) | 2008-07-03 07:43:39,687 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1767 | 2008-07-03 07:43:41,781 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1781 | 2008-07-03 07:43:41,781 INFO [org.jboss.ha.framework.interfaces.HAPartition.lifecycle.DefaultPartition] Suspected member: 172.19.131.63:1788 | 2008-07-03 07:43:43,843 INFO
[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException on JNDI context.Lookup();
I am having the same problem. I've seen this discussion all over the place dating back to 2002. My understanding is that there is no bug in jboss, it's just the way it is. However, I'd love to see a discussion of a workaround. The only one I've seen is to bundle everything in the same ear. In our situation, this is not possible. We have a server app which exposes our bean, and we want our customers to be able to create their own clients of it. There is no way we are going to get their apps in our ear. We need to be able to hot deploy our application and not have all the clients get a subsequent ClassCastException when doing a jndi lookup of our bean. Is the solution to redeploy all the clients after the server app with our bean is redeployed? I obviously can catch the exception, but I'm wondering what do I do about it once it's caught. Is there any way I can recover in my client app once I get this CastClassException when doing the jndi lookup? Can I force a reload of something so that I don't have to restart the client? Here's the diff of the JNDIView output of the relevant bean in our situation. Proxy90 is before the hot deploy of our server app and bean. Proxy145 is from after. Thanks for any and all help. | +- local (proxy: $Proxy90 implements interface com.perimeter.anyswitch.IAnySwitchLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) | | --- | || +- local (proxy: $Proxy145 implements interface com.perimeter.anyswitch.IAnySwitchLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162257#4162257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Configuring WS-Eventing on JBossWS2.0.3
Hi, I am using JBoss Application server 4.2.2 and JBoss WS 2.0.3. I am looking for some good book/documentation to start from scratch on WS-Eventing. We have a legacy application which acts as a Event Source. We already have connectors in java to recieve those events. I am looking out for detailed steps as to set up a basic service first and make it work. I tried with the example/s given on JBoss site but it does not work for me. I will also be interested in knowing the interfaces for SubscriptionManager if I want to take a code first approach.. Will that be possible Regards Shashank View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162261#4162261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - actionURL in jboss-portletcontainer-2.0.0
Hello again, sorry, but another question concerning Portlet-Container 2.0: What am I doing wrong with the actionURL??? This is a jsp for a portlet in view-mode, submitting the form causes the exception below. The jsp: | [EMAIL PROTECTED] contentType=text/html% | [EMAIL PROTECTED] pageEncoding=UTF-8% | | %@ page import=javax.portlet.*% | %@ taglib uri=http://java.sun.com/portlet_2_0; prefix=portlet% | | portlet:defineObjects/ | | | form action=portlet:actionURL/ method=post | input type=text name=username value= / | input type=text name=userpassword value= / | input type=submit value=OK / | /form | The exception (Index is the jsp containing the portlet!): | 10:29:03,976 ERROR [[Index]] Servlet.service() for servlet Index threw exception | java.lang.NullPointerException | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:630) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:4 | 74) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:1 | 20) | at org.jboss.portal.portlet.portal.jsp.ControllerFilter.doFilter(ControllerFilter.java:9 | 1) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha | in.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java: | 206) | at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java | :61) | at org.jboss.portal.portlet.portal.ErrorHandlingFilter.doFilter(ErrorHandlingFilter.java | :53) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha | in.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(ApplicationFilterCha | in.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(SecurityAssociationValv | e.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.j | ava:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protoco | l.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | | Thanks and best regards, rene View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162262#4162262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Messages was not delivered
Hi gurus!!! I have two machines with JBOSS 4.2.1. OS Windows XP jdk 1.5 (build 1.5.0_13-b05) JBMessaging 1.4.0 SP3 JBRemoting 2.2.2 SP7 JMS provider was installed on only one machine and uses RDMS Oracle 10.2.0. The second machine is just remote client. Message delivery was organized synchronously periodically in EJBTimer (QueueReceiver::receive(timeout)) I am using Bean Managed Transaction and transacted queue session (connection.createQueueSession(true, 0)) Closing connection calling in finally block. I am testing work stability under unstable network connection and unplugging network cable from jms cleint's machine periodically After some time I get message on console (as an example): 2008-07-03 09:57:14,437 WARN [org.jboss.jms.client.container.ClientConsumer] Timed out waiting for last delivery 4 got -1 This message appears periodically in closing connection time (in my opinion). After some time this message is not appeared, but meesages stay in queue table (jbm_msg) and is not delivering at all. During of this timer continue work successfully and periodically creates session, attempts to receive messages and close connection. There are not error messages on console. A versions of JBMessaging and JBRemoting is identical on jms-provider and client machines. After restart Jboss on client machine or Jboss whith Jms-provider the message delivering was started succesfully. What do this message means and How can I resolve this problem? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162263#4162263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Exception when starten 2nd node
After migration from JBossMQ to JBossMessaging i get an exception when starting the 2nd cluster node. 2008-07-03 10:40:05,011 66685 ERROR [org.jboss.messaging.util.ExceptionUtil] (main:) SessionEndpoint[12-n9fx37if-1-oy9w37if-9w9nuy-m3g4o4c5] cre | ateConsumerDelegate [22-t9fx37if-1-oy9w37if-9w9nuy-m3g4o4c5] | javax.jms.InvalidDestinationException: No such destination: JBossQueue[intern.reporting.event] has it been deployed? | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(ServerSessionEndpoint.java:1838) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionEndpoint.java:252) | at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$createConsumerDelegate$aop( | SessionAdvised.java:94) | at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985689973.invokeNext(SessionAdvised$createConsu | merDelegate_8721389917985689973.java) | 2008-07-03 10:47:18,428 500102 ERROR [com.materna.buc.macs.comp.dm.svc.email.EMailReceiver] (Thread-55:) DeliveryService.EMAIL.test.email.0,serg | el] -103011 com.materna.buc.macs.exception.MacsJmsException: javax.jms.JMSException: There is no administratively defined queue with name:Deliv | eryService.EMAIL.test.email.0 -103011 | com.materna.buc.macs.exception.MacsJmsException: javax.jms.JMSException: There is no administratively defined queue with name:DeliveryService.EM | AIL.test.email.0 -103011 | at com.materna.buc.macs.basics.jms.MacsJmsObjects.setQueueSession(MacsJmsObjects.java:104) | at com.materna.buc.macs.basics.jms.MacsJmsClient.getQueueObjectsEx(MacsJmsClient.java:351) | at com.materna.buc.macs.basics.jms.MacsJmsClient.getQueueObjects(MacsJmsClient.java:413) | at com.materna.buc.macs.comp.dm.svc.BaseJmsReceiver.reconnectToJMS(BaseJmsReceiver.java:103) | at com.materna.buc.macs.comp.dm.svc.BaseJmsReceiver.receiveNextMsg(BaseJmsReceiver.java:187) | at com.materna.buc.macs.comp.dm.svc.email.EMailReceiver.run(EMailReceiver.java:240) | at java.lang.Thread.run(Thread.java:595) | It looks like a problem with the queues. The queues are deployed to deploy-hasingleton and work an the first (master) node. The 2nd node seems not to find these queue, even they are deployed to its deploy-hasingleton. What wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162264#4162264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Messages was not delivered
Additional info: I am using jms resource adapter and External JNDI on client: | | connection-factories | | !-- -- | !-- JMS Stuff -- | !-- -- | | !-- The JMS provider loader -- | mbean code=org.jboss.jms.jndi.JMSProviderLoader | name=jboss.messaging:service=JMSProviderLoader,name=JMSProviderRemote | attribute name=ProviderNameRemoteJMSProvider/attribute | attribute name=ProviderAdapterClass | org.jboss.jms.jndi.JNDIProviderAdapter | /attribute | !-- The combined connection factory -- | attribute name=FactoryRefXAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefXAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefXAConnectionFactory/attribute | !-- Uncomment to use HAJNDI to access JMS-- | attribute name=Properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=10.0.0.166:1199 | /attribute | /mbean | | mbean code=org.jboss.jms.asf.ServerSessionPoolLoader | name=jboss.messaging:service=ServerSessionPoolMBean,name=StdJMSPool | depends optional-attribute-name=XidFactoryjboss:service=XidFactory/depends | attribute name=PoolNameStdJMSPool/attribute | attribute name=PoolFactoryClass | org.jboss.jms.asf.StdServerSessionPoolFactory | /attribute | /mbean | | !-- JMS XA Resource adapter, use this to get transacted JMS in beans -- | tx-connection-factory | jndi-nameJmsXA/jndi-name | xa-transaction/ | rar-namejms-ra.rar/rar-name | connection-definitionorg.jboss.resource.adapter.jms.JmsConnectionFactory/connection-definition | config-property name=SessionDefaultType type=java.lang.Stringjavax.jms.Topic/config-property | config-property name=JmsProviderAdapterJNDI type=java.lang.Stringjava:/RemoteJMSProvider/config-property | min-pool-size10/min-pool-size | max-pool-size50/max-pool-size | application-managed-security/ | /tx-connection-factory | | mbean code=org.jboss.naming.ExternalContext name=jboss.jndi:service=ExternalContext,jndiName=remoteJndi | attribute name=JndiNameremoteJndi/attribute | attribute name=Properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=jnp://10.0.0.166:1199 | /attribute | attribute name=InitialContextjavax.naming.InitialContext/attribute | dependsjboss:service=Naming/depends | /mbean | | /connection-factories | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162267#4162267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message Consumer fails when using messageSelector
Solved! The problematic code was instantiated several times, so at least one jms-session per request was created. Seems this blocks the queue for a while, because the other (old) session processes the request and puts it back (no consumer) after a specific period. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162268#4162268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Contributing a New Document to JBPM Community
Hi Koen, I'll try sending it to you to your mail id.It's aroung 5 MB.If it doesn't get delivered do let me know. Thanks and Regards Mandrita. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162272#4162272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - specify resource adapter on an mdb deployment descriptor
Hello, I have developed my own custom inbound resource adapter, and also I have developed an ejb3 MDB to listen on messages from this resource adapter. I have annotated my ejb class with the following annotation | @ResourceAdapter(my-resource-adapter.rar) | in order to find the resource adapter rar and register on it, and it works fine. This is my question: Is there a way of specifying the resource adapter rar on the ejb3-jar.xml deployment descriptor file? Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162282#4162282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Error:
I moved out the WSRP folder and few more that We wont use, and now seems he's quite stable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162285#4162285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem starting JBoss 5 CR1
Hi, I have a stupid problem starting this version. It seems to me that either I have some environment variable error or there is an error in the way the startup script is using the values. The startup log is | JBoss Bootstrap Environment | | JBOSS_HOME: C:\Archivos de programa\jboss-5.0.0.CR1 | | JAVA: C:\Archivos de programa\Java\jdk1.5.0_12\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\Archivos de programa\jboss-5.0.0.CR1\bin\run.jar | | === | | 12:12:35,343 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 12:12:35,343 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254) | 12:12:35,375 INFO [ServerImpl] Home Dir: C:\Archivos de programa\jboss-5.0.0.CR1 | 12:12:35,375 INFO [ServerImpl] Home URL: file:/C:/Archivos de programa/jboss-5.0.0.CR1/ | 12:12:35,375 INFO [ServerImpl] Library URL: file:/C:/Archivos de programa/jboss-5.0.0.CR1/lib/ | 12:12:35,375 INFO [ServerImpl] Patch URL: null | 12:12:35,375 INFO [ServerImpl] Server Name: default | 12:12:35,375 INFO [ServerImpl] Server Home Dir: C:\Archivos de programa\jboss-5.0.0.CR1\server\default | 12:12:35,375 INFO [ServerImpl] Server Home URL: file:/C:/Archivos de programa/jboss-5.0.0.CR1/server/default/ | 12:12:35,375 INFO [ServerImpl] Server Data Dir: C:\Archivos de programa\jboss-5.0.0.CR1\server\default\data | 12:12:35,375 INFO [ServerImpl] Server Temp Dir: C:\Archivos de programa\jboss-5.0.0.CR1\server\default\tmp | 12:12:35,375 INFO [ServerImpl] Server Config URL: file:/C:/Archivos de programa/jboss-5.0.0.CR1/server/default/conf/ | 12:12:35,375 INFO [ServerImpl] Server Library URL: file:/C:/Archivos de programa/jboss-5.0.0.CR1/server/default/lib/ | 12:12:35,375 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml | 12:12:36,375 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Archivos de programa/jboss-5.0.0.CR1/server/default/conf/bootstrap.xml | 12:12:54,718 ERROR [AbstractKernelController] Error installing to Instantiated: name=bootstrap-classloader:0.0.0 state=Described | java.lang.RuntimeException: Error creating VFS file for file:/C:/Archivos de programa/jboss-5.0.0.CR1/lib//jboss-deployers-core-spi.jar | at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:177) | at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:194) | at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determinePolicy(VFSClassLoaderPolicyModule.java:51) | at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.getPolicy(ClassLoaderPolicyModule.java:140) | at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:188) | at org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.getPolicy(VFSClassLoaderPolicyModule.java:51) | at org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule.registerClassLoaderPolicy(ClassLoaderPolicyModule.java:85) | 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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:62) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss 5 CR1
anonymous wrote : JBOSS_HOME: C:\Archivos de programa\jboss-5.0.0.CR1 | | JAVA: C:\Archivos de programa\Java\jdk1.5.0_12\bin\java Do not install JBoss (or Java) in a folder containing space in its path. There are many weird issues reported when you install in such folders. Move (just copy/paste) the JBoss and even Java to a different location. Maybe to C:\jboss-5.0.0.CR1 and C:\jdk1.5.0_12. Then start the server. If you run into issues please post back with details. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162291#4162291 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: specify resource adapter on an mdb deployment descriptor
You can specify a resource-adapter-name in jboss.xml as shown here: http://wiki.jboss.org/auth/wiki/ConfigMessageListener View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162294#4162294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - IllegalArgument Exception while method invocation
Hi, I am using Jboss 4.2 app server and EJB3.0. A following remote method is exposed from the ejb. void mymethod(Myclass obj) { } when I invoke the mymethod() by passing null as the parameter the call goes to the EJB but when i pass a object of Myclass in it, it throws me a IllegalArgumentException. The same code works on Glassfish v2. By using reflection on the EJB object proxy I obtained the hashcode of Myclass and the Myclass that I have deployed on the web tier. both the hashcodes were different Let me know if I am wrong anywhere. Regards Ashish View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162296#4162296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem with IPC
Hi Sbiwal, Thanks for your kind reply, In portlet A I am submiting color, when ever entering submiting button than porlet B`s text must convert to the submiting color. First it was giving error msg, it was solved. now it was not listening, after submiting color , the doView method is caling not executing listener class. Let me know, in which way the application has to deploy either in .sar or .war format I am trying as war file deployment. I am placing jboss-service.xml in META-INF. Here I am giving my console displaying information: .A in processAction.. .A in doView.. .A..URL../portal/Lay/event+test/PortletA1Window?action=1 .B.in doView I try to print those statement in portlet A and porletB Please give me information regarding this issue. If you have the sample application than send me, this will useful for me waiting for your valuable reply. Thanks Regards, Dilip [EMAIL PROTECTED](if possible you can to this also) .B in doview.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162298#4162298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: IllegalArgument Exception while method invocation
anonymous wrote : I am using Jboss 4.2 4.2.2 GA? Please post the entire exception stacktrace, the version of Java you are using and the bean and its interface code. Also post the client code which invokes this method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162297#4162297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NullPointerException in JavaEEComponentHelper with JBoss
Jira story created: http://jira.jboss.org/jira/browse/JBAS-5713 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162299#4162299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Cannot start service endpoint; - nested throwable: (org.
Maybe this topic is to old, but I had the same problem while using JBoss Seam 2.0.2 SP1 + JBoss AS 4.2.2 GA. According to this changelog http://jira.jboss.org/jira/secure/attachment/12320769/changelog.txt ([JBSEAM-2297]) you must remove the extra dash in standard-jaxws-endpoint-config.xml (there are 2 in the seam docs). Removing the extra dash works for me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162300#4162300 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162300 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: .. problems with clob's and oracle (ojdbc14_g)
hi sandor, .. thanks for your quick response. - i switched to the ojdbc5_g.jar oracle driver, - added this annotation,... | @Entity @Table(name=TableName) | @Cache(usage = CacheConcurrencyStrategy.READ_ONLY) | public class ClassNamet { | @Column(name=Name1) | private String name1; | @Column(name=Name2) | private String name2; | *** | ** | * | | @Lob | @Column(name=Col_Clob, columnDefinition=CLOB) | private Clob col_clob; | but still get the same error: | 12:55:27,831 WARN [JDBCExceptionReporter] SQL Error: 932, SQLState: 42000 | 12:55:27,831 ERROR [JDBCExceptionReporter] ORA-00932: inconsistent datatypes: expected - got CLOB | I#m also not 100% procent sure where it breaks. is it the oracle driver or is it the mapping? If u can tell me, how you solved it, that'll be perfect. thanks a lot, joern View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162301#4162301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Could not find new XAResource to use for recovering non-
There is this document on recovery modules: https://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/jbossts/TX_Core_Failure_Recovery_Guide.pdf But no extra module should be needed. Do you have a small test case that exhibits this problem? If so, open a Jira and attach it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162302#4162302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Jboss-ws4ee vs jbossws
Hi Friends, I have be working on a task of migration of our application server from Jboss4.0.2 to jboss4.2.2. I was able to run my web application on Jboss 4.2.2 but the problem I have now is that jboss-4.0.2 had jboss-ws4ee stack with axis, but now with jboss 4.2.2 we just jbossws as the latest ws stack. The question that I have here is that can I run jboss-ws4ee on jboss-4.2.2 and if not then what are changes we need to do as our for our application to work with jbossws stack. Any other related info is also welcomed!!! Thanking in advance Amit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162303#4162303 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error on Jboss 4.2.2
Thanks a lot Peter !!! I will take in jbossws forum Regards Amit Sharma View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162304#4162304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: specify resource adapter on an mdb deployment descriptor
Thank you very much!! I was trying to put this property on ejb-jar.xml file. Now it works perfect. Cheers! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162306#4162306 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162306 ___ 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: Specifying table schema in orm.xml
Don't you specify the schema name in the datasource that you have configured for the persistence.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162308#4162308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to authenticate to the JBoss server from a desktop (
jaikiran wrote : From the client, are you trying to connect to a database using a datasource which is deployed on JBoss server? Yes. As I showed in the beginning I have a datasource deployed on the server. Here it is again: | C:\jboss-4.2.2.GA\server\default\deploy\laboratorio-informatica-ds.xml | -- | ?xml version=1.0 encoding=UTF-8? | !-- $Id: mssql-ds.xml 61002 2007-02-28 16:13:00Z [EMAIL PROTECTED] $ -- | datasources | local-tx-datasource | jndi-nameLaboratorioInformaticaDS/jndi-name | connection-urljdbc:sqlserver://server_name;databaseName=database_name/connection-url | driver-classcom.microsoft.sqlserver.jdbc.SQLServerDriver/driver-class | user-nameuser_name/user-name | passwordpassword/password | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- | metadata | type-mappingMS SQLSERVER2000/type-mapping | /metadata | /local-tx-datasource | /datasources | I access this datasource from my custom login module that I have in the EJB jar application also deployed on the server. Here's how the login module is configured on the server: | C:\jboss-4.2.2.GA\server\default\conf\login-config.xml | -- | ?xml version='1.0'? | !DOCTYPE policy PUBLIC | -//JBoss//DTD JBOSS Security Config 3.0//EN | http://www.jboss.org/j2ee/dtd/security_config.dtd; | | !-- other configuration... -- | | policy | !-- other configuration... -- | | application-policy name=laboratorio-informatica |authentication | login-module code=br.urca.www.laboratorioinformatica.seguranca.jboss.ModuloLoginFuncionarios | flag=required / |/authentication | /application-policy | /policy | And here's where the error is happening in the login module when it is accessed from the client application: | private Dados(String sql) throws LoginException | { | final String nomeFonteDados = java:/LaboratorioInformaticaDS; | try | { | InitialContext contexto = new InitialContext(); | // Error in the line bellow, in the lookup | DataSource fonteDados = | (DataSource) contexto.lookup(nomeFonteDados); | fConexao = fonteDados.getConnection(); | fInstrucao = fConexao.prepareStatement(sql); | fInstrucao.setString(1, getUsername()); | fDados = fInstrucao.executeQuery(); | } | catch (NamingException ex) | { | // ... | } | catch (SQLException ex) | { | // ... | } | } | All this thing is working in the web application. I can understand that in the web application being executed by JBoss the configuration is passed to the InitialContext automatically by JBoss because it is configured in the web application itself because of this file that exists in the web application and that JBoss uses it: | jndi.properties | --- | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=jnp://localhost:1099 | But there's no such a configuration in the client application, so JBoss can't pass all this information to the InitialContext when the login module is executed from the client application. I really would like to have a solution to this as I need to execute the same authentication process that I execute in the web application in the client application. I want to use the same custom login module. What is interesting is that when I comment the login line in the client application: | CallbackHandler gerenciador = | new UsernamePasswordHandler(nomeUsuario, senha); | fContextoLogin = new LoginContext(login, gerenciador); | //fContextoLogin.login(); | and later I execute a call on a bean method, even if I passed an invalid username and password, the call works. That's really whant I don't want. I want to authenticate with real users. I think that if we can make the login method of the LoginContext works, the problem will be solved. Can we have a solution to this? Marcos View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162310#4162310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: one question about Fork/Join
uhmmm... not very easily... jBPM certainly will not support this (not sure if any workflowengine supports this) You have to think out of the box... look at you process from a different perspective... it can almost certainly be moddeled in a different way while adhering to what happens in real life... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162312#4162312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss 5 CR1
JBOSS_HOME with no spaces does the trick, but it had worked well for all 3.x.x and 4.x.x previous versions Thank you anyway View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162314#4162314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem WS-Security Standard implementation difference -- i
Hi all, I built a JBoss 4.2.2 JBossWS Native 2.0.4/3.0.1 WS Client with the following jboss-wsse-client.xml security configuration: | ?xml version=1.0 encoding=UTF-8? | jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | config | timestamp ttl=30/ | sign type=x509v3 alias=SimpleClientCertPrivateKey includeTimestamp=true/ | encrypt type=x509v3 alias=SimpleClientCert/ | requires | signature/ | encryption/ | /requires | /config | timestamp-verification createdTolerance=500 warnCreated=true expiresTolerance=100 warnExpires=true/ | /jboss-ws-security | All certificates and KeyStores have been installed properly on both sides. The resulting SOAP message trace looks as follows: (Listing 1) | env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; | env:Header | wsse:Security env:mustUnderstand=1 xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd; xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd; | wsu:Timestamp wsu:Id=timestamp | wsu:Created2008-06-13T12:45:10.976Z/wsu:Created | wsu:Expires2008-06-13T12:45:40.976Z/wsu:Expires | /wsu:Timestamp | wsse:BinarySecurityToken EncodingType=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary; ValueType=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3; wsu:Id=token-2-121336663-11328770 | | !-- ... lot of base64 encoding ... -- | | /wsse:BinarySecurityToken | xenc:EncryptedKey xmlns:xenc=http://www.w3.org/2001/04/xmlenc#; | xenc:EncryptionMethod Algorithm=http://www.w3.org/2001/04/xmlenc#rsa-1_5; xmlns:xenc=http://www.w3.org/2001/04/xmlenc#/ | | ds:KeyInfo xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | wsse:SecurityTokenReference wsu:Id=reference-5-1213361112194-30222347 | wsse:Reference URI=#token-2-121336663-11328770 ValueType=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3/ | /wsse:SecurityTokenReference | /ds:KeyInfo | | xenc:CipherData xmlns:xenc=http://www.w3.org/2001/04/xmlenc#; | xenc:CipherValue xmlns:xenc=http://www.w3.org/2001/04/xmlenc#;lg6tOjzqKs26HX6KFk1nLA5YF5W5fQZ6dh2mzM9/V3r5Pg80vLz4x0EJ10Y1KdhXH08ijZxRZWjf | v1dqulorSnIyV7X0uk25y/OMDmkVYQ/VlQF7bxZr/5Q+UB6YwLy74N1jpx7lo4BZXUM9kEZmgFAo | o8SW8P3AcSgBAUoOpOc=/xenc:CipherValue | /xenc:CipherData | xenc:ReferenceList xmlns:xenc=http://www.w3.org/2001/04/xmlenc#; | xenc:DataReference URI=#encrypted-4-1213361112116-6044039 xmlns:xenc=http://www.w3.org/2001/04/xmlenc#/ | /xenc:ReferenceList | /xenc:EncryptedKey | ds:Signature xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | ds:SignedInfo xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | ds:CanonicalizationMethod Algorithm=http://www.w3.org/2001/10/xml-exc-c14n#; xmlns:ds=http://www.w3.org/2000/09/xmldsig#/ | ds:SignatureMethod Algorithm=http://www.w3.org/2000/09/xmldsig#rsa-sha1; xmlns:ds=http://www.w3.org/2000/09/xmldsig#/ | ds:Reference URI=#element-1-1213361110976-31952022 xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | ds:Transforms xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | ds:Transform Algorithm=http://www.w3.org/2001/10/xml-exc-c14n#; xmlns:ds=http://www.w3.org/2000/09/xmldsig#/ | /ds:Transforms | ds:DigestMethod Algorithm=http://www.w3.org/2000/09/xmldsig#sha1; xmlns:ds=http://www.w3.org/2000/09/xmldsig#/ | ds:DigestValue xmlns:ds=http://www.w3.org/2000/09/xmldsig#;l2LG3Bc2Rk+LgAjU2OP2vrVwYBM=/ds:DigestValue | /ds:Reference | ds:Reference URI=#timestamp xmlns:ds=http://www.w3.org/2000/09/xmldsig#; | ds:Transforms xmlns:ds=http://www.w3.org/2000/09/xmldsig#; |
[jboss-user] [JBoss Messaging] - Re: Exception when starten 2nd node
I tried it in the other way and moved the queue definitions from deploy-hasingleton to deploy folder. | server | mbean code=org.jboss.jms.server.destination.QueueService | name=jboss.messaging.destination:service=Queue,name=... | xmbean-dd=xmdesc/Queue-xmbean.xml | depends optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends | dependsjboss.messaging:service=PostOffice/depends | attribute name=Clusteredtrue/attribute | /mbean | /server | Both servers are now starting without any error, the queues are found. My test-app does following: 1. call session bean 2. session bean puts message to queue A 3. mdb (queue A) receives the message Locally this works fine. Then i moved 3. to the other node and started again. 1.+2. work but 3. (now on other cluster node) does not receive the message. What's wrong? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162316#4162316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem WS-Security Standard implementation difference -
You just need to configure the token reference type in JBossWS Native; see this: http://jbws.dyndns.org/mediawiki/index.php?title=WS-Security_options#Token_references View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162318#4162318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: JBoss Portal (2.6.6) Consumer, Liferay 4 Producer
Found the problem, but I'm really not sure of good solution :) Because we're using the relaxed checking it tries to do a substitution on a null string. We figure out the capabilities (which handles the markupTypes) before we do the MetaInfo and PortletInfo so we could use the first locale in the capabilities as the default, or we could simply default to English, but I'm not sure how great either of those two options are. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162326#4162326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS, Websphere 5.1 WS-Security interoperability
I'm developing a webservice client using jbossws native stack v2.0.4 that interact with a web service deployed in websphere 5.1. Authentication was managed by ws-security username profile. By the way, webspehere ws-security implementation was based on draft 13 of ws-security standard while jbossws implements final specs. The result was the following error: 16:14:16,093 INFO [STDOUT] 16:14:16,078 WARN DefaultExceptionHandler:90 - Unhandled exception caught by the Stripes default exception handler. javax.xml.ws.soap.SOAPFaultException: com.ibm.wsspi.wssecurity.SoapSecurityException: The Application Server expected a Security header with the http://schemas.xmlsoap.org/ws/2003/06/secext or http://schemas.xmlsoap.org/ws/2002/07/secext or http://schemas.xmlsoap.org/ws/2002/04/secext namespace, but it was not found. at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:72) at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109) at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:579) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:380) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:302) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:172) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:152) So, I can: - suggest an upgrade of websphere to v6 (not possible!!!) - use websphere webservice gateway (8() - downgrade to draft 13 ws-security specs used by jbossws (is possible?) - generate ws-security tag via a custom handler (is possible?) - any other ideas? Thanks, ForGR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162327#4162327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Help Running Wizard-generated project as an EAR
Hi Im using JBoss AS 4.2 I created a Seam application called MyFirstSeam. So it has 4 Project Folders: MyFirstSeam, MyFirstSeam-ear, -ejb, -test. Then I have succesffully run Seam Generate Entities, so i have Entities already. I Right Clicked MyFirstSeam folder, and Clicked Run-As Server. No code yet. I got the error, and then looked at the console... DeploymentException ... cannot find default\deploy\MyFirstSeam-ear.ear\jboss-seam.jar. I copied all the jar files manually from \myWorkspace\MyFirstSeam-ear\ to the deploy Folder and it worked OK. But my question is, isn't Eclipse suppose to copy that automatically for me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162331#4162331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Load Library problem
Hey Peter, let me explain with more details what's happened. I need to make some tests with JBoss in a x64 ambient. Then i did a download of the Java Virtual Machine (JDK 1.5.0_15) that can works in a x64 system and get a stable version of JBoss, i choice 4.2.2.GA version. In my test, i need to put one instance of JBoss like a windows service. This is ok but when i try to initiate this service appear this message: The JBoss service on Local Computer started and then stopped. Some services stop automatically if they have no work to do... After this, i looking for more details about this message, and i search for this in Event Viewer, then i found it: 1º message: The LoadLibrary function failed for the following reason: LoadLibrary is not a valid Win32 application. 2º message: Could not load the Java Virtual Machine. 3º message: The JBoss service failed to start. Is this what's happened with me. Can you help me? I'm thankful for your attention. Thiago. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162333#4162333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - process variable is blank
I have the following code in my process definiton: task-node name=viewBill | event type=node-leave |script | variable name=success access=write / | expression#{billAction.success}/expression |/script | /event | transition to=successful name=toSuccessful/transition | /task-node | | decision name=successful expression=#{billAction.success} | transition to=success name=true/transition | transition to=failure name=false/transition | /decision In my decision tag the billAction.success variable always has a value of either ture or false which is what i expected. When i run the process instance through my page it transitions to the corrrect node. However the variable success is always blank when i i check it in jpbm admin console. I would like this true or false value to be reflected there. Any help will be appreciated Albert Scholtz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162334#4162334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Delivery Notification [EMAIL PROTECTED]
This is a delivery status notification, automatically generated by MTA im5.duc.auburn.edu on Thu, 03 Jul 2008 09:56:53 -0500 Regarding recipient(s) : [EMAIL PROTECTED] Delivery status : Failed. Message could not be delivered to domain eng.auburn.edu .Failed while initiating the protocol. [('[EMAIL PROTECTED]', 550, '5.1.1 [EMAIL PROTECTED]... User unknown')] MTA Response :550 The original message headers are included as attachment. Reporting-MTA: dns; im5.duc.auburn.edu Final-Recipient: rfc822;diman@eng.auburn.edu Diagnostic-Code: smtp; 550 5.1.1 diman@eng.auburn.edu... User unknown Remote-MTA: dns; 131.204.12.13 Action: failed Status: 5.0.0 ---BeginMessage--- *** Body Not Included *** ---End Message--- ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Custom-Portlet-Mode in Jboss-Portletcontainer-2.0.0
Hello again, does the Jboss-Portletcontainer-2.0.0 support custom-portlet-modes? I can't get it to work! I tried this: portlet.xml: | ?xml version='1.0' encoding='UTF-8' ? | portlet-app xmlns='http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd' version='2.0' | portlet | descriptionAuthenticationPortlet/description | portlet-nameAuthenticationPortlet/portlet-name | display-nameAuthenticationPortlet/display-name | portlet-classfraunhofer.isst.portlets.AuthenticationPortlet/portlet-class | expiration-cache0/expiration-cache | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | portlet-modeHELP/portlet-mode | portlet-modeUNAUTHENTICATED/portlet-mode | /supports | resource-bundlefraunhofer.isst.portlets.messages/resource-bundle | portlet-info | titleAuthenticationPortlet/title | short-titleAuthenticationPortlet/short-title | /portlet-info | /portlet | custom-portlet-mode | description xml:lang=enAuthentication failure mode/description | portlet-modeUNAUTHENTICATED/portlet-mode | /custom-portlet-mode | /portlet-app | I'm iterating through all supported modes in doView(); | System.out.println(request.getPortalContext().getPortalInfo()); | Enumeration modeEnum = | request.getPortalContext().getSupportedPortletModes(); | System.out.println(pModes br /); | while (modeEnum.hasMoreElements()) | { | PortletMode pMode = (PortletMode) | modeEnum.nextElement(); | | System.out.println(li a href=\ + pMode.toString() + | \ + pMode + /a/li); | } | This returns only: | 16:58:07,642 INFO [STDOUT] JBossPortal/1.0 | 16:58:07,642 INFO [STDOUT] pModes br / | 16:58:07,642 INFO [STDOUT] li a href=viewview/a/li | 16:58:07,642 INFO [STDOUT] li a href=editedit/a/li | 16:58:07,642 INFO [STDOUT] li a href=helphelp/a/li | So, how can I use supported-portlet-mode? Best regards, rene View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162335#4162335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Configuring dependencies in Services
I am using JBoss 4.2.2GA (Windows XP, Java v.1.6.0_02), trying to figure out how to use Hibernate with JBoss (started following the how-to available in http://www.hibernate.org/66.html). The folder structure is as follows: - ...\server\default\deploy -- App.war (application, expanded in a folder) -- hibernate-ds.xml (Datasource for hibernate) -- hibernate-service.sar (hibernate service, expanded) META-INF -- jboss-service.xml -- MANIFEST.MF My problem is, I need the DataSource available when the hibernate-service is started, but that is not currently happening!! What am I doing wrong? The jboss-service.xml is (Lines I *guess* are important are in bold): | ?xml version=1.0 encoding=UTF-8? | server | mbean code=org.hibernate.jmx.HibernateService | name=jboss.jca:service=HibernateFactory, name=HibernateFactory | | !-- Supposed to make it deploy ONLY after DataSource had been started -- | dependsjboss.jca:service=RARDeployer/depends | depends optional-attribute-name=datasourc | jboss.jca:service=LocalTxCM,name=hibernate-ds | /depends | !-- | attribute name=MapResourcesmappings/Attribute.hbm.xml/attribute | -- | | attribute name=JndiNamejava:/hibernate/HibernateFactory/attribute | attribute name=Datasourcejava:/hibernate-ds/attribute | attribute name=Dialectorg.hibernate.dialect.Oracle9iDialect/attribute | attribute name=TransactionStrategyorg.hibernate.transaction.JTATransactionFactory/attribute | attribute name=TransactionManagerLookupStrategyorg.hibernate.transaction.JBossTransactionManagerLookup/attribute | attribute name=UserTransactionNameUserTransaction/attribute | | /mbean | /server | The hibernate-ds.xml... | ?xml version=1.0 encoding=UTF-8? | datasources | local-tx-datasource | jndi-namehibernate-ds/jndi-name | | connection-urljdbc:oracle:thin:@vts68:1521:app00/connection-url | driver-classoracle.jdbc.driver.OracleDriver/driver-class | user-nameuser/user-name | passwordpass/password | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name | | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -- | metadata |type-mappingOracle9i/type-mapping | /metadata | /local-tx-datasource | | /datasources | The exception that is thrown: | 11:29:27,656 INFO [ServiceConfigurator] Problem configuring service jboss.jca:s | ervice=HibernateFactory, name=HibernateFactory | org.jboss.deployment.DeploymentException: Exception setting attribute datasourc | = jboss.jca:service=LocalTxCM,name=hibernate-ds on mbean jboss.jca:service=Hibernat | eFactory, name=HibernateFactory; - nested throwable: (javax.management.Attribute | NotFoundException: not found: datasourc) | at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:707) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:382) | at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:462) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error
Thanks Peter. My XP was installed without any error. Following verbose as asked. C:\JBoss4\server\myconfig\examples\bankant -f build.xml -v Ant version 1.4 compiled on September 3 2001 Buildfile: build.xml Detected Java version: 1.4 in: C:\JDK5\jre Detected OS: Windows XP parsing buildfile C:\JBoss4\server\myconfig\examples\bank\build.xml with URI = f ile:C:/JBoss4/server/myconfig/examples/bank/build.xml Project base dir set to: C:\JBoss4\server\myconfig\examples\bank [property] Loading C:\JBoss4\server\myconfig\examples\common\build.properties [property] Loading C:\JBoss4\server\myconfig\examples\bank\build.properties resolving systemId: file:C:/JBoss4/server/myconfig/examples/bank/../common/targe ts.xml [property] Loading Environment env. BUILD FAILED C:\JBoss4\server\myconfig\examples\bank\build.xml:145: java.lang.NullPointerExce ption at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:85) at org.apache.tools.ant.Main.runBuild(Main.java:439) at org.apache.tools.ant.Main.start(Main.java:153) at org.apache.tools.ant.Main.main(Main.java:176) --- Nested Exception --- java.lang.NullPointerException at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java: 253) at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183) at org.apache.tools.ant.ProjectHelper$TaskHandler.finished(ProjectHelper .java:489) at org.apache.tools.ant.ProjectHelper$AbstractHandler.endElement(Project Helper.java:204) at org.xml.sax.helpers.XMLReaderAdapter.endElement(XMLReaderAdapter.java :355) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1523) at org.apache.crimson.parser.Parser2.content(Parser2.java:1766) at org.apache.crimson.parser.Parser2.externalParsedEntity(Parser2.java:2 753) at org.apache.crimson.parser.Parser2.expandEntityInContent(Parser2.java: 2487) at org.apache.crimson.parser.Parser2.maybeReferenceInContent(Parser2.jav a:2364) at org.apache.crimson.parser.Parser2.content(Parser2.java:1820) at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494) at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500) at org.apache.crimson.parser.Parser2.parse(Parser2.java:305) at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433) at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:225) at javax.xml.parsers.SAXParser.parse(SAXParser.java:344) at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:117) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:85) at org.apache.tools.ant.Main.runBuild(Main.java:439) at org.apache.tools.ant.Main.start(Main.java:153) at org.apache.tools.ant.Main.main(Main.java:176) Total time: 1 second Kindly help. Anup Jani View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162341#4162341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - RedeliveryTime and MaxDeliveryAttempts
My original post it here: http://www.jboss.com/index.html?module=bbop=viewtopict=138469 Sorry for posting again but I'm still stuck and thought my question might be suited here. I've also tried to edit the DefaultMaxDeliveryAttempts and DefaultRedeliveryDelay variables in messaging-service.xml but these dont seem to have any effect either. JBoss5 is still retrying immediately and only 5 times even though I set these to 10 and 5000 respectively. Can someone shed some light why RedeliveryTime, MaxDeliveryAttempts, DefaultMaxDeliveryAttempts, DefaultRedeliveryDelay all seem to be ignored. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162340#4162340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tutorial: Modeling BPEL with Eclipse BPEL Designer and j
Great job, if only these links were not broken. cheers -- Daniele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162344#4162344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi
Doesn't look like images and script tags are being rewritten like they should: 2008-07-03 09:28:02,930 TRACE [org.jboss.ws.core.MessageTrace] Incoming Request Message | soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | soapenv:Body | getMarkup xmlns='urn:oasis:names:tc:wsrp:v1:types' |registrationContext xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:nil='true'/ |portletContext | portletHandle/nomination_poc.nomination_poc_create/portletHandle |/portletContext |runtimeContext | userAuthenticationwsrp:none/userAuthentication | portletInstanceKey68/portletInstanceKey | namespacePrefix_68_INSTANCE_zlpM_/namespacePrefix |/runtimeContext |userContext | userContextKey10117/userContextKey | profile | name | prefix/ | givenTest/given | familyTest/family | middle/ | suffix/ | nicknametest/nickname | /name | /profile |/userContext |markupParams | secureClientCommunicationfalse/secureClientCommunication | localesen/locales | localesde/locales | mimeTypestext/html/mimeTypes | modewsrp:view/mode | windowStatewsrp:maximized/windowState | clientData | userAgentLiferay WSRP Agent/userAgent | /clientData | markupCharacterSetsUTF-8/markupCharacterSets | validNewModeswsrp:view/validNewModes | validNewModeswsrp:help/validNewModes | validNewModeswsrp:edit/validNewModes | validNewWindowStateswsrp:normal/validNewWindowStates | validNewWindowStateswsrp:maximized/validNewWindowStates | validNewWindowStateswsrp:minimized/validNewWindowStates |/markupParams | /getMarkup | /soapenv:Body | /soapenv:Envelope | 2008-07-03 09:28:03,090 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns1:getMarkupResponse xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |ns1:markupContext | ns1:useCachedMarkup xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'false/ns1:useCachedMarkup | ns1:mimeType xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'text/html/ns1:mimeType | ns1:markupString xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'div | div id=cntIncDiv style=display: none;script src=/nomination_poc/xmlhttp/1215098757426/icefaces-d2d.js type=text/javascript/script | script src=/nomination_poc/xmlhttp/1215098757426/ice-extras.js type=text/javascript/script/divscript id=IKwoYMRkPxGYSHaQT0TBcA:12:configuration-script type=text/javascriptif (!window.sessions) window.sessions = []; window.sessions.push('IKwoYMRkPxGYSHaQT0TBcA'); | var container = 'IKwoYMRkPxGYSHaQT0TBcA:12:configuration-script'.asElement().parentNode; | container.bridge = new Ice.Community.Application({session: 'IKwoYMRkPxGYSHaQT0TBcA',view: 12,synchronous: false,redirectURI: null,connection: {context: {current: '/nomination_poc/',async: '/nomination_poc/'},timeout: 6,heartbeat: {interval: 5,timeout: 3,retries: 3}}}, container);/scriptiframe frameborder=0 id=history-frame src=/nomination_poc/xmlhttp/blank style=z-index: 1; visibility: hidden; width: 0; height: 0; position: absolute; opacity: 0.22; filter: alpha(opacity=22); title=Icefaces Redirect/iframediv class=menuButtonstable class=icePnlGrd id=menuPanelGridtbodytr class=icePnlGrdRow1td class=icePnlGrdCol leftMenu id=menuPanelGrid-0-0div class=icePnlGrp id=leftMenuIdspan class=iceOutTxt id=menuProjectNameIdnomination_poc:/span | a href=wsrp_rewrite?wsrp-urlType=resourceamp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2Fhome.seam%3Fcid%3D12amp;amp;wsrp-requiresRewrite=true/wsrp_rewrite id=menuHomeIdHome/a | a href=wsrp_rewrite?wsrp-urlType=resourceamp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FApprovalList.seamamp;amp;wsrp-requiresRewrite=true/wsrp_rewrite id=ApprovalIdApproval List/a | a href=wsrp_rewrite?wsrp-urlType=resourceamp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FAwardlevelList.seamamp;amp;wsrp-requiresRewrite=true/wsrp_rewrite id=AwardlevelIdAwardlevel List/a | a href=wsrp_rewrite?wsrp-urlType=resourceamp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNomination.seamamp;amp;wsrp-requiresRewrite=true/wsrp_rewrite id=NominationCreateIdCreate Nomination/a | a href=wsrp_rewrite?wsrp-urlType=resourceamp;amp;wsrp-url=http%3A%2F%2F172.29.37.175%3A8080%2Fnomination_poc%2FNominationList.seamamp;amp;wsrp-requiresRewrite=true/wsrp_rewrite id=NominationIdNomination List/a | a
[jboss-user] [JBoss jBPM] - special task assignment
Hi, I need to define a process such that when I first enter a certain node it gets assigned to a group. Every time I enter it after that I wan't to assign it to whoever was assigned to the previous node (where it transitioned from to get to this node). Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162346#4162346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services
Try this, instead of the lines marked in bold, in your jboss-service.xml: dependsjboss.jca:service=RARDeployer/depends | dependsjboss.jca:service=LocalTxCM,name=hibernate-ds/depends | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162347#4162347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2
RichFaces 3.2 download doesn't have a tld file? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162348#4162348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Help Running Wizard-generated project as an EAR
it is known problem, related to WTP regression in 2.0.2 - https://bugs.eclipse.org/bugs/show_bug.cgi?id=222531. There is a patch available to fix issue mentioned above - http://repository.jboss.org/eclipse/webtools/patches/wtp-P-P20080506003122-20080506003122.zip. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162351#4162351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JmsTemplate w/ JBM still discouraged?
Are the statements made at http://wiki.jboss.org/wiki/JBMSpringJMSTemplateNotes still relevant to Spring release 2.5.4? The topic of the page is discouraging the use of Spring JMSTemplate with JBoss Messaging but the version of Spring is not referenced. tia ts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162360#4162360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jsr 88 and RAR deployment
Can I use JSR 88 for RAR (Resource Adapter) deployment and to start/stop RAR? The JBoss test suite does not seem to include this test. (It only tests EAR, JAR and WAR) Thanks, M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162367#4162367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Richfaces 3.2 with JBoss/Seam Tools NullPointer Exception
Im trying to use Richfaces 3.2 with Jboss/Seam tools. When generating a Seam Web Project from wizard, on the JSF Capabilities I created and chose my own library one that contained richfaces-api-3.2.0.SR1.jar and richfaces-impl-3.2.0.SR1 and then on the Component Libraries section I created andc hose a library with richfaces-ui-3.2.0.SR1. Also I copied all those three jars on the applications WEB-INF\lib folder and removedrichfaces-ui.jar and richfaces-api.jar. (is this a right thing to do?) Now when I run the project on the server, upon first load, I get an exception: | | 02:18:37,509 ERROR [AjaxPhaseListener] Exception on get current Skin | java.lang.NullPointerException | at org.ajax4jsf.event.AjaxPhaseListener.beforePhase(AjaxPhaseListener.java:121) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | How do I make this work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162369#4162369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Load Library problem
It sounds like you wrote your own Windows service code to start JBossAS as a service. If so, that code, written in C, is incorrect. Might I ask why you are not using an established mechanism for doing this, such as JBoss Native? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162374#4162374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error
Looks like Ant is having problems with your environment variables. From the command prompt where you are running ant, run: set and post the results. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162375#4162375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process variable is blank
please make a unit test that demonstrates the problem without using the console... and embed the processdefinition as a string in the test View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162378#4162378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: special task assignment
where is something 'reassigned' to an individual? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162380#4162380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment error with 5.0.0.CR1
When deploying an exploded EAR I get the stacktrace below. This EAR deploys on JBossAS 4.2.2 without any problem. I just changed the DTD declarations inside jboss-app.xml and jboss-service.xml. Then I changed the package names for @IgnoreDependency and org.jboss.security.auth.spi.Util.createPasswordHash(). I'm using JDK 6u10beta with the switch -Dsun.lang.ClassLoader.allowArraySyntax=true Here is the Stacktrace: 2008-07-03 21:54:14,049 INFO [org.apache.coyote.ajp.AjpAprProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009 | 2008-07-03 21:54:14,069 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:11s:32ms | 2008-07-03 21:54:36,191 WARN [org.jboss.detailed.classloader.ClassLoaderManager] (HDScanner) Unexpected error during load of:javax.activation.SecuritySupport12 | java.lang.IllegalAccessError: class javax.activation.SecuritySupport12 cannot access its superclass javax.activation.SecuritySupport | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:621) | at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:63) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:502) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:462) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:460) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:437) | at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134) | at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131) | at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452) | at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:254) | at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:148) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:196) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1009) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:728) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:372) | at java.lang.ClassLoader.loadClass(ClassLoader.java:252) | at org.jboss.deployment.AnnotatedClassFilter.accepts(AnnotatedClassFilter.java:121) | at org.jboss.deployment.AnnotatedClassFilter.visit(AnnotatedClassFilter.java:102) | at org.jboss.virtual.plugins.vfs.helpers.WrappingVirtualFileHandlerVisitor.visit(WrappingVirtualFileHandlerVisitor.java:62) | at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:264) | at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:279) | at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209) | at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:277) | at org.jboss.virtual.plugins.context.AbstractVFSContext.visit(AbstractVFSContext.java:209) | at org.jboss.virtual.VFS.visit(VFS.java:330) | at org.jboss.virtual.VirtualFile.visit(VirtualFile.java:383) | at org.jboss.deployment.AnnotationMetaDataDeployer.getClasses(AnnotationMetaDataDeployer.java:215) | at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:182) | at org.jboss.deployment.AnnotationMetaDataDeployer.deploy(AnnotationMetaDataDeployer.java:97) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834) | at
[jboss-user] [Remoting] - Re: ClassNotFoundException while calling remote ejb3 across
Hi Armin, Sorry I'm late getting back to you. At this point we're getting beyond the scope of Remoting. I would suggest that you try the EJB 3.0 forum, http://www.jboss.com/index.html?module=bbop=viewforumf=221 or the Installation, Configuration DEPLOYMENT forum, http://www.jboss.com/index.html?module=bbop=viewforumf=61. If you post to another forum, maybe you could let us know where. I'd like to follow any further discussion. Thanks, Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162388#4162388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] JBoss shutdown dependency issue
I'm working with apache jackrabbit and have it persisting its data in my DefaultDS (which I've converted over to MySQL). My jcr-ds.xml looks like this: connection-factories tx-connection-factory jndi-namejcr/local/jndi-name xa-transaction / rar-namejackrabbit-jca-1.4.rar/rar-name connection-definitionjavax.jcr.Repository/connection-definition config-property name=homeDir type=java.lang.String${java.io.tmpdir}/jackrabbit5/config-property config-property name=configFile type=java.lang.String${jboss.server.home.dir}/conf/jcr-repository.xml/config-property config-property name=bindSessionToTransaction type=java.lang.Booleantrue/config-property dependsjboss.jca:service=DataSourceBinding,name=DefaultDS/depends /tx-connection-factory /connection-factories Which is working fine. But shutdown is where I have my issue. 11:55:31,609 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=jcr/local' from JNDI name 'java:jcr/local' 11:55:31,609 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS' 11:55:31,624 INFO [RepositoryImpl] Shutting down repository... 11:55:31,624 INFO [IndexMerger] IndexMerger terminated 11:55:31,640 INFO [SearchIndex] Index closed: R:\Temp\/jackrabbit5/repository/index 11:55:31,640 INFO [RepositoryImpl] shutting down workspace 'default'... 11:55:31,640 INFO [ObservationDispatcher] Notification of EventListeners stopped. 11:55:31,640 INFO [IndexMerger] IndexMerger terminated 11:55:31,640 INFO [SearchIndex] Index closed: R:\Temp\jackrabbit5\workspaces\default/index 11:55:31,656 INFO [TxConnectionManager] throwable from unregister connection TERRIBLE EXCEPTIONS So it looks like JBoss is shutting down the DefaultDS before it shuts down Jackrabbit, even though I have a depency on the DefaultDS in Jackrabbit. How can I fix this issue? ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2
There is TLD in richfaces-ui-3.2.1.GA.jar/META-INF Just copy this jar into WEB-INF/lib and you will be able to import it to Palette. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162400#4162400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss 3.2.2GA and application.xml
Anyone know why a web project will not publish from eclipse Europe or Ganymede with 3.2.2 GA? I always get the apllication.xml not found error. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162402#4162402 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss 3.2.2GA and application.xml
I believe (but am not certain) that jboss 4.x is not jee5 compliant for ears and requires an application.xml even though jee5 does not require one. You are probably using a 1.5 EAR project which does not create an application.xml for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162405#4162405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:
Hi i tried several combinations of modifing jboss-wsse-*.xml | port name=LottoEJBWSPort | operation name={urn:com:tools:wsse}setValue | config | sign type=x509v3 alias=s1as includeTimestamp=false | targets | target type=qnamesetValueResponse/target | /targets | /sign | encrypt type=x509v3 alias=s1as | targets | target type=qnamesetValueResponse/target | /targets | /encrypt | requires | signature/ | encryption/ | /requires | /config |/operation | /port | | unfortunately the result is the same. in this example http://wiki.jboss.org/wiki/WSSecurityComplexExample i saw that for respose elements a typeNamespace has been setted. Since i work with JAXWS i didnt found the annotation to activate this. Thanks in advance if it is a Bug how can i report it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162406#4162406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Standalone cache, what TransactionManager to use?
[EMAIL PROTECTED] wrote : If you want a good production-grade standalone JTA transaction manager, try JBossTS. Although JBossTS may indeed be the best choice, I want to mention Jboss Cache works with JoTM too under Tomcat 6. JoTM hasn't been updated for years, so it might not be your best choice anymore. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162407#4162407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss failed for stress test? Or Log4j?
I have a Vb6 client that consume JBoss/Hibernate. While doing the stress test for overnight, VB6 run completely and JBoss is still up but data processed half. And I found the log produced is with size: 4.01 GB (4,314,379,264 bytes) with this setting: appender name=FILE class=org.jboss.logging.appender.DailyRollingFileAppender | errorHandler class=org.jboss.logging.util.OnlyOnceErrorHandler/ | param name=File value=${jboss.server.log.dir}/server.log/ | param name=Append value=false/ | | !-- Rollover at midnight each day -- | param name=DatePattern value='.'-MM-dd/ | | !-- Rollover at the top of each hour | param name=DatePattern value='.'-MM-dd-HH/ | -- | | layout class=org.apache.log4j.PatternLayout | !-- The default pattern: Date Priority [Category] Message\n -- | param name=ConversionPattern value=%d %-5p [%c] %m%n/ | | !-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n | param name=ConversionPattern value=%d %-5r %-5p [%c] (%t:%x) %m%n/ | -- | /layout |/appender Is it a known issue for JBoss? Do I need to turn on the file-rolling? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162417#4162417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem with IPC
I think your portlet events for Portlet A and B are not bound to the listener. The reason you are getting messages from the doView in portlet B is because. it is probably added on the same page as portlet A. So as soon as you submit portlet A, the entire page is rendered again and hence calling the doView in portletB. Please see one of my previous posts regarding how you can login as admin and check what listeners are bound to your portlet windows. Also you are suppose to deploy the .sar file View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162418#4162418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: one question about Fork/Join
kukeltje wrote : uhmmm... not very easily... jBPM certainly will not support this (not sure if any workflowengine supports this) | | You have to think out of the box... look at you process from a different perspective... it can almost certainly be moddeled in a different way while adhering to what happens in real life... Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162419#4162419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Problem with the update site?
I was trying to update the JBoss Tools plugin via the update site and encountered RichFaces VPE Feature (2.1.1.GA) requires feature org.jboss.tools.xulrunner.feature (1.8.1.3-20070904), or compatible. Which appears to be on the update site but isn't getting picked-up by the eclipse update manager. Disabling the RichFaces feature and the seam tools allows it to work. -Brett View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162420#4162420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Modifing a Deployed Process Definition
I have an existing process definition deployed (jbpm-jpdl-3.2.2.jar). As expected, there are new requirements for which we need to add to the process definition. I would like to modify the existing process definition rather than deploy a second version. Otherwise, I will need to write a program to convert all of the existing process instances to the new version. While our process is complex (lots of nodes, decisions, wait states and sub processes), I'm hoping modifying the process definition is a doable programming exercise. Basically, I want to modify a couple of current wait states to include new outbound transitions and then new processing paths (nodes/decisions/wait states). Sorry for the long lead up to my questions. First, since I am only adding to the process definition and not modifying (removing/renaming/deleting) anything that currently exists, will I be safe to just add the new stuff to the process definition table (created using POJOs and hibernate - not directly inserting into the table)? I was thinking of loading the process definition and then adding nodes (of the correct type) via the api (I'm assuming there is an api to do this). Or will I also need to modify all of the existing process instances? Basically what we are doing is modifying the current flow: start - node - node - wait --A-- node -- etc... --B-- node -- etc... To add a third transition: --C-- node -- etc... So any open process instance can execute the C transition from the wait state (if that is where the PI is waiting). TIA, Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162423#4162423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment error with 5.0.0.CR1
Solved: activation.jar and mail.jar are contained in the web module's WEB-INF/lib. However, they are already contained in $JBOSS_HOME/client. Another deployment issue now occurs, and will be shown in another thread. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162424#4162424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Launch Files: Real control of Seam-Gen
Hi! Hi! We (in my project) have heavily modified and enhanced the functionality of seam-gen, but I think we are hitting a hard limit: we can not say do not generate the EntityEdit.xhtml because that is read-only. No matter what we do, all the *.ftl templates get called for all the our entites. We use JBossTools 2.1.1 and store our seam-gen configurations in Eclipse .launch files (and call them using the Code Generation Launcher). The initial from database to entities configuration is in a file named:projectname-generate-entities.launch, after that I create a file named: projectname-generate-pages.launch that creates from the entities to the pages . The difference is that projectname-generate-entities.launch only uses 1 exporter, the Domain code exporter (extract of projectname-generate-entities.launch): | booleanAttribute key=org.hibernate.tools.exporters.hbmtemplate0 | value=true / | stringAttribute | key=org.hibernate.tools.exporters.hbmtemplate0.extension_id | value=org.hibernate.tools.hbm2java / | mapAttribute | key=org.hibernate.tools.exporters.hbmtemplate0.properties | mapEntry key=template_path | value=\seam-templates\hibernate-tools / | /mapAttribute | On the other hand projectname-generate-pages.launch is much larger (here is only the part that generates the EntityEdit.xhtml: | mapAttribute | key=org.hibernate.tools.exporters.hbmtemplate4.properties | mapEntry key=outputdir value=/applicationName/WebContent/ / | mapEntry key=for_each value=entity / | mapEntry key=template_name value=view/edit.xhtml.ftl / | mapEntry key=file_pattern value={class-name}Edit.xhtml / | mapEntry key=hibernatetool.util.toolclass | value=org.hibernate.eclipse.launch.SeamUtil / | /mapAttribute | As you can see, the exporter configuration for EntityEdit.xhtml is very different, and one of themain differences is that it has a : | mapEntry key=for_each value=entity / | now, i would like to extend this mechanism to make it possible to generate the EntityEdit.xhtml only for... for example non-readonly entities (or any other criteria that I choose): mapEntry key=for_each value=readonly-entity / | (And then create my own custom @ReadOnlyEntity annotation to control generation) My plan to achieve that effect was to create my own exporter, to do that, I need to configure a Generic Hibernate metamodel exporter and create my own exporter class (inheriting I think)... but here is my problem... the docs only explain how to set the exporter class for ant: | hbmtemplate | filepattern={package-name}/{class-name}.ftl | template=somename.ftl | exporterclass=Exporter classname | / | Docs do not explain how to configure the exporterclass in a eclipse *.launch file (or if is even possible)... How can I do that? (Do I need to modify the Eclipse Jboss Tools code? or this features is available but undocumented?) Thanks Regards, P.D. Sorry for cross posting, but I posted this question at SeamFramework.org and nobody answered, and I am starting to think that maybe that is because this forum is a better match for this kind of question because it is more related to JBoss Tools than Seam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162426#4162426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - 5.0.0CR1: deployment error with @PersistenceContext and @Ign
An exploded EAR deploys and runs fine with JBossAS 4.2.2. Adapting some DTD declarations and package names I tried the deployment with for 5.0.0CR1 and failed. The stacktrace is below. The problem: - KundenverwaltungBean is a SLSB and references the SLSB BestellverwaltungBean via its interface Bestellverwaltung - The reference is declared with @PersistenceContext and @IgnoreDependency because BestellverwaltungBean also has a reference back to KundenverwaltungBean via its interface Kundenverwaltung - BestellverwaltungBean has a field em of type EntityManager being annotated with @PersistenceContext(name=hskaPersistence) - hskaPersistence is the name of persistence-unit inside META-INF/persistence.xml Here is the stacktrace. Any hint is appreciated! Is this a bug in the hot deployment scanner? 2008-07-04 06:00:55,388 INFO [org.apache.coyote.ajp.AjpAprProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009 | 2008-07-04 06:00:55,398 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.0.0.CR1 (build: SVNTag=JBoss_5_0_0_CR1 date=200806301254)] Started in 1m:10s:120ms | 2008-07-04 06:01:14,105 INFO [STDOUT] (HDScanner) == Creating interceptor metadata bridge | 2008-07-04 06:01:14,816 INFO [STDOUT] (HDScanner) == Creating interceptor metadata bridge | 2008-07-04 06:01:14,866 INFO [STDOUT] (HDScanner) == Creating interceptor metadata bridge | 2008-07-04 06:01:15,007 INFO [STDOUT] (HDScanner) == Creating interceptor metadata bridge | 2008-07-04 06:01:15,137 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (HDScanner) WEIRDNESS IN AOP: advisor [EMAIL PROTECTED] | 2008-07-04 06:01:15,187 WARN [org.jboss.ejb3.interceptors.aop.InjectInterceptorsFactory] (HDScanner) WEIRDNESS IN AOP: advisor [EMAIL PROTECTED] | 2008-07-04 06:01:15,207 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Created KernelDeployment for: hskaEJB.jar | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) installing bean: persistence.units:ear=hska.ear,jar=hskaEJB.jar,unitName=hskaPersistence | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) with dependencies: | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) and demands: | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) jboss.jca:name=hskaDS,service=DataSourceBinding | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) and supplies: | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) persistence.units:unitName=hskaPersistence | 2008-07-04 06:01:15,217 INFO [org.jboss.ejb3.deployers.JBossASKernel] (HDScanner) Added bean(persistence.units:ear=hska.ear,jar=hskaEJB.jar,unitName=hskaPersistence) to KernelDeployment of: hskaEJB.jar | 2008-07-04 06:01:15,217 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfsfile:/C:/Programme/jboss/server/default/deploy/hska.ear/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying hskaEJB.jar: injection-target could not be found: de.hska.bestellverwaltung.BestellverwaltungBean.hskaPersistence | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:192) | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:95) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455) | at
[jboss-user] [JBoss Tools (users)] - Problem with JBoss AS 5.0.0CR1
I do have a problem with JBoss AS5. datasource is accessed via JNDI before it is even bound My environment Win XP SP2 Java 1.5.0 10 Seam 2.0.3.CR1 (This should include compatibility patches for AS5.0) richfaces-ui-3.2.1.GA JBT 2.1.1 The story: Created a Seam project with JBT 2.1.1 (mysql database) and deployed it successfully to JB AS 4.2.2GA Created a server for 5.0.0.CR1 Deployed the above mentioned project to it. The problem is a kind of ordering: | 07:15:58,703 INFO [Contexts] starting up: prunusEntityManagerFactory | 07:15:58,859 INFO [Version] Hibernate Annotations 3.4.0.CR1 | 07:15:58,890 INFO [Environment] Hibernate 3.3.0.CR1 | 07:15:58,906 INFO [Environment] hibernate.properties not found | 07:15:58,921 INFO [Environment] Bytecode provider name : javassist | 07:15:58,937 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 07:15:59,125 INFO [Version] Hibernate Commons Annotations 3.1.0.CR1 | 07:15:59,125 INFO [Version] Hibernate EntityManager 3.4.0.CR1 | 07:15:59,515 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interf | aces} | 07:15:59,515 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/prunusDatasource | javax.naming.NameNotFoundException: prunusDatasource not bound | | 07:16:00,421 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=prunusDatasource' to JNDI name 'java:prunusDatasource' | As you see, the datasource is accessed via JNDI before it is even bound:-( Can someone reproduce this behaviour? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162430#4162430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 5.0.0CR1: deployment error with @PersistenceContext and
I am experiencing almost the same problem. The problem is with the deployment order of the files. The persistence xml file is deployed first, and the whole ear and the datasource is deployed last. Therefore the persistence provider cannot be started as it requires the datasource. The line 'Demands ...' is the culprit. Well no answer yet, I will post it, if I find it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162431#4162431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Use RichFaces ver 3.2
Thanks. I had to copy the jars manually in WEB-INF/lib. Also I had to manually copy it on the deploy directory... .default/deploy/MyApp-ear.ear/ and renamed richfaces-api-3.2.0SR1.jar to richfaces-api.jar But isn't the Wizard supposed to do this for me when I said to have my Own JSF Capability instead of the Server supplied JSF? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162432#4162432 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuring dependencies in Services
anonymous wrote : javax.management.AttributeNotFoundException: not found: datasourc Isn't the mispelling of datasourc instead of datasource View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162433#4162433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:
You can add an issue on http://jira.jboss.org/jira/browse/JBWS. Please attach a simple application showing the behaviour you're seeing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162434#4162434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem with IPC
Hi Thanks for your reply, yah, portletB is not bound with the listner, checked in admin view. still I am not able to solve this problem If dont mine give simple example (I am very fresher and new to JBoss Portal technology) I am creating my application as war file, how can i create sar file, is there is any structure to it. Give me suggestion regarding this issue waiting for you reply, Dilip [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162435#4162435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Have tried it now with JBT 2.1.2 Created a new seam project in the workspace where i have already defined an as5 server and the datasource Target Runtime JBoss 5.0 Runtime Target Server JBoss 5.0 Server Configurations Dynamic Web Project with Seam 2.0 Seam runtime 2.0.3CR1 After generation of this project i run Seam generate Entities Starting the server yields the same behaviour:-( Any idea what the reason is for this issue ? | 07:46:30,343 INFO [ServerImpl] Home Dir: E:\IDE\jboss-5.0.0.CR1 | 07:49:24,781 INFO [StandardService] Starting service jboss.web | 07:49:24,781 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3 | 07:49:24,875 INFO [Catalina] Server startup in 93 ms | 07:49:27,109 INFO [NativeServerConfig] 3.0.2.GA | 07:49:30,375 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war | 07:49:31,640 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war | 07:49:31,750 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war | 07:49:31,890 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war | 07:49:31,937 INFO [TomcatDeployment] deploy, ctxPath=/jbas5, vfsUrl=jbas5.war | 07:49:31,984 WARN [WebResourceHandler] Ignoring invalid TimerService resource-env-ref | 07:49:32,125 WARN [WebResourceHandler] Ignoring invalid TimerService resource-env-ref | 07:49:34,453 INFO [ServletContextListener] Welcome to Seam 2.0.3.CR1 | 07:49:42,906 INFO [Contexts] starting up: jbas5EntityManagerFactory | 07:49:43,062 INFO [Version] Hibernate Annotations 3.4.0.CR1 | 07:49:43,093 INFO [Environment] Hibernate 3.3.0.CR1 | 07:49:43,109 INFO [Environment] hibernate.properties not found | 07:49:43,125 INFO [Environment] Bytecode provider name : javassist | 07:49:43,140 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 07:49:43,359 INFO [Version] Hibernate Commons Annotations 3.1.0.CR1 | 07:49:43,359 INFO [Version] Hibernate EntityManager 3.4.0.CR1 | 07:49:44,671 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 07:49:44,671 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/jbas5Datasource | javax.naming.NameNotFoundException: jbas5Datasource not bound | 07:49:44,703 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war | 07:49:44,953 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jbas5Datasource' to JNDI name 'java:jbas5Datasource' | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162436#4162436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user