[jboss-user] [JBoss jBPM] - Re: Duplication of processDefinition
I am also interested by this topic since it is not a good idea to export a process definition as xml. see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=135563 What is the solution for building a new process definition which is very similar (or an extension) of a previous (already defined) process definition? It is not convenient to restart from scratch. Thanks, Val View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159447#4159447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How can set longblob type in entitybean 3.0
How are you generating the table schema scripts? Are you relying on the "hibernate.hbm2ddl.auto" property for schema generation? If yes, then make sure that the column type in the generated schema script is not tinyblob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159445#4159445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HOw to create user so that no one can see others tasks..
i do the following for new group and user creation : 1) create a group of name 'guest' insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values(812,'G','guest','security-role'); 2) Then create a user of name 'user' insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values(123,'U','guest','[EMAIL PROTECTED]','shipper'); 3) Then insert into membership table insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values(52,'M',812, 123); But it gives the same error as i mentioned ... Is anything I left to do ... Please suggestwaiting for reply.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159444#4159444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Problem getting JDBC datasource from JBOSS
Being discussed here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=137799 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159441#4159441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159441 ___ 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: Problem getting JDBC datasource from JBOSS
| | Try removing these entries from the persistence.xml. I also see that you are using a non-jta-datasource and persitence type RESOURCE_LOCAL. For container managed entity manager, this should have been a jta-datasource and the (default) persistence type JTA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159440#4159440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: I got some performance problem while sending a lot of me
Yes, I got it, thanks fox. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159439#4159439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with connecton pooling in JBOSS 4.2.2GA
You are looking up the datasource from a standalone java program. The java: namespace (to which the datasource is bound) will not be accessible from the standalone client. See this http://wiki.jboss.org/wiki/HowCanIAccessADataSourceFromAClient for more information View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159436#4159436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment: Deploying as ear !!!!!URGENT!!!!!!!
To avoid the archive being exploded to temp folder, you can go for exploded deployment. You can deploy the myApp.ear as well as the web1.war (which is inside the ear) in exploded format. See this http://wiki.jboss.org/wiki/ExplodedDeployment for more details. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159435#4159435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: changing conn parameters in -ds.xml file !!!urgent!!!
"sankul123" wrote : Even after updating I still get old conn object if I make a JNDI call. | I dont see any events as mentioned in case 1 , when I update the ora-ds.xml file in second case. | You should be redeploying the EAR to see the changes in -ds.xml , modify the EAR/META-INF/app.xml after you make changes in the -ds.xml that will lead to the hot deployment of EAR . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159434#4159434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with connecton pooling in JBOSS 4.2.2GA
thankQ kiran 4 ur fast reply but, already i configured mysql-ds.xml filr as shown bellow.. mysql-ds.xml DefaultDS jdbc:mysql://localhost:3306/jmsDB com.mysql.jdbc.Driver root root 50 10 . . and as part of my progrm my code is as follows package com.v2.util; import java.sql.Connection; import java.sql.SQLException; import java.util.Hashtable; import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NamingException; import javax.sql.DataSource; public class DBConnFactory { static Connection con=null; @SuppressWarnings("unchecked") public static Connection getConnection() throws NamingException, SQLException { InitialContext ic = null; DataSource ds = null; Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.put(Context.URL_PKG_PREFIXES, "=org.jboss.naming:org.jnp.interfaces"); env.put(Context.PROVIDER_URL, "jnp://localhost:1099"); ic = new InitialContext(env); ds=(DataSource)ic.lookup("java:/DefaultDS"); con = ds.getConnection(); return con; } public static void main(String[] args) { try { System.out.println("connection---"+ DBConnFactory.getConnection()); } catch (NamingException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } But whole running my progrm it showing the following error javax.naming.NameNotFoundException: DefaultDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.v2.util.DBConnFactory.getConnection(DBConnFactory.java:28) at com.v2.util.DBConnFactory.main(DBConnFactory.java:35) now u tell me how can i cross this View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159433#4159433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple Strut-Config.xml
has any one got an answer to this.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159432#4159432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Problem getting JDBC datasource from JBOSS
Hi, Hope someone can help me out here. I'm using JPA(EJB3) with Hibernate and MySQL in my J2EE apps. The problem is that I'm trying to get the datasource from the JNDI. I think I configured the JNDI and datasource correctly as I follow the JBOSS Server_COnfiguration_Guide.pdf properly and the JMX console even shows the JNDI Datasource. I copied mysql-ds.xml from the example and just modified the database properties and put it under "deploy" directories. Here's my mysql-ds.xml : | | | MySqlDS | jdbc:mysql://localhost:3306/test_db | com.mysql.jdbc.Driver | abc | abc | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | | | | | | |mySQL | | | | My web project includes a JPA Project that uses Hibernate. When I ran my project I got this error: | 11:38:27,640 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS' | 11:38:27,718 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 11:38:29,125 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/jboss_jpa_web_all_in_oneEAR.ear | 11:38:34,734 INFO [TomcatDeployer] deploy, ctxPath=/jboss_jpa_web_all_in_one, warUrl=.../tmp/deploy/tmp41843jboss_jpa_web_all_in_oneEAR.ear-contents/jboss_jpa_web_all_in_one-exp.war/ | 11:38:36,562 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/jboss_jpa_web_all_in_oneEAR.ear | 11:38:36,734 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 | 11:38:36,765 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 11:38:36,765 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 36s:328ms | 11:39:59,609 INFO [STDOUT] 11:39:59,609 INFO [Version] Hibernate Annotations 3.3.0.GA | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] Hibernate 3.2.6 | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] hibernate.properties not found | 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] Bytecode provider name : javassist | 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 11:39:59,812 INFO [STDOUT] 11:39:59,812 INFO [Version] Hibernate EntityManager 3.3.1.GA | 11:40:00,359 INFO [STDOUT] 11:40:00,359 INFO [AnnotationBinder] Binding entity from annotated class: com.hui.Person | 11:40:00,875 INFO [STDOUT] 11:40:00,875 INFO [EntityBinder] Bind entity com.hui.Person on table person_table | 11:40:00,953 INFO [STDOUT] 11:40:00,953 INFO [Version] Hibernate Validator 3.0.0.GA | 11:40:01,171 INFO [STDOUT] 11:40:01,171 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory} | 11:40:01,171 ERROR [STDERR] javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource: java:MySqlDS | 11:40:01,171 ERROR [STDERR] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737) | 11:40:01,171 ERROR [STDERR] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) | 11:40:01,171 ERROR [STDERR] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) | 11:40:01,171 ERROR [STDERR] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) | 11:40:01,171 ERROR [STDERR] at org.apache.jsp.jpa_005fimplementation_jsp._jspService(jpa_005fimplementation_jsp.java:74) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | 11:40:01,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | 11:40:01,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 11:40:01,171 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.Appl
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem getting JDBC datasource from JBOSS
Hi, Hope someone can help me out here. I'm using JPA(EJB3) with Hibernate and MySQL in my J2EE apps. The problem is that I'm trying to get the datasource from the JNDI. I think I configured the JNDI and datasource correctly as I follow the JBOSS Server_COnfiguration_Guide.pdf properly and the JMX console even shows the JNDI Datasource. I copied mysql-ds.xml from the example and just modified the database properties and put it under "deploy" directories. Here's my mysql-ds.xml : | | | MySqlDS | jdbc:mysql://localhost:3306/test_db | com.mysql.jdbc.Driver | abc | abc | org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter | | | | | | |mySQL | | | | My web project includes a JPA Project that uses Hibernate. When I ran my project I got this error: | 11:38:27,640 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDS' to JNDI name 'java:MySqlDS' | 11:38:27,718 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 11:38:29,125 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/jboss_jpa_web_all_in_oneEAR.ear | 11:38:34,734 INFO [TomcatDeployer] deploy, ctxPath=/jboss_jpa_web_all_in_one, warUrl=.../tmp/deploy/tmp41843jboss_jpa_web_all_in_oneEAR.ear-contents/jboss_jpa_web_all_in_one-exp.war/ | 11:38:36,562 INFO [EARDeployer] Started J2EE application: file:/C:/jboss-4.2.2.GA/server/default/deploy/jboss_jpa_web_all_in_oneEAR.ear | 11:38:36,734 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 | 11:38:36,765 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 11:38:36,765 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 36s:328ms | 11:39:59,609 INFO [STDOUT] 11:39:59,609 INFO [Version] Hibernate Annotations 3.3.0.GA | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] Hibernate 3.2.6 | 11:39:59,640 INFO [STDOUT] 11:39:59,640 INFO [Environment] hibernate.properties not found | 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] Bytecode provider name : javassist | 11:39:59,656 INFO [STDOUT] 11:39:59,656 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 11:39:59,812 INFO [STDOUT] 11:39:59,812 INFO [Version] Hibernate EntityManager 3.3.1.GA | 11:40:00,359 INFO [STDOUT] 11:40:00,359 INFO [AnnotationBinder] Binding entity from annotated class: com.hui.Person | 11:40:00,875 INFO [STDOUT] 11:40:00,875 INFO [EntityBinder] Bind entity com.hui.Person on table person_table | 11:40:00,953 INFO [STDOUT] 11:40:00,953 INFO [Version] Hibernate Validator 3.0.0.GA | 11:40:01,171 INFO [STDOUT] 11:40:01,171 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory} | 11:40:01,171 ERROR [STDERR] javax.persistence.PersistenceException: org.hibernate.HibernateException: Could not find datasource: java:MySqlDS | 11:40:01,171 ERROR [STDERR] at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:737) | 11:40:01,171 ERROR [STDERR] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121) | 11:40:01,171 ERROR [STDERR] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51) | 11:40:01,171 ERROR [STDERR] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33) | 11:40:01,171 ERROR [STDERR] at org.apache.jsp.jpa_005fimplementation_jsp._jspService(jpa_005fimplementation_jsp.java:74) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | 11:40:01,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | 11:40:01,171 ERROR [STDERR] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | 11:40:01,171 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 11:40:01,171 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 11:40:01,171 ERROR [STDERR] at org.apache.catalina.core.Appl
[jboss-user] [Clustering/JBoss] - Re: How to get IP address of JBoss instances
"[EMAIL PROTECTED]" wrote : From the jboss:service=DefaultPartitionMBean, get the HAPartition attribute. On that, invoke HAPartition.getClusterNodes(). That will return ClusterNode[], with each element representing a member of the current view. ClusterNode.getIpAddress() and getPort() will return the address/port JGroups is using. I got it worked. Thank you very much for you help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159428#4159428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Exception when a cluster node joins under load
Just to loop back on my efforts to integrate JBoss Cache 2.1.1.GA with AS 4.2.2.GA. I have this mostly working. It required upgrading the AOP deployer in the AS to JBoss AOP 2.0.0 (I used CR8) and also using the new pluggable-instrumentor.jar as the javaagent. JBoss Cache 2.1.1.GA appears to have solved the startup issue I was previously seeing...at least I have not been able to reproduce it since and it was regularly reproducible in my environment in the past. Just a couple of questions regarding 2.1.1.GA though: 1) Is 2.1.0.GA the latest Pojo Cache release? Right now, I have taken Pojo Cache 2.1.0.GA and Core Cache 2.1.1.GA. I do not see any newer releases in the SF downloads page or the maven repositories, not even for 2.2.0. 2) (Maybe this should go to the Pojo Cache forum but it's all sort of related) We are seeing a new problem where Lists and Sets are not working properly following the upgrade. Specifically, we use a JDBC cache loader. The lists work fine until we bring the cluster down and back up again. When we do, all of the lists and sets appear as empty. What's weirder, if we execute .size() or take some other action on the collection, the list attributes come in. Has anyone seen this before? I'm fairly certain this is related to the AOP switch. I've triple checked that the aop config file is correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159427#4159427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How can set longblob type in entitybean 3.0
I use Jboss 4.2.2.G , Mysql 5.0 and entitybean 3.0. The problem I have is that the type of the object keeps tinyblob. I would want to change longblob but it does not work. Here is a code. public class Test implements Serializable { private static final long serialVersionUID = 1L; private Long id; @Lob @Column(name="cmd",columnDefinition="LONGBLOB",length=100) private Object cmd <-- this is always tinyblob. Does anyone know how to change to make longblob?. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159423#4159423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: job executor explained in a nutshell
I must rewrite my last but one reply. I was trying it ones more how it behaves and the blocking I was writing about is not truth. Hello Alex, anonymous wrote : | No updates will be ever lost with higher isolation levels. The database will ensure that no two transactions that update the same data item can proceed. | Yes, I agree. If we set transaction to repeatable read isolation level, in my opinion optimistic locking does not work, because during whole transaction we always read same version of our row. The application can not see that another commited tx updated some row (bacause we have repeatable read). I think that optimistic locking needs non-repeatable read to work but jbpm docs says opposite. Regards Pavel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159422#4159422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deployment: Deploying as ear !!!!!URGENT!!!!!!!
HI ALL, I have an ear myApp.ear file and deployed it under ${JBOSS_HOME}/server/default/deploy. On start[run] it got exploded to default/temp folder. I have few configurations done on few property files. Once I restart the server again I dont see the configuraions it is again exploded to a new temp folder. myApp.ear | | | | | |--- web1.war | || | ||application.properties[any updates done are lost on restart] | | | |--- web2.war | | | | Does this mean all configurations done any file uploaded to context is lost after restart? Is there any configuration I am missing? Sandeep View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159418#4159418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: job executor explained in a nutshell
I think that optimistic locking needs READ COMMITTED isolation level of transactions. Nothing more, nothing less. Pavel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159414#4159414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - changing conn parameters in -ds.xml file !!!urgent!!!
I have tried to explain using these two cases - ora-ds.xml -> oracle ds xml file. CASE 1: If I place the ora-ds.xml file under ${JBOSSHOME}/server/default i,e ${JBOSSHOME}/server/default | | | |--- myApp.ear | | | |---ora-ds.xml | | | and I update the ora-ds.xml file manually with new connection params to the same JNDI name, I can see the following in log file - [06/19/08 12:08:49,879 PM] [ConnectionFactoryBindingService] [INFO] [Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OracleDS' from JNDI name 'java:OracleDS'] [06/19/08 12:08:49,957 PM] [ConnectionFactoryBindingService] [INFO] [Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'java:OracleDS'] This gives me confirmation that connection obj is according to changed conn parameters. CASE 2: I am trying to achieve the above thing through a program and just move the ora-ds.xml inside the ear[few of the customers are not interested giving our program any permissions[java security perm] outside our context]. So now I have placed the ora-ds.xml file inside ear and specify the path in jboss-app.xml file. myApp.ear | | | |-META-INF | | | | | |-jboss-app.xml [ ora-ds.xml] | | | | | | | | | |--- web1.war | | | |--- web2.war | | | | | |---ora-ds.xml | | | | And I am updating the ora-ds.xml file from my program. Even after updating I still get old conn object if I make a JNDI call. I dont see any events as mentioned in case 1 , when I update the ora-ds.xml file in second case. Bottom Line : anonymous wrote : I want to update the connection parameters in ora-ds.xml and get new conn obj accordingly Please answer whether what I am trying to do is either possible or NOT possible Sandeep View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159411#4159411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: job executor explained in a nutshell
Hello Alex, anonymous wrote : | No updates will be ever lost with higher isolation levels. The database will ensure that no two transactions that update the same data item can proceed. | Yes, I agree. But the db will block the second update until transaction with first update commits. There is no need to use optimistic locking with repeatable read isolation level because optimistic locking does not work with repeatable read. If I understand it well, we have optimistic locking to prevent conflicting updates. We do not want to send two conflicting updates to db because db (in my case Oracle) will block the second update. We want application could see that another committed tx changed our row (that we already read) and we want to rollback our tx immediately (without blocking). If we set transaction to repeatable read isolation level, in my opinion optimistic locking does not work, because during whole transaction we always read same version of our row. The application can not see that another commited tx updated some row. (bacause we have repeatable read). I think that optimistic locking needs non-repeatable read to work but jbpm docs says opposite. Regards Pavel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159410#4159410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159410 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Schema Validation - Failed to read schema document
Trying to turn on Schema Validation for a webservice I have created. All is ok running without validation, wsconsume has no issues generating artifacts on the server side, nor any issues running wsconsume on client side, nor any issue running the client and getting a response from the server when schema validation is NOT enabled. But, as soon as I turn on schema validation, I get the following error on the server. 17:03:59,347 INFO [SOAPBodyElementDoc] Validating: XML_VALID 17:03:59,363 WARN [StrictlyValidErrorHandler] org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'OneCardTxnRequest.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . 17:03:59,363 WARN [StrictlyValidErrorHandler] org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'OneCardTxnResponse.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not . 17:03:59,363 ERROR [StrictlyValidErrorHandler] org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'ocreq:OCReq' to a(n) 'element declaration' component. 17:03:59,363 ERROR [SOAPFaultHelperJAXWS] SOAP request exception org.jboss.ws.WSException: org.xml.sax.SAXException: src-resolve: Cannot resolve the name 'ocreq:OCReq' to a(n) 'element declaration' component. at org.jboss.ws.WSException.rethrow(WSException.java:68) at org.jboss.ws.core.soap.SOAPBodyElementDoc.validatePayload(SOAPBodyElementDoc.java:130) at org.jboss.ws.core.soap.SOAPBodyElementDoc.transitionTo(SOAPBodyElementDoc.java:82) at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:173) at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263) My wsdl does import two xml schemas that represent the request and response documents. Actually, had this as a single schema, but thought I'd break it up too see if the issue was dealing with both elements. Anways, a snippet of the wsdl is as follows. http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:ocreq="http://request.doc.onecard.exchange.hps.com/"; xmlns:ocrsp="http://response.doc.onecard.exchange.hps.com/"; xmlns:tns="http://ws.onecard.exchange.hps.com/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="http://ws.onecard.exchange.hps.com/";> http://ws.onecard.exchange.hps.com/"; version="1.0" xmlns:tns="http://ws.onecard.exchange.hps.com/"; xmlns:ocreq="http://request.doc.onecard.exchange.hps.com/"; xmlns:ocrsp="http://response.doc.onecard.exchange.hps.com/"; xmlns:xs="http://www.w3.org/2001/XMLSchema";> http://request.doc.onecard.exchange.hps.com/"/> http://response.doc.onecard.exchange.hps.com/"/> . And a snippet of my Service implementation class is as follows. @WebService(serviceName="OneCardService", portName = "OneCardInterface", endpointInterface="com.hps.exchange.onecard.ws.OneCardInterfaceType", targetNamespace = "http://ws.onecard.exchange.hps.com/";, wsdlLocation = "WEB-INF/wsdl/OneCard.wsdl" ) @SchemaValidation public class OneCardInterface extends SpringBeanAutowiringSupport implements OneCardInterfaceType { .. } I do actually generate my artifacts using wsconsume in a different project and then copy my wsdl and the two xml schemas to my WAR's WEB-INF/wsdl directory. Not sure, if that could be effecting anything. Kind of running around in circles at this point. Any ideas would be greatly, greatly appreciated. Thanks, Bob View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159403#4159403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - jndi for war deployment
Hi, I'm having JBoss running my EJBs deployed in a WAR. I can't thought use Seam sessionBean components due to jndi lookup failure. Now, is this line from components.xml incorrect for a WAR archive? Obviously something's wrong since I'm getting javax.naming.NameNotFoundException: SampleAction not bound SampleAction is, of course, my sessionBean implementing a @Local interface. I'm using Jboss tools server hot deployment instead of ant for building the app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159400#4159400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss-4.2.2GA SSI
I'm trying to install the latest stable version of JBoss - jboss-4.2.2GA - and I'm having a problem with server-side-includes. The documentation says: | | | | Assuming that CATALINA_HOME is .../jboss-4.2.2GA/server/default/deploy/jboss-web.deployer, the SSI jar file doesn't exist. The directory. $CATALINA_HOME/server doesn't even exist. I'm upgrading from JBoss 4.0 which came with tomcat integrated right into it. Do I now have to install tomcat separately? If so, how? What's the deal? How do you get SSI to work with JBoss4.2? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159398#4159398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - SPNEGO Negotiation - JBoss Negotiation 2.0.3.Beta1
The first beta release of the JBoss Negotiation project has just been made. The JBoss Negotiation project provides a Tomcat authenticator and JAAS login module which can be used to add SPNEGO negotiation to any web application deployed to JBoss. The authenticator and user guide can be downloaded from http://jira.jboss.com/jira/browse/SECURITY-249 Further information on the project is available in the Wiki http://wiki.jboss.org/wiki/JBossNegotiation The current implementation has been developed against Active Directory using both Internet Explorer and Firefox as the clients. The priorities for the Beta2 release are currently being planned so let us know here the problems you encounter or the features you would like to see. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159396#4159396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 3.2.7 no longer deploys due to site reorganizatio
Shouldn't JBoss use the DTD from jar files instead? what option should I look into for changing that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159395#4159395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159395 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Cannot arrange portlets horizontally
The problem is now solved, it turns out that none of the renderer class make use of the orientation attribute. Adding some extra lines to the source code and compile the portal-theme-lib.jar would solve the problem. PM me if anyone want details on how to solve the orientation issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159393#4159393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Drag and Drop: Drag works, but Drop not working?
It looks like we can only go to scriptaculous 1.7.1-beta3. Any version >= 1.8.0 breaks portal DnD in all browsers except FF2 ;) We will stay on 1.7.1-Beta3 until we figure out if it's our js code or theirs: http://jira.jboss.com/jira/browse/JBPORTAL-2047 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159388#4159388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: looking for a
Unfortunately, all of the simple apps I know of come only as source code which you have to build and then deploy. The only app I can think of that is ready to deploy is JBoss Portal, but it is not simple. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159387#4159387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: not accessible from localhost
In the console log, a few lines before the "Started in xxx seconds" message, there is an entry that looks like: 11:35:20,462 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 The IP address in that entry is the one actually bound to. >From my reading of the code (a couple of weeks ago, so I might be >misremembering this), the -b and jboss.bind.address both set >jboss.bind.address, with the last one on the command line winning. In >addition, the -b option also sets a few other things. I would recommend not >using -Djboss.bind.address on the command line because of that, but stick to >just -b. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159386#4159386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS hangs and logging stops
The behavior you are seeing could be the result of a significant garbage colelction. You are not, by any chance, using the CMS collector? If so, if that collector gets behind in its duties, a full serial collection takes place, and that collection is usually very painful. One way to check this is to monitor the garbage collection data using -XX:+PrintHeapAtGC. See my presentation at http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159384#4159384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Web folder
Post the full path name of a static file you are attempting to access. For example, my file was c:/registry/some.html And post the URL you are using to access the static file. For example, I used http://localhost:8080/registry/some.html By the way, I used JBossAS 4.2.2 and JDK 1.5.0_15. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159379#4159379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is this a bug or is it intentional
I see problems with both the current code and your proposed fix. The current code fails for the declaration below, because it will try to assign a HashMap to a Hashtable. Hashtable keyCodes; The proposed fix actually makes things worse because the following declaration is the common case. Class.newInstance() fails for interfaces. Map keyCodes; The definitive solution should address both scenarios. I'll reopen the issue and add this comment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159378#4159378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Get ear name
private static String getEarName() { | URL url = Thread.currentThread().getContextClassLoader().getResource(""); | Pattern p = Pattern.compile("(?i)/([^/:\\*\\?<>\\|]+)\\.ear/"); | Matcher m = p.matcher(url.getPath()); | if (m.find()) { | return m.group(1) + "/"; | } else { | return ""; | } | } It's a bit of a hack, but it's the only way I could find. I don't want to be annotating every single bean, it's error-prone. Wish they would standardize bean naming. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159371#4159371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Our site crashes when jboss.com is down!!!
Sorry, bad formatting. Here it is again. Form post - http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133165 JIRA - http://jira.jboss.com/jira/browse/EMB-4 The forum post talks about it, but says that commenting out DTDs is not optimal. The JIRA also talks about it in regards to SeamTest, but there are no replies or comments at all. Is it really understood and accepted that when the JBoss site is down, all Seam apps crash until it comes back up, or did I miss some configuration option that everyone else but me knows about? It is really unacceptable that our application depends on a third party site to be functional. Can they be locally hosted? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159370#4159370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Our site crashes when jboss.com is down!!!
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133165 also talks about it in regards to SeamTest, but there are no replies or comments at all. Is it really understood and accepted that when the JBoss site is down, all Seam apps crash until it comes back up, or did I miss some configuration option that everyone else but me knows about? It is really unacceptable that our application depends on a third party site to be functional. Can they be locally hosted?[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159369#4159369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JBoss Cluster failover not working
Hi, I am using Jboss 4.2.2.GA with Messaging 1.4SP3. I am running two MDB's on a server. I have two identical nodes running in a cluster, both using the same db with two different serverpeerid's. I have configured them to run in a cluster by setting the following: -Djboss.partition.name= -Djboss.messaging.datachannelupdaddress= -Djboss.messaging.controlchannelupdaddress= Both servers start and join the cluster together. Failover has been an issue. With a standalone java ap, we are sending messages to a queue on ServerA. ServerA is processing the messages. 1. We kill A - B should take over 2. B reports failover complete and the following message Timed out getting a connection from the pool. Try increasing clientMaxPoolSize and/or numberOfRetries attributes in remoting-xxx-service.xml org.jboss.jms.exception.MessagingJMSException: Failed to invoke 3. No messages are processed on B There are cases where failover works and you see the usual error messages such as: peer closed connection, trying to re-send msg 2nd attempt to send data failed too Got marshalling exception, exiting These messages appear during the failover of B but the messages in 2. also appear when failover does not suceed correctly. MORE INFO: 1. binding to the machine name (machine-xp.net) 2. using the same machine name in jndi.properties file for standalong java app sending messages 3. Using ClusterConnectionFactory for JMS Producer from java app Any help would be greatly appreciated. Thank You, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159365#4159365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Clustering JBoss Messaging without Shared Database?
anonymous wrote : 'ant release-bundle' will build you a full release. Thanks Andy; I was able to build it accordingly. However, I face a little (?) problem when starting the two server. I have described it below anonymous wrote : | CP stands for "cumulative patch". | | CP binary releases are available to our paying support customers who get them first, you can always build them from source though if you want. If you have a support contract you'll have access to them. Thanks Tim, for the reply. I have spoken to my boss about the support contract. Now my issue is this; I built the JBM 1.4.0.SP3_CP02. I have two instances of messaging in two physical machines. I wanted a null persistence approach and so, I used null-persistence-service.xml. I removed the hssqldb-persistence-service.xml. I did not bother about configuring a datasource (skipped those steps in the messaging guide since I was going for null-persistence approach) Configure a JCA datasource using an example from $JBOSS_HOME/docs/examples/jca | and copying to $JBOSS_CONFIG/deploy | JBoss Messaging uses DefaultDS by default so you should configure your datasource to bind to that | Remove hsqldb-ds.xml from $JBOSS_CONFIG/deploy | Copy your database driver to $JBOSS_CONFIG/lib | messaging-node0 is in machine 1; the Server Peer ID is 0 messaging-node1 is in machine 2; the Server Peer ID is 1 The application server version is 4.2.2.GA JBoss Remoting jar version is 2.2.2.SP7-brew is used Now, after completing the installation, I started instance 1 (messaging-node0 using run -b 0.0.0.0 -c messaging-node0) in machine 1 and it started with out any issue. When I tried starting the instance 2 (messaging-node1 using run -b 0.0.0.0 -c messaging-node1) in machine 2, the server gives error. I even changed the order in which the instances were started i.e., started instance 2 first and it started with out any issue. When I start instance 1 next, this gives error. Always, the instance that is being started second, gives the error. The error occurs when trying to start the "testDistributedQueue". All the other queues and topics (including the "testDistributedTopic) starts with out any issue. I have pasted the error message that I received in the server console in instance 2. The actual error is this 12:26:46,294 ERROR [ExceptionUtil] Queue[null, name=testDistributedQueue] startService java.lang.IllegalStateException: Channel id map for node 0 already contains binding for queue 12 Please help... Thanks, Ebe The console output | | C:\Documents and Settings\esamuel>run -b 192.168.200.151 -c messaging-node0 | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\Java\POC_2\jboss-4.2.2.GA | | JAVA: C:\Java\Java\jdk1.5.0_15\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: C:\Java\Java\jdk1.5.0_15\lib\tools.jar;C:\Java\POC_2\jboss-4.2.2.GA\bin\run.jar | | === | | 12:26:25,700 INFO [Server] Starting JBoss (MX MicroKernel)... | 12:26:25,700 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) | 12:26:25,700 INFO [Server] Home Dir: C:\Java\POC_2\jboss-4.2.2.GA | 12:26:25,700 INFO [Server] Home URL: file:/C:/Java/POC_2/jboss-4.2.2.GA/ | 12:26:25,700 INFO [Server] Patch URL: null | 12:26:25,700 INFO [Server] Server Name: messaging-node0 | 12:26:25,700 INFO [Server] Server Home Dir: C:\Java\POC_2\jboss-4.2.2.GA\server\messaging-node0 | 12:26:25,700 INFO [Server] Server Home URL: file:/C:/Java/POC_2/jboss-4.2.2.GA/server/messaging-node0/ | 12:26:25,700 INFO [Server] Server Log Dir: C:\Java\POC_2\jboss-4.2.2.GA\server\messaging-node0\log | 12:26:25,700 INFO [Server] Server Temp Dir: C:\Java\POC_2\jboss-4.2.2.GA\server\messaging-node0\tmp | 12:26:25,700 INFO [Server] Root Deployment Filename: jboss-service.xml | 12:26:25,966 INFO [ServerInfo] Java version: 1.5.0_15,Sun Microsystems Inc. | 12:26:25,966 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_15-b04,Sun Microsystems Inc. | 12:26:25,966 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 12:26:26,544 INFO [Server] Core system initialized | 12:26:29,528 INFO [WebService] Using RMI server codebase: http://192.168.200.151:8083/ | 12:26:29,528 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 12:26:30,325 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 12:26:30,325 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 12:26:31,106 INFO [TransactionManagerService] Starting recovery manager | 12:26:31,2
[jboss-user] [JBoss jBPM] - Re: Workflow process visual rapresentation
anonymous wrote : Does the JBPM Console implement such functionality No View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159363#4159363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HOw to create user so that no one can see others tasks..
post 1: search the forum, wiki etc... post 2: something is misconfigured, most likely a role or membership you forgot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159362#4159362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tutorial or guide to create instances of processes in ja
both are 'valid', but you can also look at jBPM 3.2.3. Preliminary support for webservices is there. But you have the overhead of webservices without the advantage of transactions like with ejb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159361#4159361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Could not send mail
or a flaky firewall, or View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159360#4159360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - InterceptorStack, type=Producer : run twice ?
Hi, I am building an portlet interceptor to monitor the portlets processing. I have made an interceptor in the Consumer stack. and one in the Producer stack. the Consumer stack : I mean the service named : "portal:service=InterceptorStack,type=Instance" the Producer stack : the service named : "portal:service=InterceptorStack,type=Producer" the one with the ProducerCacheInterceptor, the WindowStatesInterceptor, ModesInterceptor, etc... *** In the log, I can see that the Consumer interceptor is invoked once. ok. but the Producer interceptor is invoked twice. one just after the consumer, and one that seems after the portlet has done it's job. I track only the render request. Why is it called twiced ? ** more important question : may be there is a reason for this double invocation. Then, how to discriminate them ? I want to know what is the second invocation any information or tip is welcome... or any other interceptor that might be usefull to look at. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159359#4159359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: job executor explained in a nutshell
I find this statement wildly odd-sounding: anonymous wrote : In the time gap between Transaction start time and the UPDATE/DELETE statement there could be commited changes that will be lost (Lost Updates). No updates will be ever lost with higher isolation levels. The database will ensure that no two transactions that update the same data item can proceed. With "lost" they seem to mean unavailable to the isolated transaction. However, that is exactly what is needed for the job executor to operate properly. Note that the REPEATABLE_READ suggestion is not a rule. Isolation levels are implemented differently in each database and in some databases it may be possible to use a lower isolation level that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159358#4159358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159358 ___ 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
The example runs without trouble. I used the example for my eclipse testclient. As noted, my test-client used the the wrong classpath, i will verify this. Primary goal to get jboss messaging running inside the container. The message driven beans work fine. Also my jms-client works in general. In my opinion the defect affects message headers only. So receiving without selector works, too. markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159355#4159355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - JET FUEL $100.00 PER BARREL
I AM A FULL SERVICE FUEL DEALER/EXPORTER IN THE UNITED STATES. I CARRY JET A; JET A1; AVGAS; 100LL; HELICOPTER FUEL; AVIATION FUEL. I SELL FUEL FROM 24 REFINERIES COAST TO COAST THAT ARE AFFILIATES. I APPRECIATE THE OPPORTUNITY TO BID ON YOUR FUEL REQUIREMENTS. PLEASE INCLUDE THE EXACT DESTINATION AND QUANTITY IN YOUR REQUEST ON COMPANY LETTERHEAD. PLEASE ALLOW A 14 DAY LEAD WAY ON FUEL DELIVERY. SO, IF YOU REQUIRE FUEL, I LOOK FORWARD TO EXCEEDING YOUR EXPECTATIONS IN MY FUEL PRODUCTS. TYPICAL FULL SALES OFFER I, Harrison Rains Hanover, as the SELLER, with full authority and legal responsibility, under penalty of perjury, hereby confirm that I am ready willing and able to sell the commodity: JET A1 under the following terms and conditions below. PRODUCT: JET A1 ORIGIN: USA SPECIFICATIONS: SPECIFICATION DEPENDS UPON DELIVERY OPTION. QUANTITY: ONE MILLION BARRELS (1,000,000 BARRELS) AND GREATER. CONTRACT TERM: SPOT DELIVERY: BUYER'S CHOICE SUBJECT TO SELLER APPROVAL. PRICE: $100.00USD PER BARREL PAYMENT: CASHIER CHEQUE AT CLOSING OR TT IN ADVANCE OF CLOSING. WARRANTY: PRODUCER WARRANTS QUALITY. SGS INSPECTION AVAILABLE AT BUYER'S COST AFTER CLOSING AND BEFORE DELIVERY. PROCEDURES 1. BUYER issues LETTER defining quantity required and desired price. The letter will also disclose Q88 information if buyer is taking delivery via ship. Recent safety inspection, less than 90 days old, must accompany Q88. If delivery is to be made via pipeline, the letter will disclose the exact physical address of the tank storage facility; a contact person; telephone number; tank numbers; and a recent ANSI safety inspection report less than 90 days. 2. SELLER issues sales contract based upon information provided by BUYER in the LETTER. 3. The BUYER will establish its own separate account at FRONTIER BANK, MAIN BRANCH, in Everett, Washington and deposit the full amount of the purchase. 4. The SELLER and BUYER shall meet in a TTM at the FRONTIER BANK. At the TTM the SELLER and BUYER shall sign the SALES CONTRACT. 5. After the SALES CONTRACT is signed the BUYER shall draw a cashiers cheque from its account at FRONTIER BANK paid to the order of SELLER. 6. SELLER and BUYER exchange POP and cashier cheque. POP is the contract between the SELLER and the major oil company refining and supplying the JET A1 for this transaction. The POP will be redacted as to the supply price. 7. Deliveries begin as per the terms of the contract YOU MAY CONTACT ME AT [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159354#4159354 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159354 ___ 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
After installing, please run the examples as explained in the user guide. If they don't all run successfully that means your installation was botched. In which case you would need to re-install. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159353#4159353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159353 ___ 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
Thanks for the hint! Probably the client classpath (outside) jboss contains a wrong jar, i will check it. What about the behavior inside the container? JBossObjectMessage seems to be the right one. After setting JMSCorrelationID the object contains (in debugger) the header property. Any idea, how the information is lost on way to the consument? jbossmq.jar is not in the jboss-classpath (recursive search over whole folder). The JBossMessaging is installed as described in the instructions. Note: MDBs are well running, the problems only occur when using direct jms access. (jms client). markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159351#4159351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two WSRP question
I'll add this to the list of things allowed by the relaxed validation mode (which I still need to document). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159350#4159350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Is this a bug or is it intentional
I'm running jbpm 3.1.1 on my site for a long time. Today I tried to see what I need to do in order to upgrade to 3.2.3. Aside from migrating the DB, I found several things. One of the things is something I submitted a jira issue jbpm-696 (which was accepted as a fix and closed). In FieldInstantiator line 140 - 141: else if (Map.class.isAssignableFrom(type)) { | value = getMap(propertyElement, new HashMap()); This makes the developer of an actionHandler use only the HashMap type as his map type, otherwise if you use hashtable you won't be able to set it. What I suggested back on that fix (applies also to collection types) is to write the code like this: else if (Map.class.isAssignableFrom(type)) { | value = getMap(propertyElement, (Map)type.newInstance()); this allows the developer to use any kind of map type even his own implementation. My question is: Is it intentional not to allow other map or collection types or is it just an oversight? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159345#4159345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Nukes User] - JET FUEL $100.00 PER BARREL
I AM A FULL SERVICE FUEL DEALER/EXPORTER IN THE UNITED STATES. I CARRY JET A; JET A1; AVGAS; 100LL; HELICOPTER FUEL; AVIATION FUEL. I SELL FUEL FROM 24 REFINERIES COAST TO COAST THAT ARE AFFILIATES. I APPRECIATE THE OPPORTUNITY TO BID ON YOUR FUEL REQUIREMENTS. PLEASE INCLUDE THE EXACT DESTINATION AND QUANTITY IN YOUR REQUEST ON COMPANY LETTERHEAD. PLEASE ALLOW A 14 DAY LEAD WAY ON FUEL DELIVERY. SO, IF YOU REQUIRE FUEL, I LOOK FORWARD TO EXCEEDING YOUR EXPECTATIONS IN MY FUEL PRODUCTS. TYPICAL FULL SALES OFFER I, Harrison Rains Hanover, as the SELLER, with full authority and legal responsibility, under penalty of perjury, hereby confirm that I am ready willing and able to sell the commodity: JET A1 under the following terms and conditions below. PRODUCT: JET A1 ORIGIN: USA SPECIFICATIONS: SPECIFICATION DEPENDS UPON DELIVERY OPTION. QUANTITY: ONE MILLION BARRELS (1,000,000 BARRELS) AND GREATER. CONTRACT TERM: SPOT DELIVERY: BUYER'S CHOICE SUBJECT TO SELLER APPROVAL. PRICE: $100.00USD PER BARREL PAYMENT: CASHIER CHEQUE AT CLOSING OR TT IN ADVANCE OF CLOSING. WARRANTY: PRODUCER WARRANTS QUALITY. SGS INSPECTION AVAILABLE AT BUYER'S COST AFTER CLOSING AND BEFORE DELIVERY. PROCEDURES 1. BUYER issues LETTER defining quantity required and desired price. The letter will also disclose Q88 information if buyer is taking delivery via ship. Recent safety inspection, less than 90 days old, must accompany Q88. If delivery is to be made via pipeline, the letter will disclose the exact physical address of the tank storage facility; a contact person; telephone number; tank numbers; and a recent ANSI safety inspection report less than 90 days. 2. SELLER issues sales contract based upon information provided by BUYER in the LETTER. 3. The BUYER will establish its own separate account at FRONTIER BANK, MAIN BRANCH, in Everett, Washington and deposit the full amount of the purchase. 4. The SELLER and BUYER shall meet in a TTM at the FRONTIER BANK. At the TTM the SELLER and BUYER shall sign the SALES CONTRACT. 5. After the SALES CONTRACT is signed the BUYER shall draw a cashiers cheque from its account at FRONTIER BANK paid to the order of SELLER. 6. SELLER and BUYER exchange POP and cashier cheque. POP is the contract between the SELLER and the major oil company refining and supplying the JET A1 for this transaction. The POP will be redacted as to the supply price. 7. Deliveries begin as per the terms of the contract YOU MAY CONTACT ME AT [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159338#4159338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Compliance] - JET FUEL $100.00 PER BARREL
I AM A FULL SERVICE FUEL DEALER/EXPORTER IN THE UNITED STATES. I CARRY JET A; JET A1; AVGAS; 100LL; HELICOPTER FUEL; AVIATION FUEL. I SELL FUEL FROM 24 REFINERIES COAST TO COAST THAT ARE AFFILIATES. I APPRECIATE THE OPPORTUNITY TO BID ON YOUR FUEL REQUIREMENTS. PLEASE INCLUDE THE EXACT DESTINATION AND QUANTITY IN YOUR REQUEST ON COMPANY LETTERHEAD. PLEASE ALLOW A 14 DAY LEAD WAY ON FUEL DELIVERY. SO, IF YOU REQUIRE FUEL, I LOOK FORWARD TO EXCEEDING YOUR EXPECTATIONS IN MY FUEL PRODUCTS. TYPICAL FULL SALES OFFER I, Harrison Rains Hanover, as the SELLER, with full authority and legal responsibility, under penalty of perjury, hereby confirm that I am ready willing and able to sell the commodity: JET A1 under the following terms and conditions below. PRODUCT: JET A1 ORIGIN: USA SPECIFICATIONS: SPECIFICATION DEPENDS UPON DELIVERY OPTION. QUANTITY: ONE MILLION BARRELS (1,000,000 BARRELS) AND GREATER. CONTRACT TERM: SPOT DELIVERY: BUYER'S CHOICE SUBJECT TO SELLER APPROVAL. PRICE: $100.00USD PER BARREL PAYMENT: CASHIER CHEQUE AT CLOSING OR TT IN ADVANCE OF CLOSING. WARRANTY: PRODUCER WARRANTS QUALITY. SGS INSPECTION AVAILABLE AT BUYER'S COST AFTER CLOSING AND BEFORE DELIVERY. PROCEDURES 1. BUYER issues LETTER defining quantity required and desired price. The letter will also disclose Q88 information if buyer is taking delivery via ship. Recent safety inspection, less than 90 days old, must accompany Q88. If delivery is to be made via pipeline, the letter will disclose the exact physical address of the tank storage facility; a contact person; telephone number; tank numbers; and a recent ANSI safety inspection report less than 90 days. 2. SELLER issues sales contract based upon information provided by BUYER in the LETTER. 3. The BUYER will establish its own separate account at FRONTIER BANK, MAIN BRANCH, in Everett, Washington and deposit the full amount of the purchase. 4. The SELLER and BUYER shall meet in a TTM at the FRONTIER BANK. At the TTM the SELLER and BUYER shall sign the SALES CONTRACT. 5. After the SALES CONTRACT is signed the BUYER shall draw a cashiers cheque from its account at FRONTIER BANK paid to the order of SELLER. 6. SELLER and BUYER exchange POP and cashier cheque. POP is the contract between the SELLER and the major oil company refining and supplying the JET A1 for this transaction. The POP will be redacted as to the supply price. 7. Deliveries begin as per the terms of the contract YOU MAY CONTACT ME AT [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159337#4159337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Missing jboss-seam.jar on deploy of EAR app.
Thanks for that Rob it working fine now. I misread the release notes and thought the patch was build into the jboss tools build. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159335#4159335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two WSRP question
Thanks for your quick answer. About the URL. In openportal it works with both wsrp-rewrite? ... /wsrp-rewrite¶m1=value1¶m2=value2 and wsrp-rewrite? ... ¶m1=value1¶m2=value2/wsrp-rewrite I know the second one is incorrect according wsrp spec.. but WebSphere WSRP only support the second one. Again, Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159328#4159328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Socket keep alive with client EJB and RMI over HTTP
As described in this topic : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148258#4148258 using version 2.4.0 of Remoting and the parameter 'invokerDestructionDelay', the same socket connection is reused for all client requests to the Server. This works fine with the socket transport. Now, we want to use the HTTP transport. The parameter 'invokerDestructionDelay' is taken into account and the HTTPClientInvoker is not removed but the socket is closed at each call. What's wrong, in the JBoss Remoting Guide i don't see any parameter for HTTP client invoker and by default with HTTP/1.1 the connections are persistent. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159321#4159321 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with CHAR data types
Hi, I have an EJB-3.0 application running on JBoss 4.2.2. When I select a CHAR type column from an Oracle-9i table, using the javax.persistence.Query, it returns java.lang.Charater type data, which can hold only one char eventhough my column length is more than 1. I changed the data type mapping in the standardjbosscmp-jdbc.xml as java.lang.String CHAR CHAR But, still does not help. Any help on this is greately appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159320#4159320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JMS Messaging problem between multiple Jboss Instance.
Hello All, I am facing a problem when creating a Topic receiver. I have 2 jboss(Jboss1 and Jboss2) instance running in my local machine. Topic is deployed in the Jboss2. I am trying to create a receiver for the topic in the Jboss1 process. But i get the following error "Destination doesnot exist". The JNDI look up is fine for connection factory as well as for topic. But when i create the receiver from the session it fails. >From the trace it looks like it is searching for the destination in the jboss1 >only(JVMServerIL). But i dont know why. Please find the trace org.jboss.mq.server.TracingInterceptor.subscribe EXCEPTION : subscribe: javax.jms.InvalidDestinationException: The destination TOPIC.XXX does not exist ! at org.jboss.mq.server.ClientConsumer.addSubscription(ClientConsumer.java:140) at org.jboss.mq.server.JMSDestinationManager.subscribe(JMSDestinationManager.java:572) at org.jboss.mq.server.JMSServerInterceptorSupport.subscribe(JMSServerInterceptorSupport.java:171) at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:157) at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:651) at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177) at org.jboss.mq.il.jvm.JVMServerIL.subscribe(JVMServerIL.java:170) at org.jboss.mq.Connection.addConsumer(Connection.java:791) at org.jboss.mq.SpySession.addConsumer(SpySession.java:947) at org.jboss.mq.SpySession.createSubscriber(SpySession.java:710) at ... Can any body please help me out? I am using Jboss4.04GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159319#4159319 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159319 ___ 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
"mbreuer" wrote : I am evaluating JBoss 4.2.2 and JBoss Messaging 1.4.0SP3. When using MessageConsumer with a messageSelector, the communication hangs. | | ... | Differences: | Outside JBossAS the inspector indicates a SpyObjectMessage while inside the container a JbossObjectMessage is used. | SpyObjectMessage is a class from JBossMQ, not JBoss Messaging. Are you sure you're using JBoss Messaging outside the container? anonymous wrote : | 2.) Is there a difference in these lines or are they equivalent? | msg.setJMSCorrelationID(correlationId); // 1 | msg.setStringProperty("JMSCorrelationID", correlationId ); //2 | | #2 is not legal: you're not allowed to start the name of a property by "JMS". JMSCorrelationID must be set using #1 to work hope it helps, jeff View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159318#4159318 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Missing jboss-seam.jar on deploy of EAR app.
You are missing a jboss patch to webtools. http://repository.jboss.org/eclipse/webtools/patches/wtp-P-P20080506003122-20080506003122.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159317#4159317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two WSRP question
URLs: I will see what I can do... Portlet container: we are planning on extracting WSRP so that it only depends on Portlet Container. However, at this point, WSRP is only available in Portal. Note also that Portlet Container is NOT supported, only Portal is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159314#4159314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Missing jboss-seam.jar on deploy of EAR app.
Hi, I have just upgraded to the latest version of Eclipse 3.2.2, jboss tools 2.1.1.GA and Seam 2.0.2.SP1 and am getting problems deploying my EAR application. The error below is shown when the project is deployed due to jboss-seam.jar not getting copied, although all the other jar files are successfully deployed. Any ideas where I have gone wrong? Richard My application.xml only contains :- | | http://java.sun.com/xml/ns/javaee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd"; | version="5"> | | SymNet-ear | | | | SymNet.war | /SymNet | | | | | SymNet-ejb.jar | | | | jboss-seam.jar | | | | Error deploying app is :- | 15:41:21,000 ERROR [MainDeployer] Could not initialise deployment: file:/D:/Java/jboss-4.2.2.GA/server/default/deploy/SymNet-ear.ear/ | org.jboss.deployment.DeploymentException: url file:/D:/Java/jboss-4.2.2.GA/server/default/deploy/SymNet-ear.ear/jboss-seam.jar could not be opened, does it exist? | at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214) | at org.jboss.deployment.EARDeployer.init(EARDeployer.java:288) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | at org.jboss.deployment.Mai
[jboss-user] [JBoss Portal] - Re: Two WSRP question
About the URL The problem here is that we are not creating new applications. we are planning to migrate them and this kind of code already exists in our pages. So, We need as less effort as possible. About wsrp producer Yes.. I took a better look on IBM product and it exposes JSR-168 portlets. Sorry. WSRP only take place in Jboss Portal or it is in Portlet Container as well? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159311#4159311 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Message Consumer fails when using messageSelector
I am evaluating JBoss 4.2.2 and JBoss Messaging 1.4.0SP3. When using MessageConsumer with a messageSelector, the communication hangs. The response ObjectMessage is build in the right way, msg.setJMSCorrelationID() and msg.setJMSType() are set. The MessageProducer sends the message, but the receiver doesn't receive it. The messageSelector looks like this: (JMSCorrelationID = '1213880979122' AND JMSType='java.lang.String') It seems to be okay. (mistakes will produce an exception) cfB = (ConnectionFactory) ic.lookup("/ConnectionFactory"); | connectionB = (Connection) cfB.createConnection(); | sessionB = connectionB.createSession(false, Session.AUTO_ACKNOWLEDGE ); | queue = (Queue) ic.lookup("queue/B"); // one of the example queues | consumer = sessionB.createConsumer(queue, messagleSelector ); | Message msg = consumer.receive(); Note: the code works when running outside JBossAS, but does not receive messages from inside the container. After setting messageSelector=null a message is received. The debug-inspector shows there are no message headers (JMSCorrelationID,JMSType) are set. I verified the sender, while sending the jms header attributes are set (checked with debugging inspector). It seems the headers are lost during transport Differences: Outside JBossAS the inspector indicates a SpyObjectMessage while inside the container a JbossObjectMessage is used. Any ideas what's wrong? JBoss Messaging was installed with ant (messaging-node1). A cluster configuration (based on all) is used with a single node. In the past the code was used with jboss 4.0.3 and JBossMQ. In run fine, but after switching to jboss-messaging the hangs occur. Questions: 1.) How can i solve the problem? 2.) Is there a difference in these lines or are they equivalent? msg.setJMSCorrelationID(correlationId); // 1 msg.setStringProperty("JMSCorrelationID", correlationId ); //2 markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159310#4159310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: I got some performance problem while sending a lot of me
"gary.c.chen" wrote : Another question : | How can I turn off the persistent while sending and receiving messages ? That means all the messages sended to the queues are just store in memory. regardless PERSISTENT message or NON_PERSISTENT message. There has been a recent thread on this very subject, please have a search of the forums :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159304#4159304 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: I got some performance problem while sending a lot of me
"gary.c.chen" wrote : As you said, Database that persistent manager processes is bottleneck. | Actually I said the *network* would be a bottleneck, but yes the database would probably be a bottleneck too. anonymous wrote : | Is there any method can improve performance of the traffic between jms queue and persistent db? | The connection to the database is handled by the database product not by JBM. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159303#4159303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JAAS and JAAC Services for JBoss MC
We are creating our own container to sit above the Microcontainer, and I'm currently looking into replacing our internal security with authentication (JAAS) and authorization (JACC) services as provided by JBoss. Whilst I'm fairly confident that I understand providing JAAS services to EJB and Java Servlet applications, I can't find anything as authoritive for providing services to containers. Any help would be very much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159299#4159299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools with Tomcat 6
Hi, We have a project that might require us to use Seam (if we decide to go with JSF) along with Tomcat 6. One of the issues on the table that will affect the decision to use Seam is productivity. I was enthused therefore when I found JBoss Tools give productivity such a boost in Seam development. However, my problem is that it seems that the only way I could use JBoss Tools effectively is if I'm using JBoss - and unfortunately we don't want to use ny EJB container. I read Chapter 3 of the reference manual on JBoss Tools and there was a reference to tweaking it to suit other application servers but there seems to be nothing on Tomcat. I'd be very glad then if you could give me a few pointers as to how to if possible tweak JBoss Tools to enable the same kind of ease of use with Tomcat as you've already provided with JBoss AS. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159296#4159296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
Okay, will try this now then. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159295#4159295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Load balancer to wit till the jboss server started
What you want can't be done with any existing code. And based on what I understand about your problem, I don't think it's the right approach anyway. An EJB proxy and its interceptors will not know about a particular server (and thus won't invoke on it) if the EJB isn't deployed on that server. If the EJB depends on some other service to properly handle requests, the EJB should express a dependency on that service. With that dependency properly expressed, the EJB won't deploy until the other service is deployed, and since the EJB isn't deployed on the server yet, the client proxies won't invoke on it. What is this security service? How is it deployed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159292#4159292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problem with connecton pooling in JBOSS 4.2.2GA
Datasources are configured through -ds.xml files which are placed in the deploy folder for deploying. You can find some examples in %JBOSS_HOME%\server\docs\examples\jca folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159293#4159293 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
How about changing your query to return the entire User object instead of just the ids? Maybe like this: SELECT USR FROM USER USR, USERWATCH UW WHERE USR.ADDEDBYID =1 AND USR.COUNTRY = CAS | E WHEN (UW.COUNTRY is null) THEN USR.COUNTRY ELSE UW.COUNTRY END AND USR.ALIVE = 'A' See if that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159291#4159291 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Unable to create message factory for SOAP & Assembling t
Hi Levi, I have your same problem. Can you explain me what i have to do with juddi-2.0rc5.jar? Excuse me but I'm new in JBoss. thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159290#4159290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
I just checked the javadoc of javax.persitence.Query, method setFirstResult and it says: anonymous wrote : Query setFirstResult(int startPosition) | | Set the position of the first result to retrieve. | | Parameters: | startPosition - the start position of the first result, numbered from 0 | Returns: | the same query instance | Throws: | IllegalArgumentException - if argument is negative | | So the index must be starting from 0. Even in my query the first result i get when i setFirstResult to 0 is the user id in first row in the table and get the second id when the setFirstResult is set to 1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159288#4159288 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
"jaikiran" wrote : The indexing starts with 1 and not 0. So when setFirstResult(0) is used, it probably gets ignored. I'm sorry. i re-read the javadocs and it appears the indexing does start from 0. "rabbiaqaswar" wrote : | So does that mean that the query is supposed to return Object[] containg the result & the index, even if i am only retreiving a single value in the query? | | *As far as i know*, that's not how its expected to behave. The query output should be the same number of columns that you have mentioned in the select clause. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159285#4159285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
So does that mean that the query is supposed to return Object[] containg the result & the index, even if i am only retreiving a single value in the query? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159283#4159283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two WSRP question
For the URLs, the URLs that are being rewritten should be under the control of the producer... I'll see what is feasible but I would recommend avoiding manipulating URLs directly like that. Moreover, it is likely that the state that is passed around with the parameters should actually be in the navigational state. We currently do not support forms using the GET methods in WSRP. I do not know any solution to publish a normal web app as a WSRP producer. I am not sure that it's possible to have a generic solution to that problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159284#4159284 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
The indexing starts with 1 and not 0. So when setFirstResult(0) is used, it probably gets ignored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159282#4159282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: How to programmaticly schedule many tasks ?
nobody ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159279#4159279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Annotation Not Injecting (@EJB)
Thanks, I am waiting JBoss 5 final release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159278#4159278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to modify pageflow at run time ...
Hil all, I'm trying to modify process graph at run time. hypothesis: myprocess is designed via eclipse jbpm sdk then uploaded via jbpm console ... from a dedicated action handler (my own configuration code), I've modified the process graph by mooving some leaving transitions ... the resulting graph seems ok. I successfully signal new transitions ! question: How can pageflow be updated, at run time, according to graph modifications ? i.e. is transitionButton in jbpm:datacell can be set using run time values? Thanks and regards. Slim, Paris. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159277#4159277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Could not send mail
Caused by: javax.mail.SendFailedException: Sending failed; | nested exception is: | class javax.mail.MessagingException: Exception reading response; | nested exception is: | java.net.SocketException: Connection reset | at javax.mail.Transport.send0(Transport.java:218) It looks like your server is not running or the IP mentioned in the config file could not be resolved. Try validating your settings again. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159276#4159276 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Two WSRP question
Hi.. First of all, thanks for your response About the url.. I have the wsrp_rewrite? .. /wsrp_rewrite in that url. I just want to append some parameter in it. In our app, we have many URLs that are built by JS. How can I append extra parameters in it? Also, I could not make work a submition of a form using method GET (Only using POST works for me). We use use an in house solution for remote portlets. Actually, we have a portlet adapter that opens a http connection with the back end. In the back end we have many different frameworks being used, but most of them are using struts. Actually, we do not need a portal to do that, we could use a framework to publish our apps as WSRP producer. The thing is, I only know a solution from IBM to do that. Moreover, this solution is for the WAS 6.1 and we have WAS 5.1-6.0, Tomcat and .Net as producers. Do you have/know some solution/framework to publish a normal web app as WSRP producer? Thanks in advance Fernando View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159275#4159275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
Infact it gives ids only when the setFirstResult is set at 0 i.e. setFirstResult(0). When the value of setFirstResult is anything other than 0, the query returns Object[]'s. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159273#4159273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
One thing which I have noticed is that the query returns ids only for the first ten records. After that, it always returns the Object[] e.g. setFirstResult(20) & setMaxResults(10), also gives Object[]'s. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159269#4159269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem with connecton pooling in JBOSS 4.2.2GA
many documents suggests that for connection pooling we neeed to modify the file named with standardjaws.xml or jaws.xml... in these files we need to set the and elements.. bUt i didn't get these file in my JBoss instalation directory plz tell me how to configure connection pooling in jboss any help is appricated... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159268#4159268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
I did, three days back but got no reply from there: http://forum.hibernate.org/viewtopic.php?t=987845&highlight= View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159267#4159267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)
please report this in jira with an example project (a minimal one) thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159266#4159266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)
Sorry for the previous post. No, Eclipse/JBoss tools deploy application with same structure with only one difference: app is exploded. This how it looks like: [app.ear] | +--[app.war] | +--[app.jar] | +--lib1.jar | +--lib2.jar | +-- ... There is no lib dir, all libraries are within the ear root. And it works!? But when the same structure is deployed manually as EAR file, error will occur. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159265#4159265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: TypeNotPresentExceptionProxy when trying to get the Port
Solved it! Although similar the code generation of wsimport (Sun) is not identical to the wsconsume of JBoss. Generation the code with wsconsume works ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159264#4159264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results
I would suggest posting in the Hibernate forums instead of filing a bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159261#4159261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: looking for a
thanks for the info.. actually. I don't have ANY applications, and since i'm not a programmer, I'm just looking for a nice simple demo app to install with instructions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159260#4159260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB Annotation Not Injecting (@EJB)
In JBoss-4.2.x, the EJB injection is only supported in the EJB classes. See this for more details http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107353 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159259#4159259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)
so you are saying the files deployed by WTP servers are correct (e.g. ear has a lib dir with jars in it) But when you use File > Export > EAR you get a different structure ? that sounds weird to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159255#4159255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Tutorial or guide to create instances of processes in ja
Ok, I am also sorta debating on what route to take on this scenario. So we have deployed jBPM as the ear file including the console and the EJBs since we need the timerservices to be ejb timers this seemed a reasonable approach. I have been reading a lot in the documentation and also the sources and tests but still I cannot figour out how to go about and create a server based webservice to expose jBPM services like getting taskLists, proces Tasks etc etc. Basically I can see two options right now and I would love some feedback on both of these: Option 1 would be to just approach the CommandService EJB from my webservice, as far as i can see it that would use ONE configuration set ie jbpm conf xml, hibernate xml etc etc. This however does mean we get extra overhead in using EJB(2)... Option 2, would be to use seperate configuration files all together, effectively meaning we bypass the whole configuration allready deployed on the JBoss server and user another one on the client. Basically as i can see this means we just share the jBPM database then ?? Or are there better other options that I just missed so far ? Greetings, Leo "kukeltje" wrote : the JMX bean as it was is not used anymore since it made jBPM somewhat JBoss AS dependant. You can easily circumvent this, but the docs also would not be generic. Besides that, you could not package actionhandler classes is your own war/ear then, but only server generic or in the processarchive. These were the reasons to abandon the MBean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159254#4159254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - deploy and use own timerservice
Hello, consider the following environment: We have an app which is working on an oracle database. The application uses timers as well. By default they get serialized to the hsqldb. What we want is to switch them to the oracle datasource, which is easy configuring timers globally to use the oracle datasource. Unfortunately thats not what we would consider best. We want to make this configuration part of our deployment. Which means we want to deploy our own timerservice linked to the oracle datasource. The reason for this is we dont want to change the jboss configuration every time our environment changes. We want to handle this by configuring our packaging system, since this means we change it once instead of changing the configuration of each and every jboss running our app. Thats where the questions come in. How can I configure this? And where do I put the appropriate deployment descriptors. My guess would be to deploy a sar with a jboss-service.xml which defines an instance of the jboss timerservice like this: | jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay | jboss.ejb:applicational=EJBTimerService,persistencePolicy=database | org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator | org.jboss.ejb.txtimer.TimedObjectInvokerImpl | | jboss:service=TransactionManager | | | | | | jboss.jca:service=DataSourceBinding,name=MyOracleDs | | org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin | | TIMERS | As I understand it this should create another instance of the timerservice with a different name. Any suggestions to this? The next problem I have is that I dont know how to use it. When simply injecting the timerservice to a bean jboss seems to inject the default timerservice. Again my guess would be to specify something with the @Resource annotation, but I dont know how to do it. Although I would like it best to have the application server pick the correct timerservice on its own without further hinting by @Resource. Is there a way to have the container consider the applications deployment first? And if there is, how to use it? Please tell me what you think about it. Is there a better solution to this? Thanx in advance, Milan Woelke View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159253#4159253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB Annotation Not Injecting (@EJB)
Hi, I wanted the ejb references have been injected by container. When I use context.lookup, it is working. This is my code: | Context context = new InitialContext(); | PrStaffLocalInterface prstaff = (PrStaffLocalInterface)context.lookup("surgeonfish/PrStaffHome/local"); | prstaff.findById(new Integer(username)); | But if I use @EJB annotation I am taking null pointer exception. | package com.atosorigin.jdbc; | | import javax.ejb.EJB; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.persistence.EntityManager; | import javax.persistence.PersistenceContext; | | import com.atosorigin.utils.pojo.PrStaff; | import com.atosorigin.utils.pojo.PrStaffHome; | import com.atosorigin.utils.pojo.PrStaffLocalInterface; | | public class DBSecurity { | @EJB | PrStaffLocalInterface prStaff; | | public boolean checkUserPassword(String username, String password) throws Exception { | /*Context context = new InitialContext(); | PrStaffLocalInterface prstaff = (PrStaffLocalInterface)context.lookup("surgeonfish/PrStaffHome/local"); | prstaff.findById(new Integer(username));*/ | | prStaff.findById(new Integer(username)); | | return false; | } | } | | | //I HAVE USED ALL OF THIS POSSIBILITIES BY ONE BY | | | @EJB(mappedName="surgeonfish/PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(beanName="surgeonfish/PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(name="surgeonfish/PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(name="PrStaffHome") | PrStaffLocalInterface prStaff; | | @EJB(name="PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(mappedName="PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(beanName="PrStaffHome/local") | PrStaffLocalInterface prStaff; | | @EJB(beanName="PrStaffHome") | PrStaffLocalInterface prStaff; | Where am I missing? Thanks for your helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159251#4159251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss Shutdown hook
What is the advantage of invoking JBoss shutdown hook compared with calling system.exit. How can we invoke JBoss shutdown hook. Thanks in advance Babu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159249#4159249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS hangs and logging stops
You need to take threadumps during the "freeze" and see what the server is doing http://wiki.jboss.org/auth/wiki/StackTrace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159248#4159248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: error with a jsf portlet
Are you using the JBoss portlet bridge? http://www.jboss.org/portletbridge/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159247#4159247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Structure of the exported EAR file (missing lib dir)
Ok, I'll try to be more clear: I use Eclipse/JBoss tools for development. During that phase I deploy app by Eclipse. After that I need to deploy app on some other (test/stage) server. That need to be done manually. In order to create EAR file (to be used during manual deployment) I tried to use Eclipse (of course, building script can do the same). But exported EAR file (that is produced by Eclipse "export" action) is not proper structured (libraries are not within "lib" dir, but in the root of ear file). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159241#4159241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user