[jboss-user] [JBoss.NET] - Axis in Jboss
Can anybody tell me that wheather the apache axis in inbuilt in JBoss or it need to be configure seprately. If it is embedded in JBoss then which in which version of JBoss. Regards, Deep View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979260#3979260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam + JSF, problem with double-click
HI! I have problem with Seam/JSF? When I click twice(versy fast) on commandLink or button submit, application falls down. Framework dont knot what to do and gives me error: "8:19:31,203 ERROR [SeamExceptionFilter] uncaught exception handled by Seam javax.servlet.ServletException: /userQuery.xhtml @30,63 rendered="#{userAction.actionFlag}": pl.fargo.expert.business.UserConsole$$EnhancerByCGLIB$$dd4b45ef" How can I protect My page or catch those exception? When I click on link once or twice but not so fast it works fine! I thought about protect submit by JS, but is any other way to resolve this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979259#3979259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - log4jxml size based logging?
Hi, How can I enable size based logging? In log4jxml I have disabled time/date based rolling and enabled size based rolling appender like that but it seems it doesn't work. I think I am missing something? Can anyone point out what is wrong with following lines thus I can't get any log with these lihes --> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979257#3979257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and JUnit
Thanks a lot, I'll give it a try Cheers Markus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979256#3979256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBOSS AS Compatibility with JDK 1.5
You can run JBoss 4.0.x with JDK1.5. Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979255#3979255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
Thank you Shane, you've been really helpful! The getter is not an immediate issue for me. I just wanted to point that out, that some other guy later on won't need to worry, why the provider cannot be set in components.xml :) Again, I'd like to thank you for your great help! Kurt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979254#3979254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBOSS AS Compatibility with JDK 1.5
Hi, Is there any way to plugin JDK 1.5 with the existing JBOSS AS 4.0.x. Are there any issues if it is done. Thanks for ur help in advance With Regards Srikanth Surapu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979253#3979253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Binding Dropdown To Database Table Using Seam..
I figured it out. I had to add this code to the bottom of my factory method: | List selectItems=new ArrayList(); | for (Iterator iterator = roomListByOrganization.iterator(); iterator.hasNext();) | { | Room value = (Room)iterator.next(); | SelectItem item = new SelectItem(value, value.getName()); | selectItems.add(item); | } | | roomListByOrganization = selectItems; | This doesn't seem correct...??? But it does work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979250#3979250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Help on java.lang.ClassCastException: java.lang.String
Hi, Hi all im having an error java.lang.ClassCastException: java.lang.String Does anyone have an idea on this error? My codes are: | TblCountryFacadeLocal myCountryBean = lookupTblCountryFacade(); | List myList = myCountryBean.findAll(); | int length = myList.size(); | | for (int i = 0; i < length; i++) { | TblCSCSubCategory region = (TblCSCSubCategory) myList.get(i) ; | System.out.println((i + 1)+". "+region.getStrName().toString()); | } And for my Entity code is: public List findAll() { | return em.createQuery("select o.strCountry from TblCountry as o").getResultList(); | } Hope for a kind response. Thankz :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979249#3979249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - configuring db2 data source
Hi, I am trying to configure data source for the application running on JBOSS 4.0 , I followed all the steps as detaild on in this links. http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html I also see the data source in the JNDI tree, but at runtime the DS is tied to default hypersonic data source, as such all my query are failing with following exceptions Caused by: java.sql.SQLException: invalid schema name: AS in statement [SELECT discriminator, key, value FROM AS.Control] at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedStatement.executeQuery(WrappedStatement.java:169). This stack trace clearly tells that its using hypersonic data base. Not sure if I am missing any steps. Thanks in advance -Amitabh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979248#3979248 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: JMS message to a remote machine
Are you using MDBs to listen to remote queue? If yes have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue If not, post the code that you are using for the listener, in order to connect to the remote queue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979246#3979246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: InitialContext results in Directory listing
How do you run this code? I mean whats the url that you specify in the browser. I believe the reason why you are seeing the directory listing has got nothing to do with the code that you have written in the jsp. Looks like its got to do with the URL that you are specifyig to access the jsp. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979245#3979245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Bug with Compound Id that include a relathionship
Hey guys, I've found a bug in the "Compound Primary Keys" implementation in JBoss/Hibernate EJB3. I've been able to reproduce this problem on JBoss 4.0.4GA and jboss-EJB-3.0_Embeddable_ALPHA_9. Current implementation generates extra field from compound key. This is an example from Sun's "The Java EE 5 Tutorial" http://java.sun.com/javaee/5/docs/tutorial/doc/PersistenceEJB2.html | @IdClass(order.entity.LineItemKey.class) | @Entity | @Table(name = "EJB_ORDER_LINEITEM") | public class LineItem { | @Id | public int getItemId() { | return itemId; | } | @Id | @Column(name="ORDERID", nullable=false, insertable=false, updatable=false) | public Integer getOrderId() { | return orderId; | } | } | | public final class LineItemKey implements java.io.Serializable { | | private Integer orderId; | private int itemId; | ... | public Integer getOrderId() { | return orderId; | } | ... | } | This generates following SQL in logs: | DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Snapshot select: select lineitem_.orderId, lineitem_.itemId, lineitem_.ORDERID as ORDERID9_, lineitem_.quantity as quantity9_, lineitem_.VENDORPARTNUMBER as VENDORPA4_9_ from EJB_ORDER_LINEITEM lineitem_ where lineitem_.orderId=? and lineitem_.itemId=? | DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Insert 0: insert into EJB_ORDER_LINEITEM (ORDERID, quantity, VENDORPARTNUMBER, orderId, itemId) values (?, ?, ?, ?, ?) | DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Update 0: update EJB_ORDER_LINEITEM set ORDERID=?, quantity=?, VENDORPARTNUMBER=? where orderId=? and itemId=? | DEBUG [org.hibernate.persister.entity.AbstractEntityPersister] Delete 0: delete from EJB_ORDER_LINEITEM where orderId=? and itemId=? | | OR | | insert into EJB_ORDER_LINEITEM (ORDERID, quantity, VENDORPARTNUMBER, orderId, itemId) values (?, ?, ?, ?, ?) | As you can see there are duplicationg columns: ORDERID from LineItem class and orderId from LineItemKey. When I add @Column annotation to the LineItemKey: | public final class LineItemKey implements java.io.Serializable { | | private Integer orderId; | private int itemId; | ... | @Column(name="ORDERID", nullable=false, insertable=false, updatable=false) | public Integer getOrderId() { | return orderId; | } | ... | } | I got exception: | org.hibernate.MappingException: Repeated column in mapping for entity: order.entity.LineItem column: ORDERID (should be mapped with insert="false" update="false") | at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:575) | I believe this is connected to Hibernate bug HBX-164 http://opensource.atlassian.com/projects/hibernate/browse/HBX-164 Should I file a bug to JBoss or Hibernate JIRA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979240#3979240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: javax.ejb.EJBAccessException: Authentication failure
I am having the same problem...anyone have any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979238#3979238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Batching messages in jboss-messaging
Very interesting. "tpaterson", can you give us more information about the hardware? Any specific requirement that determined you to go for a high-bandwith, high-latency LAN. How high is the latency? Do you have numbers? It would be great if our QA labs can get a hold on a similar equipment so we're able to experiment a little bit with it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979237#3979237 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - No Route to Host problem in JNDI lookup
We had an application running on the jboss on linux. We had an ip 10.16.x.x for that server. We recently reinstalled the linux and jboss and deployed the application again. This time a new ip address 192.x.x.x was assigned to the server. The application fails in the ejb lookup throwing NoRouteToHostException and says that it cannot route to 10.16.x.x Where is the old ip is coming. There is no firewall on the server. Please let us know how to solve this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979235#3979235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Unable to set CMS preferences
Hi, Check out the current head as of 10/18 and this problem is still there. If you log in as admin and try to change a portlet preference the above exception occurs. Is there a version that this is fixed in? Tx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979233#3979233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - DLQhandler appears to have a bug fixed in other file version
I get an exception: 17:53:14,937 WARN [DLQHandler] Message resent too many times; sending it to DLQ; message id=ID:3-11612186025461 17:53:14,937 ERROR [StdServerSession] session failed to run; setting rollback only java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:396) at org.jboss.ejb3.mdb.DLQHandler.makeWritable(DLQHandler.java:357) at org.jboss.ejb3.mdb.DLQHandler.sendMessage(DLQHandler.java:269) at org.jboss.ejb3.mdb.DLQHandler.handleRedeliveredMessage(DLQHandler.java:228) at org.jboss.ejb3.mdb.MDB$MessageListenerImpl.onMessage(MDB.java:1066) at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:266) at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:902) at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170) at org.jboss.mq.SpySession.run(SpySession.java:323) at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:194) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:595) This bug is caused by using Hashtable instead of a HashMap for temp variable in makeWritable in DQLHandler.java. It was fixed already but not in MDB code see: http://lists.jboss.org/pipermail/jboss-jira/2006-July/001285.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979232#3979232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - How to migrate data when entity model changes
I would like to know various ways to easily migrate data generated in tables, created by JPA, provider from an old object model to tables created using a newer object model. Entity relationships may have changed in the new model, some fields added and a few others removed. It would be very cumbersome to write SQL directly against the generated tables to extract and insert data! Are there any tools available to do this? TIA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979231#3979231 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Bank example compile error.
I carefully followed the getting started guide (for version 4.0.3SP1) to the point where it says "compiling the java source"--environment variables, I believe are set up correctly, and I also pointed jboss.home to my local jboss installation directory, when I ran the ant command "ant -f jboss-build.xml compile", get the following error : [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\ examples\bank\src\com\jboss\ebank\WSClient.java:15: package org.jboss.ws.jaxrpc does not exist [javac] import org.jboss.ws.jaxrpc.ServiceFactoryImpl; [javac]^ [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\ examples\bank\src\com\jboss\ebank\WSClient.java:16: package org.jboss.ws.jaxrpc does not exist [javac] import org.jboss.ws.jaxrpc.ServiceImpl; [javac]^ [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\ examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol [javac] symbol : class ServiceFactoryImpl [javac] location: class com.jboss.ebank.WSClient [javac] ServiceFactoryImpl factory = new ServiceFactoryImpl(); [javac] ^ [javac] C:\Documents and Settings\powerpc\Desktop\ff_down\j2eetutorial14\ examples\bank\src\com\jboss\ebank\WSClient.java:31: cannot find symbol [javac] symbol : class ServiceFactoryImpl [javac] location: class com.jboss.ebank.WSClient [javac] ServiceFactoryImpl factory = new ServiceFactoryImpl(); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 errors Has anyone experienced this before? Any input is appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979230#3979230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Thread dump of tomcat running JBPM
I see a lot threads in the JVM running tomcat related to ehcache. Can some one check if there are normal or something wrong with my configuration. "Store org.jbpm.graph.def.Transition.events Expiry Thread" daemon prio=1 tid=0x5caec8b0 nid=0x49c7 waiting on condition [0xb53ff000..0xb53ff85c] at java.lang.Thread.sleep(Native Method) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:641) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:772) "Store org.jbpm.graph.def.Transition.events Spool Thread" daemon prio=1 tid=0x5caec3d0 nid=0x49c6 in Object.wait() [0xb55ff000..0xb55ff6dc] at java.lang.Object.wait(Native Method) - waiting on <0x4a38b190> (a net.sf.ehcache.store.DiskStore) at java.lang.Object.wait(Object.java:474) at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:476) - locked <0x4a38b190> (a net.sf.ehcache.store.DiskStore) at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:755) "Store org.jbpm.graph.def.Node.exceptionHandlers Expiry Thread" daemon prio=1 tid=0x5caeb6e8 nid=0x49c5 waiting on condition [0xb57ff000..0xb57ff75c] at java.lang.Thread.sleep(Native Method) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:641) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:772) "Store org.jbpm.graph.def.Node.exceptionHandlers Spool Thread" daemon prio=1 tid=0x5caeaa50 nid=0x49c4 in Object.wait() [0xb59ff000..0xb59ff5dc] at java.lang.Object.wait(Native Method) - waiting on <0x4a38b2a0> (a net.sf.ehcache.store.DiskStore) at java.lang.Object.wait(Object.java:474) at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:476) - locked <0x4a38b2a0> (a net.sf.ehcache.store.DiskStore) at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:755) "Store org.jbpm.taskmgmt.def.Task.exceptionHandlers Expiry Thread" daemon prio=1 tid=0x5cab09f8 nid=0x49c3 waiting on condition [0xb5bff000..0xb5bff65c] at java.lang.Thread.sleep(Native Method) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:641) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:772) "Store org.jbpm.taskmgmt.def.Task.exceptionHandlers Spool Thread" daemon prio=1 tid=0x5cab0518 nid=0x49c2 in Object.wait() [0xb5dff000..0xb5dff4dc] at java.lang.Object.wait(Native Method) - waiting on <0x4a38b3b0> (a net.sf.ehcache.store.DiskStore) at java.lang.Object.wait(Object.java:474) at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:476) - locked <0x4a38b3b0> (a net.sf.ehcache.store.DiskStore) at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:755) "Store org.jbpm.graph.def.ExceptionHandler.actions Expiry Thread" daemon prio=1 tid=0x5caaf7f8 nid=0x49c1 waiting on condition [0xb5fff000..0xb5fff55c] at java.lang.Thread.sleep(Native Method) at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:641) at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:772) "Store org.jbpm.graph.def.ExceptionHandler.actions Spool Thread" daemon prio=1 tid=0x5caaeb18 nid=0x49c0 in Object.wait() [0xb61ff000..0xb61ff7dc] at java.lang.Object.wait(Native Method) - waiting on <0x4a38b4c0> (a net.sf.ehcache.store.DiskStore) at java.lang.Object.wait(Object.java:474) at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:476) - locked <0x4a38b4c0> (a net.sf.ehcache.store.DiskStore) at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:89) at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:755) "Store org.jbpm.graph.action.Script.variableAccesses Expiry Thread" daemon prio=1 tid=0x5caaddf8 nid=0x49bf waiting on condition [0xb63ff000
[jboss-user] [JBoss Eclipse IDE (users)] - javax.servlet.ServletException: Lookup of java:/comp/env/ fa
hi i'm using eclipse 3.1 with JBoss 4.x server and trying out the tutorial - Fibo i got it deployed and all and the server is running. i go to http://localhost:8080/fibo/ and i see the screen that i am suppose to see. however when i press "compute" i get the following error i guess its something to do with the tomcat serverhow do i resolve this.. just starting using JBoss and its hell to follow the tutorial because of JBoss versions, eclipse versions ... all these versions are just getting out of hand. ASAP response please.. many thanks in advance javax.servlet.ServletException: Lookup of java:/comp/env/ failed | tutorial.web.ComputeServlet.init(ComputeServlet.java:52) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979227#3979227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Which version of JBoss are you using with JBossIDE?
I have notices that few people are facing the same problem as mine like jboss is not listed in the bebug. did any one find the solution to this problem. Please help me with this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979226#3979226 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - ClassNotFoundException when running ejb3 clustered in 4.0.5
I've been trying to test EJB3 clustering performance on JBoss AS 4.0.5.GA using a small demo application. The application works correctly under a single instance of jboss using the "all" configuration. If, however, I start up a second instance of jboss after having executed an order on the first instance, I get a ClassNotFoundException during startup. I have been able to bypass this issue by copying my classes into the lib directory, but this is not a very workable solution. Any suggestions? The stack trace I'm seeing is below: java.lang.ClassNotFoundException: No ClassLoaders found for: services.entities.ProductDemandPK | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:585) | at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at org.jboss.cache.Fqn.readExternal(Fqn.java:355) | at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at org.jboss.cache.loader.NodeData.readExternal(NodeData.java:59) | at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateStateTransferChildren(StateTransferIntegrator_140.java:241) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateStateTransferChildren(StateTransferIntegrator_140.java:271) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateStateTransferChildren(StateTransferIntegrator_140.java:271) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateStateTransferChildren(StateTransferIntegrator_140.java:271) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(StateTransferIntegrator_140.java:222) | at org.jboss.cache.statetransfer.StateTransferIntegrator_140.integrateTransientState(StateTransferIntegrator_140.java:97) | at org.jboss.cache.TreeCache._setState(TreeCache.java:2640) | at org.jboss.cache.TreeCache.access$000(TreeCache.java:86) | at org.jboss.cache.TreeCache$MessageListenerAdaptor.setState(TreeCache.java:5306) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.passUp(MessageDispatcher.java:614) | at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:331) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUp(MessageDispatcher.java:722) | at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.access$300(MessageDispatcher.java:554) | at org.jgroups.blocks.MessageDispatcher$1.run(MessageDispatcher.java:691) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979224#3979224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and JUnit
Hi Markus, I extended the SeamTest class for JUnit4 and it works fine. However, to be honest, you may find moving to TestNG is preferable, I'm still tossing it up. Here's what I hacked out very quickly, I overrode the begin method to set up my em and tm, so that I could use those to set up test data in my setUp(). If you don't need that, maybe you can even subclass SeamTest directly. | public class BaseSeamTest extends SeamTest { | protected EntityManager em; | protected TransactionManager tm; | | | @Override | public void begin() { | super.begin(); | if (em == null) { | try { | em = (EntityManager) getInitialContext().lookup("java:/EntityManagers/localUnitTestEM"); | tm = (TransactionManager) getInitialContext().lookup("java:/TransactionManager"); | } catch (NamingException e) { | throw new RuntimeException(e); | } | } | } | } | | | public class LoginTest extends BaseSeamTest { | | @Test | public void testFailedLogin() throws Exception { | new Script() { | @Override | protected void updateModelValues() throws Exception { | assertFalse(isSessionInvalid()); | final User user = (User) Component.getInstance("user", true); | assertNotNull(user); | user.setLogin("LoginTest_testLogin"); | user.setPassword("password"); | } | | @Override | protected void invokeApplication() throws Exception { | Login login = (Login) Component.getInstance("login", true); | assertEquals(null, login.login()); | } | | @Override | protected void renderResponse() throws Exception { | final Iterator messages = FacesContext.getCurrentInstance().getMessages(); | final FacesMessage message = (FacesMessage) messages.next(); | assertEquals("LoginAction_InvalidLogin", message.getDetail()); | assertFalse(messages.hasNext()); | } | }.run(); | } | ... | I hope that helps, Daniel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979217#3979217 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory on a Conversational SFSB
I got it! My mapping for the Ajax4Jsf filter was in the way. Sorry to waste your time on that. Daniel. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979216#3979216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory on a Conversational SFSB
"[EMAIL PROTECTED]" wrote : "jazir1979" wrote : Removing the in my navigation rule fixes my problem. | | | | I have double-checked that I *do* have the SeamRedirectFilter installed in my web.xml, so is there any other reason my conversation may not be propagating? | | | | Is there a way via the JBoss JMX console to ensure that my filter mapping for the SeamRedirectFilter is being picked up? | | | | Do you have a ?conversationId=XX in your URL? No, it doesn't seem to be. I can see in the SeamRedirectFilter code where this gets done, but there's no trace logging so I can't be sure it's getting called. I might run against the source and either debug or add some logging. Any ideas or hints? cheers, Dan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979214#3979214 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - RC9 + JBoss Messaging 1.0.1GA Install Problem
Hi, I have 4.0.4 + Jboss Messaging 1.0.1GA. I got this running fine. Then I just tried to add EJB3 RC9 to it and am having trouble. It installed fine according to the Ant script, but when I start up I get ... Thanks for any help. Mike | = | | JBoss Bootstrap Environment | | JBOSS_HOME: /home/mherrick/opt/jboss/jboss-4.0.4.GA | | JAVA: /opt/java/jdk1.5.0_09/bin/java | | JAVA_OPTS: -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Dprogram.name=run.sh | | CLASSPATH: /home/mherrick/opt/jboss/jboss-4.0.4.GA/bin/run.jar:/opt/java/jdk1.5.0_09/lib/tools.jar | | = | | 15:09:18,542 INFO [Server] Starting JBoss (MX MicroKernel)... | 15:09:18,543 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) | 15:09:18,545 INFO [Server] Home Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA | 15:09:18,570 INFO [Server] Home URL: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/ | 15:09:18,571 INFO [Server] Patch URL: null | 15:09:18,572 INFO [Server] Server Name: messaging | 15:09:18,572 INFO [Server] Server Home Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging | 15:09:18,572 INFO [Server] Server Home URL: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/ | 15:09:18,572 INFO [Server] Server Log Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/log | 15:09:18,573 INFO [Server] Server Temp Dir: /home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/tmp | 15:09:18,574 INFO [Server] Root Deployment Filename: jboss-service.xml | 15:09:19,155 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc. | 15:09:19,158 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b01,Sun Microsystems Inc. | 15:09:19,158 INFO [ServerInfo] OS-System: Linux 2.6.15-27-386,i386 | 15:09:20,512 INFO [Server] Core system initialized | 15:09:23,019 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 15:09:28,308 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.1.1:3873/] | 15:09:29,186 INFO [AspectDeployer] Deployed AOP: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-interceptors-aop.xml | 15:09:37,886 INFO [WebService] Using RMI server codebase: http://mherrick-desktop:8083/ | 15:09:38,273 ERROR [MainDeployer] Could not create deployment: file:/home/mherrick/opt/jboss/jboss-4.0.4.GA/server/messaging/deploy/ejb3-clustered-sfsbcache-service.xml | org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException) | at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) | at org.jboss.system.ServiceController.install(ServiceController.java:226) | at sun.reflect.GeneratedMethodAccessor8.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.install(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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.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(AbstractMBe
[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException exception with JSF binding
Hey, As I understand, this is not a SEAM issue, iterated objects in datatable in JSF cannot be binded to UI components :-/ Is there anything I can do? does seam has any pattern that can help me with rendering UI components based on the iterated objects in a list? I see it very useful as sometimes only the objects themselfs knows how they should look like. As alwyas - thanks a lot guys. Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979209#3979209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws supported return parameter types for webservice
Hello Alessio, looks like i m having difficulties with jbossws.. even though you said that arrays of javabeans are supported, i am still getting exception while invoking client for my webservice... i have done another post here that explains my problem.. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=92858 i'd appreciate if you can help me out... when i run wstools on my wsdl, it never generates the type Array.Agency thanks and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979208#3979208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to approach error handling in a Process? Thoughts a
I forgot to mention, the intention behind having an 'error node' or 'error process' is for humans to analyze what went wrong and determine what to do for that specific exection thrown for that specific asset that is being modified in the process instance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979206#3979206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - JMS message to a remote machine
Hi, I am trying to access a JMS queue on a different machine outside of our network. When I run the listener/messageSender on the remote machine, it works but when I try to send the message from my local machine it timesout. What are the basic configuration steps do I need to take and what is a good way to troubleshoot why I am unable to connect. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979207#3979207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to approach error handling in a Process? Thoughts and c
I am working on a high volume application where JPBM is being used to manage assets that need to be programatically modified. I currently have 1 workflow for every asset type. Within each workflow, I'm using nodetype 'node' where each node executes a basic operation (ActionHandler with code to do the operation) on the asset programatically (no human intervention). Because these are automated processes and each node has a predefined operation on the asset, I have to handle error conditions. My thought is to have a generic global error node to transition to if any exceptions are thrown in each node. But I have found that you can only transition to nodes defined within a process definition. So in my scenario with multiple process definitions, I would need to define an error node in each process. So my thought about having 1 global error node won't work. Another thought is to define an 'error process'. Is there a way to jump from one process instance to a completely different and new process instance? So for example, I'm currently executing in process A instance A1 and I come across an exception, can I create a new process instance B1 of process B and transition from A1 to B1? Comments and thoughts please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979205#3979205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Help with Timers
if you find the answer for your question, please let me know. Thanks from Argentina View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979204#3979204 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable
I've got a really nice date picker that I wrote a few years ago. When I get a chance I'll dress it up as a Seam tag and add it to CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979198#3979198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Executing Control Servlet after submitting JSP form
I forgot to mention that I am using JBOSS integrated in ECLIPSE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979200#3979200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - EJB: isModified - behavior change from 3.2.6 to 4.0
Hi, I couldn't find any FAQ/Documentation that describes this so I am creating a new topic. Please point me to appropriate documentation if it exists. We were running jboss 3.2.6 with 2.0 EJBs for a while and were using the isModified() method explicitly in ejbStore() to determine if a bean should be stored. The beans managed their own persistence (BMP). Recently we switched to 4.0.3SP1 and observed that the ejbStore() is no longer being called, which I traced back to the isModified returning false. This is documented behavior and as per jboss documentation this behavior should have existed after 3.2.3. Did this actually change after 3.2.6? In the standardjboss.xml, I see that is no longer part of the BMP container configuration, while it was set to true in 3.2.6. Again according to documentation, this is true by default, so I guess it shouldn't matter. Does this mean that even though isModified() returns false, ejbStore will be called? I don't see this happening. I set the element "call-ejb-store-on-clean" explicitly to true in standardjboss.xml for BMP configurations. The ejbStore() still doesn't get called - I verified this by installing breakpoints in isModified() (where it stops to get a value of false) and in ejbStore (which is not executed). I am running jboss in cluster mode (although I currently have only one node) with the EJBs configured to be have clustered element set to true in jboss.xml. I will really appreciate if you would let me know whether it is a new issue/already known issue. If my understanding of the issue is incorrect or I am looking at the wrong place, would you please let me know of the same. Thanks for your time, Sachin Mohan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979202#3979202 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
PEBKAC again, I forgot to update the views themselves. Still, the problems aren't over: when I edit a contact and click update, it switches immediately to the create screen and offers me "Create Contact" instead (which does actually work). Deleting a contact blanks all the fields, but doesn't delete the contact. Back to myfaces once again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979201#3979201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timer persisted but not fired
ok, it is clear now, the Scheduler Servlet is triggering the db.SchedulerSession which is linked to DB Scheduler service. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979197#3979197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Executing Control Servlet after submitting JSP form
Hi, I am trying to execute a control servlet (using MVC design pattern). The execution from JSP to JSP is fine but the JSP page is unable to invoke SERVLET. I have the following line in my JSP page form method="get" action="control.servlet" And I have the following web.xml file in web/WEB-INF folder : products com.phonicWorld.ControlServlet TeamLead Zameer,Essa products /control.servlet BASIC Can someone help me in solving the problem. Thanks ..Essa.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979196#3979196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE Tutorial
Yes, your guess is correct. I am using 3.2 version, but not 3.1 version. Actually, I figuered out my last problem, and I successfully delopied my ear file into deploy folder. The total size is about 8k. However, when I turned on JBoss server and tried to run http:localhost:8080/fibo, it shows 404 error. My guess this time is something wrong with my xml file, but I didn't change anything from the tutorial. Does anyone have the same problem? Cheers Ming View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979194#3979194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Problem with EmbeddedId
Has anyone else seen this and figured out why it is happening. I am getting the same thing. I am using alpha8 with hsql. All my beans with non-compound keys work fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979193#3979193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Should I us JBossCache to replecate files?
Manik, Thanks for the reply & suggestion. If JBossCache is not really designed for file replication across the cluster do you know what I should use? I'm trying to use the farm but since my files are flat files and not something deployable, like a jar, I keep getting ZipExceptions. So its not working. Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979190#3979190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
Okay, I switched all the .xhtml extensions in pages.xml to .seam, and now viewContact works, but editContact continues to give me a blank contact. Delete Contact is also nonfunctional, and results in this on the console: WARNING: phase(RENDER_RESPONSE 6,[EMAIL PROTECTED]) threw exception: javax.faces.el.EvaluationException: org.hibernate.TransientObjectException: the detached instance passed to delete() had a null identifier org.hibernate.TransientObjectException: the detached instance passed to delete() had a null identifier | com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:97) | org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58) | org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71) | org.jboss.seam.core.Expressions$2.invoke(Expressions.java:93) | org.jboss.seam.core.Pages.callAction(Pages.java:309) | org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:171) | org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:143) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:52) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:218) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | ...etc... | Just for the hell of it I changed all the view-id's in faces-config.xml to use .seam extensions too. No effect. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979191#3979191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
Heh, all that typing and I could have waited a few more minutes instead. I'll try using the .seam view ids and see how that works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979189#3979189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
Positive. In fact I forgot to set it back to true when I tried it with myFaces, and it still worked. If the contactlist example works out of the box with the 1.2RI, then perhaps I'm configuring it wrong in jboss. Here's what I did to run it: * cvs checkout and build seam * delete myfaces* from /c/jboss/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs * copy jsf-api.jar and jsf-impl.jar from the RI to jsf-libs * copy el-api and el-ri.jar from seam/facelets/lib to jsf-libs * edit seam/build.properties to change the tomcat/jboss paths and change jbossHasMyFacesLifecycleBug to false * cd to examples/contactlist * edit resources/WEB-INF/web.xml to use the RI ConfigureListener instead of the myfaces one * edit resources/components.properties and verify that myFacesLifecycleBug is indeed false * edit build.xml to keep it from copying el-api and el-ri into the build's WEB-INF/lib (otherwise I get some nasty tracebacks about loader constraint violations) * ant deploy * navigate to http://localhost:8080/seam-contactlist/ * click one of the contacts * see nothing but blank fields Could the problem be related to having the EL stuff in jsf-libs and not the application? I've never made it work the other way around -- I can paste that traceback if you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979186#3979186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - user-friendly CMS handling
I'd like to allow non-technical users to enter resources into the CMS without having to use the CMSAdmin tool. TO be precise, I want users to fill in fixed forms for text values and then have a portlet assemble its output by mixing CMS-resources together. Now I am thinking to make portlets that plug straight into the CMS to accomlish this, but am unsure how to do that in JBss Portal 2.4. Can somebody give me any ponters on how to accomplish this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979185#3979185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
Ups, looks like I'm wrong oh and I bet I know why. There is a bug in the RI, that I already reported to Roger (and he is fixing it), that means Seam page actions and page parameters probably don't work reliably. I'll investigate a little bit more just to confirm that this is the real problem, but I'm almost certain it is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979183#3979183 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: user-friendly CMS handling
Motormind- You will need to use the CMSService from JNDI to interface with the CMS system and execute the necessary commands on this service to store your data. As a starting point, I would look at the org.jboss.portal.core.portlet.cms.admin.CMSAdminPortlet to see how it does this. The service uses a CommandPattern and you send it commands to execute to create a new file, delete a file, create a folder etc Thanks Sohil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979188#3979188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Having Problems w. jBPM - jBPM 3.1.2, EJB 3.0, Seam 1.0.1 an
I am getting the following transaction in an app in which I am trying to use jBPM and EJB 3.0: | 15:14:26,010 ERROR [ExceptionInterceptor] redirecting to debug page | java.lang.IllegalStateException: jBPM transaction management is enabled, disable in jbpm.cfg.xml | at org.jboss.seam.core.ManagedJbpmContext.assertNoTransactionManagement(ManagedJbpmContext.java:62) | at org.jboss.seam.core.ManagedJbpmContext.create(ManagedJbpmContext.java:52) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:101) | at org.jboss.seam.Component.callComponentMethod(Component.java:1643) | at org.jboss.seam.Component.callCreateMethod(Component.java:1591) | at org.jboss.seam.Component.newInstance(Component.java:1580) | at org.jboss.seam.Component.getInstance(Component.java:1488) | at org.jboss.seam.Component.getInstance(Component.java:1469) | at org.jboss.seam.Component.getInstance(Component.java:1451) | at org.jboss.seam.core.ManagedJbpmContext.instance(ManagedJbpmContext.java:113) | at org.jboss.seam.core.BusinessProcess.createProcess(BusinessProcess.java:104) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:94) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:50) | at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) | at org.jboss.seam.interceptors.ConversationalInterceptor.checkConversationForConversationalBean(ConversationalInterceptor.java:81) | at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) | at org.jboss.seam.interceptors.EventInterceptor.aroundInvoke(EventInterceptor.java:51) | at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) | at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:40) | at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) | at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:45) | at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) | at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) | at org.jboss.seam.interceptors.AsynchronousInterceptor.invokeAsynchronouslyIfNecessary(AsynchronousInterceptor.java:32)
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
Yep, that is the problem. Try using view-ids like "/search.seam" instead of "/search.xhtml" in your pages.xml file. This should fix it. Note that this *is* a bug in the RI. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979184#3979184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: contactlist example not working on jboss with JSF 1.2 RI
AFAIK it runs perfectly on the RI. Are you sure you have myFacesLifecycleBug=false? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979180#3979180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-Security keystore and truststore
Can anyone provide information on how to generate the keystore and truststore for WS-Security? I have an example working with the wsse.keystore and wsse.truststore (that comes in the JBossWS sample) which requires an x509v3 signature on the Web Service invocation, but now I want to create my own. Questions I have: | Do I need to use openssl or sun's keytool? | When I generate my x509v3 cert, where do I put it? In the keystore or in the truststore? | What exactly is the keystore for? | Does the client and the server use the same keystore and truststore? | | | Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979182#3979182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion
This seems to be a Jetty-specific problem. Why does Jetty call equals() after a Session.setAttribute() ? Is this how it does dirty checking? Yew! Well, add an issue to JIRA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979181#3979181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Quartz JobStore Hibernate Impl
Is anyone aware of a Hibernate implementation of the Quartz JobStore? I couldn't find one, so I put together a prototype using EJB3 Cached Entity beans and a Clustered SLSB. It works, but there is plenty more to do. So if anyone has one we could join forces... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979174#3979174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Simple JSP Portlet In the Ref Manual / reloading page
on 2.4 bundled , I deployed the simple JSP Portlet and it worked fine. It asks you to fill in a value in a field and hit enter, the portlet sees if that value exists and echos it back out to you if so. When you reload the entire page, i expected the portlets' form to be displayed not the response. Why does that happen and how can i get around it. I have to write similar portlets View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979179#3979179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: What determines window order within a region?
It's more or less random. What happens behind the scenes is that WindowContext implements Comparable, and the compare method only considers the order to calculate the return value | package org.jboss.portal.theme.page; | public final class WindowContext implements Comparable, Serializable | { | |public int compareTo(Object o) |{ | return order - ((WindowContext)o).order; |} | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979177#3979177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - contactlist example not working on jboss with JSF 1.2 RI
I can't get the contactlist example working with the 1.2 RI -- when I try to edit or view a contact, I get a blank contact instead. I wonder whether some of my other hear-tearing experiences getting CRUD working by hand is related to the same problem. I opened up JBSEAM-427 in JIRA on this, but maybe someone else using the RI might have some thoughts on the matter. I'm fairly stumped. Right now my workaround is to not use JSF 1.2, which means having to mess up my object model to not use enums, unless I can find a decent enum converter for myFaces (which I guess would only involve mangling my views to add the converter). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979173#3979173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I output a HTML comment in the head-tag via heade
Currently it is not possible to get what you want via the descriptor. Look at | org.jboss.portal.theme.deployment.jboss.PortalThemeMetaDataFactory | That's where the descriptor gets unmarshalled. As you can see there, everything but script and link tags will be ignored. Not sure if you could modify your script to be cross browser. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979172#3979172 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Any experiences with the Tomahawk components?
I have been trying for 2 days to get tomahawk running under jb4.04, followed all these instructions and those on the *jboss-faces* setup page. Currently, I get an empty page w the tags not rendering any content. No exceptions but an abrupt msg in the logfile: 2006-10-18 11:01:50,013 [http-0.0.0.0-8080-5] INFO org.apache.myfaces.shared_tomahawk.config.MyfacesConfig - No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true 2006-10-18 11:01:50,013 [http-0.0.0.0-8080-5] INFO org.apache.myfaces.shared_tomahawk.config.MyfacesConfig - No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true 2006-10-18 11:01:50,013 [http-0.0.0.0-8080-5] INFO org.apache.myfaces.shared_tomahawk.config.MyfacesConfig - No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false 2006-10-18 11:01:50,013 [http-0.0.0.0-8080-5] INFO org.apache.myfaces.shared_tomahawk.config.MyfacesConfig - No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false2006-10-18 11:01:50,013 [http-0.0.0.0-8080-5] INFO org.apache.myfaces.shared_tomahawk.config.MyfacesConfig - No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource 2006-10-18 11:06:13,356 [http-0.0.0.0-8080-3] DEBUG org.jboss.web.tomcat.tc5.jasper.TagLibCache - Scanning for tlds in: file:/C:/Javasoft/appservers/jboss4/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/myfaces-impl.jar 2006-10-18 11:06:13,481 [http-0.0.0.0-8080-3] DEBUG org.jboss.web.tomcat.tc5.jasper.TagLibCache - Scanning for tlds in: file:/C:/Javasoft/appservers/jboss4/server/default/deploy/jbossweb-tomcat55.sar/jsf-libs/tomahawk-1.1.3.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979168#3979168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS and UDDI
i tried to setup a UDDI service following the example on http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIExample; The example works on JBossAS-4.0.3RC2, but does not seem to work with JBossAS-4.0.4GA (although i thought it should do due to the "+" following "JBossAS-4.0.3RC2") - my impression (see also http://jboss.org/jbossBlog/blog/asaldhana/2005/01/19/65E5C15DFCBA5E88EB23FFEC2F2499D7.txt) is that the cause for this is the new WS stack JBossWS (in 4.0.3 it was WS4EE) - is that right? And if so, is there already an updated example that works with the JBossWS stack as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979016#3979016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?
preferences are stored in the database. I haven't looked at that part of the code, but knowing Julien, the preference store is probably pluggable ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979165#3979165 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion
Thanks Gavin. Sadly I get the following exception on the first call (webapp is deployed without errors): org.hibernate.SessionException: Session is closed! Code is the same, hibernate.cfg.xml is the same too, components.xml is | | | false | true | | | | | 12 | | | | | | java:/cbiFeDatabase | | | | | | | | | as suggested by docs. Thanks in advance. By the way, I'm very impressed by the dynamic generation of docs from xml. It's the first time I've generated the docs and I think it's very powerful. Here the full stack trace: org.hibernate.SessionException: Session is closed! at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:867) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:788) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:781) at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.entityIdsToRefs(ManagedEntityIdentityInterceptor .java:161) at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.ja va:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) at org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) at org.jboss.seam.interceptors.RollbackInterceptor.rollbackIfNecessary(RollbackInterceptor.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) at org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor .java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessIntercepto r.java:50) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.seam.util.Reflections.invoke(Reflections.java:17) at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:172) at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:66) at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:26) at org.jboss.seam.util.Work.workInTransaction(Work.java:31) at org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:20) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(
[jboss-user] [JBoss Seam] - Re: Seam application with tree on left and editor for select
Yup. Trees are harder to handle than lists though, because they can have different object types at each level of the tree. Its easy for, eg. Category trees ... but that is not enough for a generic solution, unfortunately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979161#3979161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: When does Bijection Occur?
It works (a) only when the object was instantiated using getInstance(), ie. using the EL (b) according to the setting for @Intercept (In Seam 1.0.1, interception was by default not enabled during RESTORE_VIEW. I changed this default in 1.1.) So anyway, the basic rule is: if you use converter="#{foo.bar}", it will work. But if you use converterId="foo", it will not work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979160#3979160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: NPE in Seam conversation code
This is fixed in CVS. It was a concurrency problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979157#3979157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable
Well, I agree with most of what you say. The thing is, that I don't actually want anything too complex and shiny and "rich" for this stuff (I can get rich using Ajax4JSF). But I really would like a simple date picker that I can make pretty using CSS. Same for drop-downs. The table control is not so important to me. I think I can do something just fine by layering Ajax4JSF over the top of a h:dataTable. It would be awesome if someone could contribute stuff like this to the Seam tag library. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979156#3979156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Managed Connection Pool Issue
Hi, My problem as due to not committing a transaction. If you open any connection with AutoCommit set to false then commit it explicitly. If you open a connection with AutoCommit false and if you dont commit the JBoss connection will still remain in the pool. Regards, siva View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978847#3978847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: statistics not refreshing
Have you tried explicitly setting the UseInterceptorMbeans attribute to true? Also, how do you try to connect to the MBeans, did you try using jconsole? http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/mgmt_information.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979077#3979077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Factory on a Conversational SFSB
anonymous wrote : | My problem for Question 2) seems to be related to my conversation not propagating when using h:commandLink. I thought it should.. but I will investigate further. h:commandLink always propagates the conversation context (assuming the conversation is longrunning View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979069#3979069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ServiceLifecycle troubles
So, is there any suggestion to solve a problem? I would appreciate any help, because serious project can't be advanced without stateful web services. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979104#3979104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Make SSL connection to JNDI
I have JBoss4.0.4GA and Im' trying to get an SSL connection to JNDI. Id' like to know, what I'm doing wrong? This is my configuration: | System.setProperty("javax.net.ssl.trustStore", "c:/client.ts"); | System.setProperty("javax.net.ssl.trustStoreType", "JKS"); | System.setProperty("javax.net.ssl.trustStorePassword", "changeit"); | env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.HttpNamingContextFactory"); | env.setProperty(Context.PROVIDER_URL, "https://localhost:8443/invoker/JNDIFactorySSL";); | env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | | | | | jboss:service=Naming | | https:// | :8443/invoker/JMXInvokerServlet | true | org.jnp.interfaces.Naming | | | | org.jboss.proxy.ClientMethodInterceptor | org.jboss.proxy.SecurityInterceptor | org.jboss.naming.interceptors.ExceptionInterceptor | org.jboss.invocation.InvokerInterceptor | | | | And stacktrace is : | Exception in thread "main" javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is java.io.IOException: HTTPS hostname wrong: should be ] | at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:84) | at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) | at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247) | at javax.naming.InitialContext.init(InitialContext.java:223) | at javax.naming.InitialContext.(InitialContext.java:197) | at jmx.jboss.JMXBrowser.makeConnection(JMXBrowser.java:60) | at jmx.jboss.JMXBrowser.main(JMXBrowser.java:72) | Caused by: java.io.IOException: HTTPS hostname wrong: should be | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1206) | at java.security.AccessController.doPrivileged(Native Method) | at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1200) | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:889) | at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) | at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:133) | at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:80) | ... 6 more | Caused by: java.io.IOException: HTTPS hostname wrong: should be | at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(HttpsClient.java:490) | at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415) | at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170) | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917) | at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:1874) | at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:573) | at java.net.URLConnection.getContentLength(URLConnection.java:468) | at sun.net.www.protocol.https.HttpsURLConnectionImpl.getContentLength(HttpsURLConnectionImpl.java:378) | at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:128) | ... 7 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979011#3979011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Handling databases through jBPM
Thanks a lot to both of you... I wasn't aware of these resources Regards, Kostas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979082#3979082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: configuring remote topic host and port
The first problem is you don't connect to your remote provider in ejbCreate(). JBoss does this for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978874#3978874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Ripping out identity component
maybe this can work? I modified JpdlXmlReader to use definition of service in jbpm.cfg.xml (still use original fix assignment if no value specified) JpdlXmlReader | if (expression!=null){ | assignmentDelegation.setProcessDefinition(processDefinition); | if (JbpmConfiguration.getInstance().getServiceFactory("Identity") != null) | assignmentDelegation.setClassName(JbpmConfiguration.getInstance().getServiceFactory("Identity")); | else | assignmentDelegation.setClassName("org.jbpm.identity.assignment.ExpressionAssignmentHandler"); | assignmentDelegation.setConfiguration(""+expression+""); | | } else { | jbpm.cfg.xml | | | ... | | | but I have a problem calling JbpmConfiguration.getInstance() because I'm using jbpm inside spring and that call doesn't work! there is a way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979154#3979154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - InitialContext results in Directory listing
Hi, Im a newbie to EJB. Im trying to access a statless session bean. Im using eclipse with the j2ee plugin with xdoclet. The problem is I get is that I get a Directory listing when running this code: <% String s = "empty"; try { TestLocalHome testLocalHome = (TestLocalHome)new InitialContext().lookup("java:TestLocal"); TestLocal testBean = testLocalHome. create(); s = testBean.sum(10,10); } catch (Exception e) { s=e.toString(); } %> The result is <%=s %> The ejb-jar.xml: Test Test se.tesella.ejb.TestHome se.tesella.ejb.Test se.tesella.ejb.TestLocalHome se.tesella.ejb.TestLocal se.tesella.ejb.TestSession Stateless Container the jboss.xml: Test Test TestLocal The jboss-web.xml: ReAdvertWebModule Test Test The web.xml: Test Session se.tesella.ejb.TestHome se.tesella.ejb.Test TestBean Also, anothe question, are all these xml files neccessary? Kind regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979153#3979153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?
Yes that worked thank you. One quirk is that redeploying the ear doesn't overwrite them, this is a bit more persistent than I expected, any idea where the preferences are written? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979152#3979152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Parallel Review Process: template process definition
I believe the jBPM community can greatly benefit from a library of demo/template process definitions for common workflows. The current code samples, docs & references to workflow patterns concentrate on the low level building blocks, but it requires a blind jump and effort to pull together the blocks into a coherent workflow. So, to start, I'd like to put forward the following template definition for supporting a review & approve process where 'N' parallel reviewers can approve or reject. Approval is only reached when a specified percentage of the reviewers approve. A custom 'ForEachFork' (modified from the contribution on the wiki) is used to implement the parallel part. The process variables 'reviewers' (a list) and 'required_approve_percent' need to be provided when starting the workflow. Is there a better way? Would it be useful to start a library of these on the WIKI? Regards, David Caruana Alfresco | | | | | | | | || | approve_count = 0; | | | | | | | | #{reviewers} | reviewer | | | | | | | | | taskInstance.actorId = reviewer; | | | | | | || | approve_count = approve_count +1; | | | | | | | | | | | | || | approve_percent = ((approve_count * 100) / reviewers.size()); | | | | | | #{approve_percent >= required_approve_percent} | | | | | | | | | | | | | | | | | The ForEachFork.java: | | import java.util.ArrayList; | import java.util.Collection; | import java.util.List; | | import org.dom4j.Element; | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.def.Node; | import org.jbpm.graph.def.Transition; | import org.jbpm.graph.exe.ExecutionContext; | import org.jbpm.graph.exe.Token; | import org.jbpm.instantiation.FieldInstantiator; | import org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator; | | | /** | * For each "item in collection", create a fork. | */ | public class ForEachFork implements ActionHandler | { | private static final long serialVersionUID = 4643103713602441652L; | | private Element foreach; | private String var; | | | /** | * Create a new child token for each item in list. | * | * @param executionContext | * @throws Exception | */ | @SuppressWarnings("unchecked") | public void execute(final ExecutionContext executionContext) | throws Exception | { | // | // process action handler arguments | // | | if (foreach == null) | { | throw new Exception("forEach has not been provided"); | } | | // build "for each" collection | List forEachColl = null; | String forEachCollStr = foreach.getTextTrim(); | if (forEachCollStr != null) | { | if (forEachCollStr.startsWith("#{")) | { | Object eval = JbpmExpressionEvaluator.evaluate(forEachCollStr, executionContext); | if (eval == null) | { | throw new Exception("forEach expression '" + forEachCollStr + "' evaluates to null"); | } | | // expression evaluates to string | if (eval instanceof String) | { | String[] forEachStrs = ((String)eval).trim().split(","); | forEachColl = new ArrayList(forEachStrs.length); | for (String forEachStr : forEachStrs) | { | forEachColl.add(forEachStr); | } | } | | // expression evaluates to collection | else if (eval instanceof Collection) | { | forEachColl = (List)eval; | } | } | } |
[jboss-user] [JBoss Messaging] - Re: BatchUpdateException in jms
If the problem does not occur with batch updates turned off, then it would imply to me a problem with the Oracle driver. Which driver are you using? BTW I have previously experienced problems myself with doing batch updates using the Oracle thin driver - it seems to be fairly buggy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979151#3979151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - jboss in one box and netbeans in another
Hi, can someone help me to configure netbeans to use a jboss installation in another pc? when I run a project netbeans says: ... dist: pre-run-deploy: Starting server JBoss Application Server 4 Starting JBoss Application Server 4 and in the jboss console it says: === JBoss Bootstrap Environment JBOSS_HOME: y:\bin\\.. JAVA: C:\java\jdk1.5.0_09\bin\java JAVA_OPTS: -Dhttp.proxyHost=192.168.2.254 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts="localhost|127.0.0.1|pcbanio" -Dhttps.proxyHost=192.168.2.254 -Dhttps.proxyPort=3128 -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 CLASSPATH: C:\java\jdk1.5.0_09\lib\tools.jar;y:\bin\\run.jar === and it stays there!!! Can someone give me some clue?? thanks and sorry about my english :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979149#3979149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979149 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem using .NET Compact Framework Client
Is it possible to disable validation of soap message ? The Microsoft CF client generate an invalid order of fields in the sequence... I would like to make no control over this message I need some help plz! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979147#3979147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: EL does not get picked up
Here is a JSP from an example I'm reading from a book that does'nt work on my systesm: <%@ page import="java.util.*" %> Topic Questions Topic Questions The number of questions in topic ${questions.topic} is ${questions.numQuestions} <% Map topic = questions.getQuestions(); Iterator keys = topic.keySet().iterator(); while (keys.hasNext()) { String key = (String) keys.next(); pageContext.setAttribute("key", key); %> Question ${key}: ${questions.questions[key]} <% } %> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979148#3979148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to connect oracle
Why don't you take a look at this Wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamProject)? I'm sure it will help you. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979146#3979146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: BatchUpdateException in jms
Can you try disabling batch updates in the pm config and tell me what happens? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979145#3979145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - BatchUpdateException in jms
I am using jboss-4.0.4.GA with jboss-messaging-1.0.1.CR4 with oracle 10.1.0.2.0 as the message persistence store. If the PersistenceManager manager is configured for UsingBatchUpdates, it throws a java.sql.BatchUpdateException: ORA-03106: fatal two-task communication protocol error We are able to replicate this issue using one of the tests. This test tries sending a 12.0 kb message after some 65 smaller messages sent within a time span of 13 seconds on a Microsoft Windows XP [Version 5.1.2600] machine using jdk version 1.4.2_03. On other machines too this test causes this problem. Though these steps do not guarantee this error, we are running into it consistently. The complete stack trace is as follows: | java.sql.BatchUpdateException: ORA-03106: fatal two-task communication protocol error | | at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:367) | at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:8739) | at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:517) | at org.jboss.messaging.core.plugin.JDBCPersistenceManager.handleBeforePrepare(JDBCPersistenceManager.java:3406) | at org.jboss.messaging.core.plugin.JDBCPersistenceManager$TransactionCallback.beforePrepare(JDBCPersistenceManager.java:4471) | at org.jboss.messaging.core.tx.Transaction.prepare(Transaction.java:224) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:381) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:99) | at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aop.Advisor.dynamicInvoke(Advisor.java:723) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:101) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:126) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:999) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:98) | at org.jboss.remoting.Client.invoke(Client.java:612) | at org.jboss.remoting.Client.invoke(Client.java:604) | at org.jboss.jms.client.delegate.DelegateSupport.invoke(DelegateSupport.java:112) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:134) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ExceptionInterceptor.invoke(ExceptionInterceptor.java:69) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.container.ClientLogInterceptor.invoke(ClientLogInterceptor.java:107) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$sendTransaction_N4986868250254447300.invokeNext(ClientConnectionDelegate$sendTransaction_N4986868250254447300.java) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.sendTransaction(ClientConnectionDelegate.java) | at org.jboss.jms.tx.ResourceManager.sendTransactionXA(ResourceManager.java:491) | at org.jboss.jms.tx.ResourceManager.prepare(ResourceManager.java:379) | at org.jboss.jms.tx.MessagingXAResource.prepare(MessagingXAResource.java:151) | at org.jboss.tm.TransactionImpl$Resource.prepare(TransactionImpl.java:2212) | at org.jboss.tm.TransactionImpl.prepareResources(TransactionImpl.java:1660) | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:347) | at org.jboss.tm.TxManager.commit(TxManager.java:240) | at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979143#3979143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
[jboss-user] [JCA/JBoss] - Re: Seemingly random connection issues?
"[EMAIL PROTECTED]" wrote : The new-connection-sql features is in 3.2.7. What I am wondering is why you are seeing this exception when you are not specifying the SQL. Are you still seeing this issue? Hi Weston, I have not heard anything from the client lately, however that doesn't mean it is not happening (just that they stopped complaining about it). Do you suggest that we include the option in our DS file? What additional insurance does this give over the option? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979140#3979140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Missing N.3.0.12-SNAPSHOT\org.jbpm.gd.jpdl.feature-3.0.12-SN
After I removed all invocations of docbook-support (in several build.xml files) I faced another error and I am afraid that I need your help urgently. Here is the ant stacktrace. Thank you for help. Regards Milan prepare.workspace: [mkdir] Created dir: D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\features [mkdir] Created dir: D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\plugins [copy] Copying 4 files to D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\features\org.jbpm.gd.jpdl.feature [copy] Copying 85 files to D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\plugins\org.jbpm.gd.jpdl.core [copy] Copying 265 files to D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\plugins\org.jbpm.gd.jpdl.ui [copy] Copying 7 files to D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\plugins\org.jbpm.gd.jpdl.help run-eclipse-plugin-builder: [java] Buildfile: mainTargets.xml [java] main: [java] preBuild: [java] preSetup: [java] [echo] doing preSetup [java] getMapFiles: [java] [echo] doing getMapFiles [java] [copy] Copying 1 file to D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace\maps [java] postSetup: [java] [echo] doing postSetup [java] fetch: [java] generate: [java] preGenerate: [java] [echo] doing preGenerate [java] [echo] baseLocation is d:/work/java/jbpm.3/eclipse [java] allElements: [java] init: [java] generateScript: [java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied. [java] [eclipse.buildScript] Bundle org.jbpm.gd.jpdl.core: [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.core_0.0.0. [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.core_0.0.0. [java] [eclipse.buildScript] Bundle org.jbpm.gd.jpdl.ui: [java] [eclipse.buildScript] Missing required plug-in org.eclipse.draw2d_0.0.0. [java] [eclipse.buildScript] Missing required plug-in org.eclipse.gef_0.0.0. [java] BUILD FAILED [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.core_0.0.0. [java] D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\mainTargets.xml:23: The following error occurred while executing this l ine: [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.core_0.0.0. [java] D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\mainTargets.xml:63: The following error occurred while executing this l ine: [java] D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\customTargets.xml:8: The following error occurred while executing this line: [java] D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\genericTargets.xml:63: Unable to find plug-in: org.jbpm.gd.jpdl.ui_0.0. 0. Please check the error log for more details. [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.ui_0.0.0. [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.ui_0.0.0. [java] Total time: 1 second [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.common.ui_0.0.0. [java] [eclipse.buildScript] Missing required plug-in org.jbpm.gd.jpdl.core_0.0.0. [java] Java Result: 13 create.manifest: [mkdir] Created dir: D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\manifest move-feature: BUILD FAILED D:\work\java\jbpm.3\build\build.xml:59: The following error occurred while executing this line: D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:60: The following error occurred while executing this line: D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\build.xml:191: Warning: Could not find file D:\work\java\jbpm.3\designer\jpdl\org.j bpm.gd.jpdl.build\target\workspace\N.3.0.12-SNAPSHOT\org.jbpm.gd.jpdl.feature-3.0.12-SNAPSHOT.zip to copy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979138#3979138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: List of enum types is possible?
To get the forum to display what you want, surround your code with [ code ] ... [ /code ] brackets (without the spaces). Or select your code and click on the Code button above the edit text box (don't use the "Instant Reply" text box, lcick on Post Reply instead). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979141#3979141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Trouble with @Embedded List<>
Hello again, Please forgive the newbie post again - again I have scoured the forums and the documentation to no avail. I am still trying to implement an application using the new EJB3 / Hibernate Annotations peristence mechanisms. To this end I have written a model and a set of templates using the MDSD tool 'openArchitectureWare', which generates my set of EJB3 entities, TOs and facades, complete with annotations and ready to deploy. One of the use cases that I am testing involves a List of embedded objects in an entity. The embedded object itsself also contains an embedded List of strings. The code compiles fine but when I deploy I get a very strange error message: java.lang.UnsupportedOperationException: one-to-one is not supported here If I make either of the aggregations single cardinality then the entity seems to deploy normally! - single embedded object in an entity, embedded object has a List of strings - List of embedded objects in an entity, embedded object has no List. It is only when both the embedded object is a List and itsself has a List of strings that I get the strange error. There is no business functionality in the entity or the embedded object - they are both simple pojos. Here's the code: Entity: | package ch.adamcc.planeres2.entity; | | import java.util.ArrayList; | import java.util.List; | | import javax.persistence.Embedded; | import javax.persistence.Entity; | import javax.persistence.Id; | | import org.hibernate.annotations.CollectionOfElements; | import org.hibernate.annotations.IndexColumn; | | @Entity | public class SimpleEntity { | private long _id; | private String _stringField; | private List _stringList; | private long[] _longArray; | | @Embedded | private List _simpleEmbeddedList; | | public SimpleEntity() | { | this._stringList = new ArrayList(); | this._longArray = new long[2]; | | this._simpleEmbeddedList = new ArrayList(); | } | | @Id | public long getId() { | return this._id; | } | | public void setId(long id) { | this._id = id; | } | | public String getStringField() { | return this._stringField; | } | | public void setStringField(String stringField) { | this._stringField = stringField; | } | | @CollectionOfElements | public List getStringList() { | return this._stringList; | } | | public void setStringList(List stringList) { | this._stringList = stringList; | } | | @CollectionOfElements | @IndexColumn(name="longArray_index") | public long[] getLongArray() { | return this._longArray; | } | | public void setLongArray(long[] longArray) { | this._longArray = longArray; | } | | @CollectionOfElements | public List getSimpleEmbeddedList() { | return _simpleEmbeddedList; | } | | public void setSimpleEmbeddedList(List simpleEmbeddedList) { | this._simpleEmbeddedList = simpleEmbeddedList; | } | } | Embedded: | package ch.adamcc.planeres2.entity; | | import org.hibernate.annotations.CollectionOfElements; | | import java.io.Serializable; | import java.lang.String; | import java.util.List; | import javax.persistence.Embeddable; | import javax.persistence.Embedded; | | @Embeddable | public class SimpleEmbedded implements Serializable { | private String _embeddedStringField; | private boolean _embeddedBooleanField; | @Embedded | private List _embeddedStringList; | | public SimpleEmbedded() { | } | | public SimpleEmbedded(String embeddedStringField, boolean embeddedBooleanField, List embeddedStringList) { | this._embeddedStringField = embeddedStringField; | this._embeddedBooleanField = embeddedBooleanField; | this._embeddedStringList = embeddedStringList; | } | | public String getEmbeddedStringField() { | return this._embeddedStringField; | } | | public void setEmbeddedStringField(String embeddedStringField) { | this._embeddedStringField = embeddedStringField; | } | | public boolean getEmbeddedBooleanField() { | return this._embeddedBooleanField; | } | | public void setEmbeddedBooleanField(boolean embeddedBooleanField) { | this._embeddedBooleanField = embeddedBooleanField; | } | | @CollectionOfElements | public List getEmbeddedStringList() { | return this._embeddedStringList; | } | | public void setEmbeddedStringList(List embeddedStringList) { | this._embeddedStringList = embeddedStringList; | } | } |
[jboss-user] [EJB 3.0] - Re: List of enum types is possible?
oh pooo. You get the idea anyway! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979133#3979133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: List of enum types is possible?
I don't know about the annotations but I am currently trying this... * @hibernate.list * cascade="all-delete-orphan" * lazy="true" * table="Options" * embed-xml="true" * @hibernate.list-index * column="listIndex" * @hibernate.key * column="ParentId" * @hibernate.element * ype="MyEnumUserType" * column="myEnum" which produced the following out of XDocLet: The trick appears to be using 'element' rather than one-to-many or some such mapping. It certainly produces the correct DDL. Hope this helps, Barry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979131#3979131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979131 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - After shunned, transport and corr are null
We are starting to see a problem where one cache member is shunned. It used to happen every six weeks or so, but is not happening at least once a week. We are running Hibernate 2.8 and the jcache version that comes with it. The jboss-cache.jar manifest says its version is 1.1.1. Our topology consists of two Tomcat servers running SuSE Linux Enterprise Server 9. Both servers have 4GB RAM and run dual Opterons in 64-bit mode, though one server is slightly faster than the other. The servers are directly connected to each other over a pair of dedicated ethernet ports. Connections to the web server from Tomcat take place over a separate ethernet port. Once the error occurs, the Tomcat instance that shows the following errors in the logs goes to 100% CPU usage and must be restarted. I have seen posts that recommended using the FD_SOCK protocol instead of FD in some cases, but am not sure if this applies to us. Also would upgrading the jboss-cache.jar, jboss-common.jar and jboss-system.jar to the ones from JBoss Cache 1.2.4SP2 be of use? Thanks in advance, the relevant messages from my Tomcat log are below. - Richard Here are the relevant log messages: | 2006-10-17 12:43:51,022 INFO [TP-Processor14] ActionFilter:653 - Handling request | | 2006-10-17 12:44:59,214 WARN [UpHandler (FD)] FD:220 - I was suspected, but will not remove myself from membership (waiting for EXIT message) | | 2006-10-17 12:44:59,249 WARN [UpHandler (GMS)] GMS:324 - checkSelfInclusion() failed, kingfishS11:5692 is not a member of view [gofishS11:15833|2] [gofishS11:15833]; discarding view | | 2006-10-17 12:44:59,250 WARN [UpHandler (GMS)] GMS:333 - I (kingfishS11:5692) am being shunned, will leave and rejoin group (prev_members are [gofishS11:15833 kingfishS11:5692 ]) | | 2006-10-17 12:45:42,908 INFO [TP-Processor2] ActionFilter:653 - Handling request | | 2006-10-17 12:45:43,008 ERROR [TP-Processor2] GroupRequest:178 - both corr and transport are null, cannot send group request | | 2006-10-17 12:45:43,017 ERROR [TP-Processor2] ActionFilter:370 - Exception getting UserTransaction object to handle request net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: rsp=sender=gofishS11:15833, retval=null, received=false, suspected=false; - nested throwable: (org.jboss.cache.lock.TimeoutException: rsp=sender=gofishS11:15833, retval=null, received=false, suspected=false) | net.sf.hibernate.cache.CacheException: org.jboss.util.NestedRuntimeException: rsp=sender=gofishS11:15833, retval=null, received=false, suspected=false; - nested throwable: (org.jboss.cache.lock.TimeoutException: rsp=sender=gofishS11:15833, retval=null, received=false, suspected=false) | at net.sf.hibernate.cache.TreeCache.remove(TreeCache.java:44) | at net.sf.hibernate.cache.TransactionalCache.remove(TransactionalCache.java:79) | at net.sf.hibernate.impl.SessionImpl.refresh(SessionImpl.java:2195) | at net.sf.hibernate.impl.SessionImpl.refresh(SessionImpl.java:2160) | at com.ltoj.persistence.ServiceLocator.createUserTransaction(ServiceLocator.java:222) | at com.ltoj.webapp.filter.ActionFilter.doFilter(ActionFilter.java:356) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979137#3979137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Make SSL connection to JNDI
"alex_55" wrote : | ... | Thanks./ it is very likely that JBoss transfer data insecurily after all SSL handshake done on port HTTPS/8443, it redirect on port HTTP/8083. is this possible to turn this behaviour off and use SSL all the time ? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979135#3979135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Persisting Prefs broken in 2.4 ?
Ah... interesting, I wasn't authenticated, I'll try that. The call is in the processAction scope (helper method call) Thanks for the quick response. Paul View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979136#3979136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - SonicMQ and JBossMQ on one AppServer
I have configured JBoss 4.0.4.GA to use SOnicMQ laong with the preinstalled JBossMQ. This works fine for sending beans to SonicMQ. However, I get an AbstractMethodError when trying to have an MDB listen to a remote Sonic Queue. The configuration of the bean is: | @MessageDriven(activationConfig = | { | @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), | @ActivationConfigProperty(propertyName="destination", propertyValue="queue/incoming"), | @ActivationConfigProperty(propertyName="providerAdapterJNDI", propertyValue="java:/SonicMQJMSProvider") | }) | This throws an AbstractMethodException in JmsServerSession.setup(). Does anybody know what this means. Or in generally what an AbstractMethodException is? Regards fhh anonymous wrote : | 17:26:25,437 ERROR [JmsActivation] Unable to reconnect [EMAIL PROTECTED]([EMAIL PROTECTED] destination=queue/incoming isTopic=false tx=true durable=false reconnect=10 provider=java:/SonicMQJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=0) | java.lang.AbstractMethodError: progress.message.jimpl.QueueConnection.createSession(ZI)Ljavax/jms/Session; | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.setup(JmsServerSession.java:115) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.setupSessions(JmsServerSessionPool.java:206) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.start(JmsServerSessionPool.java:102) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupSessionPool(JmsActivation.java:540) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:313) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:250) | at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:593) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979129#3979129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: List of enum types is possible?
stupid forum! It thinks its html...argh.That should work better! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979132#3979132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss ide xdoclet not running
Sorry everyone. That was an amazingly stupid question. I have fixed the issue I was having. I was using jdk1.4 instead of jdk1.5. It now works with jdk1.5 Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979125#3979125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam application with tree on left and editor for select
Yes, I remember you implemented something more generic for databinding. Didn't really have time to look into that so far. I will try to use it for TreeModel and SelectItem, which are probably the most common data models besides tabular stuff. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979128#3979128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: When does Bijection Occur?
maybe I should ask... When can I expect that Seam has performed @Injection? Does it not work for JSF Converters? Thanks, Brad View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979122#3979122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979122 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - NPE in Seam conversation code
Seam version 1.0.1 I just had an NPE in my site. The page almost always works, so this is hard to reproduce. The use case is this: Web page with a conversation that has two IFRAME references. These IFRAMES contain the same JSF page URL but two difference parameters of what to load. Using the @RequestParameter, I load the data for each IFRAME. This IFRAME JSF page is backed by a CONVERSATION state bean. That way the parent page, and each IFRAME all have different instances of the backing bean and don't collide. Here is the exception: java.lang.NullPointerException | at org.jboss.seam.core.Manager.touchConversationStack(Manager.java:181) | at org.jboss.seam.core.Manager.storeConversation(Manager.java:368) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.storeAnyConversationContext(AbstractSeamPhaseListener.java:69) | at org.jboss.seam.jsf.SeamStateManager.saveSerializedView(SeamStateManager.java:45) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:471) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | ... This happened when I loaded the page for the first time. The error was in the 2nd IFRAME (page page and first IFRAME loaded fine). When I reloaded the page, both IFRAMEs loaded fine. The page is loaded via RequestParameters and does not depend on any state when it first loads, so that shouldn't be an issue. The XHTML code snippet looks like: | | Any ideas on why it failed the one time? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979119#3979119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user